Siemens SINUMERIK 840Di Function Manual page 1030

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed description
2.12 Block descriptions
Entry NCVAR for DB 120 with the S7 SYMBOL Editor:
Symbol
NCVAR
File DB120.AWL must be compiled and transferred to the PLC.
Call and parameterization of FB 3 with instance DB 111:
DATA_BLOCK DB 111
FB 3
BEGIN
Function FC "VariablenCall" : VOID
END_DATA_BLOCK
E 7.7;
2-118
Operand
DB120
S
M 100.0;
V
M 100.1;
R
M 100.0;
V
E 7.6;
V
M 102.0;
R
M 100.0;
Call fb 3, db 111(
Req :=
NumVar :=
Addr1 :=
Addr2 :=
Addr3 :=
Error :=
Done :=
State :=
SD1 :=
SD2 :=
SD3 :=
Data type
DB120
//Unassigned user DB, as instance for FB 3
//Unassigned machine control panel pushbutton
//Activate req.
//Done completed message
//Terminate job
//Manual error acknowledgment
//Error pending
//Terminate job
M 100.0,
3,
NCVAR.rpa_5C1RP,
NCVAR.rpa_11C1RP,
NCVAR.rpa_14C1RP,
M102.0,
M100.1,
MW104,
P#DB99.DBX0.0 REAL 1,
P#DB99.DBX4.0 REAL 1,
P#M110.0 REAL 1);
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
//Write 3 variables

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents