EasyManuals Logo

Siemens SINUMERIK 804D sl Function Manual

Siemens SINUMERIK 804D sl
2050 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1024 background imageLoading...
Page #1024 background image
Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-112 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Example: Variable addressing
Reading of two R parameters from channel 1, whose address specifications are stored in
DB120 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 : BYTE := B#16#82;
area_and_unit : byte := B#16#41;
column : word := W#16#1;
line : word := W#16#0;
block type : byte := B#16#15;
NO. OF LINES : BYTE := B#16#1;
type : byte := B#16#F;
length : byte := B#16#8;
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
CALL FB 2, DB 110 (
Req := M 0.0,
NumVar := 2,
Addr1 := "NCVAR".C1_RP_rpa0_0,
Line1 := W#16#1,
Addr2 := "NCVAR".C1_RP_rpa0_0,
Line2 := W#16#2,
Error := M 1.0,
NDR := M 1.1,
State := MW 2,
RD1 := P#M 4.0 REAL 1,
RD2 := P#M 24.0 REAL 1);
Data types
The data types of the NCK are listed in the NCVAR selector with the variables. The tables
below give the assignments to the S7 data types.
Classification of data types
NCK data type S7 data type
double REAL
float REAL
long DINT
integer DINT

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 804D sl and is the answer not in the manual?

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals