 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
jpam Junior

Joined: 20 Mar 2014 Posts: 1
|
Posted: 08/12/2014 12:14 Post subject: exact timer 1 second |
|
|
Hello, I need to set a 1 second timer in a TSX 572623 plc with pl7 pro, the question is that using %s6 bit (1 second pulse) the timer is not exact enough, the program is 98 kb, not too big I think, I use the %s6 attaching to a positive pulse auxiliar mark in one section of the program and i use this mark %M in the rest of the program, but as i said, it is not quite exact, measuring the time displayed in a HMI connected to the plc, 40 seconds in the program (displayed in a HMI), itīs 47 seconds in a chronometer, it is not exact at all as I said. I have also used a 10 ms timebase timer with 100 as setpoint (1 second), but itīs the same, it is not exact, i think is due to the time scan of the program
how can I solve this problem, can anyone help me? Thanks |
|
| Back to top |
|
 |
J3J3 Junior

Joined: 23 Jan 2014 Posts: 8
|
Posted: 12/12/2014 10:00 Post subject: |
|
|
Hi,
Your task is cyclic or periodic ?
All your code is in the mast task ?
Can you post your code ?
I always use it without any problem.
%M6 := %S6 ;
%M7 := RE(%M6); |
|
| Back to top |
|
 |
duckman Member

Joined: 08 Jul 2013 Posts: 214
|
Posted: 13/12/2014 14:26 Post subject: |
|
|
| l think the question should have been in the question, what is his inaccuracy, why is he saying the time is not right and how did HE decided the time is incorrect. Maybe he has a very fast thumb and start/stop button on his watch |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|