8 Safety-related Aspects of the User Program HIMatrix
Page 46 of 72 HI 800 023 E Rev. 1.01
8 Safety-related Aspects of the User Program
General sequence for programming HIMatrix automation devices for safety-related
applications:
Specify the controller functionality.
Write the user program.
Use the C-code generator to compile the user program.
Compile the user program a second time and compare the resulting CRCs.
The program generated is error-free and can run,
Verify and validate the user program.
Finally, the PES can start the safety-related operation.
8.1 Scope for Safety-Related Use
(Refer to Chapter 3.4 for more details about specifications, rules and explications to safety
requirements)
Enter the user program with the allowed programming tool:
SILworX for operating system versions beyond 7.
ELOP II Factory for operating system versions prior to 7.
Which operating systems for personal computer have been released is specified in the
release notes of the programming tool.
Essentially, the programming tool includes:
Input (Function Block Editor), monitoring and documentation.
Variables with symbolic names and data types (BOOL, UINT, etc.).
Assignment of HIMatrix controllers.
Code generator (for translating the user program into a machine code).
Hardware configuration.
Communication configuration.
8.1.1 Programming Basics
The tasks to be performed by the controller should be defined in a specification or a
requirements specification. This documentation serves as the basis for checking its proper
implementation in the user program. The specification format depends on the tasks to be
performed. These include:
Combinational logic.
- Cause/effect diagram.
- Logic of the connection with functions and function blocks.
- Function blocks with specified characteristics.
Sequential controllers (sequence control system).
- Written description of the steps and their enabling conditions and of the actuators to
be controlled.
- Flow charts.
- Matrix or table form of the step enabling conditions and the actuators to be
controlled.
- Definition of constraints, e.g., operating modes, EMERGENCY STOP, etc.