went
I have encountered a connection problem when just trying the 'Live debug remote PLC' button with blink ex.

The output of the Console is below:

Successfully built.
PYRO connecting to URI : PYRO://localhost:61133
PLC did not provide identity and security infomation.
Latest build matches with connected target.
Error connecting to target board. Make sure your board is running OpenPLC Runtime with debug enabled, and that your connection settings match your board parameters.
Couldn't stop PLC !
 
 
I'm confused about what does 'with debug enabled' in the 5th line mean? Does it mean I should make some configuration on the RT side? I can't find any config options seemingly related to it. The settings page of webserver is below:
 
 
Snipaste_2024-12-25_22-58-41.png
 
 
Does it mean I should uncheck the 'Start OpenPLC In RUN mode' ? (I did try so but still not worked.)
 
What I have done is:
 
  1. Open an example project (blink in the examples) in the editor in win10.
  2. Press the 'down arrow' button to generate the .st file.
  3. Run the runtime in a docker container locally as the README file instructs.
  4. Visit '127.0.0.1:8080' in the browser, upload the .st file and wait for it to finish compilation.
  5. Set the settings page as above and press 'Save Changes'.
  6. Press 'Start PLC'.
  7. Back to the editor, press the 'green bug' button and set the ip/port as 127.0.0.1/502, press 'Connect' and get the error outputs above.
 
Is there any thing i missed? Thanks for replies.
Reply 0 0
Mange
'127.0.0.1:8080' shall be replaced with your real IP-adress for the PLC unit.
I also didnt find any "debug enabled" box (Im using a RaspberryyPI), but it works for me anyway.
Reply 0 0
went
'127.0.0.1:8080' shall be replaced with your real IP-adress for the PLC unit.
I also didnt find any "debug enabled" box (Im using a RaspberryyPI), but it works for me anyway.
Hi Mange, '127.0.0.1' might be my real IP-address since I deploy the RT through docker run in the background win10 locally. Before this I have tried using ubuntu visual machine to deploy RT and connecting it with my host machine (win10), but still I encountered these yellow-highlighted error lines. I wonder if there is any video showing the full procedure of remote debugging (or anyone kind to be willing to make one), so that I can refer to it and check what I missed (I am totally a noob in the area of Industrial Automation, before i have been working on something else like cybersecurity).
Reply 0 0
thiagoralves
Make sure you have connectivity with the runtime on port 502. Windows firewall could be blocking things. Also, I’ve found a bug on the editor that it generates the incorrect md5 checksum the first time you generate a program. So you have to build it twice to make it work (I’ll fix that shortly). But from the messages in the screenshots it seems that you’re not having checksum problems, but connection problems. So I would check connectivity with the runtime first.
Reply 0 0
Reply