Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G 用户手册
163
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.1 How to Read Explanation of Instructions
1
In
trodu
ct
ct
ion
2
O
ver
vi
ew
3
In
st
ru
ct
ion
Li
st
4
D
evices
in D
etail
etail
5
Specifi
ed t
he
he
D
evice &
C
onst
ant
ant
6
Bef
ore
ore
Pr
ogr
am
am
m
ing
7
B
asic
In
st
ru
ct
ion
8
FNC0
0-F
0-F
NC0
9
Pr
ogr
am
Flow
am
Flow
9
FN
C
C
10-FN
C
19
Mo
ve
ve
&
Co
mp
are
are
10
FNC2
0-F
0-F
NC2
9
Ar
ith.
&
&
Logic
O
per
ati
ati
on
Applicable devices
Devices which can be specified in operands of instructions are shown.
When a device supports an instruction, "3" is added to the device.
When a device supports an instruction, "3" is added to the device.
*1.
Kn without specification indicates K1 to K4 for 16 bits, and K1 to K8 for 32 bits.
Explanation of function and operation
The function of each instruction is explained.
Cautions
Cautions on using each instruction are described.
Errors
Major errors that are possible to occur in each instruction are described.
For details on errors, refer to "Chapter 38. Errors and Error Code List".
For details on errors, refer to "Chapter 38. Errors and Error Code List".
Program examples
Concrete program examples using each instruction are described.
1) Bit devices
•X : Input relay (X)
•Y : Output relay (Y)
•M : Auxiliary relay (M)
•S : State relay (S)
etc.
•Y : Output relay (Y)
•M : Auxiliary relay (M)
•S : State relay (S)
etc.
2) Word devices
•K : Decimal integer
•H : Hexadecimal integer
•KnX: Input relay (X) with digit specification
•H : Hexadecimal integer
•KnX: Input relay (X) with digit specification
*1
•KnY: Output relay (Y) with digit specification
*1
•KnM: Auxiliary relay (M) with digit specification
*1
•KnS: State relay (S) with digit specification
*1
•T : Timer (T) current value
•C : Counter (C) current value
•D : Data register (file register)
•V, Z: Index register
•Modify: Availability of indexing using index register
etc.
•C : Counter (C) current value
•D : Data register (file register)
•V, Z: Index register
•Modify: Availability of indexing using index register
etc.