Parker Hannifin VIX250IM Stepper Machine User Manual


 
172 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE
TR
Wait for trigger
Syntax aTR(system_variable,relation,value)
Description The TR command pauses command execution until the trigger condition is
met.
The trigger condition is met if the relation between system_variable and
value is true.
Valid relations for the comparison are:
= Equals
<> Does not equal
> Greater than
< Less than
Value is a number generated by the system_variable being tested. Refer
to the system variables table for more information.
Also see system variable Trigger Timeout (TT).
Refer to the table of system variables that can be used for conditional
control.
Properties
Immediate or buffered, can be used in labelled block, not saved by SV
Example 3TR(PA,>,2000) ; wait for position absolute to be >2000 steps
3TR(IN,=,X11XX) ; wait for user inputs 2 and 3 to be high
Notes
If you wish to use the TR command during motion, command queuing
(system variable CQ) must be set for continuous execution (CQ=0).
Issuing a K or S from the command line will clear a trigger condition.
If the input command buffer is filled whilst waiting for a trigger *E will be
reported (assuming EX is set to speak whenever), and the status LED will
continually flash red then green. To clear this condition, cycle the power.