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 v5.4.0.4

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

LDmicro.GitHub news v5.4.0.4 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/5.4.0.4

== Release 5.4.0.4

* Fixed the bug in ladder.h generated by version 5.4.0.x when compiling for AVR-GCC (double include).

* PULSER instruction tested with ATmega2560 (both HEX->ASM and AVR-GCC compilers)
PULSER instruction tested with PIC16F887 (both HEX->ASM and HI-TECH C compilers)
See: https://github.com/LDmicro/LDmicro/wiki/PULSER

* Fixed: Convert manual-es.txt from 65001 UTF-8 code page to 1252 code page

https://github.com/LDmicro/LDm...download/5.4.0.4/build5304.zip
Wed Dec 18 2019, 18:22:56
(no subject) (by Alex)
Thanks a lot Ihor
Wed Dec 18 2019, 18:33:51
(no subject) (by Luis)
Thank you very much. Now it works well.


Regards.
Thu Dec 19 2019, 03:39:44
visualizacion de errores en la version 5404 (by Paulino)
Hi ihor, this version, Version 5.4.0.4, is not correct. The software does not have all the microcontrollers added in the previous Version 5.4.0.3, nor does the program interface (Windows) look like in the previous version Version 5.4. 0.3. Tell me if what I said is correct,

Hola ihor, esta version, Versión 5.4.0.4, no esta correcta, El sofware no tiene todos los microscontroladores agregados en la version anterior Versión 5.4.0.3, tampoco se ve la interfas del programa (Ventanas) como en la version anterior Versión 5.4.0.3. dime si es correcto lo que comento,
Thu Dec 19 2019, 04:31:26
The lines to the released build zip file are the 5.3.0.4 version not 5.4.0.4 (by Flenser)
Ihor,

The lins to the build zip file on this page and the release page are both build5304.zip, not build5404.zip.

I've downloaded this zip and the about menu for the included ldmicro exe does report "Release 5.3.0.4, built 12:50:53 Apr 14 2019.

Regards,
Flenser
Thu Dec 19 2019, 08:18:29
The links to the released build zip file are the 5.3.0.4 version not 5.4.0.4 (by Flenser)
Oops. My previous post has a typo. It should have read "the links"
Thu Dec 19 2019, 08:20:32
LDmicro.GitHub news v5.4.0.4 (by Ihor Nehrutsa)
Thu Dec 19 2019, 09:59:38
news v5.4.0.4 (por Ihor Nehrutsa) (by Paulino)
now yes Now ihor, I'm checking, to see if there are errors

ahora si ihor, lo estoy verificando, para ver si existen errores
Thu Dec 19 2019, 13:15:46
(no subject) (by José)
OK

Thanks Ihor.

But theres's still a pb with AtMega328 due to a bad register name in generated C file for any ladder ; have a look at attached picture.

No time to test farther...

BR
José
Thu Dec 19 2019, 13:45:06, download attachment Bug_Mega328.jpg
(no subject) (by Ihor Nehrutsa)
to José

Please upload LD file.
Thu Dec 19 2019, 15:19:10
Pic16f676 (by MARTY)
THANKS Ihor Nehrutsa for new version 5.4.0.4
my humble reqest plz Add pic 16f676 .
Fri Dec 20 2019, 01:26:36
(no subject) (by José)
To Ihor:

No matter the ladder.

In AtMega328 TIFR register doesn't exist ; it is TIFR0 or TIFR1 according to the timer in use.

There was in previous version a #define generated about it ; just restore it and it should be solved...

José
Fri Dec 20 2019, 02:58:51
(no subject) (by Ihor Nehrutsa)
to José
.............
#ifndef TIFR
#define TIFR TIFR1
#endif
.............

This code moved from ansic.cpp to LIBRARIES_FOR\AVR\UsrLib.h
in release v5401.

Please update LIB dir form latest LIBRARIES_FOR
Fri Dec 20 2019, 13:30:18
(no subject) (by José)

Ok Ihor

I didn't notice that libraries had changed !
It's a good idea to have moved this define in usrlib.h

BR
Sat Dec 21 2019, 03:54:49
(no subject) (by Mayo)

In this version possible modbus RTU communication.?
If possible this version example.








