Simplified block diagram in CSF
The figure below shows only one acknowledgment input Ack1 and one delayed deactivation output Out1. The
circuit for Ack2 and the other delayed outputs are identical. The parameter FirstRun is also missing in the
function diagram. The mode of operation is described above.
Declaration of the function
FUNCTION_BLOCK FB 10
VAR_INPUT
In1 : BOOL
In2 : BOOL
In3 : BOOL
Ackn1 :
Ackn2 :
TimeValue1 :
TimeValue2 :
TimeValue3 :
END_VAR
VAR_OUTPUT
Out0
Out1
Out2
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
:= TRUE;
//Input 1
:= TRUE;
//Input 2
:= TRUE;
//Input 3
: BOOL;
//Ack 1 signal
:BOOL;
//Ack 2 signal
TIME := T#0ms ;
//TimeValue for output 1
TIME := T#0ms ;
//TimeValue for output 2
TIME := T#0ms ;
//TimeValue for output 3
: BOOL;
//Output without delay
: BOOL;
//Delayed output to false by timer 1
: BOOL;
//Delayed output to false by timer 2
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
987