You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The WAGO PFC 750-8214 is not able to subscribe to an endless amount of topics at the same time. To overcome this issue, it is possible to parse the JSON data using the WagoAppJSON library.

A custom function block was created to retrieve setting data and output it as a custom STRUCT called "SensorSetting". The function block takes the identifier and the json string, and retrieves the

identifier_max, identifier_min, identifier_target, and identifier_auto values found in the json string.


To use the function block, the jsonString and identifier must be set, before the action JSONSettingParser.Parse() must be run to parse the data and generate the output.


The Function Block Setup:


Function Block Program Code:


SensorSetting Structure:


  • No labels