Schneider Electric DS301 manual Synchronization, Sync message

Page 44

3 Basics

IL•1F CANopen DS301

3.5Synchronization

The synchronization object SYNC controls the synchronous exchange of messages between network devices for purposes such as the simul- taneous start of multiple drives.

The data exchange conforms to the producer-consumer relationship. The SYNC object is transmitted to all devices by a network device and can be evaluated by all devices that support synchronous PDOs.

SYNC-Consumer

SYNC-Consumer

COB-ID

 

 

CAN

SYNC- Producer

SYNC-Consumer

Figure 3.25 SYNC message

Time values for synchronization Two time values define the behavior of synchronous data transmission:

The cycle time specifies the time intervals between 2 SYNC mes- sages. It is set with the object Communication cycle period(1006h).

The synchronous time window specifies the time span during which the synchronous PDO messages must be received and trnasmitted. The time window is defined with the object Synchronous window length (1007h).

 

SYNC

T_PDO (status)

CAN-Bus

R_PDO (controller)

 

SYNC

 

synchronous

process

time window

R_PDO data

cycle time

 

Figure 3.26 Synchronization times

Synchronous data transmission From the perspective of a SYNC recipient, in one time window the status data is transmitted first in a T_PDO, then new control data is received via an R_PDO. However, the control data is only processed when the next SYNC message is received. The SYNC object itself does not transmit data.

0198441113586, V2.01, 11.2008

44

Fieldbus interface

Image 44
Contents IL1F CANopen DS301 Important information Table of Contents Table of Contents IL1F CANopen DS301 Object directory Table of Contents IL1F CANopen DS301 Writing conventions and symbols Writing conventions and symbols IL1F CANopen DS301 CAN-Bus IntroductionAbout this manual Operating modes and functions in fieldbus mode Fieldbus devices networked via can busDocumentation and literature references Can users and manufacturers organizationIntroduction IL1F CANopen DS301 Before you begin safety information Before you begin safety information IL1F CANopen DS301 Basics CANopen technologyCANopen description language Communication layersObjects Index hex Object groups Supported By the driveIL1F CANopen DS301 Basics CANopen profiles CANopen reference modelIndex Subindex Object Meaning Communication profileObject dictionary Index range Object groups Supported Hex By the drive Communication objects Communication objectsCOB ID with function code and node address TPDO4 Communication relationships Master slave relationshipsClient-server relationship SDO data exchange Service data communicationOverview SDO message 11 SDO message, exampleReading and writing data Message type Data length used Bytes14 Reading a parameter value Message type Data length used Byte Bytes15 Response with error message error response Process data communication PDO data exchange 16 PDO data exchangeUINT32 Dynamic and static PDO mapping 18 Requesting a message with RTR =Receive PDO RPDO4 master slave Structure of RPDO4State machine drivectrl Operating modes modeCtrl JOG@ Warning Transmit PDO TPDO4 product to masterStructure of TPDO4 20 Structure of TPDO4Handshake with Mode Toggle Bit Bit Name Description22 Mode Toggle Handshake, short movement Master Slave XendBasics IL1F CANopen DS301 Emergency service 23 Error message with the Emcy objectSynchronization 25 Sync message27 Cyclic and acyclic transmission Network management services NMT services for device controlPersistent data memory NMT service Transition MeaningInitialization Node/Life guarding NMT services for connection monitoringCommand Specifier NMT service Transition 31 Acknowledgement of the NMT slave 32 Node Guarding and Life Guarding with time intervals Installation Installation IL1F CANopen DS301 Commissioning Commissioning the deviceCommissioning the fieldbus network Starting fieldbus modeAddress and baud rate Troubleshooting Error Error class Cause of error TroubleshootingSelecting the CANopen master SyCon CANopen configuration softwareCreating a new network Setting the bus parameters Selecting and inserting nodes Operation OverviewOperation IL1F CANopen DS301 Using SDO commands Writing parametersTransmit data Receive dataIndex Sub Data Description Synchronous errorsReading a parameter Bit no Value Meaning Operating Name Power Description State StageChanging operating states with PDO4 Example Switching the power stage on and offTriggering a Quick Stop Come to a standstill System is to resume opera Resetting faults Examples for the operating modes with PDO4 Operating mode Profile Position absolute positioning Operating mode Profile Position relative positioning Operating mode Profile VelocityPosition setting Master --- SlaveOperating mode Homing Error signaling via PDO4 Asynchronous errorsPositioning running xerr=0 Operation IL1F CANopen DS301 Diagnostics and troubleshooting Fieldbus communication error diagnosticsMessages on the device status Error diagnostics via fieldbusMessage objects CANopen error messages Error registerError code table Bit Message MeaningSDO error message Abort Error code MeaningSpecifications for the objects Object directoryObject code Meaning Coding Data type Value range Data lengthIndex Subindex Designation Obj. code Data type Access Objects, overviewDevice type Error registerObjects of the product Bit coding, subindex 00h 1008hManufacturer device name 100ChIndex 100D h Object name Life time factor Object code Index 1018 h Object name Identity Object Object code Data type PDO Communication parameter Bit assignment subindex 01h Bit 30 RTR bitBit coding, subindex 02h Bit Acces Value Meaning1603h Receive PDO4 mapping Value description 1803h Transmit PDO4 communication parameter BitMeaningSubindex 03 h, inhibit time TPDO4 Meaning IL1F CANopen DS301 Object directory PDO4 mapping 1603h Glossary Units and conversion tablesTemperature RotationTorque Moment of inertiaDefault value Factory setting Terms and AbbreviationsPower amplifier See power stage Index CanIndex IL1F CANopen DS301 IL1F CANopen DS301 Index NMT IL1F CANopen DS301 Index 102 Fieldbus interface