0% found this document useful (0 votes)
206 views

Advanced PLC Programming Structured Text Examples

Uploaded by

ddescw4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
206 views

Advanced PLC Programming Structured Text Examples

Uploaded by

ddescw4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Industrial Training - The Best For Less

Search our site …

Menu 


Advanced PLC Programming Structured Text (ST) Examples


Home > vocational-training > plc-training > programming > advanced plc programming examples

ST PLC Programming Examples And HMI Programming. Uses PLC


Simulator For Hands-On.

< > Stop


Click on pictures to see larger screen shot with more details.

Download these 11 Advanced PLC programming examples in Structured Text programming language, with
exercises to get hands-on in the free HMI/PLC simulator. The hands-on PLC programming in Structured Text
(ST) experience will be invaluable to your career advancement. Instructor Rick will walk you through creating
each of the11 HMI/PAC/PLC programming examples, and then making several modifications to each
program to maximize the learning experience.

Important! These PLC programming exercises assume you have completed our certificate course 'PLC
Structured Text' or otherwise have a working knowledge of Codesys and how to launch it, start a new
structured text program, create a Visualization, and run a program in Simulation mode. It also assumes
you know the basics of how to program timers,
Industrial counters,
Training variables,
- The Best and instructions in Structured Text
For Less
PAC/PLC programming language; and know the basics of adding HMI visualizations.


PLC Programming Examples:

1. Hydraulic Control PLC Program
2. Spray Station PLC Program
3. Conveyor Control PLC Program
4. Stamping Station PLC Program
5. Inspection Station PLC Program
6. Pressing Operation PLC Program
7. LED Driver PLC Program
8. Turret Machine PLC Program
9. Elevator Control PLC Program
10. Traffic Light PLC Program
11. Car Wash PLC Program

Each PAC/PLC programming exercise above is accompanied by pictorial views of the exercises, and
custom Image Pool so you can "see things move" as a result of the programs you write. The variables and
instructions for each exercise are given so you can build the Visualization and test the program. Then you
are asked to make various PAC program and control modifications to the control system. The answer to
each modification challenge is provided if you need help. The above slide show shows some of the pictorials
included, and below are the descriptions of each PAC/PLC programming exercise.

Structured Text Programming Examples:


These advanced PLC programming examples download also come with an introduction section for you to
learn the purpose of the examples, what you need to use them how best to use them, as well as a little on
what is structured text, what is Codesys and who uses the simulator. This introduction section is also helpful
for companies and schools that are purchasing our perpetual site license for unlimited users per physical
location. (Note: Single User License is defined as it is with our certificate courses, 'a single learner/person
can view and benefit from the learning material'.)
1. Hydraulic Control PLC ProgramIndustrial
ExampleTraining - The Best For Less
Learn about 2-way, 4-way, momentary and maintained solenoid valves, cylinders, and how to create
an Image Pool from custom images for Visualizations. Then program solenoid valves, cylinders, and
limit switches to control cylinders.

2. Spray Station PLC Program Example 
Use animation to move cars to a spray station via a conveyor, then spray the cars by pressing a
pushbutton. Initially, spraying can occur at any time, whether a car is present or not. Modify the
program so that spraying can occur only when a car is under the sprayer, the conveyor stops when
spraying occurs, and restarts when spraying is done. Also, modify the program so that spraying
occurs automatically for 3 seconds when you press the spray pushbutton and there is an indication
that the sprayer is out of paint after 15 seconds of spraying so the sprayer can be refilled.

3. Conveyor Control PLC Program Example


Control a conveyor with three stations along the conveyor where the conveyor can be stopped.
Initially, each stop station consists of a maintained switch. Modify the program by replacing the
maintained switches with momentary switches, and by adding a pushbutton required to reset any
stoppage of the conveyor.

4. Stamping Station PLC Program Example


This exercise involves a stamping station where a part can be stamped multiple times. Initially, the
part is stamped repeatedly when the Start pushbutton is pressed. Modify the program by adding a
counter so that the part is stamped only X times, and add a thumbwheel switch so the operator can
dial-in the number of times the part is to be stamped.

5. Inspection Station PLC Program Example


Use animation to moves cars from left to right on a conveyor. Each time the Advance Car pushbutton
is pressed, another car moves onto the conveyor. Initially, only the first car onto the conveyor can be
marked to be sprayed with paint when it gets to the end of the line. Modify the program with a shift
register so that any number of cars coming onto the conveyor can be marked to be painted when they
reach the end of the line.

6. Pressing Operation PLC Program Example


Use Structured PLC Programming to design control for a pressing operation. When the Start
pushbutton is pressed, a Position cylinder moves a part onto a Raise cylinder which raises the part so
that it can be pressed by a Left and Right cylinder. Modify the control as directed for a more efficient
operation.

7. LED Driver PLC Program Example


Use a 1-dimensional array to drive a 7-segment LED from a 10 key keypad. Then use a 2-dimensional
array to drive the 7-segment LED.

8. Turret Machine PLC Program Example


Use Structured PLC Programming to design control for a turret machining operation. When the Start
pushbutton is pressed, cylinders move a part to one of four positions for machining. Modify the control
as directed for a more efficient operation.

9. Elevator Control PLC Program


Use Structured PLC Programming to help design control for a simplified elevator. After seeing how
hall buttons can call the elevator to the correct floor, modify the program to include call buttons in the
elevator car. Learn about element layers in a Visualization, and how to group elements so they move
in unison.

10. Traffic Light PLC Program Example


Use Structured PLC Programming to design control for four traffic lights at an intersection. Then
modify the program to include a left turn signal that temporarily stops opposing traffic.
Industrial Training - The Best For Less
11. Car Wash PLC Program Example
Use Structured PLC Programming and a multiplexer to design control for an automated car wash.
Then modify the control so that the Soak cycle includes the Rinse solenoid, and modify it again to
provide the option of a Two Soap cycle. 


Order Now - single user and site license never expires, Win 10,8,7 and XP compatible.

With a single user [learner] license purchase, you will receive an email with download right away.

Single User [Learner] license - $49

After site license purchase below, within 24 hours of the order being placed, you will receive an email with
the download. A 'site license' is per facility or campus, if you have multiple physical locations, you order one
site license per location.

Perpetual site license (unlimited users) - $490 (per facility)

Learning Path:
We recommend ...
1st PLC Programming Basics course
2nd PAC Basic Training course
3rd Structured Text Programming course
4th Complete PLC Programming (ST) exercises (This page)
5th Complete PLC OOP exercises

Related Electrical Training Bundles:


The PLC Technician - The Automation Specialist - The Maintenance Technician - The ITI & Technician's
Dream

Copyright © 1995 - 2024 Business Industrial Network

702-625-7715

You might also like