HIMax Saftey Manual - HI - 801 - 003 - E - Safety - Manual - HIMax
HIMax Saftey Manual - HI - 801 - 003 - E - Safety - Manual - HIMax
HIMax Saftey Manual - HI - 801 - 003 - E - Safety - Manual - HIMax
All HIMA products mentioned in this manual are protected by the HIMA trademark. Unless noted otherwise,
this also applies to other manufacturers and their respective products referred to herein.
HIMax®, HIMatrix®, SILworX®, XMR® and FlexSILon® are registered trademarks of
HIMA Paul Hildebrandt GmbH.
All of the instructions and technical specifications in this manual have been written with great care and
effective quality assurance measures have been implemented to ensure their validity. For questions, please
contact HIMA directly. HIMA appreciates any suggestion on which information should be included in the
manual.
Equipment subject to change without notice. HIMA also reserves the right to modify the written material
without prior notice.
For further information, refer to the HIMA DVD and our website at http://www.hima.de and
http://www.hima.com.
Contact
HIMA contact details:
HIMA Paul Hildebrandt GmbH
P.O. Box 1261
68777 Brühl, Germany
Phone: +49 6202 709-0
Fax: +49 6202 709-107
E-mail: [email protected]
Table of Contents
1 Safety Manual 7
1.1 Validity and Current Version 7
1.2 Objectives of the Manual 7
1.3 Target Audience 8
1.4 Writing Conventions 8
1.4.1 Safety Notices 8
1.4.2 Operating Tips 9
2 Usage Notes for HIMax Systems 10
2.1 Intended Use 10
2.1.1 Scope 10
2.1.2 Environmental Conditions 10
2.2 Tasks of Operators and Machine and System Manufacturers 10
2.2.1 Connection of Communication Partners 10
2.2.2 Use of Safety-Related Communication 10
2.3 ESD Protective Measures 11
2.4 Additional System Documentation 11
3 Safety Concept for Using the PES 12
3.1 Safety and Availability 12
3.1.1 Calculating the PFD, PFH and SFF Values 12
3.1.2 Self-Test and Fault Diagnosis 12
3.1.3 PADT 13
3.1.4 Redundancy 13
3.1.5 Structuring Safety Systems in Accordance with the Energize-to-Trip Principle 13
3.2 Time Parameters Important for Safety 14
3.2.1 Process Safety Time 14
3.2.2 Resource Watchdog Time 14
3.2.3 Watchdog Time of the User Program 15
3.2.4 Safety Time of the Resource 16
3.2.5 User Program Safety Time 16
3.2.6 Response Time 16
3.3 Proof Test (in Accordance with IEC 61508) 16
3.3.1 Proof Test Execution 16
3.3.2 Frequency of Proof Tests 16
3.4 Safety Requirements 17
3.4.1 Hardware Configuration 17
3.4.2 Programming 17
3.4.3 Communication 18
3.4.4 Maintenance Work 18
3.4.5 Cyber Security for HIMax Systems 18
3.5 Certification 20
3.5.1 Test conditions 21
4 Processor Module 24
4.1 Self-Tests 24
4.2 Reactions to Faults in the Processor Module 24
Table of Contents HIMax
Glossary 63
Index of Figures 64
Index of Tables 65
Index 66
HIMax 1 Safety Manual
1 Safety Manual
This manual contains information on how to operate the HIMax safety-related automation device
in the intended manner.
The following conditions must be met to safely install and start up the HIMax automation
systems, and to ensure safety during their operation and maintenance:
Knowledge of regulations.
Proper technical implementation of the safety instructions detailed in this manual performed
by qualified personnel.
HIMA will not be held liable for severe personal injuries, damage to property or the environment
caused by any of the following:
Unqualified personnel working on or with the devices.
De-activation or bypassing of safety functions.
Failure to comply with the instructions detailed in this manual.
HIMA develops, manufactures and tests the HIMax automation systems in compliance with the
pertinent safety standards and regulations. The use of the devices is only allowed if the
following conditions are met:
They are only used for the intended applications.
They are only operated under the specified environmental conditions.
They are only operated in connection with the approved external devices.
To provide a clearer exposition, this manual does not specify all details of all versions of the
HIMax automation devices. Refer to the corresponding manuals for further details.
This safety manual represents the "Original instructions" as of Directive on Machinery (Directive
2006/42/EC).
The "Original documentation" for the HIMA system is written in German language. The
statements made in the German documentation shall apply.
The most current version of this safety manual, which is indicated by the highest revision
number, is applicable and valid. The current version is available on the current HIMA DVD or
can be downloaded from the HIMA website at www.hima.com.
For details on how to use previous HIMax and SILworX versions, refer to the corresponding
previous versions of this manual.
SIGNAL WORD
Type and source of risk!
Consequences arising from non-observance
Risk prevention
NOTICE
Type and source of damage!
Damage prevention
HIMax 1 Safety Manual
2.1.1 Scope
The safety-related HIMax controllers are certified for use in process controllers, protective
systems, burner systems and machine controllers.
Redundant operation of HIMax modules does not preclude simultaneous operation of other non-
redundant modules.
2.1.1.1 Application in Accordance with the De-Energize-to-Trip Principle
The automation devices have been designed in accordance with the de-energize-to-trip
principle.
If a fault occurs, a system operating in accordance with the de-energize-to-trip principle enters
the de-energized state to perform its safety function.
2.1.1.2 Application in Accordance with the Energize-to-Trip Principle
The HIMax controllers can be used in applications that operate in accordance with the energize-
to-trip principle.
A system operating in accordance with the energize-to-trip principle switches on, for instance,
an actuator to perform its safety function.
When designing the controller system, the requirements specified in the application standards
must be taken into account. For instance, line diagnosis for inputs and outputs or message
reporting a triggered safety function may be required.
2.1.1.3 Use in Fire Alarm Systems
All HIMax systems with analog inputs are tested and certified for used in fire alarm systems in
accordance with DIN EN 54-2 and NFPA 72.
NOTICE
Electrostatic discharge can damage the electronic components within the controllers!
When performing the work, make sure that the workspace is free of static, and wear
an ESD wrist strap.
If not used, ensure that the module is protected from electrostatic discharge, e.g., by
storing it in its packaging.
Only personnel with knowledge of ESD protective measures may modify or extend the
system wiring.
The documents are available as PDF files on HIMA website at www.hima.com (except for the
SILworX online help).
3 Safety Concept for Using the PES HIMax
WARNING
Possible physical injury caused by safety-related automation systems improperly
connected or programmed.
Check all connections and test the entire system for compliance with the specified
safety requirements before start-up!
All HIMax modules are equipped with LEDs to indicate that faults have been detected. This
allows the user to quickly diagnose faults detected in a module or the external wiring.
Additionally, the user program can evaluate various system variables displaying the module
status.
Extensive diagnostics of the system performance and detected faults are stored in the
diagnostic memory of the processor module or other modules. The diagnostics can also be read
after a system fault using the PADT.
For more information on how to evaluate diagnostic messages, see Chapter Diagnosis in the
system manual (HI 801 001 E).
For a very few number of component failures that do not affect safety, the HIMax system does
not provide any diagnostic information.
3.1.3 PADT
Using the PADT, the user creates the program and configures the controller. The safety concept
of the PADT supports the user in the proper implementation of the control task. The PADT
implements numerous measures to check the entered information.
3.1.4 Redundancy
To improve availability, all parts of the system containing active components can be set up
redundantly and, if necessary, replaced while the system is operating.
Redundancy does not impair safety. SIL 3 is still guaranteed even if system components are
used redundantly.
When a processor module is inserted in the base plate, it automatically synchronizes itself with
i the configuration of the existing processor modules. The time required for the synchronization
process extends the controller cycle up to the maximum cycle time.
The synchronization time increases with the number of processor modules that have already
been synchronized.
For more information on how to insert and remove a processor module, refer to the X-CPU 01
manual (HI 801 009 E), or to the X-CPU 31 manual (HI 801 355 E).
4. In the diagnostic history for the non-synchronized module, read the synchronization time
from n to n+1 processor modules in every synchronization process and note it down. The
greatest synchronization time value is used to determine the watchdog time.
5. Calculate the watchdog time TWD using the following equation:
TWD = TSync + TMarg + TCom + TConfig + TLatency + TPeak where
TSync Time determined for the processor module's synchronization
TMarg Safety margin 12 ms
TCom The configured system parameter: Max. Com.Time Slice ASYNC [ms]
Use the Control Panel to determine the current value. Refer to the
communication manual (HI 801 101 E) for details.
TConfig The configured system parameter: Max. Duration of Configuration Connections
[ms], refer to Chapter 10.3.1.2 for further details.
TLatency The configured system parameter: Maximum System Bus Latency [µs] * 4
TPeak Observed load peaks of the user programs
► A suitable value can thus be determined for the watchdog time.
TIP The configured watchdog time can be used as maximum cycle time in the safeethernet
configuration, see communication manual (HI 801 101 E).
Make sure that the calculated watchdog time is not greater than the response time required for
the process portion processed by the user program.
The HIMax system responds to faults that may result in a safety-critical operating state within
the configured safety time of the resource. It triggers predefined fault reactions that bring the
faulty parts to the safe state. The requisites are:
No input signal delay, caused by delay elements configured in the input modules (T on,
T off).
No delay within the user program.
User program response within one PES cycle.
The following factors prolong the safety time of the resource and must be taken into account:
Physical delays at the inputs and outputs, e.g., the switching times of relays.
Delays of output signals due to output noise blanking, see Chapter 8.4.2.
In HIMax resources, the safety time can be set anywhere in the range 20...22 500 ms.
In practice, shorter proof test intervals are required for the input and output field devices (e.g.,
every 6 or 12 months) than for the HIMax controller. Testing the entire safety loop together with
a field device automatically includes the test of the HIMax controller. There is therefore no need
to perform additional proof tests of the HIMax controller.
If the proof test of the field devices does not include the HIMax controller, the HIMax controller
must be tested for SIL 3 at least once every 10 years. This can be achieved by restarting the
HIMax controller.
Product-Independent Requirements
To ensure safety-related operation, only approved safety-related hardware modules and
software components may be used. The approved hardware modules and software
components are specified in the Version List of Modules and Firmware for HIMax Systems
from HIMA Paul Hildebrandt GmbH. The latest versions can be found in the version list
maintained together with the test authority.
The operating requirements specified in this safety manual (see Chapter 2.1.2) about EMC,
mechanical, chemical, climatic influences must be observed.
Product-Dependent Requirements
Only devices that are safely separated from the power supply may be connected to the
system.
The operating requirements detailed in the system manual, particularly those concerning
supply voltage and ventilation, must be observed.
Only safety-related modules may be used to process safety-related tasks.
Only power supply units of type PELV or SELV may be used for power supply. The provided
supply voltage must be ≤ 35 V even if a fault occurs!
3.4.2 Programming
Personnel developing user programs must observe the safety requirements specified below.
Product-Independent Requirements
In safety-related applications, proper configuration of the safety-relevant system parameters
must be ensured.
In particular, this applies to the system configuration, maximum cycle time and safety time.
3.4.3 Communication
When implementing safety-related communications between the various devices, ensure
that the system's overall response time does not exceed the process safety time. All
calculations must be performed in accordance with the rules given in 12.2.
During the transfer of (safety-related) data, IT security rules must be observed.
The transfer of safety-relevant data through public networks like the Internet is only permitted
if additional security measures such as VPN tunnel or firewall have been implemented.
If data is transferred through company-internal networks, administrative or technical
measures must be implemented to ensure sufficient protection against manipulation (e.g.,
using a firewall to separate the safety-relevant components of the network from other
networks).
Never use the standard protocols to transfer safety-related data.
Only devices with safe electrical separation may be connected to the communication
interfaces.
All requirements about protection against manipulation specified in the safety and application
standards must be met. The operator is responsible for authorizing employees and
implementing the required protective actions.
HIMax 3 Safety Concept for Using the PES
WARNING
Physical injury possible due to unauthorized manipulation of the controller!
The controller must be protected against unauthorized access!
For instance:
Changing the default settings for login and password!
Controlling the physical access to the controller and PADT!
Careful planning should identify the measure to be taken. The required measures are only to be
taken after the risk analysis is completed. Such measures are, for example:
Meaningful allocation of user groups.
Maintained network maps help ensuring that secure networks are permanently separated
from public networks, and if required, only a well-defined connection exists (e.g., via a
firewall or a DMZ).
Use of appropriate passwords.
A periodical review of the security measures is recommended, e.g., every year.
The user is responsible for implementing the necessary measures in a way suitable for
the plant!
For more details, refer to the HIMA cyber security manual (HI 802 373 E).
3 Safety Concept for Using the PES HIMax
3.5 Certification
HIMA safety-related automation devices (programmable electronic systems, PES) of the HIMax
system have been tested and certified by TÜV for functional safety in accordance with and
the standards listed below:
The following chapter contains a detailed list of all environmental and EMC tests performed.
All devices have received the mark of conformity.
HIMax 3 Safety Concept for Using the PES
When using the safety-related HIMax control systems, the following general conditions must be
met:
Condition type Condition content
Protection class Protection class III in accordance with IEC/EN 61131-2
Pollution Pollution degree II in accordance with IEC/EN 61131-2
Altitude < 2000 m
Enclosure Standard: IP20/IP00
If required by the relevant application standards (e.g., EN 60204), the
device must be installed in an enclosure of the specified protection class
(e.g., IP54).
Table 3: General Requirements
3 Safety Concept for Using the PES HIMax
Immunity test
Slow temperature changes: -10 °C / +70 °C power supply not connected
4 Processor Module
The processor module's safety function is maintained by processing the user program with two
processors that constantly compare their data. If a fault occurs, the watchdog sets the module to
the safe state and reports the CPU state.
Refer to the manual for further details about the processor modules.
4.1 Self-Tests
The following section specifies the most important self-test routines of controllers' safety-related
processor modules:
Processor test
Memory test
Comparator test
CRC test with non-volatile memories
Watchdog test
NOTICE
Interruption of the safety-related operation possible!
Replacing a processor module with a lit or blinking Ess LED can result in the
interruption of a controller's operation.
Do not remove processor modules with a lit or blinking Ess LED.
A lit or blinking Ess LED indicates that the processor module is required for the system to
function.
Even if the LED is not lit or blinking, the system redundancies, which this processor module is
part of, must be checked using SILworX. The communication connections processed by the
processor module must also be taken into account.
Refer to the processor module manuals (HI 801 009 E and HI 801 355 E) and to the system
manual (HI 801 001 E) for more details on how to replace processor modules.
HIMax 4 Processor Module
5.1 Rack ID
The rack ID identifies a base plate within a resource and must be unique for each base plate.
The rack ID is the safety parameter for addressing the individual base plates and the modules
mounted on them!
The rack ID is stored in the connector board of the system bus module.
The procedure for configuring the rack ID is described in the system manual (HI 801 001 E) and
in the SILworX first steps manual (HI 801 103 E).
5.2 Responsibility
Only one of the system bus module contained in each system bus may receive the Responsible
attribute and thus be configured as responsible for system bus operation.
For system bus A, the Responsible attribute is reserved for the system bus module or the
X-CPU 31 processor module in rack 0, slot 1.
The following conditions apply for system bus B:
- If X-SB 01 and X-CPU 01 are used, the attribute can be configured with SILworX.
The Responsible system bus module must either be located in rack 0, slot 2, or in rack 1,
slot 2.
- If X-CPU 31 is used, the attribute is fixed for the module in rack 0, slot 2.
Prior to starting safety-related operation, ensure the Responsible attribute is properly configured
for both system busses.
The procedure for setting the Responsible attribute is described in the SILworX first steps
manual (HI 801 103 E).
WARNING
Physical injury possible!
SILworX must be used to verify the configuration.
Proceed as follows:
In SILworX, log in to the system module in rack 0, slot 2.
In SILworX, log in to the system module in rack 1, slot 2.
Check the Control Panels of both system bus modules to ensure that the Responsible
attribute has only been set for the correct system bus module (see Figure 1 and
Figure 2)!
Recommended configurations:
If processor modules are only contained in rack 0, both system bus modules in rack 0 must
be set to Responsible (Figure 1).
If processor modules are also contained in rack 1 (Figure 2), the following system bus
modules must be set to Responsible.
HIMax 5 System Bus Module
If X-CPU 31 processor modules are inserted in rack 0, slots 1 and 2 (Figure 3), they are
always set to Responsible. In this case, the system bus module in rack 1, slot 2, must not be
set to Responsible.
5 System Bus Module HIMax
6 Communication Module
Communication modules control both safety-related data transfer to other HIMA controllers and
non-safety-related data transfer through fieldbuses and Ethernet.
The processor module controls safety-related data traffic using the SIL 3-certified transfer
protocol safeethernet. The communication module forwards the data packets to the other
systems. The safety-related protocol ensures that corrupted messages are detected (black-
channel principle).
This allows safety-related communication via non safety-related transmission paths, i.e.,
standard network components.
The standard protocols are for instance:
- Modbus
- PROFIBUS master/slave
- Send/Receive TCP
- PROFINET IO
- SNTP
Refer to the following documents for further details on communication and communication
modules:
This manual, Chapter 12.1.
Communication module manual HI 801 011 E
Communication manual, HI 801 101 E
System manual, HI 801 001 E
7 Input Modules HIMax
7 Input Modules
Module Number of Safety-related Interference-free Remark
channels channels
Digital inputs
X-DI 16 01 16 SIL 3 • 120 VAC
X-DI 32 01 32 SIL 3 • 24 VDC
X-DI 32 02 32 SIL 3 • Proximity switches
(NAMUR)
X-DI 32 03 32 SIL 3 • 48 VDC
X-DI 32 04 32 SIL 3 • With sequence of events
recording
X-DI 32 05 32 SIL 3 • Proximity switches
(NAMUR), with sequence
of events recording
X-DI 32 51 32 - • 24 VDC
X-DI 32 52 32 - • Proximity switches
(NAMUR)
X-DI 64 01 64 SIL 3 • 24 VDC
X-DI 64 51 64 - • 24 VDC
Analog inputs 0/4...20 mA
X-AI 16 51 16 SIL 1 • Thermocouple
X-AI 32 01 32 SIL 3 •
X-AI 32 02 32 SIL 3 • With sequence of events
recording
X-AI 32 51 32 - •
Counter inputs
X-CI 24 01 24 SIL 3 •
X-CI 24 51 24 - •
Table 9: Overview of the Input Modules
7.1 General
Safety-related inputs can be used for both safety-related signals and non-safety-related signals.
Non-safety-related signals, however, may not be used for safety functions!
Safety-related input modules automatically perform high-quality, cyclic self-tests during
operation.
If a fault occurs, the initial value is provided to the user program as a global variable and, if
possible, detailed fault information is issued. The user program can read out the error code and
thus evaluate this fault information.
In addition to the diagnostic LEDs, the controllers generate and save error and status
messages. The PADT can read the saved diagnostic messages.
For more information on the input modules, refer to the individual module manuals.
7.4.2 Redundancy
The digital inputs may be connected redundantly. The redundant connection is usually used to
increase availability.
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
If no shielded cables are used, the channel-specific time on and time off delay must be applied
to avoid these types of faults. A signal must be present for at least a certain time period before it
is evaluated. The configured delay + 2 * I/O cycle time must be added to the response time and
to the safety time configured for the resource.
7.5.2 Redundancy
The analog inputs may be connected redundantly. The redundant connection is usually used to
increase availability.
7 Input Modules HIMax
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
7.6.3 Redundancy
The counter inputs may be connected redundantly. The redundant connection is usually used to
increase availability.
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
When engineering or starting up the system, it is useful to fill out a checklist for each of the
safety-related input channels used in the system to verify the requirements to be met. This is the
only way to ensure that all requirements were considered and clearly recorded. The checklist
also documents the relationship between the external wiring and the user program.
The checklists are available in Microsoft® Word® format on the HIMA website.
8 Output Modules HIMax
8 Output Modules
Module Number of Safety- Safely galvanically Remark
channels related separated
Digital outputs
X-DO 12 02 12 SIL 3 - 24 VDC, 2 A
X-DO 24 01 24 SIL 3 - 24 VDC
X-DO 24 02 24 SIL 3 - 48 VDC
X-DO 32 01 32 SIL 3 - 24 VDC
X-DO 32 51 32 - - 24 VDC
Digital relay outputs
X-DO 12 01 12 SIL 3 • 230 VAC
X-DO 12 51 12 - • 230 VAC
Analog outputs
X-AO 16 01 16 SIL 3 Pairwise
X-AO 16 51 16 - -
Table 10: Overview of the Output Modules
8.1 General
The safety-related output modules are written once per cycle, the generated output signals are
read back and compared with the specified output data.
The safe state of the outputs is 0 or an open relay contact.
Using the corresponding error code, the user can program additional fault reactions in the user
program.
For more information on the output modules, refer to the individual module manuals.
If output noise blanking has been activated and transient interference has been
i suppressed, a potential delay in the reaction to safety time - watchdog time must be
taken into account.
In all cases, the module also indicates the fault through the Error LED on the front plate.
8.4.4 Redundancy
The digital outputs may be connected redundantly. The redundant connection is usually used to
increase availability.
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
8.5.2 Redundancy
The digital relay outputs may be connected redundantly. The redundant connection is usually
used to increase availability.
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
If faults occur, the outputs are set to the safe value 0 mA.
If output noise blanking has been activated and transient interference has been
i suppressed, a potential delay in the reaction to safety time - watchdog time must be
taken into account.
In all cases, the module also indicates the fault through the Error LED on the front plate.
8.6.4 Important Information in Connection with the Analog X-AO 16 01 Output Module
If the analog output module is used, the following characteristic must be observed; also refer to
the module-specific manual (HI 801 111 E):
Only the connection variants specified in the module-specific manual (HI 801 111 E) may be
used!
If more than two modules are redundantly connected in series, the SELV voltage can be
exceeded!
With serial redundancy, only one channel of each group of two channels may be used!
If HART communication occurs between the connected actuator and one HART terminal, the
output signal can deviate from the full scale by up to 1 %!
If a fault occurs, the time to reach the safe state can take up to 16 ms in the worst case.
Take this time into account when defining the reaction and safety times!
The user program may not write to analog outputs in cycles shorter than 6 ms.
If faults occur, the module outputs the safe value 0 mA, even if the upper limit of the setting
range is exceeded.
HIMax 8 Output Modules
8.6.5 Redundancy
The analog outputs may be connected redundantly. The redundant connection is usually used
to increase availability.
If other connection variants should be used, e.g., to increase the SIL value, fault states must be
handled in the user program logic.
9.2.2 Redundancy
To increase availability, the module must be used in a dual redundant structure. To this end,
only dual redundant connector boards may be used.
HIMax 10 Software
10 Software
The software for the safety-related automation devices of the HIMax systems consists of the
following components:
Operating system.
User program.
SILworX programming tool in accordance with IEC 61131-3
The operating system is loaded into each module of the controller. HIMA recommends using the
latest version valid for the safety-related applications. This chapter particularly describes the
operating system of the processor module.
The user program is created using the SILworX programming tool and contains the application-
specific functions to be performed by the automation device. Parameters are also set using
SILworX.
The user program is compiled with the code generator and transferred to the non-volatile
memory automation device through an Ethernet interface.
When starting up a safety-related controller for the first time, a comprehensive functional test
must be performed to verify the safety of the entire system.
Verify that the tasks to be performed by the controller were properly implemented using the
data and signal flows.
Perform a thorough functional test of the logic by trial (see Chapter 10.2.2).
If a user program is modified, only the program components affected by the change must be
tested. To do this, the safe version comparator in SILworX can be used to determine and
display all changes relative to the previous version.
Whenever the safety-related controller is started up, the verification and validation requirements
specified in the application standards must be observed!
10 Software HIMax
This procedure must be followed both when initially creating and when modifying the user
program.
WARNING
Physical injury possible due to defective configuration!
Neither the programming system nor the controller can verify project-specific
parameters. For this reason, enter these safety parameters correctly and verify the
whole entry upon completion of the PES load from within the PES itself.
These parameters are:
Rack ID, see Chapter 5.1 and system manual (HI 801 001 E).
Responsible attribute of system bus modules, see Chapter 5.2
The parameters marked in Table 11
Parameters that may be defined for safety-related operation are not firmly bound to any specific
requirement classes. Instead, each of these must be agreed upon together with the competent
test authority for each separate implementation of the automation device.
HIMax 10 Software
10.3.1.1 Use of the Parameters Target Cycle Time and Target Cycle Time Mode
These parameters can be used to constantly maintain the cycle time as close to the Target
Cycle Time [ms] value as possible. To do this, this parameter must be set to a value > 0. HIMax
then limits tasks such as reload and synchronization on the redundant modules to ensure that
the target cycle time is maintained.
The following table describes the effect of Target Cycle Time Mode.
Target Cycle Effect on user programs Effect on reload, synchronization of
Time Mode processor modules
Fixed The PES maintains the target cycle time and Reload or synchronization is not processed
extends the cycle if necessary. If the if the target cycle time is not sufficient
Fixed-tolerant processing time of the user programs At most each 5th cycle may be prolonged
exceeds the target cycle time, the cycle during reload.
duration is increased. One single cycle may be prolonged during
synchronization.
Dynamic- HIMax executes the cycle as quickly as At most each 5th cycle may be prolonged
tolerant possible. during reload.
One single cycle may be prolonged during
synchronization.
Dynamic Reload or synchronization is not processed
if the target cycle time is not sufficient
Table 12: Effect of Target Cycle Time Mode
If Max. Duration of Configuration Connections is set too low, communication between PADT
i and PES runs very slow and may even fail!
In the SILworX Hardware Editor, these system variables may be assigned global variables with
a value that is modified by a physical input or the user program logic.
The simple example can be modified using multiple global variables, digital inputs and key
switches so that the permissions for forcing, reload, stop, start and download can be distributed
on different keys and persons.
10.4 Forcing
Forcing is the procedure by which a variable's current value is replaced with a force value. The
variable receives its current value from a physical input, communication or a logic operation. If
the variable is forced, its value does no longer depend on the process, but is defined by the
user.
10 Software HIMax
WARNING
Failure of safety-related operation possible due to forced values possible!
Forced value may lead to incorrect output values.
Forcing prolongates the cycle time. This can cause the watchdog time to be
exceeded.
Forcing is only permitted after receiving consent from the test authority responsible for
the factory acceptance test (FAT).
When forcing values, the person in charge must take further technical and organizational
measures to ensure that the process is sufficiently monitored in terms of safety. HIMA
recommends setting a time limit for the forcing procedure.
Refer to the system manual (HI 801 001 E) for further details on forcing.
The safe version comparator must be used to verify the changes performed to the program prior
to loading it into the controller.
It exactly determines the changed parts of the resource configuration. This, in turn, facilitates
testing the changes and identifying the test data.
Structured programming and the use of significant names from the first configuration version on,
facilitate understanding of the comparison result.
HIMax 11 User Program
11 User Program
This chapter describes the safety-related aspects that are important for the user programs.
Upon completing these steps, the user program can be tested and the PES can begin the safe
operation.
The user program must be written using the SILworX programming tool. For further details on
the operating system released for personal computer, refer to the release documentation for the
SILworX version to be used.
The I/O concept of the system must include the analysis of the field circuits, i.e., the type of
sensors and actuators:
Sensors (digital or analog)
- Signals during normal operation (de-energize-to-trip principle with digital sensors, 'life-
zero' with analog sensors).
- Signals in the event of a fault:
- For more details on the safety-related redundancies required for safety (1oo2, 2oo3).
- Monitoring of discrepancy and reaction.
Actuators
- Positioning and activation during normal operation.
- Safe reaction/positioning at shutdown or after power loss.
The PADT is only able to operate the resource, e.g., by performing a reload and forcing, if the
i project loaded in the resource is opened in SILworX. Without the project in SILworX, only a
STOP of the resource is possible!
HIMA recommends performing a project data backup, e.g., on an external data storage
medium, after the user programs are loaded into the controller, even in case of reload.
This is done to ensure that the project data corresponding to the configuration loaded into the
controller remains available even if the PADT fails.
HIMA recommends performing a data backup on a regular basis also independently from the
program load.
11.2.6 Reload
If user programs were modified, the changes can be transferred to the PES during operation.
After being tested by the operating system, the modified user program is activated and assumes
the control task..
Prior to performing a reload, the operating system checks if the required additional tasks would
increase the cycle time of the current user programs to such an extent that the defined
watchdog time is exceeded. In this case, the reload process is aborted with an error message
and the controller continues operation with the previous resource configuration.
The reload can only be performed if the Reload Allowed system parameter is set to ON and the
Reload Deactivation system variable is set to OFF.
11 User Program HIMax
The user is responsible for ensuring that the watchdog time includes a sufficient reserve time.
i This should allow the user to manage the following situations:
Variations in the user program's cycle time.
Sudden, strong cycle loads, e.g., due to communication.
Expiration of time limits during communication.
NOTE
Failure of safety-related operation possible!
If the user program is frozen in test mode, it cannot provide a safety-related response to
inputs and thus control the outputs! The values of the outputs cannot change in test
mode.
For this reason, test mode is not allowed during safety-related operation!
For safety-related operation, the Test Mode Allowed parameter must be set to OFF!
Prior to using an online command to set parameters, make sure that this change will not result
in a dangerous state of the plant. If required, organizational and/or technical measures must be
taken to preclude any damage. The application standards must be observed!
The safety time and watchdog time values must be checked and compared to the safety time
required by the application and to the actual cycle time. These values cannot be verified by the
PES!
The controller ensures that the watchdog time is not set to a value less than the watchdog time
value of the configuration loaded in the PES.
HIMax 11 User Program
This documentation is required for the factory acceptance test (FAT) of a system subject to
approval by a test authority (e.g., TÜV).
11.2.11 Multitasking
Multitasking refers to the capability of the HIMax system to process up to 32 user programs
within the processor module.
The individual user programs can be started and stopped independently from one another.
A user program cycle can takes multiple processor module cycles. This can be controlled with
the resource and user program parameters. SILworX uses these parameters to calculate the
user program watchdog time:
Watchdog timeuser program = watchdog timeprocessor module * maximum number of cycles
Operation of the individual user programs is usually interference-free and independent of one
another. However, reciprocal influence can be caused by:
Use of the same global variables in several user programs.
Unpredictably long runtimes can occur in individual user programs if no limit is configured
with Max Duration for Each Cycle.
The distribution of user program cycle over processor module cycles strongly affects the
user program response time and the response time of the variables written by the user
program!
11 User Program HIMax
A user program evaluates global variables written by another user program after at least one
processor module cycle. Depending on the value set in the programs for Program's
Maximum Number of CPU Cycles, the reading process may be prolonged by many
processor module cycles. The reaction to changes performed to such global variables is thus
delayed!
Refer to the system manual (HI 801 001 E) for details on multitasking
12 Communication Configuration
In addition to using the physical input and output variables, variable values can also be
exchanged with other system through a data connection. In this case, the variables are declared
with SILworX, in the Protocols area of the corresponding resource.
WARNING
Physical injury possible due to usage of unsafe import data!
Do not use data imported from unsafe sources for the user program's safety functions.
NOTICE
Unintentional transition to the safe state possible!
Receive Timeout is a safety-related parameter!
Receive Timeout is the monitoring time of PES 1 within which a correct response from PES 2
must be received.
In the following equations for determining the worst case reaction time, the target cycle time can
be used instead of the watchdog time, if it is guaranteed that process module maintains the
target cycle time, even in case of reload and synchronization.
In this case, the following requirements apply to the Fixed-tolerant or Dynamic-tolerant settings
of Target Cycle Time Mode:
1. Watchdog Time ≤ 1,5*Target Cycle Time
2. Receive Timeout ≤ 5*Target Cycle Time + 4*Latency
Latency refers to the delay on the transmission path.
3. For reload, there is either just one user program or several user programs, the cycle of which
is limited to a single processor module cycle.
The allowed worst case reaction time depends on the process and must be agreed upon
i together with the competent test authority.
Terms
Receive Timeout: Monitoring time of PES 1 within which a correct response from PES 2
must be received. Otherwise, safety-related communication is terminated
after the time has expired.
Production Rate: Minimum interval between two data transmissions.
Watchdog Time: Maximum duration permitted for a controller's RUN cycle. The duration of
the RUN cycle depends on the complexity of the user program and the
number of safeethernet connections. The watchdog time (WDT) must be
entered in the resource properties.
Worst Case The worst case reaction time is the time between a change in a physical
Reaction Time input signal (in) of PES 1 and a reaction on the corresponding output (out)
of PES 2.
Delay: Delay on a transmission path, e.g., with a modem or satellite connection.
For direct connections, one can assume an initial delay of 2 ms.
The responsible network administrator can measure the actual delay on a
transmission path.
The following conditions apply to the calculations of the maximum reaction times specified
below:
The signals transmitted over safeethernet must be processed in the corresponding
controllers within one CPU cycle.
The reaction time of the sensors and actuators must be added.
TR = t1 + t2 + t3
TR Worst Case Reaction Time
t1 Safety time of HIMax controller 1
t2 Receive Timeout
t3 Safety time of HIMax controller 2
12.3.2 Calculating the Worst Case Reaction Time with 1 HIMatrix Controller
The worst case reaction time TR is the time between a change on the sensor input signal (in) of
HIMax controller and a reaction on the corresponding output (out) of HIMatrix controller. It is
calculated as follows:
Figure 5: Response Time when 1 HIMax and 1 HIMatrix Controllers are Interconnected
TR = t1 + t2 + t3
TR Worst Case Reaction Time
t1 Safety time of HIMax controller
t2 Receive Timeout
t3 2 * Watchdog time of the HIMatrix controller
12 Communication Configuration HIMax
12.3.3 Calculating the Worst Case Reaction Time with 2 HIMatrix Controllers or
Remote I/Os
The worst case reaction time TR is the time between a change on the sensor input signal (in) of
the first HIMatrix controller or remote I/O (e.g., F3 DIO 20/8 01) and a reaction on the
corresponding output (out) of the second HIMatrix controller or remote I/O (out). It is calculated
as follows:
Figure 6: Response Time with 2 HIMatrix Controllers or Remote I/Os and 1 HIMax Controller
TR = t1 + t2 + t3 + t4 + t5
TR Worst Case Reaction Time
t1 2 * watchdog time of the HIMatrix controller or the remote I/O 1
t2 Receive Timeout1
t3 2 * watchdog time of the HIMax controller.
t4 Receive Timeout2
t5 2 * watchdog time of the HIMatrix controller or the remote I/O 2
Remote I/O 1 and remote I/O 2 can also be identical. The time values still apply if a HIMatrix
i controller is used instead of a remote I/O.
12.3.4 Calculating the Worst Case Reaction Time with 2 HIMax and 1 HIMatrix
Controller
The worst case reaction time TR is the time between a change on the sensor input signal (in) of
the first HIMax controller and a reaction on the corresponding output (out) of the second HIMax
controller. It is calculated as follows:
TR = t1 + t2 + t3 + t4 + t5
HIMax 12 Communication Configuration
For the application, the REOL, RL and RShunt resistors must be calculated as dictated by the
sensors in use and the number of sensors per detection loop. Refer to the data sheet from the
sensor manufacturer for the necessary data.
The alarm outputs for controlling lamps, sirens, horns etc. are operated in accordance with the
energize-to-trip principle. These outputs must be monitored for short-circuits and open-circuits.
Additionally, line monitoring for the output modules must be configured and processed in the
user program.
A suitable user program can be used to control visual display systems, indicator light panels,
LED indicators, alphanumeric displays, audible alarms, etc.
The routing of fault signal messages via input and output channels or to transmission equipment
for fault signaling must occur in accordance with the de-energize-to-trip principle.
Fire alarms can be transmitted from one HIMax system to a different system using the existing
Ethernet communication standard (OPC). Any communication loss must be reported.
HIMax 13 Use in Fire Alarm Systems
HIMax systems that are used as fire alarm systems must have a redundant power supply.
Precautionary measures must also be taken against power supply drops, e.g., the use of a
battery-powered horn. Uninterrupted operation must be ensured while switching from the main
power supply to the backup power supply. Voltage drops for a duration of up to 10 ms are
permitted.
If a system failure occurs, the operating system writes to the system variables defined in the
user program. This allows the user to program fault signaling for faults detected by the system.
If a fault occurs, the HIMax system switches off the safety-related inputs and outputs with the
following effects:
The low level is processed in all channels of the faulty inputs.
All channels of the faulty outputs are switched off.
14 Use as Safety, Controlling and Regulating Device with Gas Detector HIMax
AI
2
Figure 10 depicts the use in Zone 1. The HIMax module is located in Zone 2 and is connected
to the sensors in Zone 1 via a suitable isolation amplifier.
3
5
AI
4
SILworX can be used to create the user program. When setting the threshold parameters,
observe the specifications provided by the sensor manufacturer and relevant standards.
The safety function of the HIMax PES with connected sensors is to monitor the corresponding
flammable gases. The safety-related controlling, regulating and warning function must be
programmed in the application. The application must be subject to extensive testing prior to
starting safety-related operation.
HIMax Appendix
Appendix
Glossary
Term Description
ARP Address resolution protocol: Network protocol for assigning the network addresses to
hardware addresses
AI Analog input
AO Analog output
Connector board Connector board for the HIMax module
COM Communication module
CRC Cyclic redundancy check
DI Digital input
DO Digital output
EMC Electromagnetic compatibility
EN European norm
ESD Electrostatic discharge
FB Fieldbus
FBD Function block diagrams
ICMP Internet control message protocol: Network protocol for status or error messages
IEC International electrotechnical commission
MAC Address Media access control address: Hardware address of one network connection
PADT Programming and debugging tool (in accordance with IEC 61131-3)
PC with SILworX
PE Protective earth
PELV Protective extra low voltage
PES Programmable electronic system
R Read
Rack ID Base plate identification (number)
Interference-free Inputs are designed for interference-free operation and can be used in circuits with
safety functions.
R/W Read/Write
SB System bus (module)
SELV Safety extra low voltage
SFF Safe failure fraction, portion of faults that can be safely controlled
SIL Safety integrity level (in accordance with IEC 61508)
SILworX Programming tool for HIMax
SNTP Simple network time protocol (RFC 1769)
SRS System.Rack.Slot addressing of a module
SW Software
TMO Timeout
W Write
rP Peak value of a total AC component
Watchdog (WD) Time monitoring for modules or programs. If the watchdog time is exceeded, the
module or program enters the error stop state.
WDT Watchdog time
Appendix HIMax
Index of Figures
Figure 1: Recommended Configuration: All Processor Modules in Rack 0 27
Figure 2: Recommended Configuration: X-CPU 01 Processor Modules in Rack 0 and Rack 1 27
Figure 3: Configuration with X-CPU 31 Processor Modules in Rack 0, Slots 1 and 2 28
Figure 4: Reaction Time with Interconnection of 2 HIMax Controllers 57
Figure 5: Response Time when 1 HIMax and 1 HIMatrix Controllers are Interconnected 57
Figure 6: Response Time with 2 HIMatrix Controllers or Remote I/Os and 1 HIMax Controller 58
Figure 7: Response Time with 2 HIMax Controllers and 1 HIMatrix Controller 58
Figure 8: Wiring of Fire Alarms 60
Figure 9: Use in Ex-Zone 2 62
Figure 10: Use in Ex-Zone 1 62
HIMax Appendix
Index of Tables
Table 1: Overview of the System Documentation 11
Table 2: Standards for EMC, Climatic and Environmental Requirements 21
Table 3: General Requirements 21
Table 4: Climatic Conditions 22
Table 5: Mechanical Tests 22
Table 6: Interference Immunity Tests 23
Table 7: Noise Emission Tests 23
Table 8: Verification of the DC Supply Characteristics 23
Table 9: Overview of the Input Modules 30
Table 10: Overview of the Output Modules 34
Table 11: Resource System Parameters 43
Table 12: Effect of Target Cycle Time Mode 43
Table 13: System Variables of Racks 45
Table 14: System Parameters of the User Program 50
Table 15: User Program Switch Test Mode Allowed 52
Table 16: Online Changeable Parameters 53
Appendix HIMax
Index
CRC ............................................................ 50 Responsible................................................ 26
De-energize-to-trip principle ........................ 10 Safety concept............................................ 39
Energize-to-trip principle ............................. 10 Safety function............................................ 38
ESD protection ............................................ 11 Safety time ................................................. 16
Fault reactions Self-test ...................................................... 12
inputs ....................................................... 31 Test conditions
outputs ..................................................... 34 climatic .................................................... 22
Fire alarm .................................................... 60 EMC ........................................................ 23
Functional test of the controller ................... 39 mechanical.............................................. 22
Hardware Editor .......................................... 45 supply voltage ......................................... 23
LED Ess ...................................................... 24 To make a controller lockable .................... 45
Multitasking ................................................. 53 Version list .................................................. 39
Online test field ........................................... 52 Watchdog time
Output noise blanking ........................... 35, 36 determination .......................................... 15
Process safety time ..................................... 14 resource .................................................. 14
Proof test..................................................... 16 user program .......................................... 15
Rack ID ....................................................... 26 Zone 1 ........................................................ 62
Redundancy ................................................ 13 Zone 2 ........................................................ 62
Response time ............................................ 16
HI 801 003 E
© 2015 HIMA Paul Hildebrandt GmbH
HIMax and SILworX are registered trademark of:
HIMA Paul Hildebrandt GmbH
Albert-Bassermann-Str. 28
68782 Brühl, Germany
Phone: +49 6202 709-0
Fax: +49 6202 709-107
[email protected]
www.hima.com