3.159
EDH0162En1040 – 06/99
MM4005
WI — Wait for a trajectory (curvi-linear) length
Usage
IMM
PGM
MIP
Syntax
WInn
Parameters
Description
nn
[double]
— Trajectory length to wait for.
Range
nn
—
0
to
Trajectory total length
.
Units
nn
— X axis actual unit.
Defaults
nn
Missing: Error C.
Out of range: Error C.
Description
This command stops the execution of the program up to when the defined
by WI trajectory length is reached.
NOTE
This is a command used in phase of execution and its place is always
after ET command. If the value defined by WI is superior than the trajec-
tory total length or by error after trajectory stop the trajectory execution
do not reach the desired length, the command execution breaks and
returns an error.
NOTE
This command must be used in a program.
Returns
None.
Errors
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
None.
Example
NT
|
Initialisation.
LX10
|
Element 1.
LX30
|
Element 2.
LX40
|
Element 3.
VV5
|
Set trajectory velocity to 5 units/sec.
ET
|
Trajectory execution with generation of pulses.
WI10
, 5SB |
At the realized length of 10 units, set I/O ouput bit #5.
WI30
, 5CB |
At the realized length of 30 units, reset I/O ouput bit #5.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com