Manual_GK473_DeviceNet_EN.doc
18/31
Baumer IVO GmbH & Co. KG
04.05.11
Villingen-Schwenningen,
Germany
Example for transparent transfer of a SPA command
SPA identifier 0 (0x20) command: read current value „R“ (0x52)
Excerpt of operating manual SPA N140 :
This command is for reading the 6-digit current value (bottom line of the display). Data volume is always 6
Byte. A negative value comes with “-“ sign (2Dh) followed by 5 data Bytes. Positive values are returned as 6
data Bytes less sign. Values of less than 6 (5) digits come with preceding zeroes.
Example: Current value = -32,50
SOH Adr Cmd EOT CRC
Transmission
01h 20h 52h 04h 40h
SOH Adr Cmd
Current value = –32,50
EOT CRC
Response
01h 20h 52h
2Dh 30h 33h 32h 35h 30h
04h
54h
More examples in the annex.