ali bütün
Hello. I want to debug my code. I can force boolean values to true or false without any problem. However, when I try to write/set values as shown in the screenshots, I can’t manage to do it. The value always stays at 0. Could you please help me?Screenshot from 2026-01-14 15-02-04.pngScreenshot from 2026-01-14 15-03-46.pngScreenshot from 2026-01-14 15-04-26.pngScreenshot from 2026-01-14 15-03-18.png
Reply 0 0
PeBi
Reply 0 0
thiagoralves
What version of the editor are you using? What is the type of variable you’re trying to force?
Reply 0 0
ali bütün
 
Okay, I’ve solved it. I couldn’t force the value the way shown in the screenshot I shared, but it worked when I clicked on test_val directly in the ladder and forced the value there.
The version I’m using on Windows: 4.0.6 beta
The version I’m using on Ubuntu: 4.1.1
Adsız.pngAdsız2.png
Reply 0 0
PeBi
I've now figured it out:
Direct forcing in the debugger view does not work. (The value is not applied.)
[203128%2F9640979%2Fmceclip0]
 
If you force a variable in the logic, it works...
 
[203128%2F9640981%2Fmceclip0]
Reply 0 0
thiagoralves
Got it! There is an open issue about this already: https://github.com/Autonomy-Logic/openplc-editor/issues/509
 
@ali bütün you should update your windows version to 4.1.1. There are SEVERAL bug fixes from 4.0.6 to 4.1.1
Reply 1 0
Reply