Here is the ladder logic code for this scenario in RsLogix 500:
(STEP 1) Start
(OTE) (PL3) (Output)
| | (|---|) (|---[ ]------------(T4:0/DN)---|+)---(PB3) (PB3 - Input)
| | | | (| | | Timer | | | | |
| | | | (| | | | | | | |
| | | | (| | | 2s | | | | |
| | | | (| | | | | | | |
| | | | (| | | | | | | |
(STEP 2)END
Here, PB3 is the input connected to a physical pushbutton. PL3 is the output that will be turned on unless PB3 has been pressed and held for at least 2 seconds. The TON timer T4:0 is used to achieve the 2-second delay before turning on the output PL3.
The logic in the ladder diagram is as follows:
- When PB3 is not pressed, the output PL3 will be turned on.
- When PB3 is pressed, the TON timer T4:0 will start counting. If PB3 is released before the timer reaches 2 seconds, the output PL3 will remain on. If PB3 is held for at least 2 seconds, the output PL3 will turn off.
This ladder logic code ensures that PL3 is turned on unless PB3 has been pressed and held for at least 2 seconds.
design the following on Rslogix 500:
Turn on PL3 unless PB3 has been pressed and held for at least 2 seconds, use TON.
3 answers
clean the ladder diagram
Certainly! Here is the simplified ladder logic diagram for the scenario where PL3 is turned on unless PB3 has been pressed and held for at least 2 seconds using a TON timer in RsLogix 500.
```
|-----------------| |---( )----( )---------------------------( )------
| | | T4:0 PB3 (Input)
| |-(TON)-|---( )----| EN |-------
| | 2s | | -----| |---(PB3)--------------|
| | PL3 (Output)
|-----------------|
```
```
|-----------------| |---( )----( )---------------------------( )------
| | | T4:0 PB3 (Input)
| |-(TON)-|---( )----| EN |-------
| | 2s | | -----| |---(PB3)--------------|
| | PL3 (Output)
|-----------------|
```