SKJ1
How to read data from runtime through modbus?
Reply 0 0
thiagoralves
Reply 0 0
SKJ1
Thank you for the response Thiago... i have one more issue.. there is an example in openplc editor named tcp-socket. when i am trying to define location in this for uploading it to runtime. just on click it is closing the editor itself without saving anything. can you tell me why is this happening? and how to upload this prpogram to runtime?
 
Reply 0 0
SKJ1
And one more question i am writing many programs in editor like car parking through sensor, comparator etc. but when i upload this to runtime then in monitoring section it always gives false output. attacthing one screenshot here. check this attachment, here force is always zero i am not able to change the force state. also no options given in runtime settings. how to run programs in runtime? please help.
Reply 0 0
thiagoralves
To upload programs to the runtime just click on the orange down arrow to generate an .st file for the runtime. As for forcing variables, that feature is not working yet 
Reply 0 0
SKJ1
Thanks for the quick response.
Reply 0 0
SKJ1
wrote this program from your example list. you have uploaded this directly to hardware part. but i want to monitor it on runtime only. but .st file did not showing anything at runtime. can you please share details how can i monitor it at runtime?? as force value is also not enabled.
 
Reply 0 0
thiagoralves
You cannot monitor the program in runtime. You can only simulate the program running on the editor (clicking on the blue man running icon).
Reply 0 0
SKJ1
ok... thanks for the quick response. one more thing so basically right now the runtime is not totally equipped for all the programs monitoring, right??? and if only editor is more reliable right now then why cant we directly use the output of editor to the modbus to store it at ditto or docker. basically i just want to use the program output to store data right now dont want to use hardware. then how can i proceed with editor only?? please explain in details.
 
Reply 0 0
thiagoralves
The editor is for creating programs. The runtime is for running programs. You can simulate programs on the editor to view the logic execution flow. Once you’re happy with the logic of your program you compile it to run on the runtime. To run programs you need the runtime.
Reply 2 0
Reply