HIMA F60DO801 Safety-Related Controller
Configuring the Ethernet Interfaces
Ethernet interfaces are configured in the Detail View of the communication system. If the
remote I/Os have no communication system, the Ethernet interfaces are configured in the
Detail View of the processor system. Refer to the manuals of the HIMatrix controllers and
remote I/Os for more details.
Configuring the User Program
The following user program switches and parameters can be set in the Properties dialog
box of the user program:
To access the system variables for input and output channels
1. Display the desired resource in the Hardware Editor.
2. Double-click the required input or output module to open the corresponding Detail View.
3. In the Detail View, open the tab with the required channels.
The system variables for the channels appear.
Use of Digital Inputs
Perform the following steps to use the value of a digital input in the user program
1. Define a global variable of type BOOL.
2. Enter an appropriate value, when defining the global variable.
3. Assign the global variable to the channel value of the input.
4
In the user program, program a safety-related fault reaction using the error code -> Error
Code [Byte].
The global variable provides values to the user program.
For digital input channels for proximity switch internally operating in analog mode, the raw
value can also be used and the safe value can be calculated in the user program. For more
information, see below.
To get additional options for programming fault reactions in the user program, assign global
variable to DI.Error Code and Module Error Code. For more information on the error codes,
refer to the manual of the corresponding compact system or module.
Use of Analog Inputs
Analog input channels convert the measured input currents into a value of type INT (double
integer). This value is then made available to the user program. With analog inputs of type
FS1000. the range of values is 0…1 000. with analog inputs of type FS2000. the range of
values is 0…2 000.
The safety-related precision is the guaranteed accuracy of the analog input without fault
reaction. This value must be taken into account when configuring the safety functions.
Perform the following steps to use the value of an analog input in the user program
1
Define a global variable of type INT.
2. Enter an appropriate value, when defining the global variable.
3
Assign the global variable to the channel value -> Value [INT] of the input.
4. In the user program, define a global variable of the type needed.
5. In the user program, program a suitable conversion function to convert the raw value
into a used type and consider the measurement range.
6. In the user program, program a safety-related fault reaction using the error code -> Error
Code [Byte].
The user program can process the measuring in a safety-related manner.
If the value 0 for a channel is within the valid measuring range, the user program must, at a
minimum, evaluate the parameter Error Code [Byte] in addition to the process value.
To get additional options for programming fault reactions in the user program, assign global
variable to AI.Error Code and Module Error Code. For more information on the error codes,
refer to the manual of the corresponding compact system or module.
Use of Safety-Related Counter Inputs
The counter reading or the rotation speed/frequency can be used as an integer value or as
a scaled floating-point value.
In the following sections, xx refers to the corresponding channel number.
Perform the following steps to use the integer value
1. Define a global variable of type UDINT.
2. Enter an appropriate value, when defining the global variable.
3
Assign the global variable to the integer value Counter[xx].Value of the input.
4. In the user program, program a safety-related fault reaction using the error code
Counter[xx].Error Code.
The global variable provides values to the user program.
To get additional options for programming fault reactions in the user program, assign global
variable to Counter.Error Code and Module Error Code. Refer to the manual of the compact
system or module for more details on how to use the error codes and other parameters of
the counter input.
Use of Digital Outputs
Perform the following steps to write a value in the user program to a digital output
1. Define a global variable of type BOOL containing the value to be output.
2. Enter an appropriate value, when defining the global variable.
3. Assign the global variable the Value [BOOL] -> channel value of the output.
4
In the user program, program a safety-related fault reaction using the error code -> Error
Code [Byte].
The global variable provides values to the digital output.
To get additional options for programming fault reactions in the user program, assign global
variable to DO.Error Code and Module Error Code. Refer to the manual of the compact
system or module for more details.
Use of Analog Outputs
Perform the following steps to write a value in the user program to an analog output
1. Define a global variable of type INT containing the value to be output.
2. Enter an appropriate value, when defining the global variable.
3. Assign the global variable the Value [INT] -> channel value of the output.
5
In the user program, program a safety-related fault reaction using the error code -> Error
Code [Byte].
The global variable provides values to the analog output.
To get additional options for programming fault reactions in the user program, assign global
variable to AO.Error Code and Module Error Code. Refer to the manual of the compact
system or module for more details.
8.2.5
Generating the Resource Configuration
To generate the code for the resource configuration
1. Select the resource in the structure tree.
2. Click the Code Generation button located on the Action Bar or select Code Generation
on the context menu.
The Start Code Generation dialog box appears.
3. In the Start Code Generation dialog box, click OK.
An additional Start Code Generation opens, shows the code generation progress and
disappears. The logbook contains a row informing about the code generation result.
4. With the resource still selected, select the Version Comparison: function on the Extras
menu.
The Version Overview dialog box opens. It displays the CRC for the generated code.
5. Click Export.