EasyManua.ls Logo

YOKOGAWA DX1000 - RSLogix Message Configuration; Message Launch Logic

YOKOGAWA DX1000
21 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
17
IM 04L41B01-18E
Example of an Explicit Message Using RSLogix 5000
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]
MSG1 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 MSG1 is assigned to the MSG block.
MSG
MSG1
(EN)
Message Control
Message
(DN)
(ER)
...
Make the MSG block settings (Click the
button in the MSG block). The following
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 CIPDataTableW
rite
Source Element DATATransfer
Number Of Element 1
0
Destination Element real[3000]
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 LocalENB,2,192.168.1.126

Related product manuals