Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-145
Declaration of the function
FUNCTION_BLOCK FB 10
VAR_INPUT
In1 : BOOL := True ; //Input 1
In2 : BOOL := True ; //Input 2
In3 : BOOL := True ; //Input 3
Quit1 : : BOOL ; //Ack 1 signal
Ack2 : :BOOL; //Ack 2 signal
TimeValue1 : TIME := T#0ms ; //TimeValue for output 1
TimeValue2 : TIME := T#0ms ; //TimeValue for output 2
TimeValue3 : TIME := T#0ms ; //TimeValue for output 3
END_VAR
VAR_OUTPUT
Out0 : BOOL ; //Output without delay
Out1 : BOOL ; //Delayed output to false by timer 1
Out2 : BOOL ; //Delayed output to false by timer 2
Out3 : BOOL ; //Delayed output to false by timer 3
END_VAR
VAR_INOUT
FirstRun BOOL: //True by user after initial start of SPL
END_VAR
Description of formal parameters
The following table shows all formal parameters of the SI relay function.
Formal parameters of SI relay function
Signal Type Type Remarks
In1 I BOOL Input 1
In2 I BOOL Input 2
In3 I BOOL Input 3
Ack1 I BOOL Acknowledge input 1
Ack2 I BOOL Acknowledge input 2
TimeValue1 I TIME Time value 1 for OFF delay
TimeValue2 I TIME Time value 2 for OFF delay
TimeValue3 I TIME Time value 3 for OFF delay
Out0 Q BOOL Output undelayed
Out1 Q BOOL Output delayed by TimeValue1
Out2 Q BOOL Output delayed by TimeValue2
Out3 Q BOOL Output delayed by TimeValue3
FirstRun I/O BOOL Activation of initial setting