Delta DVP-ES2 — 7.4.1 Data Structure of SDO Request Message

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 7.4.1 Data Structure of SDO Request Message Sending SDO through the ladder diagram can read or write the slave parameter.  The data format of the SDO request message:  ReqID: The request ID. Whenever an SDO request message is sent out, the message will be given a ReqID for CANopen master to identify. When reading/writing another SDO message, the original ID number must be changed. In other words, to read/write SDO is triggered by changing of the value of “ReqID”. ReqID range: 00 (Hex) ~ FF (Hex).  Size: The length of the message data. The counting starts from D6253 with byte as the unit.

When reading, it is fixed to 4 and when writing, it is 4 plus the byte number of data types of index and subindex and the maximum value is 8. But when writing, if the data type of index and subindex is word, the data length is 6 or it is 5 if byte.  Node ID: The node address of the target equipment on CANopen network.  Type: 01 indicates the read access; 02 indicates the write access.  The data format of the SDO response message:  Command: Fixed to “01”.  Status code: The indication of the status code values in the response message:

7-16 Request message PLC device High byte Low byte D6250 Message Header ReqID Command (Fixed to 01) D6251 Reserved Size D6252 Type Node ID D6253 Message Data High byte of main index Low byte of main index D6254 Reserved Sub-index D6255 Datum 1 Datum 0 D6256 Datum 3 Datum 2 D6257 ~ D6281 Reserved PLC device Response message High byte Low byte D6000 D6001 D6002 Message Header ResID Status code Reserved Size Type Node ID D6003 D6004 D6005 D6006 D6007 ~ D6031 Message Data High byte of main index Low byte of main index Reserved Sub-index Datum 1 Datum 0 Datum 3 Datum 2 Reserved Status code Explanation 0 No data transmission request 1 SDO message transmission succeeds.

2 SDO message is being transmitted. 3 Error: SDO transmission time-out 4 Error: Illegal command code 5 Error: the length of the transmitted data is illegal. 6 Error: the length of the response data is illegal.