EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 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 #977 background imageLoading...
Page #977 background image
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
977
After a successful FB-5 call the writing can be done via the returned address of the FB 5 parameter ("VarToken")
with the help of FB3.
13.13.6 FB 7: PI_SERV2 PI-services
Function
A detailed description of the FB 7 is contained in the description of FB 4.
The FB is multi-instance-capable. The call is permitted only in cyclic program OB1. An assignment for all
parameters with Req = 0 is also permitted in OB 100.
The only difference to FB 4 is the number of WVar1 and subsequent parameters. These are defined in FB 7 from
WVar1 to WVar16 (FB 4 in the VAR_INPUT from WVar1 to WVar10). All the other parameters are identical to FB
4.
This PI server can be used for all PI services that have been implemented with FB 4. In addition, the PI services
listed below can only be executed with FB 7.
CALL FB 5, DB 111 (
Req := M 100.0, //Starting edge for reading
Addr := DB_GUDVAR.GUDVarS,
Area := B#16#2, //Channel variable
Unit := B#16#1, //Channel 1
Index1 := 0, //No field index
Index2 := 0, //No field index
CnvtToken := TRUE, //Conversion into 10-byte token
VarToken := DB_GUDVAR.GUDVarSToken,
Error := M 102.0,
Done := M 100.1,
State := MW 104
RD := DB_GUDVAR.string_of_GUD);
CALL FB 3, DB 112 (
Req := M 200.0,
NumVar := 1, //Write 1 GUD variable
Addr1 := DB_GUDVAR.GUDVarSToken,
Error := M 102.0,
Done := M 100.1
State := MW 104
SD1 := DB_GUDVAR.new_name);

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals