Sakthibalan

How to create ton(timer on delay) macro in factory talk view

4 posts in this topic

Friends kindly help me I need to create ton and counter macro function in factorytalk view studio 

Share this post


Link to post
Share on other sites

I believe that macros in FactoryTalk are used to assign a value to a tag. Is this what you're trying to do? Assign a value to a timer or counter instruction from a PanelView?

If not, can you elaborate on details of what you're trying to do?

Share this post


Link to post
Share on other sites

Am using one input and one output, press the bushbutton after 5min the output is on and how many times operate the pushbutton details is required so need to counter 

Share this post


Link to post
Share on other sites

Use an XIC instruction with the pushbutton tag. Use a CTU instruction to count the number of times the button is pushed. Use a TON with XIO to set the 5 minute intervals.

The counter is retentive and therefore will need something to reset it at some point. You may also want to put something on the rung between the pushbutton and counter to prevent false counts if the operator pushes the button during the timing interval. 

I've attached a Word doc with a template that should help you get started.

Hope this helps.

 

Try this.docx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now