How can we help you today?

In EcoStruxure Machine Expert Basic, how do you pulse a bit after a short delay in Ladder Logic?


A program can be written comprised of three Variables and three Ladder Logic Rungs.
Please see the example below.

Goal:
Turn on PULSEDBIT for 2 seconds after a 5 second delay after a rising edge (transition from FALSE to TRUE) from BUTTONPRESS.

Variables:
BUTTONPRESS (%M0) - the variable that triggers the sequence on rising edge
TIMERTRIGGER (%M1) - an intermediary variable that turns on the first timer in the program
PULSEDBIT (%M2) - the boolean variable that we wish to turn on for 2s after 5s delay

Rung0: Rising Edge detection latch
   Â 1) Create a Contact -| |- with BUTTONPRESS (%M0) assigned
   Â 2) In parallel with the first Contact, add a second Contact with TIMERTRIGGER (%M1) assigned
   Â 3) To end the ladder Rung, add a Set Coil -(S)- with BUTTONPRESS (%M0) assigned

Rung1: Delay timer
   Â 1) Create a Contact -| |- with TIMERTRIGGER (%M1) assigned.
   Â 2) In series to the contact, add a TON Timer (%TM0).
   Â 3) Mouse over the TON Timer block and change the time to 5 seconds.
   Â 4) To end the ladder Rung, add a Set Coil -(S)- with PULSEDBIT (%M2) assigned - this turns PULSEDBIT to TRUE after the 5s delay

Rung2: Turn ON PULSEDBIT for 2 seconds and  reset all variables to FALSE
   Â 1) Create a Contact -| |- with PULSEDBIT (%M2) assigned.
   Â 2) In series to the contact, add a TON Timer (%TM0).
   Â 3) Mouse over the TON Timer block and change the time to 2 seconds.
   Â 4) To end the ladder Rung, add three parallel Reset Coils -(R)- with each of the three Variables assigned - this will reset all the variables back to FALSE once the timer sequences are completed.
   Â
The completed project should appear as follows:
Machine Expert BasicÂ

Example project (created in EcoStruxure Machine Expert Basic v1.0.0.63163):
"PulsedBitExample.zip" - extract the PulsedBitExample.smbp project file

Â

If this FAQ did not solve your issue, you can chat with us at chat with us  or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric Philippines

Attachment(s)
PulsedBitExample.zip [10.08 KB]
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:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales inquiry online and an expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings