MDK
Does this functionality exist? I've tried a variety of things, which I'll happily detail if needed, but I may as well confirm if this feature is supported. I am suspecting no, it seems like the editor uses pyro for debugging and I didn't get any hits for a simple search of the word "pyro" in the runtime.
 
I'm using the latest version of everything (started all of this a week or two ago)
 
Runtime is on a Raspberry Pi 4 B running Raspbian Buster
 
Currently running the editor on Linux
 
Thanks,
-Matt
Reply 0 0
thiagoralves
Yes, it exists. Just click on the blue bug icon at the top toolbar and provide the IP address of your raspberry pi running the same plc program that is open in the editor
Reply 0 0
MDK
Hey, look at that. My problem was I was hung up on thinking I needed to put the IP and port into Project > Config > URI location. I blanked out the URI and hit connect, then hit the bug icon which then prompted me for a TCP IP address and port number, pointed it to the modbus port (which I had changed to 1502 instead of 502) and it is working. Also the URI location has filled itself in with LOCAL:// so I was just misconceived on how this was all working.
 
I'm able to see the GPIO respond in the editor but I'm having some issue with the blink example logic (blink_led stays TRUE, and I'm not getting any coloring on it) which I will look into more later.
Reply 0 0
MDK
looked at it a bit more and while I am able to see the variables that have a location address in the debug panel on the right side, I do not see the nice inlined values like is shown in the screenshot here https://openplc.discussion.community/post/live-debugger-support-for-windowslinux-runtime-13456405
 
I’ve tried also using the Start PLC Simulation button on my project and also on the Blink example. On the blink example i am also not able to see the blink_led variable change in the Debugger panel unless I assign it a %QX address. I have also tried (when connecting to the pi) re-enabling the EIP and snap7 protocols which I had previously disabled.
 
Any help would be appreciated, thanks!
Reply 0 0
thiagoralves
Have you opened the debugger instance by clicking on the glasses at the left panel?
Reply 0 0
MDK
Perfect that was it! Thank you
Reply 1 0
Reply