P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1167
PI service _N_DASAVE
Service to safe data from SRAM to FLASH
Relevant PI parameters for PI service 4
None
PI service TMMVTL
Function
Using the PI service TMMVTL, it is possible to initiate a task from the PLC to relocate a tool. After an error-free PI
start, the TM executes an empty location search in the target magazine for the tool in the specified source
location. The PLC then receives a job to relocate the tool via DB41xx.DBB0.
• The tool can be specified either using a T number or by means of the location and magazine numbers. An
unused specification has the value -1.
• With the target location number = -1, a search is made in the complete magazine for an empty location for the
tool according to the search strategy that has been selected. If a target location is specified, then a check is
made as to whether the location with the specified target location number is free and suitable for the particular
tool.
• For a target magazine number = -1, a search is made in a buffer for the tool corresponding to the assignment
obtained from $TC_MDP2.
Examples
• When using buffers to return the tool (for example Toolboy and/or shifter), an explicit empty location search in
the magazine may be needed during the asynchronous return transport. In this case,the PLC does not have
to note the original location, this PI service searches for a suitable location.
• A tool should be moved from a background magazine to the front magazine
PI index
Function
4
Data save from SRAM to FLASH
PI service: TMMVTL
Address
Description
Valid values
DB1200.DBW4001
PI index
5
DB1200.DBW4004
Tool number
-1, 1 … 31999
DB1200.DBW4006
Source location number
-1, 1 … 31999
DB1200.DBW4008
Source magazine number
-1, 1 … 9999
DB1200.DBW4010
Target location number
-1, 1 … 31999
DB1200.DBW4012
Target magazine number
-1, 1 … 9999