AS Series Operation Manual Mode 0: The PDO information is transmitted only when the PDO data changes and the synchronous signal is received. Modes 1–240: One piece of PDO information is transmitted every 1–240 synchronous signals. Mode 254: The trigger is defined the manufacturer. The definition in the PLC is the same as mode 255. Mode 255: The PDO is transmitted when the data changes, or it is transmitted after a trigger. All the data in the PDO has to be mapped from the object dictionary. The following diagram shows an example of PDO mapping. PDO_1 The following table shows the data format for RxPDO and TxPDO. 2.
SDO (service data object) The SDO builds the client/server relation between two CANopen devices. The client device can read the data from the object dictionary on the server device and write the data into the object dictionary on the server device. The SDO visit mode is “client/server” mode. The mode which is visited is the SDO server. Every CANopen device has at least one service data object that provides the visit channel for the object dictionary of the device. SDO can read all the objects in the object dictionary, and write all objects into the object dictionary.
The SDO message contains the index and subindex information used to position the objects in the object dictionary, and the composite data structure can easily be passed by the SDO visit. After the SDO client sends the reading/writing request, the SDO server replies. The client and the server can stop SDO transmission. The requested message and the reply message are separated by different COB-IDs. _10 The SDO can transmit the data in any length. If the data length is more than 4 bytes, the data must be transmitted by segment. The last segment of the data contains an end flag.
10-14 Object dictionary PDO 1 mapping _ 0 3 1 yyyyh yyh 8 2 zzzzh zzh 16 3 xxxxh xxh 8 xxxxh xxh Application object A yyyyh yyh Application object B zzzzh zzh Application object C PDO 1 mapping _ 0 3 1 yyyyh yyh 8 2 zzzzh zzh 16 3 xxxxh xxh 8 Application object B Application object C Application object A COB-ID Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Object identifier Data