Comm Fail

MLBerg

Member
Join Date
Oct 2003
Location
Louisiana
Posts
3
I am new to the plc word and looking for an easy way to check for communication failure between two plc's communicating via radio. I am using Direct Logic's DL205 with MDS 9810 radio.
 
Unless you already have Quality (Fail/OK) BITs in the PLC functions you have to program a "heartbeat".

PLC "A" Turns a Bit to 1 in PLC "B" which resets it to 0.

When this BIT stays unchanged for a certain amount of time, then you have a com. failure.

Do the same thing from B to A.
 
I use a technique similar to Pierre's but instead of cycling a bit I read the real time clock seconds register in the slave PLC. If the time is unchanged for three cycles, I set the error bit.
 
Heartbeat Works

Pierre is correct with the heartbeat theory. I have just completed a project with DL-205 w/ 250 in which one machine upon power up will go out and try to find up to 8 stations. Not every application of this machine will use all 8 stations but we wanted one program to cover all possibilities. Once the master finds all stations that are "alive" it fills in a table to do the communications with. If I get a comm error sp 117 right after trying to communicate with one of the stations I go into e-stop mode until I can get that station back on line.

I also do the heartbeat trick in my program for some signalling. Here is an example psuedocode.

Slave sets bit C0

Master reads bit C0 from slave
if bit C0 on then bit C1 on (not set)

Master sends bit C1 to slave

Slave Reads bit C1
if Bit C1 on Reset bit C0


This works well in my program.
Hope this helps.
 

Similar Topics

Hi all, I have a project which utilizes an L-33ER CompactLogix (v32), which will communicate with a RIO rack with a 1769-AENTR card in its Slot...
Replies
4
Views
795
I am looking to know how people have implemented communication failure routines with PLCs (Allen B) in their FT View applications. recently took...
Replies
1
Views
1,666
Hey guys. As the title suggests, I need to configure a Danfoss Aquadrive FC202 inverter, so that its logic inhibits the local command when the...
Replies
2
Views
52
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
525
After updating a panel, I inherited another PLC for my "learning lab". It's a Modicon TSX Micro. I've not worked with a Modicon PLC yet, so I...
Replies
1
Views
141
Back
Top Bottom