CodeSys Structured Text Case Construct 2021 | "Case Of" Example

3 years ago
10

The Case construct statement in structured text is one of the main four constructs of structured text used in manufacturing automation controls.

This video shows controlling lights base on a sliding position. To select a different light on or off based on the case of.

Structured text is one of the four major languages of PLC controls.

Video Content:
0:00 Quick Sample
0:30 Starting the structured text code
0:58 Adding CodeSys variables
2:15 How to comment out text in structured text
3:00 Write the "Case of" logic
6:50 Adding an "ELSE" statement in the "Case Of"
7:15 Explaining the logical controls
7:52 Starting the CodeSys visualization
8:15 Adding lights
10:10 Adding a slider to control the integer
11:05 Scaling the slider
11:45 Testing the Structured Text Logic
16:05 Recommend 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 #CaseOF

Loading comments...