Справочник Пользователя для Mitsubishi Electronics FX3G

Скачать
Страница из 964
193
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.4 OR, ORI
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
5. Bit specification of data register (D)
*1
A bit in data register (D) can be specified as a device used in OR and ORI instructions.
When specifying a bit in data register, input "."
after a data register (D) number, and then input a
bit number (0 to F) consecutively.
Only 16-bit data registers are available.
Specify a bit number as "0, 1, 2, ... 9, A, B, ... F"
from the least significant bit.
Example: In the example shown on the left, OR
contact is set to ON (becomes
conductive) or OFF (becomes non-
conductive) by bit 3 of D0.
*1.
This function is supported only in FX
3U
/FX
3UC
 PLCs.
Errors
• When an I/O number used in OR or ORI instruction does not exist due to indexing, M8316 (Non-existing I/O 
specification error) turns ON.
• When the device number of a device (M, T or C) other than I/O used in OR or ORI instruction does not exist due to 
indexing, an operation error (error code: 6706) occurs.
Circuit program
List program
LD
OR
OUT
0000
0001
0004
X000
D0.3
Y000
Y000
D0.3
X000