Comtrol UP DeviceMaster Quick Start User Manual
Page 21

DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D
Configuring Read/Write Devices - 21
Configuring Read/Write Devices
6.
Add the transmit message to your PLC program. It may help to reference rung 3 of
loopbackExampleTagWrite.L5K.
7.
Open the transmit message.
8.
On the Configuration Controller pane:
•
Set Message Type to CIP Generic.
•
Set Service Type to Set Attribute Single.
•
Set Class to:
-
Serial ports: Set to 71 Hex.
-
Socket ports: Set to 74 Hex.
•
Set Instance to the serial or socket number.
•
Set Attribute to 1.
•
Set Source Element to Com1_TxDataStr (or
Skt1_TxDataStr).
•
Set Source Length to at least the length
TxDataStr.length (or Skt1_TxDataStr.length)
plus 4.
9.
On the Communication pane:
•
Set Path to: <Ethernet IP Card Name>,2,<IP
Address>.
•
Leave Connected unchecked.
•
Click OK.
10. Add controlling logic to your PLC program to
control when to transmit the message. You may
wish to use loopbackExampleTagWrite.L5K as a
reference.