FB 5
BEGIN
END_DATA_BLOCK
//A user-defined channel variable from channel 1 must be read
//with conversion into a variable pointer to allow subsequent
//writing of a variable.
Function FC "VariablenCall" : VOID
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
U
I 7.7;
S
M 100.0;
U
M 100.1;
R
M 100.0;
U
I 7.6;
U
M 102.0;
R
M 100.0;
CALL FB 5, DB 111 (
Req :=
Addr :=
Area :=
Unit :=
Index1 :=
Index2 :=
CnvtToken :=
FMNCNo :=
VarToken :=
Error :=
Done :=
State :=
RD :=
//Unassigned machine control panel key
//Activate req.
//Done completed message
//Terminate job
//Manual error acknowledgment
//Error pending
//Terminate job
M 100.0,
GUDVAR.GUDVar1,
B#16#2,
B#16#1,
0,
0,
TRUE,
1
GUDVAR.GUDVar1T,
M102.0,
M100.1,
MW104,
P#DB99.DBX0.0 DINT 1);
Detailed description
2.12 Block descriptions
//Starting edge for reading
//Channel variable
//Channel 1
//No field index
//No field index
//Conversion into 10-byte token
//(in FMNC only)
155