Drive-independent switching of drive functions
As opposed to SERCOS-specific commands as described in section Writing and reading drive parameters and commands, the following commands permit the drive-independent setting of drive parameters. The parameters can only be written synchronously, i.e. the command is executed at interpolator level at the time of processing. In the default setting, the #DRIVE command is executed in parallel to the following processing of the NC program, i.e. program processing is not stopped. The "WAIT” parameter can be used to stop interpolation until the drive function is completed.
To check whether the drive functions was successfully changed at a later point in time, the command #DRIVE WAIT SYN can be used.
As of CNC Build V3.1.3104.01, drive commands can also be written using this command. This requires the drive function to be marked as a command in P-AXIS-00853. The value 1 must be written to activate the command in the drive. Many commands are terminated by the drive automatically. Otherwise, the command must be terminated explicitly by writing the value 0.
See also Parameters for drive functions (antr.function[i].*)