148 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE
Example
The main code configures the label select command to detect a
binary code on 5 inputs (all high gives decimal 31), and if detected,
to continuously run the code at label L31.
Use binary mode for PLC control and BCD for control via a
thumwheel.
1START:
1DECLARE(L31)
1LSEL1(1,5,0)
1ARM1
.
1L31:
1A10
1V10
1G
1END
To check the current mode, type.......
1LSEL
The response will be ......................... *AR1 B/D1 IN5 C/R0
Note
If the inputs remain high, the code following label 31 will run continuously. If
the inactive execution mode was selected, all inputs would need to go to
00000 and then 11111 before running the code at label 31.
The selected routine will only run if no other routine is already executing.
The number of inputs available for use by LSEL depends upon the use of
limits, home or registration within an application.