P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
979
Description of formal parameters
The following table shows all formal parameters of the function PI_SERV2.
Overview: Additional PI-services supplementary to the FB 4 PI-services
The following section provides an overview of the PI services that can be started from the PLC. The significance
and application of the general FB 7 input variables (Unit, Addr ..., WVar ...) depend on the individual PI service
concerned.
PI service:TMFPBP
Function: Empty location search
(dependent on parameter assignment)
This service searches the magazine(s) named in the relevant parameters for an empty location, which meets the
specified criteria such as tool size and location type. The result of the empty location search can be fetched from
variables magCMCmdPar1 (magazine number) and magCMCmdPar2 (location number) in block TMC when the
service has functioned correctly. As the PI service stores a result in variables magCMCmdPar1 and
magCMCmdPar2, the service must be protected by the semaphore mechanism (PI service MMCSEM) with the
function number for _N_TMFDPL in cases where several control units or PLCs are operating on one NC. The
search area can be predefined in the following way by setting parameters "MagazineNumber_From",
"LocationNumber_From", "MagazineNumber_To", "LocationNumber_To":
Signal
Ty
pe
Type
Range of values
Remark
Req
I
BOOL
Job request
PIService
I
ANY
[DBName].[VarName]
Standard is:
"PI".[VarName]
PI service description
Unit
I
INT
1...
Area number
Addr1 to
Addr4
I
ANY
[DBName].[VarName]
Reference to strings specification
according to selected PI service
WVar1 to
WVar16
I
WORD
1...
Integer or word variables.
Specification according to
selected PI service,
Error
A BOOL
Negative acknowledgment of job
or execution of job impossible
Done
A BOOL
Job successfully executed
State
A WORD
See error identifiers
PI service
Function
Available in
TMFPBP
Empty location search
SINUMERIK 840D
Magazine
Number
_From
Location
Number
_From
Magazine Number
_To
Location
Number
_To
Search area
WVar1
WVar2
WVar3
WVar4
#M1
#P1
#M1
#P1
Only location #P1 in magazine #M1 is
checked
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...