General Rules For Applied Instructions; Expression And Operation Type Of Applied Instructions - Mitsubishi Electric FX3G SERIES Programming Manual

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

Advertisement

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

General Rules for Applied Instructions

6.5.1

Expression and operation type of applied instructions

Instructions and operands
- Both a function number FNC 00 to FNC
each applied instruction.
For example, a mnemonic "SMOV (shift move)" is assigned to FNC 13 instruction.
- Some applied instructions function only with their instruction part, but many instructions consist of the instruction
part and following operands.
Command
input
S
D
m, n
- In applied instructions, the program step of the instruction part always occupies 1 step, but each operand
occupies 2 or 4 steps depending on whether the instruction is 16-bit type or 32-bit type.
Devices handled as operands
- Bit devices themselves such as X, Y, M and S may be handled.
- Combined bit devices, KnX, KnY, KnM, KnS, etc, may be handled as numeric value data.
- Data registers D and current value registers for timers T and counters C may be handled.
- Though data registers D are the 16-bit type, two serial data registers are combined when 32-bit data is handled.
For example, when a data register D0 is specified as an operand in a 32-bit instruction, D1 and D0 are combined
to handle 32-bit data. (D1 handles high-order 16 bits, and D0 handles low-order 16 bits.)
When current value registers for T and C are used as general data registers, they are handled in the same way.
However, each of 32-bit counters C200 to C255 can handle 32-bit data, and cannot be specified as an operand
in a 16-bit instruction.
172
FNC 13
S
m1
SMOV
: An operand whose contents do not change by execution of the instruction is called "source", and is
indicated by this symbol.
When a device number can be indexed with index registers, the source is expressed as
with addition of " ".
When there are two or more sources, they are expressed as
: An operand whose contents change by execution of the instruction is called "destination", and
indicated by this symbol.
When indexing is allowed and there are two or more destinations, they are expressed as
D
, etc. in the same way as sources.
2
: Operands not falling under source or destination are expressed as m and n.
When indexing is allowed and there are two or more such operands, they are expressed as m1 ,
m2 , n1 , n2 ,etc. in the same way as sources and destinations.
6 What to Understand before Programming
6.5 General Rules for Applied Instructions
and a symbol (mnemonic) indicating the contents are given to
m2
D
n
S
,
S
, etc.
1
2
→ Refer to Section 5.4.
S
D
,
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents