HIMatrix 8 Safety-related Aspects of the User Program
HI 800 023 E Rev. 1.01 Page 53 of 72
To lock a controller
1. Set the following values in the controller prior to compiling (see also Chapter
Code
Generation):
Main Enable set to ON
Forcing allowed set to OFF (depending on the application)
Test mode allowed set to OFF
Start/Restart allowed set to ON
Load allowed set to ON
Autostart set to ON / OFF
Stop at Force Timeout set to ON (depending on the application)
2. After loading and starting, change the switches in the online controller following the
specified order:
Start/Restart allowed set to OFF
Load allowed set to OFF
Main Enable set to OFF
i
The following switches may only be set to different values after receiving consent from the
test authority:
Forcing allowed set to ON
Stop at Force Timeout set to ON / OFF
Start/Restart allowed set to ON
Autostart set to ON
The controller is locked.
Unlocking procedure - To be able to unlock the controller (Main Enable set to ON), the
controller must be in STOP. Main Enable cannot be activated while the controller is
operating (RUN state), but it can be deactivated.
To allow a restart after the CPU initialization (e.g., after voltage drops), proceed as follows
when unlocking the PES:
To unlock the controller
1. Set Main Enable to ON.
2. Set Start/Restart to ON.
3. Start the user program.
The controller is unlocked.
8.2.4 Code Generation
After entering the complete user program and the I/O assignments of the controller,
generate the code. The code generator creates the configuration CRC. This is a signature
for the entire configuration of CPU, inputs/outputs and communication, and is issued as a
32-bit, hexadecimal code. The signature includes all of the configurable or modifiable
elements such as the logic, variable or switch parameter settings.
To ensure that the not safe PC has no influence on the process, generate the code a
second time. The two resulting configuration CRCs must be identical.
To generate the code for safety-related operation
1. Start the code generator to create the code with the configuration CRC.
; Executable code 1 with CRC 1.
2. Start the code generator once again to create the code with the configuration CRC.