How checking for MSTR error

R

Thread Starter

Robert Mehlman

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?
 
<p>Hi,

<p>I think the solution should looks like this:
<pre>
00101 00102 |------|--()
--|/|----|/|---|40100 |0101
|40300 |--()
| MSTR |0102
| 100 |--()
|------|
00101
-------------------------|P|---|-----|------|
00102 | |40101 |
-------------------------|P|---| |40150 |
| BLKM |
|#00001|
|------|
</pre>
<p>So in 40150 register you will have the last communication status.

<p>Regards<br>
Andrzej<br>
www.modbus.pl
 
R

Robert Mehlman

Thank you for answering me.

1. Why the 2 NC contacts in the left side of the MSTR?

2. To see if there was a communiction error and to react logic have to see the value of 40150? If not zero there was an error. Do I understand correct?
 
Top