beckhoff — 11.2.7.4 Sync Unit Assignment

Reference | I/O Devices 11.2.7.4 Sync Unit Assignment | Sync Unit Assignment A Sync Unit describes a module, that defines a set of process data, that should be exchanged synchronously and consistently between the master and one or more EtherCAT slave devices. For each Sync Unit a separate EtherCAT command is sent synchronous with the cycle, to exchange the process data with the EtherCAT slave devices. Every Sync Unit has a diagnostic input, that is synchronous with the cycle and shows, if the complete data is valid (see WcState [ } 202] ).

Sync Units are useful in applications, where parts of the machine should keep on operating, although other parts have dropped out or have been deactivated. For each EtherCAT slave device, one can define one or more process data areas, that should be exchanged synchronously and consistently. These individual process data areas can be configured in the Process Data tab of a slave device. Normally every PDO object is assigned to the same process data area (Sync Unit). This is indicated by the column SU (Sync Unit) in the PDO List View: TwinCAT 2 212 Version: 1.7 Index Group Index Offset Access Data type Description 0x0000F420 IDN = LOWORD(0x0000 yyyy) element = LOBYTE of HIWORD (0x00yy0000) :

R/W UINT8[n] Upload/Download IDN 0x01 Data Status 0x02 Name (read only) 0x04 Attribute 0x08 Unit 0x10 Minimum 0x20 Maximum 0x40 Value 0x80 Default Drive Number = Bits 1-3 of HIBYTE of HIWORD (0xy0000000) Command Flag = Bit 8 of HIBYTE of HIWORD (0xy0000000)