Ladder logic program – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual
Page 65

Using Explicit Messaging
6-5
Table 6.A Tags for the ControlLogix Example Explicit Messaging Program
Ladder Logic Program
Figure 6.4 Example ControlLogix Ladder Logic Explicit Messaging Program
For a ControlLogix controller I/O ladder example program, see
Tag Names
for Read Message
Type
Tag Names
for Write Message
Type
Perform_Parameter_Read
BOOL
Perform_Parameter_Write
BOOL
Parameter_Read_Message MESSAGE
Parameter_Write_Message MESSAGE
Output_Current
INT
Accel_Time_1
INT
Explicit Messaging Examples
Reading a single parameter (Get Attribute Single command)
This message example reads from Parameter d003 - [Output Current] and stores its value in the "Output_Current" controller
tag.
0
Perform_Parameter_Read
EN
DN
ER
Type - CIP Generic
Message Control
Parameter_Read_Message ...
MSG
Explicit Messaging Examples
Reading a single parameter (Get Attribute Single command)
This message example reads from Parameter d003 - [Output Current] and stores its value in the "Output_Current" controller
tag.
Writing a single parameter (Set Attribute Single command)
This message example writes to Parameter P039 - [Accel Time 1] and stores its value in the "Accel_Time_1" controller tag.
1
Perform_Parameter_Write
EN
DN
ER
Type - CIP Generic
Message Control
Parameter_Write_Message ...
MSG
Writing a single parameter (Set Attribute Single command)
This message example writes to Parameter P039 - [Accel Time 1] and stores its value in the "Accel_Time_1" controller tag.
(End)