
BASIC commands
PROGRAMMING MANUAL
147
R
e
vi
si
o
n
1
.0
fig. 44
fig. 45
/i
SENSOR
SHEET GLASS
250mm
SENSOR SEEN
250mm
ORIGINAL MOVE
Example
A sheet of glass is fed on a conveyor and is required to stop 250 mm after the
leading edge is sensed by a proximity switch. The proximity switch is con-
nected to the registration input:
MOVE(10000) 'Start a long move on conveyor
REGIST(3) 'set up registration
WAIT UNTIL MARK
'MARK becomes TRUE when sensor detects glass edge
OFFPOS = -REG_POS 'set position where mark was seen to 0
WAIT UNTIL OFFPOS=0 'wait for OFFPOS to take effect
MOVEMODIFY(250) 'change move to stop at 250mm