Controlling a Traffic Signal Unit¶
- Controlling a Traffic Signal Unit
- Create POU
- What does TRAFFICSIGNAL do?
- What does WAIT do?
- What does SEQUENCE do?
- What does PLC_PRG do?
- TRAFFICSIGNAL simulation
- “TRAFFICSIGNAL” declaration
- “TRAFFICSIGNAL” body
- Connecting the standard.lib
- “WAIT” declaration
- “WAIT” body
- “SEQUENCE” first expansion level
- Create a SFC diagram
- Actions and transition conditions
- “SEQUENCE” second expansion level
- The result
- PLC_PRG
- TRAFFICSIGNAL simulation