bknight
Member
Hello all,
I'm a recent beginner in the PLC world. I'm working on a set of exercises handed down to me from a friend to help get comfortable with programming AB PLCs.
Background to my setup for testing is that I've got the RSLogix Emulate 5000 running with RSLinx Classic, RSLogix 5000, and FactoryTalk View Studio. I've emulated a full setup of PLC & HMI.
I've created a program that is testing the timer against the system clock. I have a pushbutton on the HMI that starts the timer and grabs the initial system time. When the timer is done, I get a final system time. Now I'm trying to time 25 seconds and using a 0.25 second timer and a counter to increment up to 100 timer ticks.
When I examine my actual system time at start and stop I'm consistently 3 seconds or so off. If I change the 0.25 second timer I get varying error, but always fairly significantly off...
I'm wondering if I'm simply doing something wrong or my emulation setup is hampering accuracy?
Please take a look at the attached PDF printout of the routine.
Thanks,
Bill
I'm a recent beginner in the PLC world. I'm working on a set of exercises handed down to me from a friend to help get comfortable with programming AB PLCs.
Background to my setup for testing is that I've got the RSLogix Emulate 5000 running with RSLinx Classic, RSLogix 5000, and FactoryTalk View Studio. I've emulated a full setup of PLC & HMI.
I've created a program that is testing the timer against the system clock. I have a pushbutton on the HMI that starts the timer and grabs the initial system time. When the timer is done, I get a final system time. Now I'm trying to time 25 seconds and using a 0.25 second timer and a counter to increment up to 100 timer ticks.
When I examine my actual system time at start and stop I'm consistently 3 seconds or so off. If I change the 0.25 second timer I get varying error, but always fairly significantly off...
I'm wondering if I'm simply doing something wrong or my emulation setup is hampering accuracy?
Please take a look at the attached PDF printout of the routine.
Thanks,
Bill