Command Reference
Value
The value against which the
specified variable value is
compared, for an interrupt to be
triggered.
Serial
4 V
Example
SET_VAR Interrupt_mask 1
MOVE_D 655360 –1
SET_OUTPUT 1 OFF
END
INT Target_velocity >= 400
SET_OUTPUT 1 ON
INT_RETURN –1
Example
Explanation
The interrupt mask is set so that the program will only respond to
interrupt 0. A motor movement to position 655360 is started.
When, during the motion, the value of the variable Target_velocity
reaches or exceeds 400, Output 1 will be set ON. The program will
then continue. Once the motor motion has finished, Output 1 will
be set OFF.
See Also
EXT_INT, INT_RETURN
Variables: Interrupt_mask, Interrupt_request, Interrupt_pending
130
XtraWare User Manual
Содержание XTRAWARE - V3.0
Страница 2: ......
Страница 4: ......
Страница 12: ......
Страница 79: ...Operating the XtraDrive Using XtraWare Table 14 Sample ECAM Table XtraWare User Manual 69 ...
Страница 202: ......
Страница 220: ......
Страница 258: ...List of Operation Codes 248 XtraWare User Manual versions use STOP_EX ...