Hi community i am fairly new on this and i thought i would ask some of you a little help.
I am working with an API which allows me to send single https commands via a web page to the achieve the same result as if doing directly in the main application software.
I also use wago PFC for several functions which mostly involve modbus and regular ladder logic programming. Exploring E!cockpit libraries I came across WagoAppHTTP and grow the idea to implement the API functionality within my wago program.
After different attempts on configuring the function block FbHTTPs_GET I have given up as not really capable of understanding how to use it.
My real intention would be to trigger functions on the external software API with FbHTTPs_POST sending my http commands and receive feedback sent out by the API with FbHTTPs_GET
I would need sending 3 different commands and receive 6 different feedback types.
To receive
http://172.17.1.200/unlocked/post.php
this above is actually something I can write from the external software in plain text and the http command sent is also plain text type.
172.17.1.249 is the API address and 172.17.1.200 is my PFC100
I would need someone to help me configuring the variables necessary for the blocks or even an example of an already configured function block with all needed variables. Something which I can explore to understand what I am doing wrong.
Is here anyone who regularly uses the blocks and knows if I could get the PFC100 to receive and send these commands to then make them variables for my program?
Thanks for you help