FX Series Programmable Controllers

Devices in Detail 4

4.6.1Input Interrupts

Identification of interrupt pointer number: I ￿ 0 ￿

0:interrupt triggered on trailing/ falling edge of input signal

1:interrupt triggered on leading/ rising edge of input signal

Input number; each input number can only be used once.

FX1S has 4 points (0 to 3 which map to X0 to X3)

Other units have 6 points (0 to 5 which map to X0 to X5)

Example: I001

The sequence programmed after the label (indicated by the I001 pointer) is executed on the leading or rising edge of the input signal X0. The program sequence returns from the interruption program when an IRET instruction is encountered.

Rules of use:

The following points must be followed for an interrupt to operate;

-Interrupt pointers cannot have the same number in the ‘100’s’ position, i.e. I100 and I101 are not allowed.

-The input used for the interrupt device must not coincide with inputs already allocated for use by other high speed instructions within the user program.

4.6.2Timer Interrupts

Identification of interrupt pointer number: I ￿ ￿ ￿

FX1S

FX1N

FX2N FX2NC

10 to 99 msec: the interrupt is repeatedly triggered at intervals of the specified time.

Timer interrupt number 3 points (6 to 8)

Example: I610

The sequence programmed after the label (indicated by the I610 pointer) is executed at intervals of 10msec. The program sequence returns from the interruption program when an IRET instruction is encountered.

Rules of use:

The following points must be followed for an interrupt to operate;

-Interrupt pointers cannot have the same number in the ‘100’s’ position, i.e. I610 and I650 are not allowed.

4-12

Page 86
Image 86
Mitsubishi Electronics FX1S manual Rules of use, Input Interrupts, Timer Interrupts