Mitsubishi Electronics FX3U-CF-ADP Manual Do Utilizador

Página de 124
7 Before Programming
7.4 General Rules for Applied Instructions
43
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
 
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
 
Programm
ing
8
C
F
-AD
P
 Appl
ied 
Ins
tructi
ons
 
Explanati
o
n
9
Program 
Examples
10
T
roubl
esho
oti
n
g
7.4
General Rules for Applied Instructions
7.4.1
Expression and operation type of applied instructions
Instruction and operands
- Function numbers (FNC00 - FNC
) and symbols (mnemonic codes) are assigned to the applied 
instructions of the PLC.  For example, a symbol of "FLWR" (Data write) is assigned to FNC302.
- Some applied instructions consist of the instruction area only, but many applied instructions consist of 
the instruction area and the operand.
: An operand that will not be affected by the execution of the instruction is referred to as a
source.  This symbol represents a source.
If the operand device number can be modified by an index register, " " will be added, and
the S will be modified to 
.  If there are two or more sources, the modified sources will
become , , 
and 
so 
on.
: An operand that will be affected by the execution of the instruction is referred to as a
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 become 
, and so on.
m, n
: The operands not corresponding to source and destination are indicated as "m" and "n".
If the device number can be indexed by index registers, and if there are two or more
operands, the modified operands will become m1 , m2 , n1 , n2 , and so on.
- Regarding program steps, the instruction area for each applied instruction is 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, depending on the function.
- Combination of these bit devices, such as KnX, KnY, KnM, and KnS, can be used for numeric data.
→ Refer to the programming manual.
- Current value registers, such as data registers D, timers T, and counters C, can be used.
- A data register D consists of 16-bit. Two consecutive data registers (2 points) are used for 32-bit data.
For example, if data register D0 is specified for the operand of a 32-bit instruction, D1 and D0 will be 
used for 32-bit data (D1 for the 16 high-order bits, and D0 for the 16 low-order bits).
If current value registers T and C are used as general data registers, they will behave the same way as 
data registers.
Each 32-bit counter (C200 to C255), however, can use 32-bit data without combining two counters.  
These counters, however, cannot be specified as the operands of 16-bit instructions.
Command
input
FNC302
FLWR
S
1
n
S
2
S
3
D
S
  S
  
S
1
  
S
2
  D
  
D
1
  
D
2