beautypg.com

1 rslogix500 examples – Baumer GK473 User Manual

Page 29

background image

Manual_GK473_DeviceNet_EN.doc

29/31

Baumer IVO GmbH & Co. KG

04.05.11

Villingen-Schwenningen,

Germany

9 Annex: Rockwell PLC examples for Explicit Messaging

9.1 RSLogix500

examples

Vendor specific Service 0x32, Class 0x64, Instance 1, Attribute 2
Excerpt of operating manual reference N140 „BA_N140_Schnittst_d.pdf“

Read current value „R“ (52h)
This command is for readout of the 6-digit current value (bottom line of display). The amount of data is always
6 bytes. In case of a negative value, the “-“ sign (2Dh) together with 5 data bytes is replied. Positive values
are represented by 6 data bytes without sign. Values of less than 6 (5) digits will come with preceding zeroes.

Example: Current value = -32,50

SOH

Adr

Cmd

EOT

CRC

Transmitted

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