Handling Functions Of Extension Flag; Limitation In Number Of Instructions - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
6.5.4

Handling functions of extension flag

In some applied instructions, the function can be extended by combining a specific special auxiliary relay
determined for each applied instruction. An example is explained below.
- When X000 turns ON, this instruction exchanges the
contents of D10 and the contents of D11 each other.
- If M8160 has been driven before the XCH instruction
and the source and destination of the XCH instruction
are specified to a same device, high-order 8 bits and
low-order 8 bits are exchanged with each other inside
the device.
- For returning this XCH instruction to the normal XCH
instruction, it is necessary to set M8160 to OFF.
When using an instruction requiring the function extension flag in an interrupt program, program DI instruction
(for disabling interrupt) before driving the function extension flag, and program EI instruction (for enabling
interrupt) after turning OFF the function extension flag.
6.5.5

Limitation in number of instructions

Limitation in the number of instructions and limitation in simultaneous driving
Some applied instructions can be used only up to the specified number of times.
Instruction
name
FNC 52(MTR)
FNC 56(SPD)
FNC 60(IST)
FNC 69(SORT)
FNC 70(TKY)
FNC 71(HKY)
FNC 75(ARWS)
FNC 77(PR)
FNC149(SORT2)
FNC186(DUTY)
FNC280(HSCT)
When using above instructions beyond the allowable number of times of use
For instructions whose operands allow indexing, device numbers and numeric values in such instructions can
be changed by index registers.
By this indexing, when simultaneous multiple drive is not required, such instruction can be used as if they are
used beyond the allowable number of times.
→ Refer to "Subsection 5.7.3. Indexing example in instruction with limited number of use".
Allowable number
of times of use
1
8
Pay attention so that this instruction does not overlap the input numbers of in
(1 instruction/1 input
DVIT instruction, DOG inputs in ZRN instruction, zero point signal in DSZR
or less)
instruction, input interrupt numbers and high speed counter input numbers.
1
1
1
1
1
2
2
5
(1 instruction/1 input
or less)
1
6 What to Understand before Programming
6.5 General Rules for Applied Instructions
X000
FNC 17
XCHP
X000
Function extension flag
M8160
for the XCH instruction
FNC 17
XCHP
M8160
Remarks
1
2
D10
D11
3
D10
D10
Same number
4
5
6
7
8
9
10
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents