Parker Hannifin VIX500IM Stepper Machine User Manual


 
VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE
48
Finally, call individual moves from the main part of the program:
1MOVE2: ; define program label move2
1W(PA,0) ; zero position absolute
1MA ; absolute positioning move
1USE(2) ; use motion profile 2
1G ; execute move
1END ; end of program move 2 definition
Note: PROFILE2 defined in the main part of the program has the following characteristics:
ACCELERATION 40rps
²
, DECELERATION 10rps
²
, DISTANCE 48000 steps (12 REVS
MOVE), NEGATIVE DIRECTION , VELOCITY 25 rps.
In small programs, the start code can be combined with the main part of the program. For
experienced X-code users, the shorter blocks of code in the example above, accessed via
subroutines, is the equivalent of a sequence.
A second example illustrates the code required for an incremental move. Here the START
and MAIN code blocks have been combined within the START block:
1START: ; start label definition
1DECLARE(MOVE1) ; declare move1 label
1LIMITS(3,0,0) ; configure limits (disable, n/c).
1PROFILE1(80,20,24000,20) ; define move parameters
1GOTO(MOVE1) ; transfer to label move 1
1END ; end of label definition
1MOVE1: ; define program label.
1MI ; incremental positioning move
1USE(1) ; use motion profile 1
1G ; execute move
1END ; end of program move 1 definition.
Note: [1] DEVICE ADDRESSING IS REQUIRED FOR ALL COMMANDS
[2] PROFILE1 has the following characteristics:
ACCELERATION 80rps
²
, DECELERATION 20rps
²
, DISTANCE 24000 steps (6 REVS
MOVE), POSITIVE DIRECTION , VELOCITY 20 rps.