RedSoxFan3
Member
At my current job we have a relatively new system that has an Allen Bradley PLC as the main controller with some local I/O, but a lot of remote I/O including a couple racks of Beckhoff I/O and several EtherCAT devices that talk to the Beckhoff.
Apparently the local Beckhoff Distributor told one of our vendors that the Beckhoff PLC could be used as an Ethernet/IP to EtherCAT bus and you didn't need to write a PLC program.
It does this by creating an Ethernet/IP Slave that gets its own ethernet port and is controlled by an Allen Bradley Generic Ethernet Module. Variables are created and linked to the I/O data points on the EtherCAT network and then written to an ethernet assembly file that is sent to the Allen Bradley.
When I unplug ethernet from the port that is connected to the Ethernet/IP Slave on the Beckhoff, I can see communication loss at the Allen Bradley and I can see communication loss at the Ethernet/IP Slave in TwinCAT System Manager.
The problem is that this isn't causing my EtherCAT devices to de-energize.
I went into TwinCAT for the PLC and found that it's 100% setup in the System Configuration. There's no PLC program. "We don't need one" according to the vendor and the Beckhoff distributor.
I've read the TwinCAT manuals, spoken to my Beckhoff automation specialist, and spoke with Beckhoff tech support. None of them seem to know a lot about getting the EtherCAT Master to go into alarm and de-energize the network of devices. This seems like it should be really freaking standard for what's essentially a PLC configured to be remote i/o bus to not have some canned solution to configure the I/O for last state versus fail to off, fail to on, fail to min/max/predefinied analog output.
As someone who comes from Allen Bradley, I'm expecting to see dip switches, or an I/O configuration setting, but it seems like everyone from the Beckhoff side just looks at you sideways.
In fact my automation specialist got really defensive when I started asking questions and implied that he recommended this solution to our vendor and that there's nothing wrong with it when there's obviously serious problems with it.
The implications are that valves that control hazardous materials will not close upon loss of communication with the Allen Bradley PLC, nor if the Allen Bradley PLC goes into fault, so this REALLY NEEDS to get fixed.
This is my first experience with Beckhoff and while I like the platform there are clearly some quirks that I need to learn all the to work arounds.
I'm working on getting a spare PLC so I can run a test setup in my office. The machine with the Beckhoff is in production right now and doesn't have much if any downtime. I would like to know if I can just link the communication status from the Ethernet/IP Slave to one of the variables in the EtherCAT Master that will just disable everything easy peasy.
Tech support seemed baffled by this question and said I would need a PLC program. Does Beckhoff seriously not know anything about basic I/O configuration or did I just talk to the wrong person? It just baffles me that they would give this Ethernet/IP slave functionality, but not have a way to have status faults cascade into other networks.
Anyway, hoping there's a way I can handle all of this in the TwinCAT System Manager, not so that I have to do less work, but mostly so I can show my vendor so it's easy for them to justify going back to fix this for all the systems they installed improperly.
What I'm looking for is a way to link the Ethernet/IP Slave communication fault bit to some bit in the EtherCAT Master I/O Tree that will tell it to de-energize all the output modules.
Apparently the local Beckhoff Distributor told one of our vendors that the Beckhoff PLC could be used as an Ethernet/IP to EtherCAT bus and you didn't need to write a PLC program.
It does this by creating an Ethernet/IP Slave that gets its own ethernet port and is controlled by an Allen Bradley Generic Ethernet Module. Variables are created and linked to the I/O data points on the EtherCAT network and then written to an ethernet assembly file that is sent to the Allen Bradley.
When I unplug ethernet from the port that is connected to the Ethernet/IP Slave on the Beckhoff, I can see communication loss at the Allen Bradley and I can see communication loss at the Ethernet/IP Slave in TwinCAT System Manager.
The problem is that this isn't causing my EtherCAT devices to de-energize.
I went into TwinCAT for the PLC and found that it's 100% setup in the System Configuration. There's no PLC program. "We don't need one" according to the vendor and the Beckhoff distributor.
I've read the TwinCAT manuals, spoken to my Beckhoff automation specialist, and spoke with Beckhoff tech support. None of them seem to know a lot about getting the EtherCAT Master to go into alarm and de-energize the network of devices. This seems like it should be really freaking standard for what's essentially a PLC configured to be remote i/o bus to not have some canned solution to configure the I/O for last state versus fail to off, fail to on, fail to min/max/predefinied analog output.
As someone who comes from Allen Bradley, I'm expecting to see dip switches, or an I/O configuration setting, but it seems like everyone from the Beckhoff side just looks at you sideways.
In fact my automation specialist got really defensive when I started asking questions and implied that he recommended this solution to our vendor and that there's nothing wrong with it when there's obviously serious problems with it.
The implications are that valves that control hazardous materials will not close upon loss of communication with the Allen Bradley PLC, nor if the Allen Bradley PLC goes into fault, so this REALLY NEEDS to get fixed.
This is my first experience with Beckhoff and while I like the platform there are clearly some quirks that I need to learn all the to work arounds.
I'm working on getting a spare PLC so I can run a test setup in my office. The machine with the Beckhoff is in production right now and doesn't have much if any downtime. I would like to know if I can just link the communication status from the Ethernet/IP Slave to one of the variables in the EtherCAT Master that will just disable everything easy peasy.
Tech support seemed baffled by this question and said I would need a PLC program. Does Beckhoff seriously not know anything about basic I/O configuration or did I just talk to the wrong person? It just baffles me that they would give this Ethernet/IP slave functionality, but not have a way to have status faults cascade into other networks.
Anyway, hoping there's a way I can handle all of this in the TwinCAT System Manager, not so that I have to do less work, but mostly so I can show my vendor so it's easy for them to justify going back to fix this for all the systems they installed improperly.
What I'm looking for is a way to link the Ethernet/IP Slave communication fault bit to some bit in the EtherCAT Master I/O Tree that will tell it to de-energize all the output modules.
Last edited: