我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
In EcoStruxure Machine Expert Basic, how do you pulse a bit after a short delay in Ladder Logic?

Issue
How do I write a program in Ladder Logic to turn ON a Boolean (%M2) variable for a short time after a delay triggered by another Boolean variable (%M0)'s rising edge?
Is there an example on how to do this?

Product Line
EcoStruxure Machine Expert Basic (SoMachine Basic) with Modicon M221 PLC

Environment
PLC configuration software in Windows

Resolution
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)

施耐德電機Taiwan

附件
PulsedBitExample.zip [10.08 KB]
探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings