EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Function Manual

Siemens SINUMERIK ONE MCP 2400.4c
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 #1300 background imageLoading...
Page #1300 background image
Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
2-106 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2.12.4 FB 4: PI_SERV General PI services
Description of functions
FB PI_SERV can be used to start program-instance services in the NCK area. The FB is
multi-instance-capable. The possible services are described in this Section.
Recommendation: Use the expanded FB7 instead of FB4.
A program section, which carries out a particular function (e.g., with tool management,
search for empty location in a magazine), is executed in the NCK by making a request via
the PI service.
Every FB 4 call must be assigned an instance DB from the user area.
The specified service is referenced via the PIService parameter. The selected PI service is
supplied via the freely assignable additional input variables with varying data types (Addr1 to
Addr4 for strings, WVar1 to WVar 10 for integer or word variables). A job is started when
FB 4 is called by means of a positive edge change at control input Req. Successful
execution of the job is displayed by means of a logic "1" in status parameter Done. Any
errors are indicated by Error and State.
The "PI" data block (DB16) contains internal descriptions of the possible PI services. A name
must then be assigned to this DB in the signal list. On calling the FB 4, "DB-Name.PI-Name"
is transferred as the actual parameter for PIService.
The execution of the PI service extends over several PLC cycles (generally 1 to 2). The
block can be called up in cyclic mode only.
Note
After communication between the PLC and NC (read/write NC variables, FB2, 3, 5, or PI
general services, FB4) has been aborted by POWER OFF, the start jobs must be deleted in
the first OB1 run after cold restart or reset (signal: Req = 0).
FB 4 can start PI services only if the basic program parameter NCKomm has been set to "1"
(in OB100: FB 1, DB7). The call is permitted only in cyclic program OB1.
Declaration
FUNCTION_BLOCK FB 4
VAR_INPUT
Req : BOOL ;
PIService : ANY ;
Unit : INT ;
Addr1 : ANY ;
Addr2 : ANY ;

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals