Installation guide

Application Examples 291
13.2.1 – E
XAMPLE
P
ROGRAM
POSMODE =1,1 'enable absolute mode
DO :
LOOP UNTIL IN(101)=1 'loop until input 101 is high
MOVE=2,1 'move to starting position
OUT(111)=1 'turn output 111 on (high)
PATH=1,2 'begin continuous motion path
LINE=6,1 'first coordinate of the path
POINT=7,2 'second coordinate of the path
LINE=7,8
POINT=6,9
LINE=2,9
POINT=1,8
LINE=1,2
POINT=2,1
PATH END 'end of continuous motion path
OUT(111)=0 'turn output 111 off (low)
MOVEHOME=1,1 'return to home position
END
0
1
2
3
4
5
6
7
8
9
10
012345678910
Y
X
HOME POSITION