Using explicit messaging (continued) – Rockwell Automation 160-DN2 160-DN2 DeviceNet Communication Module FRN 3.xx User Manual

Page 70

Advertising
background image

Publication 0160-5.18 - June 2003

6-32

Using 160-DN2 with DeviceNet Scanner

Using Explicit Messaging
(Continued)

Figure 6.23
ControlLogix Example Explicit Messaging Ladder Logic Program

Table 6.E Tags for ControlLogix

Example Explicit Messaging Program

Tag Names

for Read Messages

Type

Tag Names

for Write Messages

Type

StartParameterRead

BOOL

StartParameterWrite

BOOL

Output_Current

INT

ParameterWriteMessage

MESSAGE

ParameterReadMessage

MESSAGE

Accel_Time_1

INT

0

StartParameterRead

EN
DN
ER

Type - CIP Generic
Message Control

ParameterReadMessage

...

MSG

1

StartParameterWrite

EN
DN
ER

Type - CIP Generic
Message Control

ParameterWriteMessage

MSG

(End)

...

This rung writes the value of parameter 30 - [Accel Time 1]. The value is taken from the WriteSource tag.

This rung reads the value of parameter 3 - [Output Current]. The value is in the ReadDestination tag.

Advertising