Siemens SINUMERIK 840D sl Commissioning Manual page 707

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

PI services
The PI_SERVICE function can be used to start PI Services (Program Invocation Services)
from the PLC in the NC area.
See also
Function (FCT) (Page 104)
PI services (Page 128)
6.3.1
Define block (//B)
Description
In the program file, subprograms are identified by the block identifier //B and terminated with
//END. Several subprograms can be defined under each block identifier.
Note
The variables used in the subprogram must be defined in the dialog in which the subprogram
is called.
Programming
A block is structured in the following way:
Syntax:
Description:
Parameters:
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
Block name
//B(
)
(Identifier)
SUB
END_SUB
Identifier
[SUB(
)
...
END_SUB]
...
//END
Defines a subprogram
Block name
Identifier
Name of block identifier
Name of subprogram
Programming commands
6.3 Functions
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents