Fb4: Request Pi Service; Fb4: Pi_Serv - Request Pi Service - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Req :=
NumVar :=
Addr1 :=
Line1 :=
Addr2 :=
Line3 :=
Error :=
Done :=
State :=
SD1 :=
SD2 :=
13.17.4

FB4: Request PI service

13.17.4.1

FB4: PI_SERV - request PI service

Function
The function block FB4 "PI_SERV" is used to start PI services.
The available PI services are described in the following chapters with their specific parameters.
An overview of the available PI services can be found in: List of available Pl services
(Page 941)
Note
Due to the large number of "WVar" parameters, it is recommended that you use the function
block FB7 instead of FB4. See Chapter "FB7: PI_SERV2 - request PI service (Page 973)".
Start of a PI service
Request to start a PI service: Call of FB4 with positive edge change, parameter "Req" = 0 → 1
Completion of a PI service
Job or PI service successfully completed: Parameter "Done" == 1.
Job or PI service completed with error:"Parameter "Error" == 1, error cause in parameter "State"
Prerequisites
● Release of the NC/PLC communication by OB100, FB1 parameter "NCKomm" = 1
● For the data block DB16 (data interface of the PI services), the S7 Symbol Editor must be
used to assign a symbol (default: PI) in the S7 symbol table of the S7 project. The requested
PI service is then specified via this symbol in the FB4 parameter "PIService", e.g.
"PIService:= "PI".<PI service>"
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
P3: Basic PLC program for SINUMERIK 840D sl
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);
13.17 Block descriptions
937

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents