Mitsubishi Electric Melsec-F FX3GC Series User Manual page 133

Hide thumbs Also See for Melsec-F FX3GC Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
Built-in Positioning Functions
Format and execution of instruction:
Depending on the sizes of the numeric values to be processed, applied instructions can be classified into two
types: 16-bit instructions and 32-bit instructions. In addition, depending on the execution type, these
instructions can also be classified into two types: continuous execution type and pulse execution type.
Depending on the applied instruction, the instruction may or may not have all the combinations.
1. 16-bit instructions and 32-bit instructions
- Depending on the bit length of the numeric data to be processed, applied instructions can be classified
into two types: 16-bit type and 32-bit type.
Command 1
Command 2
- For the 32-bit instruction, the instruction name will be DMOV ("D" will be added to "MOV").
- Even numbered devices or odd numbered devices can be specified. If a double device is specified, the
specified device will be combined with the device with the next number (for the word devices, such as
devices T, C, and D).
To prevent confusion, it is recommended to use even numbered devices to specify the low-order bits of
an operand of a 32-bit instruction.
- Each 32-bit counter (C200 to C255) needs only one device to set 32 bits. For this reason, the operand of
a 16-bit instruction cannot specify any of the 32-bit counters.
2. Pulse execution type instructions and continuous execution type instructions
Pulse execution type instructions:
The program shown in the right figure shows that when X000 is
turned on, the instruction will be executed only once. If X000 is
off, the instruction will not be executed. If it is not necessary to
execute the instruction frequently, the pulse execution type
instruction is recommended. Note that "P" means that the
instruction of pulse execution type. This means that DMOVP is a
pulse execution type instruction.
Continuous execution type instructions:
The program shown in the right figure shows that if X001 is on,
the continuous execution type MOV instruction will be executed
at the start of each operation cycle.
Note that if FNC 24 (INC) or FNC 25 (DEC) is used as a continuous execution type instruction, the
destination will be changed at the start of each operation cycle.
To indicate continuous execution type instructions, the symbol "
instruction as shown in the following figure. Use these instructions carefully.
FNC
12
Number
D
Instruction name
MOV
Note that if the activation input X000 or X001 is off, instructions will not be executed. Also note that if the
later symbol is not added to the title of an instruction, the destination of the instruction will not be changed.
PLC User's Manual - Positioning Control Edition
FNC 12
D10
D12
MOV
FNC 12
D20
D22
DMOV
P
4.10 Format and Execution of Applied Instruction
Move D10 to D12.
This instruction transfers data from D21 and D20 to D23
and D22.
X000
X001
" will be added to the title of each
4 Before Programming
FNC 12
D10
D12
MOVP
FNC 12
D10
D12
MOV
B - 89
A
B
Apx.

Advertisement

Table of Contents
loading

Table of Contents