Fb 7: Pi_Serv2 Pi-Services - Siemens SINUMERIK 828D Function Manual

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

Advertisement

CALL FB 5, DB 111 (
Req
Addr
Area
Unit
Index1
Index2
CnvtToken
VarToken
Error
Done
State
RD
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.
CALL FB 3, DB 112 (
Req
NumVar
Addr1
Error
Done
State
SD1
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.
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
:= M 100.0,
//Starting edge for reading
:=
DB_GUDVAR.GUDVarS,
:= B#16#2,
//Channel variable
:= B#16#1,
//Channel 1
:= 0,
//No field index
:= 0,
//No field index
:= TRUE,
//Conversion into 10-byte token
:= DB_GUDVAR.GUDVarSToken,
:= M 102.0,
:= M 100.1,
:= MW 104
:= DB_GUDVAR.string_of_GUD);
:= M 200.0,
:= 1,
//Write 1 GUD variable
:= DB_GUDVAR.GUDVarSToken,
:= M 102.0,
:= M 100.1
:= MW 104
:= DB_GUDVAR.new_name);
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
977

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents