Combined preselection and activation
To simplify programming, preselection and activation/deactivation of multi-step transformations can be achieved by using an extended #TRAFO command:
Syntax: |
#TRAFO [ <kin_id_first_step> , <kin_id_second_step> ] |
<kin_id_first_step> | Set the kinematic ID number of the first transformation step, activate the associated transformation |
<kin_id_second_step> | Set the kinematic ID number of the second transformation step, activate the associated transformation |
The following keywords can also be used instead of kinematic IDs:
OFF | Deactivate transformation step; associated kinematic ID remains set. |
ON | Transformation step is activated based on the associated kinematic ID. |
NONE | Deactivate transformation step; deselect associated kinematic ID |
DEFAULT | Set the default kinematic ID from the channel list; activate the associated transformation |
Notice
When a kinematic ID is selected, this command always activates the associated transformation steps implicitly.
Notice
If the kinematic ID is deselected with NONE, the display for this transformation step is also disabled.
If the kinematic ID is deselected with OFF, the display remains on for this transformation step.
The extended syntax can also be used for simple transformations. Preselection and activation/deactivation of the transformation are included in the same NC command:
Nxx #TRAFO [87] ;Preselect kinematic 87 and activate transformation
Nxx #TRAFO [OFF] ;Deselect and deactivate transformation 87
Nxx #TRAFO [ON] ;Repeated activation of transformation 87
If the second ID is not programmed for multi-step transformations, it is completely deactivated or implicitly treated as a NONE.
Nxx #TRAFO [65,51] ;Preselect kinematics 65+51 and activate transformation
Nxx #TRAFO [65] ;Preselect kinematic 65, deselect 2nd kinematic+transformation
Example
Nxx #TRAFO [65,51] ;Activate transformation 1(65), transformation 2(51)
Nxx #TRAFO [86,OFF] ;Activate transformation 1(65), deactivate transformation 2
;..or only address first transformation
Nxx #TRAFO [65] ;Activate transformation 1(65), deactivate transformation 2
Nxx #TRAFO [OFF,OFF] ;Deactivate transformation 1 and transformation 2
Nxx #TRAFO [ON,ON] ;Activate transformation 1 and transformation 2
Nxx #TRAFO [ON,OFF] ;Activate transformation 1, deactivate transformation 2
Nxx #TRAFO [NONE,NONE] ;Deactivate both transformations and deselect
;both kinematic IDs
;..or only address first transformation
Nxx #TRAFO [NONE] ;Deactivate both transformations and deselect
;both kinematic IDs
Nxx #TRAFO [DEFAULT,51] ;Activate default transformation 1 and transformation 2
Nxx #TRAFO [DEFAULT, DEFAULT] ;Activate both default transformations
Nxx #TRAFO [65, DEFAULT] ;Activate transformation 1 and default transformation 2
Nxx #TRAFO [DEFAULT, NONE] ;Activate default transformation 1,
;deactivate transformation 2
;and deselect kinematic ID step 2
It is possible to program in combination with standard syntax #TRAFO ON/OFF. However, the following must then be considered:
The command
Nxx #TRAFO OFF or #TRAFO[OFF,OFF]
deactivates both transformations but the kinematic IDs remain preselected. A repeated #TRAFO ON or #TRAFO[ON, ON] re-activates both transformations.
The command
Nxx #TRAFO[NONE,NONE]
is not equivalent to this since this command deselects preselection of the kinematic IDs. The following #TRAFO ON has no effect.