K2: Axis Types, Coordinate Systems, Frames
10.8 Examples
Basic Functions
808
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Part program in first channel
Part program in second channel
10.8.3
Frames
Example 1
The channel axis is to become a geometry axis through geometry axis substitution.
The substitution is to give the programmable frame a translation component of 10 in the X axis.
The current settable frame is to be retained:
FRAME_GEOX_CHANGE_MODE = 1
Several channel axes can become geometry axes on a transformation change.
Code (excerpt)
Comment
. . .
N100 $P_NCBFR[0] = CTRANS( x, 10 )
;
Activation of the NC global basic frame
. . .
N130 $P_NCBFRAME[0] = CROT(X, 45)
;
Activation of the NC global basic frame with rotation =>
alarm 18310, since rotations of NC global frames
are not permitted
. . .
Code (excerpt)
Comment
. . .
N100 $P_NCBFR[0] = CTRANS( x, 10 )
;
The NCU global basic frame is also active in second
channel.
. . .
N510 G500 X10
;
Activate basic frame
N520 $P_CHBFRAME[0] = CTRANS( x, 10 )
;
Current frame of second channel is activated with an
offset.
. . .
$P_UIFR[1] =
CROT(x,10,y,20,z,30)
; Frame is retained after geo axis substitution.
G54
; Settable frame becomes active.
TRANS a10
; Axial offset of a is also substituted.
GEOAX(1, a)
; a becomes x axis.
; $P_ACTFRAME= CROT(x,10,y,20,z,30):CTRANS(x10)
Содержание 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 ...