|
|
|
(you are viewing a thread; or go back to
list of threads)
LDmicro.GitHub news v4.3.1 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/4.3.1
== Release 4.3.1
* HotFix: Restored RESET the TON, TOF timers.
* HotFix: After simulate, when simulate another program, UART simulation
terminal shows up again and can't close it unless close the program.
* HotFix: Fault in arithmetic or compare operations.
http://cq.cx/ladder-forum.pl?action=viewthread&parent=6457
(no subject) (by Alex)
yeah, bugs are fixed, thanks Ihor.
I have a question, why is it that "count up" instruction in 2.3v keeps counting after reaching limit value, in 4.3.1 stops counting after reaching limit value, i mean is there a reason for that?
https://www.youtube.com/watch?v=XWjVfCkRCi0&feature=youtu.be
I have added some links using counter up in plc Allen Bradley and Siemens, guy using Siemens plc says that he has to put a limit cuz of counter up keeps increasing, so i think in 4.3.1v is more confortable. (videos are set the moment plc starts counting)
Allen Bradley:
https://youtu.be/eu6NfOpFwns?t=6m5s
Siemens:
https://youtu.be/EzucwY80r44?t=6m19s
bug in simulation of 'formatted string over UART' (by bfwolf)
Hello Ihor,
i just downloaded the 4.3.1 build and testet it with the 'hello' example (processor atmega328)...
Only trash is printed in the UART-console-window in simulation-mode...
Regards ;-)
(no subject) (by Ihor Nehrutsa)
to Alex
At release 4.2.1 added an additional check for the CTU counter. This prevents the CTU counter from overflowing and prevents its negative value.
The basic algorithm of the CTU counter remains the same.
.....
if 'CTU' < 'MaxValue' // This additional check is added.
increment 'CTU'
.....
(no subject) (by Alex)
got it!!, thanks for your reply Ihor
(no subject) (by Alex)
I do not want to sound annoying but what about the time accurate beetween 4.3.1 and 4.2.3 using Tcy timer 1 Second?
4.2.2 changes :
* Reengineering: PLC cycle timer more accurate and more longer.
test beetween 4.3.1 and 4.2.3
https://www.youtube.com/watch?v=KbgNBWhW9Go&feature=youtu.be
(no subject) (by Ihor Nehrutsa)
to Alex
Please attach Proteus progect.
(no subject) (by Ihor Nehrutsa)
to Alex
Please read CHANGES.txt
In Release 3.5.3
............
* Fixed: Attention! TON, TOF, RTO timers in LDmicro v2.3 are shorter than those specified in the LD file. They shorter at one PLC cycle time.
............
Now TON, TOF, RTO produce delays as specified in LD file.
............
I modified your LD file. You can open it in release 2.3 and also in release 4.3.1.
Try to simulate it manually (select Simulation Mode and then press Space - Single Cicle several times repeatedly).
As you can see, release 2.3 generates a 10ms timers delay,
release 4.3.1 generates a 20ms timers delay, as specified in LD.
Also in release 3.5.3 and larger, if you use TOF, TON timers to generate cyclic periodical signals with self restarting by reset or set, you should decriase timer period at one PLC cycle period. For example 1s period needs
TOF(1s-10ms)=TOF(990ms). Release 2.3 does this without your knowledge.
Also in Release 3.5.3
............
* Added: Specially for generating cyclic signals with a predetermined period and frequency added Cyclic Timer TCY.
............
(no subject) (by Ihor Nehrutsa)
to Alex
(no subject) (by Alex)
iŽll check, thanks for your reply
(no subject) (by Alex)
i would like to test in collegeŽs oscilloscope, iŽm not good enogh at this but as i understood, as you said, For example 1s period needs TOF(1s-10ms)=TOF(990ms). Release 2.3 does this without your knowledge, ok.
tested in proteus with TOF: 10 ms (not avaliable at 2.3v), 20 ms , 1s, 10s, 20s, 30s got this:
TOF: | 10ms | 20ms | 1s | 10s| 20s | 30s
_______|______|_________|_______|______|__________|____________
4.3.2v | 20ms | 30.004ms| 1.001s|10.01s|20.010001s|30.010001s
_______|______|_________|_______|______|__________|____________
2.3v | X | 20.001ms| 1s | 10s | 20s | 30s
_______|______|_________|_______|______|__________|____________
Finally i get a conclusion, i think if i want an accurate time i only have to set timer tof less 10ms,on the other hand what is +10ms in your timer, it is minimum, i can handle it.
(no subject) (by Alex)
sorry, it is messy
(no subject) (by Alex)
thanks for your work Ihor
(no subject) (by Ihor Nehrutsa)
(no subject) (by Alex)
thanks alot for the explanation Ihor, this is what i needed to read and see, proteus images explained very well gave me 100% peace :) even more with conclusion with PRO and CONTRA :)
Post a reply to this comment:
|