NiloRamirez
Member
Hi,
I'm using a PLC M340 (Master) to communicate with a M221 (Slave) PLC. To do this communication, I'm using "Read_var" and "Write_var" blocks.
The communication is working, but when I lose it, I can not communicate again. I have to reset my M340 (Master) to reestablish the communication.
I've seen in my "GEST" vector that when I lose communication, the "ModbusRead_Dig01_CP04[1].0" is aways 1. Picture "Stop".
I need an automactic reconnection.
Can anybody help me?
Thanks, Nilo Ramirez.
I'm using a PLC M340 (Master) to communicate with a M221 (Slave) PLC. To do this communication, I'm using "Read_var" and "Write_var" blocks.
The communication is working, but when I lose it, I can not communicate again. I have to reset my M340 (Master) to reestablish the communication.
I've seen in my "GEST" vector that when I lose communication, the "ModbusRead_Dig01_CP04[1].0" is aways 1. Picture "Stop".
I need an automactic reconnection.
Can anybody help me?
Thanks, Nilo Ramirez.