- 167 -
The cycle is accomplished by using two programs.
Program 0/ contains a HOME, initializes the external counter for the first count, and then
executes Program 1.
Program 1 contains the T = Time Base (EXT) I = INDEX, (sync Index), T = Time Base (INT), I
= INDEX (return to HOME), and R = wait for count. Program 0/ would have a count of 1 and
Program 1 would be programmed to count forever. The values for XX in the data field of the
index are the selected index numbers.
Initiation of Program 0/ starts the cycle.
Table XVI
Added Output Functions
STEP
CODE
FUNCTION
DWA
PROG
1
H
HOME
0/
2
S
START EXTERNAL COUNTER
COUNT=1
3
P
EXECUTE PROGRAM
1
4
E
END
1
T
TIME BASE
ENCODER
2
I
INDEX (SYNC)
XX
PROG
3
T
TIME BASE
INTERNAL
1
4
I
INDEX (BACK TO HOME)
XX
COUNT =
5
R
WAIT FOR EXTERNAL COUNT
+ / -
XXXXXXX
(INFINITY)
6
E
END
This same example provides the best description of the added output functions at SYNC and
SYNC FAULT. The at SYNC output would come on at the end of acceleration of the first index
in program 1 and could be used as an initiation source for external control. The SYNC FAULT
would come on if the WAIT FOR EXTERNAL COUNT program step was encountered and the
specified count had already accumulated in the counting registers. This is an indication that the
unit was not back to the HOME position in time to initiate the next auto restart (i.e., the cycle is
too short or the return is too slow). The SYNC FAULT output will be reset when either the
CLEAR FAULT input or the RESET pushbutton are activated.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com