Chapter 9
123
Logic programming – Function blocks
A configuration can encompass a maximum of 255 function blocks. The logic
execution time is a multiple of 4 ms and depends on the number and type of function
blocks used. Therefore, the number and type of function blocks in your application
should be kept as low as possible.
9.4 Function block properties
Function blocks offer a number of different properties that you can use. The
configurable parameters differ depending on the function block. You can double-click
the function block to access the configurable parameters and select the tab with the
desired properties. The following example shows the Safety gate monitoring function
block:
In addition to the type of input (e.g. single-channel, dual-channel equivalent, etc.),
function blocks can have further parameters that are defined on the properties page of
the function block shown above.
On the Parameter tab and on the I/O settings tab you will find the configurable
parameters depending on the function block. The I/O comment tab allows you to
replace the standard I/O descriptions of the function block with your own names and to
add a name or a descriptive text to the function block that will be displayed under the
function block in the logic editor. Under Info you will find a description of the function
block and its parameters.
The number 1) to 3) for the time configuration parameters (of function block such as
Safety Gate Monitoring and Valve Monitoring) indicate:
1) input range: an allowable range of an input value
2) input field: a field where a value is input within the input range
3) set parameter: a configured value. The value calculated as follows is displayed:
(Configured value) = (Value input to the input field) × (10 ms)
Figure 93:
Configurable parameters of
function blocks