Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル

ページ / 936
148
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.12 Pointer [P and I]
Operations
M8000
RUN
monitor
FNC 04
EI
FNC 53
DHSCS K1000 C255
FNC 03
IRET
END
Step
0
C255
I010
Interrupt pointer
number is
specified
FNC 06
FEND
Interrupt routine
(interrupt program)
I010
Pointer for
interrupt
Counter interrupt is specified
Interrupt return
K2,147,483,647
Enable interrupt after EI instruction, and
describe the main program.
Drive the coil of a high speed counter, and
specify an interrupt pointer in DHSCS (FNC 53)
instruction.
When the current value of C255 changes from
"999" to "1000" or from "1001" to "1000", the
interrupt routine is executed.
For example of interrupt program, refer to an
input interrupt described above.