Chapter 9 
153 
Logic programming – Function blocks 
 
 Then click the Message assignment tab. Assign the desired message to each 
used input and choose the input condition that must be fulfilled for the related 
message to be sent (rising edge, falling edge or rising and falling edge). 
The message assignment can not be exported or imported. 
 
 
Message priority 
If more than one conditions are fulfilled at the same time, the following priorities apply: 
  On a single Log generator function block, the input with the lower number is 
prioritized, i.e. the message triggered by this input will be logged first. 
  If several Log generator function blocks are used, the function block with the lower 
function block index is prioritized, i.e. the messages generated by this function block 
will be logged first. 
 
9.7.17 Routing 1:N 
Function block diagram 
 
 
General description 
The Routing 1:N function block passes an input signal from a preceding function block 
to up to eight output signals. This function block makes it possible to connect an 
output of a function block or an input element with several output elements (e.g. 
outputs of a WS0-XTIO module, CPU marker). It is not needed, however, for the 
connection to several function block inputs, because this can be done directly. 
Parameters of the function block 
Parameter  Possible values 
Number of outputs  1 to 8 
 
Note 
Figure 129: 
Message assignment for the 
Log generator function block 
Figure 130: 
Function block diagram for 
the Routing 1:N function 
block 
Table 61: 
Parameters of the Routing 
1:N function block