beautypg.com

Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 105

background image

Publication 2100-UM001B-EN-P – January 2001

Using DeviceNet Explicit Messaging

6-13

Data must be entered in N Register as shown below. Set Radix to
Hex/BCD. A chart is provided on the next page to convert decimal
node numbers to hexadecimal format.

N30:0 = 0201 (02 = transaction ID; 01 = Execute command)

N30:1 = 0006 (00 = Port 0; 06 = word size of 6 bytes)

N30:2 = 0E0E (Service 0E = Get Attribute Single; 2nd 0E (bold)
is Node number.)

N30:3 = 0093 (0093 = class code – SCANport Pass-Through
Parameter Object)

N30:4 = 4015 (4015 = parameter number for GK61 inputs)

N30:5 = 0001 (Attribute = 1)

N30:70 = 0201 (02 = transaction ID; Status 01 = Success)

N30:71 = 0002 (00 = Port 0; 04 originally typed in – PLC
changed value to 02)

N30:72 = 8E0E (Service 8E = Get Attribute Singe; 2nd 0E (bold)
is Node number.)

N30:73 = Results of GK61 input read. Data is in Hexadecimal
format 0-F. 0 = 0000 (all bits off) F = 1111 (all bits off) F=1111
(all bits on).

Figure 6.7