davidwarrenabaxis
Member
I'm trying to use Messaging between my two PLCs.
Components:
MicroLogix 1500 LRP series C
CompactLogix 1769-L33ER
1761-NET-ENI D connected to serial port on MicroLogix 1500
unmanaged network switch
I want to either
1. use messages in the MicroLogix 1500 to read and write data in the CompactLogix, or
2. use messages in the CompactLogix PLC to read and write data in the MicroLogix 1500.
I have the MicroLogix 1500 serial port connected to the serial port on the 1761-NET-ENI. I have setup the IP address in the NET-ENI. I connected the NET-ENI's Ethernet port to an unmanaged switch. I can ping the NET-ENI from my laptop. I can see the MicroLogix 1500 in RSLynx on an Ethernet driver, and I can go online with the MicroLogix 1500 with RSLogix500 on an Ethernet connection.
I have the CompactLogix PLC connected to the same network switch as above. The CompactLogix processor has a built-in Ethernet port, and I assigned its Ethernet address. I can ping the CompactLogix from my laptop. I can go online with the CompactLogix with RSLogix5000.
IP Addresses
NET-ENI
IP address 100.100.100.001
Mask 255.255.0.0
CompactLogix
IP address 100.100.100.002
Mask 255.255.0.0
Laptop
IP address 100.100.100.099
Mask 255.255.0.0
My intent is to use messaging to read and write data between the two PLCs, so I setup the NET-ENI messaging tab with Node Number 45 as IP address 100.100.100.002.
I cannot get Messaging to work, neither with an MSG block in the MicroLogix ladder nor with an MSG block in the CompactLogix ladder.
It looks to me that my CompactLogix processor is in slot 0 on that PLC rack. My RSLogix5000 screen shows:
1769 Bus
[0]1769-L33ER
ETHERNET
1769-L33ER
I don’t care which PLC does the messaging. I can have the MicroLogix1500 read data in the CompactLogix PLC, and I can have the MicroLogix write to data registers in the CompactLogix PLC. It can be the reverse, too.
I tried a few variations. Here’s an example of how I tried to read data in the CompactLogix. I used an MSG statement in a rung on the MicroLogix1500.
This Controller
Communication Command: 500CPURead
Data Table Address: N21:0
Size in Elements: 10
Target Device
Data Table Address: N21:0
Local Node Addr (dec): 45
Then I did the following in the CompactLogix PLC:
Created a new tag called ML1500_Data, with INT[10] as the data type.
Under Logix>Map PLC/SLC Messages, I entered 21 for the File Number and selected ML1500_Data as the corresponding tag.
I downloaded the updated programs to each PLC and went online. The rung in the MicroLogix1500 that has the message statement also has a XIC contact, B3:0/1 “Read Data” that I can toggle. I get an ER when I activate the rung in the MicroLogix 1500.
Any suggestions would be greatly appreciated!
Components:
MicroLogix 1500 LRP series C
CompactLogix 1769-L33ER
1761-NET-ENI D connected to serial port on MicroLogix 1500
unmanaged network switch
I want to either
1. use messages in the MicroLogix 1500 to read and write data in the CompactLogix, or
2. use messages in the CompactLogix PLC to read and write data in the MicroLogix 1500.
I have the MicroLogix 1500 serial port connected to the serial port on the 1761-NET-ENI. I have setup the IP address in the NET-ENI. I connected the NET-ENI's Ethernet port to an unmanaged switch. I can ping the NET-ENI from my laptop. I can see the MicroLogix 1500 in RSLynx on an Ethernet driver, and I can go online with the MicroLogix 1500 with RSLogix500 on an Ethernet connection.
I have the CompactLogix PLC connected to the same network switch as above. The CompactLogix processor has a built-in Ethernet port, and I assigned its Ethernet address. I can ping the CompactLogix from my laptop. I can go online with the CompactLogix with RSLogix5000.
IP Addresses
NET-ENI
IP address 100.100.100.001
Mask 255.255.0.0
CompactLogix
IP address 100.100.100.002
Mask 255.255.0.0
Laptop
IP address 100.100.100.099
Mask 255.255.0.0
My intent is to use messaging to read and write data between the two PLCs, so I setup the NET-ENI messaging tab with Node Number 45 as IP address 100.100.100.002.
I cannot get Messaging to work, neither with an MSG block in the MicroLogix ladder nor with an MSG block in the CompactLogix ladder.
It looks to me that my CompactLogix processor is in slot 0 on that PLC rack. My RSLogix5000 screen shows:
1769 Bus
[0]1769-L33ER
ETHERNET
1769-L33ER
I don’t care which PLC does the messaging. I can have the MicroLogix1500 read data in the CompactLogix PLC, and I can have the MicroLogix write to data registers in the CompactLogix PLC. It can be the reverse, too.
I tried a few variations. Here’s an example of how I tried to read data in the CompactLogix. I used an MSG statement in a rung on the MicroLogix1500.
This Controller
Communication Command: 500CPURead
Data Table Address: N21:0
Size in Elements: 10
Target Device
Data Table Address: N21:0
Local Node Addr (dec): 45
Then I did the following in the CompactLogix PLC:
Created a new tag called ML1500_Data, with INT[10] as the data type.
Under Logix>Map PLC/SLC Messages, I entered 21 for the File Number and selected ML1500_Data as the corresponding tag.
I downloaded the updated programs to each PLC and went online. The rung in the MicroLogix1500 that has the message statement also has a XIC contact, B3:0/1 “Read Data” that I can toggle. I get an ER when I activate the rung in the MicroLogix 1500.
Any suggestions would be greatly appreciated!