EasyManua.ls Logo

Mitsubishi Electric MELSEC FX3U - 7. Basic Instruction

Mitsubishi Electric MELSEC FX3U
1000 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
185
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.5 General Rules for Applied Instructions
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
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 D11 with each other.
- If M8160 has been driven before the XCH instruction
and the source and destination of the XCH instruction
are specified to the 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.
*1. Total number of times that the FNC53 (HSCS), FNC54 (HSCR) and FNC55 (HSZ) instructions are
used
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 indexing, when driving multiple instances simultaneously is not required, such instruction can be used as if
they were used beyond the allowable number of times.
Refer to "Subsection 5.7.3. Indexing example in instruction with limited number of use".
Instruction
name
Allowable number
of times of use
Remarks
FNC 52(MTR) 1 MTR instruction can only be used once in program.
FNC53 (HSCS)
6
*1
The allowable number of times of use is restricted only in FX3G PLCs.FNC54 (HSCR)
FNC55 (HSZ)
FNC 56(SPD)
8
(1 instruction/1 input
or less)
Pay attention so that this instruction does not overlap the input numbers of in
DVIT instruction, DOG inputs in ZRN instruction, zero point signal in DSZR
instruction, input interrupt numbers and high speed counter input numbers.
FNC 60(IST) 1
FNC 69(SORT) 1
FNC 70(TKY) 1
FNC 71(HKY) 1
FNC 75(ARWS) 1
FNC 77(PR) 2 PR instruction can only be used twice in a program.
FNC149(SORT2) 2
FNC186(DUTY)
5
(1 instruction/1 input
or less)
FNC280(HSCT) 1
X000
FNC 17
XCHP
D10 D11
X000
FNC 17
XCHP
D10 D10
Same number
M8160
M8160
Function extension flag
for the XCH instruction

Table of Contents

Related product manuals