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 - suggestion: interpreted byte code - IO pins

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

suggestion: interpreted byte code - IO pins (by Thomas)
Hi,

Is there a way to allow ldmicro to specify the IO pins
in the interpreted byte code output? This way the int files doesn't have to be manually edited and just parsed.

Thanks,
Thomas
Wed Sep 16 2009, 15:23:07
(no subject) (by Jonathan Westhues)
I'm not sure what you mean. I would have expected that you would pre-define input and output names corresponding to the inputs and outputs available on the PLC (X1, X2, Y1, Y2, etc.). The interpreter would parse the file, and identify what addresses correspond to those "magic" I/O names, and connect those to the physical inputs and outputs.

Then you can either use those directly in the program, or use an internal relay in the program and connect it to the appropriate in/out using a single rung with contacts and a coil.

You can likewise create "magic" integer variables for ADCs or DACs or whatever.
Wed Sep 16 2009, 16:07:07
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):