Rockwell-automation RECOMM-DNET DeviceNet Adapter for use with DPI AC Uživatelský manuál Strana 75

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 168
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 74
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.
Zobrazit stránku 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 167 168

Komentáře k této Příručce

Žádné komentáře