Programming Commands U511 User’s Manual
5-68 Aerotech, Inc. Version 1.1
5.5.60. PAUSE
The PAUSE ON command is used to map an input bit to the pause function. While a
program is running, the interface scans the input bit. If the input bit value equals the
bitstate specified in the command, the pause function is called. This command is identical
to the “PAUSE” button on the UNIDEX 511 front panel. See Figure 5-7 for an example.
PAUSE OFF stops the scanning of the input bit. This command also can be used with the
iSBX-IO48 board.
SYNTAX:
PAUSE ON, inputbit,bitstate
PAUSE OFF
PA ON, inputbit,bitstate
PA OFF
inputbit Input bit number (0 to 15) 16 IN/8 OUT I/O bus input bit.
Valid iSBX-IO48 input bit ($000 to $127).
Input bit number (16 to 39) 8 X 3 I/O bus input bit.
bitstate Bit value to send pause, either 1 or 0.
EXAMPLE:
PAUSE ON, 3,1 ;Checks input bit 3 for a logical 1. If the value is present,
;calls pause function
Hitting the switch once will pause
operation. Hitting the switch again will
resume operation.
UNIDEX
511
External Pause Switch
U511 Input
Figure 5-7. PAUSE Function
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com