TheRealMRDyno
Member
Hi,
I am new to Mitsu, know RSLogix 500/5000, micros, etc, and am translating a dynamometer controller application from RSL5000 to GX Works2 on a Q04UDEH PLC.
I need a 32-bit millisecond timer, that is, I need a rolling 32-bit value that increments at 1000 Hz - I do not need an event after a long period, I need access to <= millisecond precision timing values at any time in my code, and I need to cover long periods of time.
Any help? I have not tried these yet, but I am thinking of using the second word used by the system in the TTMR instruction in the hopes that it is a millisecond-ish rolling counter value that is latched when the instruction executes. Or maybe the SD520 register (scan time value), although I am not sure that value is END<->END time or just scan time.
Thanks(!),
Joe
I am new to Mitsu, know RSLogix 500/5000, micros, etc, and am translating a dynamometer controller application from RSL5000 to GX Works2 on a Q04UDEH PLC.
I need a 32-bit millisecond timer, that is, I need a rolling 32-bit value that increments at 1000 Hz - I do not need an event after a long period, I need access to <= millisecond precision timing values at any time in my code, and I need to cover long periods of time.
Any help? I have not tried these yet, but I am thinking of using the second word used by the system in the TTMR instruction in the hopes that it is a millisecond-ish rolling counter value that is latched when the instruction executes. Or maybe the SD520 register (scan time value), although I am not sure that value is END<->END time or just scan time.
Thanks(!),
Joe