Mitsubishi Electronics FX3GC User Manual
469
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
16 External FX Device – FNC 80 to FNC 89
16.6 FNC 85 - VRRD / Volume Read
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
16.6
FNC 85 - VRRD / Volume Read
Outline
This instruction reads the analog value of a variable analog potentiometer board attached to the PLC main unit.
1. Instruction format
2. Set data
3. Applicable devices
S
: This function is supported only in FX
3G
/FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
This instruction reads the analog value of a variable analog potentiometer board attached the PLC main unit.
This instruction converts the analog value of the variable analog potentiometer specified in
This instruction converts the analog value of the variable analog potentiometer specified in
into binary 8-bit
data, and transfers the numeric value ranging from 0 to 255 to
.
Program example
1. Example in which the read analog value is used as the set value of an analog timer
The analog value of the variable analog potentiometer No.0 is converted into binary 8-bit data, and the value ranging
from 0 to 255 is transferred to D0.
The value of D0 is used as the set value of a timer.
from 0 to 255 is transferred to D0.
The value of D0 is used as the set value of a timer.
When a value larger than 255 is required as the set value of a timer, the read value multiplied by a constant using the
MUL (FNC 22) instruction can be set indirectly as the timer constant.
MUL (FNC 22) instruction can be set indirectly as the timer constant.
Operand type
Description
Data type
Volume number [setting range: 0 to 7]
16-bit binary
Device to which the read analog value is transferred
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
S
S
−
−
−
Mnemonic
Operation Condition
16-bit Instruction
5 steps VRRD
VRRDP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Pulse (Single)
Operation
32-bit Instruction
P
FNC 85
VRRD
VOLUME READ
S
1
S
D
S
1
S
S
2
D
S
1
S
D
FNC 85
VRRD
Command
input
S
D
FNC 85
VRRD
K0
D0
Volume
number
number
Read
destination
X000
X001
T0
D0