Siemens SINUMERIK 828D Function Manual page 945

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

R
M 100.0;
CALL FB 3, DB 111 (
Req :=
NumVar :=
Addr1 :=
Addr2 :=
Addr3 :=
Error :=
Done :=
State :=
SD1 :=
SD2 :=
SD3 :=
Example Variable addressing
Writing of two R parameters of channel 1, whose address specifications are stored in DB 120 as the basic type.
The R parameter number is parameterized via parameter LineX.
DATA_BLOCK DB 120
VERSION : 0.0
STRUCT
C1_RP_rpa0_0:
STRUCT
SYNTAX_ID :
area_and_unit :
column :
line :
block type :
NO. OF LINES :
type :
length :
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
CALL FB 3, DB 122 (
Req :=
NumVar :=
Addr1 :=
Line1 :=
Addr2 :=
Line3 :=
Error :=
Done :=
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
//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);
BYTE := B#16#82;
BYTE := B#16#41;
WORD := W#16#1;
WORD := W#16#0;
BYTE := B#16#15;
BYTE := B#16#1;
BYTE := B#16#F;
BYTE := B#16#8;
M 10.0,
2,
"NCVAR".C1_RP_rpa0_0,
W#16#1,
"NCVAR".C1_RP_rpa0_0,
W#16#2
M 11.0,
M 11.1,
P3: Basic PLC Program for SINUMERIK 840D sl
//Write 3 variables
13.13 Block descriptions
945

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents