Documentation for WagoAPP:HTTP, JSON; WagoSysCurl

I am working on two projects right now that are a little bit out of my comfort-zone:

-One project needs to have a CC100 establish secure HTTPs communication with our customer’s webserver.

-The second project needs to have an air-gaped PFC200 communicate via HTTP to a sensor that hosts it’s own RESTfull API.

I see there are Wago Libraries for these tasks but I’m not sure if I am using them correctly. I am very much a “RTFM” person but I can not find any more information that what is available in the CODESYS “Library Manager” window. Are there any example projects or high-level documentation for these libraries so I know if I am using the right tool correctly?

At this point I’m not sure if it would be better to use the CODESYS functions through the WAGO libraries or if I should off-load this to NodeRED.

it depends what do you need to do with this data and what kind of application it is

ofc it’s much easier to parse data and make get/post requests in NodeRED, but if you need to use special modules in PFC200, then you should use Codesys:

  • WagoAppHTTP.FbHTTP_Client_Curl (WAGO library, easy to use, but response is in STRING, so there are some problems with special characters)
  • Web Client SL (from Codesys, but its more complicated)

In CC100 you can also use serial and I/O without problems with NodeRED if you turn off runtime.
In PFC200 you can also use simple I/O if you disable runtime and run Docker image with WAGO/pfc-modbus-server: Docker Image to run PFC IO points as Modbus IO but you can use special modules (called mailbox modules) like DALI/KNX/RS