Temporary transition to the machine coordinate system (#MCS ON/OFF)
Notice

Not included in the scope of the standard license. The use of this feature requires a license for the "Transformations” extension package.
The MCS functionality temporarily deactivates the active kinematics and/or Cartesian transformation as well as all offsets included in the axes in order to position machine axes directly. After leaving the MCS, the state before selection is restored.
For example, a tool change often requires the approach to a defined tool change position with known machine origin coordinates. Approaching this machine position may pose a problem in the CS since the CS axes are positioned by the NC program.
Syntax | |
#MCS ON [ EX TOOL ] | Activate temporary transition to MCS |
#MCS OFF | Deactivate temporary transition to MCS |
EX TOOL | A tool change in the MCS does not include tool offsets in order to permit direct positioning of the machine axes. This only takes place with #MCS OFF. |
There are no restrictions in the MCS regarding the usable NC functionality; however, it is not possible to program #RTCP... / #TLC.. , #CS.., #ACS.., #BCS.. and #ECS...
In addition, programmed offsets are only valid in the MCS until they are deselected and are not stored.
When the axis configuration is changed by external axis exchange (e.g. #CALL AX..) in the MCS, it must be noted that a definite axis configuration is required to reactivate kinematic and/or Cartesian transformation.
Programing Example

Temporary transition to the machine axis coordinate system (MCS)
N10 #TRAFO ON
N20 #CS ON[1.5,0,32,14.5,0,45] (Select a BCS)
N30 G01 G90 F5000
N40 X0 Y0 Z0
N50 #MCS ON EX TOOL (Transition to machine CS with the option)
(‘EX TOOL’ - tool is only included)
(with MCS OFF)
N60 T1 D1 ( Tool length is NOT included here,
( but in line N70)
;...
N70 #MCS OFF (Deactivate MCS; RTCP and CS are)
(reactivated)
N100 #TRAFO OFF
N110 #CS OFF
N400 M30