154 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE

ON Turn ON motor power
Syntax Units Range of nDefault See also
aON - - - OFF
Description Issuing an ON command energises the drive and clears the current state of
the drive fault registers.
The command allows execution of moves provided the motor is not on a
limit.
ON will clear the User Fault and Drive Fault variable to all zeros, but if a fault
is still present the motor will not energise and the fault variables will be
updated once again.
Properties Immediate or buffered, can be used in labelled block, saved by SV
Example 1START ;program start-up routine
1ON ;energise motor
.;attempts to clear any faults
.;
1END ;
1FAULT ;fault handling routine
1FLT;send warning over comms.
1TR(IN,=,XX1) ;wait for reset input 3
1GOTO(START);re-run start routine
1END ;
This small section of program shows the use of the ON
command at the start of the code and the use of a fault
routine to attempt a program re-start if a fault occurs.
Note Issuing an ON command will clear all user status flags.