Mitsubishi FX3U Series Programming Manual page 585

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
5) While input interrupts are disabled by the interrupt disable flags (shown in the table below), DHCMOV
instructions are not executed because corresponding input interrupt programs are not executed.
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 is changed depending on the version as shown in the table below.
Applicable version
FX
3U
Ver.2.00 or
Ver.2.00 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
Program examples
1. Program example 1
In the program example below, the current value of the high speed counter C235 is compared in each
operation cycle, and then the output Y000 is set to ON if the current value is "K500" or more (when the current
value of C235 is not cleared).
M8000
FNC238
DAND>=
*1.
K0: The current value of the high speed counter is not cleared when DHCMOV instruction is executed.
K1: The current value of the high speed counter is cleared when DHCMOV instruction is executed.
Corresponding interrupt pointer
*1
I000,I001
*1
I100,I101
*1
I200,I201
*1
I300,I301
*1
I400,I401
*1
I500,I501
Item
FX
3UC
Target device
later
or [
S
D
FNC189
C235
D0
DHCMOV
D0
K500
24.5 FNC189 – HCMOV / High Speed Counter Move
Input number corresponding to interrupt
Outline of function
Ring counter (D8099 and D8398) can be specified in
+1,
] is outside the allowable range (error code: K6705)
D
The current value of C235 is
transferred to D1 and D0.
1
K0*
(The current value of C235 is not
cleared.)
In the case of "(D1, D0) ≥ K500",
Y000
Y000 is set to ON.
END
24 Others – FNC181 to FNC189
pointer
X000
X001
X002
X003
X004
X005
S
.
583
21
22
23
24
25
26
27
28
29
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents