Example Of An Explicit Message Using Rslogix 5000 - YOKOGAWA SMARTDAC+ GP10 User Manual

Ethernet/ip communication (/e1)
Hide thumbs Also See for SMARTDAC+ GP10:
Table of Contents

Advertisement

Example of an Explicit Message Using RSLogix 5000
IM 04L51B01-18EN
This is an example of using RSLogix 5000 to configure an Explicit message to be sent to the
recorder 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 recorder 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 recorder (Name the tag
as DATATransfer and store 10 FLOAT values). Make a bit used to launch a message as
WriteMessageBit.
Controller Tags
Name
DATATransfer
MSG1
WriteMessageBit
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 MSG1 is assigned to the MSG block.
MSG
Message
Message Control
MSG1
...
Make the MSG block settings (Click the
an example in which the PLC writes data to the communication channel data C001 to C010
on the recorder.
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 [6000]. "This corresponds to communication channel data C001 on the
recorder.
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 recorder. The path
name should consist of the PLC Ethernet port name (LocalENB in this example), comma, 2,
comma, and the recorder IP address in this order.
Message Configuration
Communication Tab
Path
Data Type
REAL [10]
Message
BOOL
(EN)
(DN)
(ER)
button in the MSG block). The following shows
...
CIP Data Table Write
DATATransfer
10
real [6000]
LocalENB,2,192.168.1.126
33

Advertisement

Table of Contents
loading

Table of Contents