P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
954 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
PI service: SETUDT
Function: Set function current user data active
The current user data, such as tool offsets, basic frames and settable frames are set to active in the next NC
block (only in STOP state).
PI service: SETUFR
Function: Activate user frames
User frames are loaded to the NCK. All necessary frame values must be transferred to the NCK beforehand by
writing variables with FB 3.
13.13.4.3 PI services of tool management
PI service: CRCEDN
Function: Create new cutting edge
If the T number of an existing tool is specified in parameter “T number” in the PI service, then a cutting edge is set
up for this particular tool (in this case, parameter “D number” (number of cutting edge to be created) has a value
range of 00001–00009). If a positive T number is specified as a parameter and the tool for the T number entered
does not exist, then the PI service is aborted. If a value of 00000 is entered as the T number (model of absolute
D numbers), then the D number values can range from 00001-31999. The new cutting edge is set up with the
specified D number. If the specified cutting edge already exists, then the PI service is aborted in both cases.
Parameterization
Signal Type
Range of
values
Meaning
PIService ANY PI.SETUDT Activate user data
Unit INT 1 to 10 Channel
WVar1 WORD 1 to 5 User Data Type
1 = active tool offest
2 = active Basic frame
3 = Active settable frame
4 = active global Basic frame
5 = Active global settable frame
WVar2 WORD 0 Standby
WVar3 WORD 0 Standby
Parameterization
Signal Type Value range Meaning
PIService ANY PI.SETUFR Activate
user frames
Unit INT 1 to 10 Channel