Fnc 85 - Vrrd / Volume Read - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
FNC 85
VRRD
VOLUME READ
2. Set data
Operand type
S
S
1
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
S
D
2
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
data, and transfers the numeric value ranging from 0 to 255 to
Command
input
FNC 85
VRRD
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.
X000
X001
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.
470
Mnemonic
16-bit Instruction
P
5 steps VRRD
VRRDP
Volume number [setting range: 0 to 7]
Device to which the read analog value is transferred
Digit Specification
S
D
Volume
number
destination
FNC 85
K0
VRRD
D0
T0
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
.
D
Read
D0
16 External FX Device – FNC 80 to FNC 89
16.6 FNC 85 - VRRD / Volume Read
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
S
S
1
Data type
16-bit binary
16-bit binary
Charac-
Pointer
ter String
" "
P
into binary 8-bit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents