Fnc 85 - Vrrd / Volume Read - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
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 (FX
the FX
PLC main unit.
3G
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 T C D R U \G
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
8-bit data, and transfers the numeric value in the range 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
in the range 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
by the FNC22 (MUL) instruction can be set indirectly as the timer constant.
488
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
Read
D0
16 External FX Device – FNC 80 to FNC 89
16.6 FNC 85 - VRRD / Volume Read
-8AV-BD) attached to
3G
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
.
D
Data type
16-bit binary
16-bit binary
Charac-
Pointer
ter String
" "
P
into binary
S
S
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents