
Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
CAN / Modbus TCP Slave
Document code: MN67423_ENG Revision 1.100 Page 20 of 31
ETHERNET PROTOCOL:
For the CANopen it is possible to use two types of data: SDO and PDO. It is possible to have no more than ten PDO, which must be declared in
the “SW67423 Compositor” while SDO should not be reported.
Write Frames
P
DO
The transmission of PDO is very simple: it has a fixed structure that consist in a maximum of eleven bytes:
Byte Number
Description
1
Write Identifier (0x02)
2
Type of Data (PDO=0x01)
3
Number of frame to send (number of row of
“SW67423 compositor”)
4÷n+3
Data
n=number of byte defined in the Compositor
The Byte that compose the respons is only one:
Byte Number
Description
1
Ok=0x01 / Error in sending=0x02
Example:
We want to write the frame number one of SW67423 Compositor:
•
Type of Data: PDO; Number of frame to send: 1; Data: 0x01020304
So the string of hexadecimal numbers is:
REQ:[02][01][01][01][02][03][04]
RES:[01]