Synchronised write (#DRIVE WR SYN)

Syntax:

#DRIVE WR SYN [ AX=<axis_name> | AXNR=.. [MOTOR=..] [PARAM_SET=..] KEY=<string> VAL=.. [WAIT] ]

AX=<axis_name>

Name of the (drive) axis

AXNR=..

Logical axis number of the (drive) axis, positive integer

MOTOR=..

Selectable motor number in the drive amplifier on motor switching; positive integer

PARAM_SET=..

Switch-over parameter set in the drive amplifier;

Positive integer

KEY=<string>

Keyword of addressed function as described in [2]

VAL=..

Value to be transmitted, negative or positive integer

WAIT

Stopping interpolation and waiting for successful switching of drive function.

If this keyword is not specified, a #DRIVE WAIT SYN can be programmed in the subsequent part of the NC program to check the successful switching of the drive function.

Attention

attention

When continuous rotation is active for spindles, no motor switching and no changing of the parameter set (MOTOR=<expr>, PARAM_SET=<expr>) may be programmed.