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 - universitario

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

universitario (by richard)
no se si me podrian mfacilitar el programa fuente y en que lñenguaje de programacion lo realizaron, gracias
Fri Jun 26 2009, 14:38:50
Ok (by Jose Sanchez)
Hola universitario:

Jonathan (el creador de LD micro) ha puesto el código fuente en el link de ladder micro http://www.cq.cx/dl/ldmicro-rel1.9.zip . Esta comprimido, y en la parte del readme, y en internals.txt vienen varias indicaciones sobre cada uno de los archivos que contiene el proyecto. Lo hizo en Visual C y requieres tener instalado SDK me parece. En el readme explica. Suerte y si lo logras compilar me agradaria que me lo dijeras, puesto que yo también quisiera ver eso pero no he tenido tiempo de hacerlo.
Fri Jun 26 2009, 17:42:04
Universitário (by Danilo Pagano)
Hi guys... I'm under graduation yet, and this is my last year of the science computer graduation. My teacher asked me to create a PLC simulator that uses the LPT port to control the stuffs (lamps, leds, motors, etc). So, when I was searching over the internet I found you guys... You have what I need (thanks) and I downloaded the source code and tryed to understand it. But it's too hard to undertand because there is too much functions and procedures, and the main, there isn't a interface ready and easy to use.

I would like to know, what compiler did you used and how did you do to debug the software???

I'm developing using C#, and when it be done and working I send it to you...

So, could you help me???

Thank you guys, by your attention.


Danilo Pagano
http://danilo.w4solutions.com.br
Fri Jul 10 2009, 19:51:25
tools to build (by Jonathan Westhues)
LDmicro is written in C++ for Win32. It builds with the Microsoft C/C++ compiler. The makefile also requires perl, and certain unix-like tools.

All of these are available as (legal) free downloads:

http://unxutils.sourceforge.net/
http://win32.perl.org/
http://www.microsoft.com/downl...43-E24F-4EA3-A93E-40C0EC4F68E5

There is no project file, since I do not use the IDE. To build from the command line, run make.bat. This requires that MSVC++ be set up to run from the command line; you may need to execute vcvars32.bat first.

If you're looking for a relatively simple project, then you could write an interpreter that runs the code generated by the "interpretable bytecode" target on the PC. Look at ldinterpret.c for a starting point.
Fri Jul 10 2009, 22:25:37
thanks (by Danilo Pagano)
Thanks guy... When it be done I send it to you...
Mon Jul 13 2009, 21:13:21
Compile (by Mohsen)
Dear Sir

I checked my path and i think it's correct also i tested all thinks that you before write but i couldn't compile the software. Could you please explaine more clearly and step by step. also I attached my errors that will display after running the make.bat

Please guide me step by step

Best regurds,
Mohsen
Tue Dec 15 2009, 02:21:28, download attachment 1.txt
Error during compiling the ldmicro (by Adnan)
to Jonathan Westhues
tell me how to remove these error in attached file
and plz write the steps for compiling the ldmicro code.
i hv already download and installed these

http://unxutils.sourceforge.net/
http://win32.perl.org/
http://www.microsoft.com/downl...43-E24F-4EA3-A93E-40C0EC4F68E5
but not know how to compile
is it using command line or unxutils or both doing same thing
Sun Dec 19 2010, 03:05:47, download attachment error.JPG
(no subject) (by Jonathan Westhues)
Looks like MSVC++ is using the header files that came with it, not the correct ones from the Platform SDK. Check the INCLUDE and LIB environment variables for one way to change that.
Sun Dec 19 2010, 03:25:57
Still Error (by Adnan)
i request to u that plz tell me in detail the files in ldmicro zip folder are place in where in MSVC++? e.g like header file place in include folder similarly the freeze.h and freeze.c place where? and also ldmicro.rc and related files place where?
Thu Dec 23 2010, 02:57:25
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):