fbGetRtsInfo with 750-8303

Hi everyone,
I’m using 750-8303 and I would like to understand how to use fbGetRtsInfo, how can it return the plc stop if the plc is in stop and does not process the function block?
I would like to make the RUN or STOP data available to other plcs on the network.

Thanks for the help
Roberto

Hello Roberto,
First, i think you are using a 752-8303.
Next, I also think you are using codesys 3.5 ?
Which protocol are you using ?
If you are using a protocol made by the program (Codesys or library) those will stop when the program is stopped (so timeout).
There may be another way but everything depend on what PLC and what protocol is used.

Hi Christophe,
sorry, yes, the controller is a 752-8303 and I’m using it with codesys 3.5.
The protocol I use between one plc and another is NETVAR and OPC UA, but I would mainly be interested in being able to transfer the plc information in STOP via netvar, do you think, in some way, is it possible?
Thanks for your support.

The only way would be to have a NETVAR system running in the Linux itself which read the codesys status and send it to a dedicated NETVAR list …
But this require to have a special ipk package made for this usage.

Could you simply create a blinking “heartbeat” variable in the 752-8303? You could either transmit it via NetVar or monitor it via OPCUA. If the variable stops alternating between on and off, you know the plc has stopped.