Hello everyone,
We currently have several PFC200 PLCs within a control architecture that communicates via Modbus with a SCADA system. We need to monitor the CPU’s RUN and STOP status.
Does WAGO have reserved registers for this?
Is there a library available that allows us to detect or monitor this status?
it provides nearly everything which is available inside the Web Based Management.
try it out.
Provide Diagnostic from the Program will only work the Codesys Runtime is in RUN.
so i recommend to use the REST API to get all relevant Diagnostic Information of the Linux OS, including PLC Data.
But the REST API will only work for Devices PFC100 Generation 2, CC100, PFC200 Generation 2, Edge Controller and TP600 with a FW >= Index 28.
In Codesys 3.5 runtime (FW>22) special registers are not available, so when program is stopped, you will receive modbus timeout response (unfortunately this is a feature of this version of codesys), but:
if you can ping, but there is no response from modbus - program stopped
for PFC200 G2/TP600/EDGE you can run some Docker container which cyclically runs /etc/config-tools/get_run_stop_switch_value (script return value “run” or “stop”) and show this info in modbus TCP server on different port
Let us know which version of controller (750-8202 (PFC200 G1) or 750-8212 (PFC200 G2)) and which runtime (codesys 2.3/e!COCKPIT/Codesys 3.5) are you working with
Récupération des infos d’un contrôleur - WagoAppPLCInfos_FR
CODESYS 3
WagoAppPLCInfos_FR est une bibliothèque CODESYS 3 permettant de récupérer les informations générales relatives à un contrôleur ainsi que d’un contrôleur disposant d’une interface GSM intégré.