Reading system LED states and physical diagnostics on PFC100 (750-8112)

Hi @jahedul ,

One option for this is to use the WagoAppConfigTool library. I have used this to pull some of the controller’s internal diagnostic/configuration information directly into a CODESYS application.

For example, the library can be used with calls such as:

./get_led_config_state IO

to read the configured state/color of the I/O LED, and:

./get_actual_eth_config X1 cable-state
./get_actual_eth_config X2 cable-state

to check the physical Ethernet link/cable state of the X1 and X2 ports.

I attached a screenshot showing a simple test where I am calling the ConfigTool function blocks and storing the results in string variables.

I also made a separate forum post with more detail on using the library here:

https://www.wago.community/t/howto-using-wagoappconfigtool-library-for-accessing-controller-diagnostics/2333