Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
151
Declaration of the function
FUNCTION_BLOCK FB 5
//Server name
KNOW_HOW_PROTECT
VERSION : 3.0
VAR_INPUT
Req : BOOL ;
Addr: ANY ;
//Variables name string
Area: BYTE ;
//Area: NCK = 0, channel = 2
Unit : BYTE ;
Index1: INT ;
//Field index 1
Index2: INT ;
//Field index 2
CnvtToken: BOOL ;
//Conversion into 10-byte token
VarToken:
ANY ;
//Struct with 10 bytes for the variable token
FMNCNo :
INT ;
//(in FMNC only)
END_VAR
VAR_OUTPUT
Error : BOOL ;
Done : BOOL ;
State : WORD ;
END_VAR
VAR_IN_OUT
RD: ANY ;
END_VAR
BEGIN
END_FUNCTION_BLOCK