EasyManua.ls Logo

YASKAWA XTRAWARE - V3.0 - Ext_Int

YASKAWA XTRAWARE - V3.0
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference
EXT_INT
Table explanation
Group Interrupt
Syntax EXT_INT <Priority> <Input_Number> <Edge>
Op. Code 138
Modes Program
Description This command indicates the beginning of an interrupt service
routine and is used for interrupts that are conditional on the
value of external inputs.
See section
4.11.7.1, EXT_INT.
Priority Specifies the interrupt number, from 0 to 7.
Serial 1 U
Input_Number Specifies on which user input, from 0 to 6,
the interrupt is conditional.
Serial 1 U
Syntax
Arguments
Edge Specifies how the interrupt is triggered:
Condition Code
Rising: By the input value
changing from 0 to 1.
0
Falling: By the input value
changing from 1 to 0.
1
Both: By the input
changing from 0 to 1 or
from 1 to 0.
2
Serial 1 U
Example SET_VAR Interrupt_mask 1
MOVE_D 655360 –1
SET_OUTPUT 1 OFF
END
EXT_INT 0 1 Rising
SET_OUTPUT 1 ON
INT_RETURN –1
106 XtraWare User Manual

Table of Contents