Mitsubishi Electronics FX3U Garage Door Opener User Manual


 
598
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.5 FNC189 – HCMOV / High-Speed Counter Move
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.
4) It is not permitted to use DHCMOV instruction for the same counter in two or more input interrupt programs.
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.
*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.
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 or [ +1, ] is outside the allowable range (error code: K6705)
Interrupt disable flag Corresponding interrupt pointer Input number corresponding to interrupt pointer
M8050
*1
I000,I001 X000
M8051
*1
I100,I101 X001
M8052
*1
I200,I201 X002
M8053
*1
I300,I301 X003
M8054
*1
I400,I401 X004
M8055
*1
I500,I501 X005
Applicable version
Item Outline of function
FX3U FX3UC
Ver. 2.20 or
later
Ver. 2.20 or
later
Target device
Ring counter (D8099 and D8398) can be specified in .
M8394
n
FNC189
DHCMOV
I301
M8000
' n'
FNC189
DHCMOV
'
FNC 03
IRET
When the input X003 turns from OFF
to ON (that is, when input interrupt is
accepted):
[ +1, ]
When this instruction is executed in
interrupt program:
'
[ ' +1, ' ]
S
D
S
D
S D D
S D D
M8394
D0 K0
FNC189
DHCMOV
FNC03
IRET
C236
I000
M8394
D2 K1
FNC189
DHCMOV
FNC03
IRET
C236
I200
Same counter
S
S
D
D