plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

exact timer 1 second

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Schneider_Electric Reg. U
View previous topic :: View next topic  
Author Message
jpam
Junior
Junior


Joined: 20 Mar 2014
Posts: 1

PostPosted: 08/12/2014 12:14    Post subject: exact timer 1 second Reply with quote

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
View user's profile Send private message
J3J3
Junior
Junior


Joined: 23 Jan 2014
Posts: 8

PostPosted: 12/12/2014 10:00    Post subject: Reply with quote

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
View user's profile Send private message
duckman
Member
Member


Joined: 08 Jul 2013
Posts: 214

PostPosted: 13/12/2014 14:26    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Schneider_Electric Reg. U All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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