Mitsubishi Electric MELSEC FX3U Programming Manual page 491

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
2. Example in which the analog values of the variable analog potentiometers Nos. 0 to 7 are
read in turn, and used as analog timers
K0 to K7 are specified in
potentiometers VR0 to VR7.
Index (Z = 0 to 7) is used for indexing in the sequence below, and K0Z indicates K0 to K7.
M8000
0
RUN
monitor
4
M8000
7
16
X000
17
T0
21
X001
23
T1
27
X007
59
T7
63
Cautions
• In 14-point and 24-point type FX
option connector 1, and occupies the communication channel ch1.
In this case, the communication function using the communication channel ch1 is not available when the
VRRD or VRSC instruction is used.
• In 40-point and 60-point type FX
to the option connector 2, and occupies the communication channel ch2.
In this case, the communication function using the communication channel ch2 is not available when the
VRRD or VRSC instruction is used.
of the VRRD instruction in accordance with the values of the variable
S
S
1
RST
Z
The index register Z is reset.
FNC 08
K8
The routine "FOR ~ NEXT" is repeated 8 times.
FOR
Analog values of variable
FNC 85
K0Z
D200Z
potentiometers are stored in data
VRRD
registers D200 to D207.
FNC 24
Z + 1 → Z
Z
INC
FNC 09
NEXT
D200
T0
Analog timer of VR0
Y000
D201
Analog timer of VR1
T1
Y001
D207
Analog timer of VR7
T7
Y007
PLCs, the variable analog potentiometer board can be connected to the
3G
PLCs, the variable analog potentiometer board can be connected only
3G
→ For details, refer to the Communication Control Edition manual.
16 External FX Device – FNC 80 to FNC 89
16.6 FNC 85 - VRRD / Volume Read
Because T0 to T7 are 100
ms timers, 0 to 25.5 sec are
obtained from the set values
0 to 255.
11
12
13
14
15
16
17
18
19
20
489

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents