Siemens SINUMERIK 840Di Function Manual page 1299

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

Advertisement

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
END_STRUCT;
BEGIN
END_DATA_BLOCK
CALL FB 3, DB 122 (
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
C1_RP_rpa0_0:
STRUCT
SYNTAX_ID :
area_and_unit :
column :
line :
block type :
NO. OF LINES :
type :
length :
END_STRUCT;
Req :=
NumVar :=
Addr1 :=
Line1 :=
Addr2 :=
Line3 :=
Error :=
Done :=
State :=
SD1 :=
SD2 :=
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,
MW 12,
P#M 4.0 REAL 1,
P#M 24.0 REAL 1);
Detailed Description
2.12 Block descriptions
2-105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents