
Using Explicit Messaging
7-9
Configuration Value Description Refer to . . .
Service Code
Object Type
Object ID
Object Attribute
10 (hex)
f (hex)
101 (dec)
1 (hex)
Get_Attribute_Single
Parameter Object
Parameter Address
Parameter Value
Page C-10
Page C-8
Page C-9
Figure 7.6 – Data Format for a Read and Write Parameter (2 of 2)
Table 7.5 – Tags for the Sample Explicit Messaging Program
Tag Names
for Read Message Type
Tag Names
for Write Messages Type
StartParameterRead BOOL StartParameterWrite BOOL
ParameterReadDestination INT ParameterWriteDestination INT
ParameterReadMessage MESSAGE ParameterWriteMessage MESSAGE
ParameterReadSource INT ParameterWriteSource INT
Figure 7.7 – Sample ControlLogix Ladder Logic Program
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 101. The value is taken from the WriteSource tag.
This rung reads the value of parameter 101. The value is in the ReadDestination tag.
Comentarios a estos manuales