English
Language : 

CJ1W-MCH72 Datasheet, PDF (195/374 Pages) Omron Electronics LLC – Programmable Controller SYSMAC CJ-series CJ1W-MCH72
All BASIC commands
Section 4-2
4-2-153 MARKB
Example
See also
loop:
WAIT UNTIL IN(punch_clr)=ON
MOVE(index_length)
REGIST(3)
WAIT UNITL(MARK)
MOVEMODIFY(REG_POS + offset)
WAIT IDLE
GOTO loop
AXIS, REGIST, REG_POS.
/i
Type
Syntax
Description
Arguments
Example
See also
Axis parameter (read-only)
MARKB
The MARKB is set to FALSE when the REGIST command has been
executed and is set to TRUE when the primary registration event
occurs. Only when this parameter is TRUE, the REG_POSB value is
correct.
N/A
IF MARKB AXIS(2) THEN
PRINT "Secondary registration event for axis 2 occurred"
ENDIF
AXIS, REGIST, REG_POSB.
184