Parker Hannifin VIX250IM Stepper Machine User Manual


 
4. CONTROL OF VIX DRIVES 53
Start Label
The system label START: introduces the drives setup and initialisation code. With ARM
enabled the code is automatically executed at system start-up*. Consequently the code
needs to be saved with ARM1X set. If you save a program with ARM0X set, the start-up
code will not run and the controller will only respond to serial input commands.
*Unless a drive fault is pending and a fault routine is defined and armed.
Start Label Example:
1START:
1RUNNING
-
-
1END
1FAULT:
1FAULT
1TR(IN,=,1XXXX)
1GOTO(START)
1END
1ARM01 ;enable fault routine only
1SV ;save all settings
If you cycle the power to the drive the START routine will not automatically run. To start it
you would have to type in 1GOTO(START). However, the FAULT routine will run if a fault
occurs
Entering the following code:
1ARM11 ;enable auto run on START
1SV ;save all settings
The START routine should automatically run on the next power-up.