Explicit messaging with rslogix 5000 – Yokogawa Standalone MW100 User Manual

Page 130

Advertising
background image

App-28

IM MW100-17E

Explicit Messaging with RSLogix 5000

Explicit Messaging within RSLogix 5000 is similar to messaging in RSLogix 500 but there
are a few differences; the first is that everything is simplified if tags are predefined. From
the Controller Organizer (tree on left) pick Controller Tags and create a tag of Data Type
MESSAGE (in this example tag MSG1). Also create a tag that will hold the PLC data that
will be written to the MW100 (in this example tag DATATransfer which is a block of 10
floating point numbers). A Boolean bit to activate the message was also created as the
tag WriteMessageBit.

RSLogix 5000 Controller Tags Screen

The next step is to insert the message block from the Language Element Toolbar
designated as MSG under the Input/Output tab. The MSG block can be inserted as the
output of a rung. A controller tag of data type Message should be assigned to the MSG
block, in this case tag MSG1.

MSG block using tag MSG1

The next step is to configure the MSG block ([…] button). In this case the message block
is configured to write data from the PLC to the MW100 and so Message Type is set
to CIP Data Table Write. Source Element is set to DATATransfer (tag within PLC) and
the Number of Elements is set to 10 (number of bytes of data - in order to read or write
large amounts of data in a single message, increase the Number of Elements to the
appropriate value). The Destination Element is set to real[3099] which corresponds to
MW100 Communication Channel C100.

Message Configuration Tab

Appendix 8 Detailed Explicit and I/O Messaging using RSLogix

Advertising