PLC to PLC Ethernet

Dani610

Member
Join Date
May 2018
Location
Adelaide
Posts
33
Hello Everyone,

I am using two AB ML 1400 that are connected via ethernet switch. Input is given at one plc and output is on the second plc. Now I want that whenever the ethernet cable of first plc is unplugged the output should turn off. what should I do. what is the appropriate approach.

Thank you
 
Hello Everyone,

I am using two AB ML 1400 that are connected via ethernet switch. Input is given at one plc and output is on the second plc. Now I want that whenever the ethernet cable of first plc is unplugged the output should turn off. what should I do. what is the appropriate approach.

Thank you

I am using Rslogix 500 in Vmware workstation 14 player
 
I am a little confused.

when the Ethernet cable is unplugged, you want the outputs of the first plc to die or the second?

if its the second, I would set up a heartbeat signal between the two plc's.

maybe some can answer as to how, I am not that good at it.

james
 
I am a little confused.

when the Ethernet cable is unplugged, you want the outputs of the first plc to die or the second?

if its the second, I would set up a heartbeat signal between the two plc's.

maybe some can answer as to how, I am not that good at it.

james

I want the output on second plc to die
 
Maybe you could monitor the message error bit if you are doing a read in PLC2 from PLC1.

Alan

Yes i am doing that i have stored the input in an integer bit and then reading that integer bit in PLC2. it reads the data fine but when i unplug the ethernet cable nothng happens
 
If you are doing a read message in PLC2 of an integer in PLC1 then when the message tries to do a read and the ethernet is disconnected the message should show an error, MG9:0.ER.
MG9 = message file.

Alan

This wont work if you are doing a Write message from PLC1 to PLC2.
 
below are the codes. i am reading the integer N:20 in PLC2 and storing that in N23:0 then using that to fire output but when i unplug the ethernet cable of PLC1. the PLC2 logic remains the same nothing happens output stays on

out22.jpg out222.jpg
 
If you are doing a read message in PLC2 of an integer in PLC1 then when the message tries to do a read and the ethernet is disconnected the message should show an error, MG9:0.ER.
MG9 = message file.

Alan

This wont work if you are doing a Write message from PLC1 to PLC2.

and this is the setup screen of read msg

nnn.png
 
Last edited:
I cannot read those images they are too blurry, I see you are using a message instruction, instead of a full screenshot just do the message instruction and the message instruction dialog box.

Alan.
 
thank you all for your feedback i have found a solution now the only problem is that it doesn't start receiving msg when i plug the ethernet cable in again. below is the output logic on plc 2. the enable bit and error bit stays on

If i i don't use the .ER bit in parallel with .EN bit in rung 0 then the .ER bit in rung doesn't work.

d.png
 

Similar Topics

Hi all, My ethernet port on my laptop recently broke and I was hoping to just use a usb-c dongle in the mean time to go live on my PLC until I...
Replies
14
Views
437
Hi; In a cabinet of a machine, a Fatek PLC with an Ethernet communication card is working. In the same cabinet, there is a 1 kW inverter. When...
Replies
16
Views
487
I'm adding an IAI Gateway with 2 axes connected to it. To an ethernet network on my PLC. So, I think the math is correct on the Input and Output...
Replies
0
Views
133
Hello, I've been trying to learn this a while now and still have not found out how this works. I have an Omron CJ2M PLC and an ABB ACS 355 VFD...
Replies
1
Views
218
An outside contracting firm designed a machine for our company. There are several devices connected through Ethernet/IP. This includes a Panel...
Replies
4
Views
188
Back
Top Bottom