CodeSys V3 Structured Text Traffic Light Example 2021 | If-The-Else

3 years ago
35

Structured Text Example of IF-Then-Else for traffic light using CodeSys V3 & visual simulation to show how to program PLC logical controls.

If you watch this whole video, I guarantee you will learn logical plc coding for structured text & visual setup to simulate.

Hands down, great training.

0:00 Simulating Structured Text Controls Sample
0:55 Starting from the beginning
2:15 Declaring a Variable in CodeSys Structured Text
4:50 Structured Text Timer Example in CodeSys
6:00 If-Then Statement to Reset A Timer
7:30 If Then Else Statement for Traffic Light
10:50 Using a Conversion Time To INT in CodeSys
13:20 If Statement for Traffic Light PLC Logic
16:30 CodeSys visualization building
16:40 Adding the Lights to the visualization
19:40 Tagging the lights with CodeSys variables
22:20 Downloading the code to the CodeSys simulator
22:40 Testing the code & visualization in CodeSys
31:20 Recommended videos for you

I finally found a great opportunity to provide free PLC software in a training environment to help teach as many people as we can, PLC programming.

I actually show where to get it, how to download it, how to install it, & how to use it in my new training which is only a $9.97 one-time fee.

Only because I aim to help everyone I can & I know that some of us do not have expensive software so we now have an option to learn using free software.

This is just a sample video of what we have been working on.

Watch more, visit below:
https://www.allen-bradley-plc-training.com/p/free-plc-software-for-programmable-logical-controls-practicing

#CodeSys #StructuredText #TrafficLightLogic

Loading comments...