VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE
52
Example
The following example shows the use of a FAULT label within a program.
1ARM11
;enable auto-run on power-up & enable fault routine
1SV
;save the settings
1START:
;start of program
1ARM11
;re-enable auto-run & fault in case ‘K’ command sent
.
<initialisation commands>
.
1O(1XX)
;turn on output 1 - drive OK
.
<main process commands>
.
1END
1FAULT:
;fault routine
1O(0XX)
;turn off output 1 - drive fault
.
<diagnostic code - if required>*
.
1TR(IN,=,1XXXX)
;wait for input 1 to become active (RESET)
1ON
;clear fault
1GOTO(START)
;run from start of program again
1END
*Note: An example of diagnostic code is given in the sub-section entitled Conditional Code
later within this section.
Содержание ViX250CM
Страница 3: ......
Страница 52: ...44 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE...
Страница 102: ...VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE 94...
Страница 206: ...198 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE...
Страница 218: ......