Chapter 9 
135 
Logic programming – Function blocks 
 
Function block parameters 
Parameter  Possible values 
Number of inputs   
(without Latch input) 
1 to 7 
Invert input x 
Each input of this function block can be inverted (see 
section9.5.2). 
Invert Save 
 
Truth table 
For the truth table identified in this section, the following applies: 
  “0” means logic low. 
  “1” means logic high. 
 "↑" means that a rising edge has been detected on the input. 
  "n-1" refers to the previous value. 
  "n" refers to the current value. 
Latch input  Latch output  Output X
n
 
0  0 
Input x 
↑  ↑ 
Input x 
1  1 
Output x
n–1
 
9.7.10 Clock generator 
Function block diagram 
 
General description 
The Clock generator function block is used to generate a pulsed signal. When the 
Enable input is High, the Clock output pulses from Low to High and back to Low in 
accordance with the parameter settings of the function block. When the Enable input 
is Low the Clock output becomes Low. 
 
 
Table 37: 
Parameters for the multiple 
memory function block 
Table 38: 
Truth table for the multiple 
memory function block 
Figure 108: 
Function block diagram for 
the Clock generator function 
block 
Figure 109: 
Parameter diagram for the 
Clock generator function 
block