MSTR communication Error check

MRobert

Member
Join Date
Jan 2006
Location
Vienna
Posts
37
We use MSTR blocks for reading registers from one PLC to another. We use MODSOFT.
How do I have to check if a communication error occurs?
-Is it enough to use the middle output of the MSTR block?
-Maybe better to read a register of a counter from the remote PLC and checking if the value changes?
-Maybe better to read the Error register of the MSTR block?
 
The level of error checking you use is dependent on the importance of the communication.

Most of the time I simply use the error output pin. If this indicates an error then I might look at the error register, but I rarely do this. For citical communications I use either a "heartbeat" pulse or a pair of watchdog timers.
 
Yes it's a good idea to use "Heartbeat" pulse when communicating between two PLC's for checking the healthiness of the communciation.
"Heartbeat" pulse what I have used is nothing but writing and reading a bit at a continuos interval between the PLCs. The moment we are not able to read or write this bit, it implies that there is an error.

Shan
 

Similar Topics

Hello, I am trying to modify the MBP_MSTR FB in order to write data to another thirty part device. Could you give me an example (which working)...
Replies
6
Views
2,549
We're in the process of switching to Unity Pro from ProWorx32 and having issues with the MSTR blocks retaining their values after a 'transfer to...
Replies
2
Views
1,636
Hello Everyone, I was wondering if any other users at plctalk.net could comment on experience configuring the I/O scanner within Unity Pro XL as...
Replies
2
Views
2,886
I need some help trying to set up ethernet comms using a MBP MSTR block in Unity Pro. I would like to read from an Advantys RIO to a Quantum PLC...
Replies
11
Views
2,491
For Quantum CPU 113: XMIT - Instruction used solely for Modbus RTU (or similar) and not Modbus Plus MSTR - Instruction used solely for Modbus...
Replies
0
Views
1,980
Back
Top Bottom