Mayo
Tue Dec 24 2019, 16:48:15
(no subject) (by Tom J.)
I found a wee little glitch while working with the Nextion. Nextion requires a special character in place of the 3 stop bits, it's a funny "y" with dots over it(ALT+0255). LdMicro will use the character but it reverts to an "X" when saved and opened, or if a rung is duplicated.
Would it be possible to add that character to it?
It keeps it just fine in comments for whatever reason.
Mon Apr 20 2020, 12:03:11
Thanks (by Rajeev Rawal)
Thanks a lot Ihor Sir
Mon Apr 20 2020, 15:33:28
bank select error(597:pic16.cpp) (by Zoran)
Why is this error.
Thu Apr 23 2020, 11:58:53, download attachment Punilica RevD PWM-02.ld
(no subject) (by MGP)
You have 2 problems.

- A cycletime of 0.5 is too fast with a 8Mhz crystal, 1mS is better.

- Not enough memory, if you delete rung 78 then it works.
The uart instructions use a lot of memory
Thu Apr 23 2020, 16:40:13
(no subject) (by Zoran)
Thanks MGP
Fri Apr 24 2020, 11:52:18
(no subject) (by José)
Please don't wake up old threads...
Create a new one for a new problem !
Fri Apr 24 2020, 14:47:31
error de selección de banco (597: pic16.cpp) (by Paulino)
Hello Zoran, your program is greater than the megabytes of pic16f877, you have several actions to make it work.

Step 1: You should try not to repeat entries (reduce program).

2nd for the multiplication, such as divisions, the results Note: this happens if they are done in single lines, It is an Error that the LDMicro projectors have to solve. on the on the same ladder within the same line (as if we were stepping on the same ladder. It is the way they work with LDMicro Version 5404.

I enclose you how to solve so you have more memory space for the program.
realize that we have gained memory since we have suppressed 6 marks in the program, the pro1-2-3-4 you must place it on the same line and make rungs of stairs, you must do it throughout your program and the truth will work for you when make more compressed (you will not get a pin.

if you use programs repeating steps you have to take micros with more internal memory and LDMicro has them AVR2560 200mg or ARMs this pic 887 has I think 8mgas


Hola Zoran, tu programa es mayor que los megas que tiene la pic16f877, tienes varias acciones para que sirva.

1º Paso: debes de intentar no repetir entradas (reducir programa).

2º para la multiplicación, como divisiones, los resultados Nota: esto pasa si se hacen en lineas únicas,Es un Error que tiene que solucionar los proyectores de LDMicro creo que en la siguiente versión estarán solucionado (para que las sumas divisiones multiplicaciones las debes colocar en la en la misma escalera dentro de la misma linea(como si hiciéramos peldaños en la misma escalera Es la forma que funcionen con LDMicro Version 5404.

te adjunto como solucionar para que tengas mas espacio de memoria de programa.
date cuenta que hemos ganado memoria ya que hemos suprimido 6 marca en el programa, los pro1-2-3-4 debes colocarlo en la misma linea y hacer peldaños de escalera, debes hacerlo en todo tu programa y te funcionara la verdad que cuando lo hagas mas comprimido (no te entrara ni un alfiler.

si se usan programas repitiendo pasos se tiene que cojer micros con mas memoria interna y LDMicro los tiene AVR2560 200mg o los ARM este pic 887 tiene creo que 8mgas
Sat Apr 25 2020, 07:42:08, download attachment PunilicaRevDPWM-02PC.ld
Ihor Nehrutsa (by Tavares)
Bom dia.Tenho um programa escrito para Atmega 328p Arduino no LDmico v. 4.1.7 tudo funciona ok.Nas verção posteriores, a função ,FAZER PERMANENGood morning.



Good morning. I have a program written for Atmega 328p Arduino on LDmico v. 4.1.7 everything works ok. In later versions, the ,MAKE PERMANENT function does not work correctly.
Sun May 17 2020, 11:17:12
Attiny10 compile error (by khoo)
Hello,Ihor Nehrutsa
LDmicro 5404 encounter compile error using Attiny10.
please refer to Attached file.
thanks,
Mon May 18 2020, 12:19:54, download attachment Delayswitch.JPG
make persist (by hossein)
Hi

atmega 64 avr make persist not work

iam use ldmicro v 5.4.1.1
Sat Feb 26 2022, 09:40:28, download attachment CTCmem.ld
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):