Our Brands

Impact-Company-Logo-English Black-01-177x54

Schneider Electric USA Website

Welcome to our website.
		
How can we help you today?
Why don't my Structured Text Timers reset?

Issue
Why don't my  Structured Text Timers  reset?

Product Line
EcoStruxure Control Expert

Environment
Control Expert v14.1


Resolution
If you are used to high level languages for a computer, some things in PLCs are not immediately obvious. For some developers timers are one of them. In a timer such as the TON procedure the first parameter is a Boolean that controls the timer. If it is True,  the timer runs. However, the timer is solved and the clock is reset if the parameter is False.  This putting the timer within a conditional will prevent the timer from resetting.
The following code snippet will run to 10 seconds and then continue:
im1

The following will run for 10 seconds and stop:
im2

Schneider Electric USA

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Tech Support: 877-342-5173
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings