(you are viewing a thread; or go back to
list of threads)
LDmicro.GitHub news v4.3.2 (by Ihor Nehrutsa)
(no subject) (by Ihor Nehrutsa)
Still not tested for AVR
bug in simulation of 'formatted string over UART' fixed? (by bfwolf)
Hello Ihor,
did you fix the bug of UART-simulation? ;-)
It seems, that you did, it works again... :-)
I ask, because you didn't mention the fix...
Thx a lot ;-)
(no subject) (by Ihor Nehrutsa)
to bfwolf
Yes, UART bug was associated with * HotFix review: Fault in arithmetic or compare operations.
(no subject) (by Alex)
i wanted to try again "UART RECV", i pretended to turn on a led sending the word "on" and turn led off with switchoff button (specified in ladder attach), i did it by sending first 'o' and then 'n' using 2 rungs, but when i use it in 1 rung it doesn´t work anymore, i tried it on pcb and it works just using 2 rungs as in simulation, see ladder atach please.
(no subject) (by MGP)
Its normal, in rung 3 the switch(o) becomes "high" for only one cycle.
Switch(o) becomes false after 1 cycle, so after 1 cycle you cannot use switch(n) anymore in rung 1 because switch(o) is false at that moment.
In fact you made a programming error in rung 3.
(no subject) (by MGP)
I made a typo... sorry
" ....
Switch(o) becomes false after 1 cycle, so after 1 cycle you cannot use switch(n) anymore in rung --> 3 <--- because switch(o) is false at that moment. "
Generated ANSIC source (by bfwolf)
Hello Ihor,
did you consider about my suggestion made earlier,
to surround the generated functions in the ANSIC source
UART_Init(), UART_...(), setupPlc(), mainPlc(), main()
by eg #ifndef UART_Init_EXTERNAL ... #endif
(means #ifndef <function_name>_EXTERNAL)
so that they could be switched off by defining Macros in the "ladder.h" ???
This would enable usage of the ANSIC source with nearly any compiler... ;-)
Thx in advance ;-)
(no subject) (by Alex)
Yeah, i will simulate it manually
(no subject) (by MGP)
Hey Ihor
"Compile as", does not work, ldmicroV4.3.2 continues to ask to save.
"Compile" works, so its not urgent. Thx.
space (by Magno Medeiros (Brasil))
Hello, Ihor Nehrutsa!
A suggestion of change.
Is it possible to reduce this space?
(no subject) (by Alex)
I have tested a tof timer made with "ADD" and "MOVE" in both 2.3v and 4.3.2v, i made it, both ladders, intuitive, but in 4.3.2v ladder doesn´t work, is it because the explanation gave between cycles?
https://www.youtube.com/watch?v=phveqgZAonw&feature=youtu.be
ladder, preoteus and image attach
Post a reply to this comment:
|