EasyManua.ls Logo

Omron TJ1-MC04 - PROGRAMMING 1 - Page 263

Omron TJ1-MC04 - PROGRAMMING 1
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Examples and tips
PROGRAMMING MANUAL 263
Revision 3.0
fig. 34
The picture gives the sequence of executing the commands and
the registrations of the sample program below.
BASE(N)
REGIST(0)
WAIT UNTIL MARK=0
loop:
WAIT UNTIL MARK=-1
PRINT "Position captured in: "; REG_POS
REGIST(0)
WAIT UNTIL MARK=0
GOTO loop
Position
t
Registration Input
REG_POS=xxx
The trigger is active
MARK=0
REGIST(0)
REGIST(0)
MARK=-1
MARK=-1MARK=0MARK=-1
REG_POS=Pos1
REG_POS=Pos1
The trigger is active
If the trigger is
not active,
the registration is
ignored
The position
information is
available
I52E-EN-03.book Seite 263 Freitag, 29. Juni 2007 11:55 11

Table of Contents

Related product manuals