Excellent tutorial! Thank you for sharing! Question: I'm replicating this demonstration in simulation mode (I don't have a PLC yet), but the communication is busy. Do I need to configure anything else?
Great job man 😮 But It can’t work in simulation mode so it would be great if you give us more information about the configurations. Are -“Q300_Modbus”, -”Device(TN-UHF…)” important to the realization of this test??
The rest client needs a real routed ip address to communicate with the REST API. In Simulation mode, you dont have that. You will need a real PLC to make this work. The “Q300_Modbus” is just the name of the project and the ”Device(TN-UHF…)” is my PLC that i am using. I hope this helps. Let me know if you have any more questions
I downloaded the library and tried to redo what he exactly did. My Http Block looks more simple and with less inputs/outputs. I tried to do it myself with the help of the library but couldnt accomplish. Did/does anyone else have the same problem as me?
@@brightersidehacks thanks for the fast reply. I deleted and downloaded the library again and it worked! I have another question tho. Can I do the same with a raspberry pi, not with a plc? Great video btw!
Thank you Man , Much appreciated. I just mange to Read API on A FESTO PLC . Would love to have more help in development as i have to read values every minute. But how do you get a single value from the entire header. How do you isolate it ?
@@brightersidehacks I recieve it like this at your example Below is an example for test. Which i manage to read it all. But how can i read only one line and get only the number 123.456 from the below content. Which other Command can i use to take the specific value. Example { "Binary1":True, "Binary2":False, "None":null, "Empty":""", "Float":123.456, "integer":234 } thanks in advance.
@@usernamekitkat Now what you need is to find a way to deserialise the json string to extract the data you want. There are some json libraries you can use for this
Thanks for creating this tutorial, very helpful and easy to follow.
Thank you for the video. Any chance you remember what troubling shooting you did at 20:10
Excellent tutorial! Thank you for sharing!
Question: I'm replicating this demonstration in simulation mode (I don't have a PLC yet), but the communication is busy. Do I need to configure anything else?
Hello, i am afraid you wont be able to make it work in simulation mode because the codesys soft PLC is not routed.
Thank you my friend, excelent video!
Great job man 😮
But It can’t work in simulation mode so it would be great if you give us more information about the configurations.
Are -“Q300_Modbus”,
-”Device(TN-UHF…)” important to the realization of this test??
The rest client needs a real routed ip address to communicate with the REST API. In Simulation mode, you dont have that. You will need a real PLC to make this work. The “Q300_Modbus” is just the name of the project and the ”Device(TN-UHF…)” is my PLC that i am using. I hope this helps. Let me know if you have any more questions
I downloaded the library and tried to redo what he exactly did. My Http Block looks more simple and with less inputs/outputs. I tried to do it myself with the help of the library but couldnt accomplish. Did/does anyone else have the same problem as me?
Didi you use the exact function block as is in the video?
@@brightersidehacks thanks for the fast reply. I deleted and downloaded the library again and it worked! I have another question tho. Can I do the same with a raspberry pi, not with a plc? Great video btw!
@@alperenakdas4424 Yes, it works, i have used it several times with RPI
Thank you Man , Much appreciated. I just mange to Read API on A FESTO PLC . Would love to have more help in development as i have to read values every minute. But how do you get a single value from the entire header. How do you isolate it ?
Well, it depends on the format of the data returned. is your data in JSON format?
@@brightersidehacks
I recieve it like this at your example
Below is an example for test. Which i manage to read it all. But how can i read only one line and get only the number 123.456 from the below content. Which other Command can i use to take the specific value.
Example
{
"Binary1":True,
"Binary2":False,
"None":null,
"Empty":""",
"Float":123.456,
"integer":234
}
thanks in advance.
@@brightersidehacks yes it is in a jason format
@@brightersidehacks can i email you at the email in your youtube site ?
i can send you some screenshots and show you my test.
@@usernamekitkat Now what you need is to find a way to deserialise the json string to extract the data you want. There are some json libraries you can use for this
Could you demo a industrial cloud fron siemens or schneider or abb cloud?
can i get the link to the library
You can find it here: forge.codesys.com/prj/codesys-example/http-client-exa/home/Home/
Is it possible to send a message about 50000 because I saw that length function is about 16000 characters
No, with the current implementation of the library, thats the maximum you can send
@@brightersidehacks thanks You, is there any way to perform that? Or any library you know
Is it posible to install this library on Delta Dia Designer?
The library only installs in the codesys environment
how can I download http client library in codesys
Here is the link from where you can download the library: forge.codesys.com/prj/codesys-example/http-client-exa/home/Home/
Hello. How add login and password to siteweb?
Login and password can easily be added on the server side. I will make a video about this if you are interested