Ejercicios De Plc Resueltos • Instant Download
---[Start]---[Stop]---(TON_1.IN) TON_1.PT := T#5s ---[TON_1.Q]---(Motor) TON_1 starts timing when Start is pressed. Q turns ON after 5s if Start remains pressed. 🔹 Exercise 4 – Counter (Count Products) Statement: A sensor (photocell) detects products on a conveyor. Count up to 100, then stop the conveyor and reset with a button.
---[Jog]---[Jog_Button]---(Motor_Internal) Rung3 – Output: ejercicios de plc resueltos
IF Sensor_Rising_Edge AND (Count < 100) THEN Count := Count + 1; END_IF; IF Count >= 100 THEN Conveyor := FALSE; END_IF; ---[Start]---[Stop]---(TON_1
IF Reset_Button THEN Count := 0; Conveyor := TRUE; END_IF; Count up to 100, then stop the conveyor
CASE state OF 0: // Red Red := TRUE; Green := FALSE; Yellow := FALSE; IF Timer_Done THEN state := 1; Timer(5s); 1: // Red+Yellow Red := TRUE; Yellow := TRUE; IF Timer_Done THEN state := 2; Timer(5s); 2: // Green Green := TRUE; IF Timer_Done THEN state := 3; Timer(5s); 3: // Yellow Yellow := TRUE; IF Timer_Done THEN state := 0; Timer(5s); END_CASE; Statement: An analog input (4–20 mA) from a 0–100°C sensor. Scale to real temperature.
| Rung | Logic | |------|-------| | 1 | Start AND Stop AND OL → Coil Motor (with Motor parallel contact) |
---[Auto]---[Start]---[Stop]---(Motor_Internal) Rung2 – Jog mode: