MSG not pushing to buffer dint?

KingPresident

Member
Join Date
Aug 2015
Location
Michigan
Posts
138
I have 2 configured PLC's that send and receive MSG's.

PLC 1

Set to CIP Data table Read
MSG Source is msgFROMplc2.dint[0]
MSG Dest is InputBuffer.dint[0]



I can send a value from PLC2, AND I can see it show up in PLC 1 at msgFROMplc2.dint[0], but the MSG will not push it to InputBuffer.dint[0]

However, I can use a MOV to move the value from msgFROMplc2.dint[0] to InputBuffer.dint[0] and it works, but I would think that it should be moved by the MSG instruction, not my additional MOV.


Clear as mud?
Is this normal, and if not, what am I doing wrong?

I am enabling and resetting every 1 second.
 
http://www.plctalk.net/qanda/showthread.php?t=117008

The above thread may help you out.
You have not specified the PLC's that you are using.
"The MicroLogix 1400 doesn't know about CompactLogix tag names, so you have to take the extra step of setting up a "PLC/SLC Data Table Map" in the CompactLogix to correlate an INT or REAL[x] array tag to a Data Table address like N7 or F8."

Regards,
 
I can send a value from PLC2

Explain exactly what you mean by "send".

Some old platforms of PLCs required you to set up a Send instruction in one controller and a Receive instruction in another, as a matching pair. Allen-Bradley controllers do not.

A CIP Data Table Read instruction executed in "PLC-1" will request the value of the Source Element (msgFROMPLC2.dint[0]) from the other controller "PLC-2", and place its value in the Destination tag (InputBuffer.dint[0]).

You can choose to use CIP Data Table Read or CIP Data Table Write, as appropriate for your application.

But you only need one instruction for each transfer of data.
 
Ken, thanks for that.

I was doing it wrong. I had MSG instructions on both plc's referencing the same tag.

Solution: I eliminated the MSG's on PLC2, now all works as intended. /thread.
 

Similar Topics

I'm using a SLC typed write from the ControlLogix5572 to the MicroLogix 1400, with path: 2, (MicroLogix IP). The ControlLogix equipment has a...
Replies
0
Views
57
I have an 1769-L16ER that I use to test code and I just found that I can't create MSG tags at the local program scope - they have to be done at...
Replies
4
Views
189
I have a client who periodically experiences network communication issues. Sometimes when I VPN into the site, their SCADA systems will flash comm...
Replies
2
Views
163
I'm trying to read/write to an SLC5 with a ControlLogix L71 V35 plc that fails. The exact same code works on an L82S with V32. Is there a known...
Replies
10
Views
285
Hello all, I am currently trying to establish a message instruction to pass data from a 1756-L73 to a 1756-L71. My communication path from the...
Replies
8
Views
335
Back
Top Bottom