Mitsubishi FX3G Series Programming Manual page 594

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
3)
If two or more DHCMOV instructions are used in one input interrupt program, only the first instruction (just after
the interrupt pointer) is executed when the interrupt is generated.
The rest of the interrupt, including additional DHCMOV instructions, is executed according to normal interrupt
processing.
Do not use M8394 as the command contact for the DHCMOV instructions following the first.
I301
M8394
M8000
4)
It is not permitted to use DHCMOV instruction for the same counter in two or more input interrupt programs.
M8394
I000
M8394
I200
5)
While input interrupts are disabled by the interrupt disable flags (shown in the table below), DHCMOV instructions
are not executed when they are placed inside a corresponding interrupt.
Interrupt disable flag
M8050
M8051
M8052
M8053
M8054
M8055
*1.Cleared when the PLC mode is changed from RUN to STOP.
6)
If an input interrupt is generated while input interrupts are disabled by something other than the interrupt disable
flags M8050 to M8055 (after execution of DI instruction and before execution of EI instruction), DHCMOV
instruction is immediately executed, but execution of the interrupt program is held. The interrupt program will be
executed after EI instruction is executed and interrupts are enabled.
Function change depending on the version
The function of FNC189 instruction changes depending on the version as shown in the table below.
Applicable version
FX
3U
Ver. 2.20 or
later
Error
An operation error occurs in the following case; The error flag M8067 turns ON, and the error code is stored in D8067.
• When a device specified in
592
Series
FNC189
DHCMOV
FNC189
DHCMOV
FNC189
DHCMOV
Same counter
FNC189
DHCMOV
Corresponding interrupt pointer
*1
*1
*1
*1
*1
*1
Item
FX
3UC
Ver. 2.20 or
Target device
later
S
or [
D
24.5 FNC189 – HCMOV / High-Speed Counter Move
S
D
n
S
'
'
n'
D
FNC 03
IRET
C236
D0
K0
FNC03
IRET
C236
D2
K1
FNC03
IRET
Input number corresponding to interrupt pointer
I000,I001
I100,I101
I200,I201
I300,I301
I400,I401
I500,I501
Ring counter (D8099 and D8398) can be specified in
+1,
D
] is outside the allowable range (error code: K6705)
24 Others – FNC181 to FNC189
When the input X003 turns from OFF
to ON (that is, when input interrupt is
accepted):
→ [
+1,
]
S
D
D
When this instruction is executed in
interrupt program:
' → [
' +1,
' ]
S
D
D
X000
X001
X002
X003
X004
X005
Outline of function
S
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents