Explicit messaging with rslogix 5000 – Yokogawa Standalone MW100 User Manual

Page 15

Advertising
background image

15

IM CA150E

Explicit Messaging with RSLogix 5000

®

Explicit Messaging within RSLogix 5000

®

is similar to messaging in RSLogix 500

®

but there are a few differences; the fi rst is

everything is simplifi ed if the tags are predefi ned. 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 fl oating 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 confi gure the MSG block ([…] button). In this case the message block is confi gured to write data from the PLC
to the MW100 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 Confi guration Tab

Advertising