Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
116 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
CALL FB 2, DB 110 (
Req := M 0.0,
NumVar := 2,
Addr1 := "NCVAR".C1_RP_rpa0_0,
Line1 := W#16#1,
Addr2 := "NCVAR".C1_RP_rpa0_0,
Line2 := W#16#2,
FMNCNo := 1,
Error := M 1.0,
NDR := M 1.1,
State := MW 2,
RD1 := P#M 4.0 REAL 1,
RD2 := P#M 24.0 REAL 1);
Data types
The data types of the NCK are listed in the NC-VAR selector with the variables. The tables
below give the assignments to the S7 data types.
Classification of data types
NCK data type S7 data type
double REAL
float REAL
long DINT
integer DINT
uint_32 DWORD
int_16 INT
uint_16 WORD
unsigned WORD
char CHAR or BYTE
string STRING
bool BOOL