Format And Execution Of Applied Instruction - Mitsubishi MELSEC-F FX3U Series User Manual

Hide thumbs Also See for MELSEC-F FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series PLC User's Manual - Positioning Control Edition
3U
3UC
Built-in Positioning Function
4.10

Format and Execution of Applied Instruction

Instruction and operand:
- Function numbers (FNC00 - FNC
instructions of this PLC. For example, a symbol of "SMOV" (shift) is assigned to the FNC13.
- Some applied instructions consist of the instruction area only, but many applied instructions consist of
the instruction area and the operand.
Command
input
: An operand that will not be affected by execution of the instruction is referred to as a
S
: An operand that will be affected by execution of the instruction is referred to as a
D
m, n
: The operands not corresponding to source and distination are indicated as "m" and "n".
- Regarding the program steps, the instruction area of each applied instruction has 1 step. The operand
of each applied instruction, however, has 2 or 4 steps depending on the number of bits (16 or 32 bits).
Devices for operands:
- Bit devices X, Y, M, and S can be used for the operands.
- Combination of these bit devices, such as KnX, KnY, KnM, and KnS, can be used for numeric data.
- Current value registers, such as data register D, timer T, and counter C, can be used.
- Data register D consists of 16 bit. Consecutive 2 data registers (2 points), therefore, should be used for
the 32-bit data.
For example, if data register D0 is specified for the operand of a 32-bit instruction, the D1 and D0 will be
used for the 32-bit data (D1 for 16 high-order bits, and D0 for 16 low-order bits).
If current value registers T and C are used as the general data registers, they will be used in the same
way.
Each 32-bit counter (C200 to C255), however, can use the 32-bit data without combining two counters.
These counters, however, cannot be specified for the operands of 16-bit instructions.
) and symbols (mnemonic codes) are assigned to the applied
FNC158
S
S
1•
2
DRVI
source. This symbol represents a source.
If the device number is modified by the index register, "•" will be added, and S will be
modified into
. If there are two or more sources, the modified sources will be
S
, and so on.
S
2
destination. This symbol represents a destination.
If the device numbers can be indexed by index registers, and if there are two or more
destinations, the modified destinations will be
If the device number can be indexed by index registers, and if there are two or more
operands, the modified operands will be m1
4.10 Format and Execution of Applied Instruction
D
D
1
2
,
D
D
1
, m2
, n1
, n2
→ Refer to the programming manual.
4 Before Programming
, and so on.
2
, and so on.
B - 65
A
B
Apx.
,
S
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-f fx3uc series

Table of Contents