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 - PLC Cycle Time 0

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

PLC Cycle Time 0 (by Ihor Nehrutsa)
Wed Apr 19 2017, 09:18:06
(no subject) (by MGP)
This is good for counting pulses and I wonder how fast we can go, I can wait for doing a test ;-)

A week ago I made a program with a cycletime of 0.2mS and each timer(TON,TOF....) was counting double, 100mS became 200mS, 1s was 2sec.

The reason was that the program wat too big for a cycletime of 0.2mS and LDmicro skip over 1 cycletime without warning.
Wed Apr 19 2017, 13:20:41
(no subject) (by Ihor Nehrutsa)
Can you publish a LD with 0.2mS cycletime? I want to test TON...
Thu Apr 20 2017, 02:51:43
(no subject) (by MGP)
It's the same program I sent you a week ago with the % error.

Change the cycletime in 0.2mS and if you program it in a 16F628a all timers double their values.

But for me it's no problem, do not waste too much time, I know that I have to pay attention if I work with cycletimes <1mS

If you deleted it I will sent it you again.
Thu Apr 20 2017, 03:58:33
(no subject) (by Ihor Nehrutsa)
When you set the PLC cycle time, you
can look admissible values at this line
'Available PLC Cycle Time: min= ### us, max= ### ms'

I will add additional check.
Thu Apr 20 2017, 05:17:16, download attachment too short PLC.png
(no subject) (by MGP)
Thanks, I forgot this line in the menu setup, too busy with programming ;-)
Thu Apr 20 2017, 07:42:40
(no subject) (by Alex)
is it like when you want to make a turn on a led program (hello world) using one button then you donīt need to add time cycle?
Sun Apr 23 2017, 15:12:13
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):