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 - Define a double word variable

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

Define a double word variable (by MedTronic)
Dear all my friend
I need to define a variable to use it as a pulse counter with pulse command
the problem is this pulses will send to a stepper motor drive
every 200 pulse will give a one revolution
how can i define a variable to get a 1000 rev or 200 000 decimal value
Mon Jan 25 2021, 18:12:38
(no subject) (by Ziggy)
Start small...
how would you define a variable?

Show the ladder diagram!
Wed Jan 27 2021, 07:56:00
(no subject) (by MGP)
Click on de variable in the lower window and change the SizeOfVar, maybe this works.
You cannot do the math on var > then 16bits.
Wed Jan 27 2021, 18:02:12, download attachment Snap178.jpg
(no subject) (by OnosTech)
Check the attachment if it may also work for you
Thu Jan 28 2021, 08:48:59, download attachment double variable.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):