P3: Basic PLC program for SINUMERIK 840D sl
13.20 Data lists
Here, the call still remaining in OB1 is displayed:
CALL FB2, DB110(
Note
Owing to this measure, a shorter cycle time is achieved in OB1, because the static parameter
values need not be copied in the instance DB in each OB1 cycle.
The savings of this variant:
The cyclic copying effort of 3 integer values and 4 ANY parameters with respect to the instance
DB, which results from 3 time loading of a constant with a 3-time transfer in the instance data
block. In case of each ANY transfer, constants are loaded in the data block 4 times with
subsequent transfer.
13.20
Data lists
13.20.1
Machine data
13.20.1.1
Display machine data
Number
Identifier: $MM_
9032
HMI_MONITOR
1076
NumVar :=
2,
Addr1 :=
NCVAR.C1_RP_rpa0_0
Line1 :
W#16#1
Addr2 :=
NCVAR.C1_RP_rpa0_0
Line2 .
W#16#2
RD1 :=
P#M 4.0 REAL 1,
RD2 :=
P#M 24.0 REAL 1,
Req :=
M0.0,
Error :=
M1.0,
NDR :=
M1.1,
State :=
MW 2,
//Read 2 variables
Description
Determining the PLC data for HMI monitor information
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions