CLX to ML1400 Messaging Question

lostcontrol

Lifetime Supporting Member
Join Date
May 2009
Location
NeverSayNever
Posts
1,071
Hi,
I am configuring a message from a ControlLogix to a ML1400. I have no issues with setting this up, but have a question in how it reads from the SLC.

if I want to read from B3:0, & I specify the destination as a DINT, with the Number of Elements as 2, will it read B3:0 & B3:1 to the complete DINT, or will it split them over 2 separate elements?
 
You might have to experiment with this one.

What I expect is that if the destination tag is a DINT, and the number of elements is 1, that the message will place B3:0 in the low 16 bits and B3:1 in the high 16 bits.

In general, the Length argument of a ControlLogix instruction is the number of destination elements.

I always use INT[x] arrays when messaging to and from PLC/SLC/MicroLogix controllers to avoid any ambiguity for future maintainers of my code.

Let us know the experimental result !
 
Update.
The source is read based on the destination (I think..)
I configured the instruction to read a single element from B3:5 & write to a DINT. 32 bits were coped across as expected.

I always use INT[x] arrays when messaging to and from PLC/SLC/MicroLogix controllers to avoid any ambiguity for future maintainers of my code.
I hadn't thought of this since I was not sure how it exactly worked. I have commented each individual bit as to where it comes from in the source PLC.
 
Hi,
I am configuring a message from a ControlLogix to a ML1400. I have no issues with setting this up, but have a question in how it reads from the SLC.

if I want to read from B3:0, & I specify the destination as a DINT, with the Number of Elements as 2, will it read B3:0 & B3:1 to the complete DINT, or will it split them over 2 separate elements?

When I ran into a situation similar to this (Reading a value in a ML1100 from an L35E), My MSG instruction would error out as a Data Type mismatch. I had to use the L File in the Micrologix Processor to message back and forth, although I bet if I specified the data type as INT in the CLX it also would have worked.
 
Last edited:

Similar Topics

We've got a CLX L35E (v16.3)sending/receiving data to a MicroLogix 1400, via MSG instruction over ethernet. We read then write data every second...
Replies
2
Views
2,424
The other vendor is suppling a system with a ML1400 on it and we need to exchange 4 words of data with it (2 words each way), via ethernet...
Replies
4
Views
3,684
Controller: 1756-L84E v.35 Prosoft MVI56E-MNETC for ModbusTCP/IP I'm having an issue with some of my write commands. The write command that...
Replies
0
Views
199
I have several Avery scale units and they are configured as Generic Ethernet modules, and I am actually reading the data fine for the weight...
Replies
2
Views
427
What's the best way to move a tag value from the panelview+7 to the clx plc. We display amps from a power meter on the panelview screen, read in...
Replies
1
Views
400
Back
Top Bottom