Example Of An Explicit Message Using Rslogix 5000 - YOKOGAWA DX1000 User Manual

Ethernet/ip communication interface
Hide thumbs Also See for DX1000:
Table of Contents

Advertisement

Example of an Explicit Message Using RSLogix 5000

IM 04L4B0-8E
This is an example of using RSLogix 5000 to configure an Explicit message to be sent to
the DX by a PLC supporting the CIP Data Table Read/Write command.
This section assumes that the reader is familiar with the operations of RSLogix 5000 and
RSLinx and that RSLogix 5000 can communicate with the target DX via RSLinx.
Tag
Making tags initially will be useful. Go to Controller Organizer (a tree on the left side of
the screen) and open Controller Tag to make a tag with Data Type of Message (Name
the tag as MSG1). Also, make a tag used to retain data to be written to the DX (Name the
tag as DATATransfer and store 10 FLOAT values). Make a bit used to launch a message
as WriteMessageBit.
Controller Tags
Name
Data Type
DATATransfer
REAL[10]
MSG
Message
WriteMessageBit
BOOL
MSG Instruction
Go to the Input/Output tab, then the Ladder Element toolbar to select MSG. The MSG
block is inserted as ladder output. Tag MSG is assigned to the MSG block.
MSG
Message
Message Control
MSG1
...
Make the MSG block settings (Click the
shows an example in which the PLC writes data to the communication input data C01 to
C10 on the DX.
Set the Message Type as "CIP Data Table Write," Source Element as "DATATransfer"
(a tag in the PLC described earlier), Number of Element as "10" (which can be set to a
larger value if more data should be read or written per message). Set the Destination
Element as "real[3000]. "This corresponds to communication input data C01 on the DX.
Message Configuration
Configuration Tab
Message Type
Source Element
Number Of Element
Destination Element
Next, go to the Communication tab and set a connection path to the DX. The path name
should consist of the PLC Ethernet port name (LocalENB in this example), comma, 2,
comma, and the DX IP address in this order.
Message Configuration
Communication Tab
Path
(EN)
(DN)
(ER)
button in the MSG block). The following
...
CIP Data Table Write
DATATransfer
0
real[000]
LocalENB,2,192.168.1.126
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx1000nDx2000

Table of Contents