Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
347
Jobs can be transferred to the NCK using the program invocation
(PI) service.
If the service has been executed error-free, the function returns the
value 1 in the return variable.
Manipulation of the tool list
_N_CREATO - Create tool
_N_DELETO - Delete tool
_N_CREACE - Create tool cutting edge
_N_DELECE - Delete tool cutting edge
Activation of work offsets
_N_SETUFR - Activates the actual user frame
_N_SETUDT - Activates the actual user data
_N_FINDBL - Activate block search
_N_FINDAB - Cancel block search
<function name="ncfunc.pi_service" return="return
var"> pi name, var1, var2, var3, var4, var5
</function>
• name - function name
• return- Name of the variable in which the execution result is
saved
– Value == 1 – job executed successfully
– Value == 0 – faulty job
• pi name - Name of the PI service (string)
•
var1 tovar5 - PI specific arguments