Programming concepts
5.1
Guidelines for designing a PLC system
When designing a PLC system, you can choose from a variety of methods and criteria. The
following general guidelines can apply to many design projects. Of course, you must follow
the directives of your own company's procedures and the accepted practices of your own
training and location.
Recommended steps
Partition your process
or machine
Create the functional
specifications
Design the safety
circuits
Specify the operator
stations
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02
Tasks
Divide your process or machine into sections that have a level of independence from each other.
These partitions determine the boundaries between controllers and influence the functional
description specifications and the assignment of resources.
Write the descriptions of operation for each section of the process or machine, such as the I/O
points, the functional description of the operation, the states that must be achieved before
allowing action for each actuator (such as a solenoid, a motor, or a drive), a description of the
operator interface, and any interfaces with other sections of the process or machine.
Identify any equipment that might require hard-wired logic for safety. Remember that control
devices can fail in an unsafe manner, which can produce unexpected startup or change in the
operation of machinery. Where unexpected or incorrect operation of the machinery could result in
physical injury to people or significant property damage, consider the implementation of
electromechanical overrides (which operate independently of the PLC) to prevent unsafe
operations. The following tasks should be included in the design of safety circuits:
Identify any improper or unexpected operation of actuators that could be hazardous.
Identify the conditions that would assure the operation is not hazardous, and determine how
to detect these conditions independently of the PLC.
Identify how the PLC affects the process when power is applied and removed, and also
identify how and when errors are detected. Use this information only for designing the normal
and expected abnormal operation. You should not rely on this "best case" scenario for safety
purposes.
Design the manual or electromechanical safety overrides that block the hazardous operation
independent of the PLC.
Provide the appropriate status information from the independent circuits to the PLC so that
the program and any operator interfaces have necessary information.
Identify any other safety-related requirements for safe operation of the process.
Based on the requirements of the functional specifications, create the following drawings of the
operator stations:
Overview drawing that shows the location of each operator station in relation to the process
or machine.
Mechanical layout drawing of the devices for the operator station, such as display, switches,
and lights.
Electrical drawings with the associated I/O of the PLC and signal modules.
5
79