Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - LDmicro.GitHub news v4.3.3

(you are viewing a thread; or go back to list of threads)

LDmicro.GitHub news v4.3.3 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/4.3.3

== Release 4.3.3

* New: Element OSL: ONE-SHOT LOW LEVEL is inversion of element
OSR: ONE-SHOT RISING,

* New: Element THI: TIMER HIGH

* New: Element TLO: TIMER LOW

See https://github.com/LDmicro/LDmicro/wiki/TON,-TOF,-etc.
Wed Nov 22 2017, 09:06:04, download attachment build433.zip
(no subject) (by Antonio)
Thank you very much Ihor Nehrutsa.



Regards.
Wed Nov 22 2017, 18:06:48
(no subject) (by MGP)
I have little time to program, I'm doing volunteer work in the city but thanks for the update.
Thu Nov 23 2017, 12:28:41
(no subject) (by Alex)
Thanks a lot ihor
Fri Nov 24 2017, 02:32:13
(no subject) (by Samukelo Shezi)
Thank you Ihor.
Sat Nov 25 2017, 05:15:16
(no subject) (by Alex)
Hello, why is not workink Yled output in my ldmicro program, it does with 4.2.3v but not with 4.3.1 or higher
Sat Nov 25 2017, 10:25:29, download attachment tof_add_test(4.3.3 & 4.2.3).jpg
(no subject) (by MGP)
The lookup tabel size does not accept more than 4 items.

I think it's a bug.
Sun Nov 26 2017, 13:12:18
(no subject) (by Ihor Nehrutsa)
to Alex

Will fixed



to MGP

Give more info. LD needed.
Mon Nov 27 2017, 07:14:29
(no subject) (by MGP)
Here the Ldfile and the generated error of the lookup instruction.
Mon Nov 27 2017, 10:19:31, download attachment LookupTable.zip
(no subject) (by Alex)
thanks for the THI and TLO
Mon Nov 27 2017, 11:55:00
Generated ANSIC source (by bfwolf)
Hello Ihor ;-)

I earlier asked you about generating generic ANSI-C source...

http://cq.cx/ladder-forum.pl?a...;parent=6643&tt=1508472418

Meanwhile a friend showd me, that this ist done, if you chose "(no microcontroller)" in the settings and then execute "Compile ANSIC"... You then get a C-source only containing the functions PlcCycle(), setupPlc(), mainPlc(), and main() and no functions like UART_Init(), UART_Transmit() etc.
It would be easier, if the main() could be swiched off by surrounding with eg #ifndef main_EXTERNAL ... #endif, but i think the main() function could be cut-out easily by a tool like AWK... Or one could compile the generated C-source to al library and link it with an other main() function.
So Thanks for this ;-) Perhaps you implement the #ifndef main_EXTERNAL ... #endif anyway? ;)

In the thread

http://cq.cx/ladder-forum.pl?a...;parent=6612&tt=1507826287

and in the manual.txt you told, that the size of variables since v4.3.0 could be choosed as 1..4 bytes...
I nowhere found (in the manual.txt / forum / wiki), how to chose the size...
Meanwhile, i found it out by random: One just has to double-click the variable in the variables-window below the ladder-editor to change the size! :-)

Perhaps add this information to the manual.txt and the wiki ;-)

Regards and once again many thanks! ;-)
Tue Nov 28 2017, 04:15:59
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):