Detailed description
2.12 Block descriptions
END_STRUCT;
BEGIN
END_DATA_BLOCK
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
double
float
long
integer
uint_32
int_16
uint_16
unsigned
char
string
bool
116
END_STRUCT;
CALL FB 2, DB 110 (
Req :=
NumVar :=
Addr1 :=
Line1 :=
Addr2 :=
Line2 :=
FMNCNo :=
Error :=
NDR :=
State :=
RD1 :=
RD2 :=
M 0.0,
2,
"NCVAR".C1_RP_rpa0_0,
W#16#1,
"NCVAR".C1_RP_rpa0_0,
W#16#2,
1,
M 1.0,
M 1.1,
MW 2,
P#M 4.0 REAL 1,
P#M 24.0 REAL 1);
S7 data type
REAL
REAL
DINT
DINT
DWORD
INT
WORD
WORD
CHAR or BYTE
STRING
BOOL
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0