View Single Post
Old December 19th, 2004, 12:40 AM   #7
Jordan.C.Clark
Member
United States

Jordan.C.Clark is offline
 
Join Date: Dec 2004
Posts: 6
I would think that, unless you needed extra-hi precision, the extra scan is not going to noticably affect the application.

Anyway, here's what happenns:

TON Instruction is executed
compares Accumulated value to Preset value
if T4:0.ACC => T4:0.PRE then Done bit is Immediately turned on.
otherwise it moves on

The done bit will stay on until the SLC sees that the TON instruction is false.
Reset Enable Bit (T4:0/EN)
Set Accumulated Value to 0 (T4:0.ACC)
Reset Done Bit (T4:0/DN)

I've worked with several different platforms and so far they've all worked the same way. Tomorrow, I'll see the one that gets me!

Hope it helps!

Regards,

Jordan
  Reply With Quote