470
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
16 External FX Device – FNC 80 to FNC 89
16.6 FNC 85 - VRRD / Volume Read
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
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
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.
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.
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
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
3 3
3
3 3
3
3
3
3 3 3 3
3 3
3
−
−
Mnemonic
Operation Condition
16-bit Instruction
5 steps VRRD
VRRDP
Mnemonic
Operation Condition
Continuous
Operation
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
Read
destination
X000
X001
T0
D0
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......