49
9.12.1
Program commands
Description
Command
Parameter
Master
/ Slave
Reference for LINAX®/ELAX® / ROTAX® and third party
motors
REFERENCE
MS
Execute index number xx or change according
operation yy with distance zz
Operation „EXE“:
Drive index No. xx
and start a new index after COMPLETION zz% of the
actual index command
ACTION „=“: Set index distance to zz
ACTION
„+“: Increas
e Index distance by zz
ACTION
„
-
“: Reduce
Index distance by zz
ACTION
„POS“: Set
Index distance to the slider actual
position.
INDEX
xx, yy, zz
MS
Set Output number xx
SET OUTPUT
xx
MS
Clear Output number xx
CLEAR OUTPUT
xx
MS
Go to Line number xx
GOTO LINE
xx
Go to line number xx, if input number yy active
GOTO LINE IF INPUT
xx, yy
Set Loop Counter # to xxxx (1-10000)
SET LOOP COUNTER (A-E)
xxxx
Decrement Loop Counter #, if not zero, jump line xx.
Loop counters can be interleaved with each other
DEC LOOP COUNT (A-E) JNZ LINE
xx
Wait xx ms (in 10ms resolution)
WAIT TIME (ms)
xx
Wait for logical High of Input number xx within timeout
frame yy,
otherwise jump to line zz „error handling“
(timeout can only be used locally, not for (remote)
WAIT INPUT NR HIGH
xx
MS
Wait to logical Low of Input number xx within timeout
frame yy, otherwise jump to line zz „error handling“
(timeout can only be used locally, not for remote)
WAIT INPUT NR LOW
xx
MS
Set position counter to 0, (not possible with LINAX®/
ELAX®, with ROTAX® only possible if it is not
referenced)
CLEAR POSITION
Execute Profile number xx
PROFILE
xx
MS
Start process timer
TIMER START
Stop process timer
Command TPT (Tell Process Timer) returns measured
time in milliseconds
TIMER STOP
LINAX®/ELAX®
drives to mechanical limited position,
refer
setup / reference
.
REF LIMIT STOP
Executing Force Calibration, Start Pos xx, End Pos yy
FORCE CALIBRATION
xx, yy
Automatic I_Force Drift Compensation drive
xx = POS => drive in positive direction
xx = NEG => drive in negative direction
I_FORCE DRIFT COMPENSATION
xx
Execute DRIVE I_FORCE No. xx
DRIVE I_FORCE
xx
Selection of active sectors with Bit mask.
E.g. xx = 1010
→
sectors 2 and 4 are active. LSB is on
right.
SELECT SECTORS
xx
Wait until Limit I_FORCE is reached according
parameter DRIVE I_FORCE within timeout xx, otherwise
jump to line yy „error handling“
WAIT LIMIT I_FORCE
xx, yy
Wait for distance (absolute position
–
Sector Offset) to
be greater than xx within timeout frame yy, otherwise
jump to line zz „error handling“
WAIT FOR DISTANCE GREATER
xx, yy, zz