Mitsubishi Electronics FX3G User Manual

Page of 964
872
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
37 Operation of Special Devices (M8000 -, D8000 -)
37.2 Supplement of Special Devices (M8000 - and D8000 -)
37.2.11 Built-in analog volume [D8030 and D8031]
Values of variable analog potentiometers built in FX
3S
/FX
3G
 PLCs
*1
 as standard are stored as numeric data ranging
from 0 to 255 in the following special registers in accordance with the scale position.
An obtained numeric value can be specified as the indirectly specified value for a timer to make a variable
potentiometer type analog timer.
• VR1 
→ D8030 (Integer from 0 to 255)
• VR2 
→ D8031 (Integer from 0 to 255)
*1.
This function is not supported in the FX
3S
-30M /E -2AD PLC.
37.2.12 Clear command [M8031 and M8032]
For all devices (image memory) in the PLC, the latch (battery backed) areas and non-latch areas can be cleared.
M8031 (non-latch memory all clear), M8032 (latch memory all clear)
*1.
When the optional battery is installed in FX
3G
/FX
3GC
 PLCs, general type devices which were changed to the
latch (battery backed) type are handled as devices in latch areas.
37.2.13 Memory hold stop [M8033] (output hold in STOP mode)
When the special auxiliary relay M8033 is turned ON, the output status in the RUN mode is retained even if the PLC
status switches from RUN to STOP.
1. Example program
For example, when a heater is driven by the PLC, the PLC can be stopped while the heater and other equipment are
kept driven, and then the PLC can be started again after program changes.
Device number
Cleared devices
M8031
*1
 
(non-latch memory 
all clear)
Contact image of output relay (Y), general type auxiliary relay (M), and general type state relay (S)
Contact and coil of timer (T)
Contact, counting coil, and reset coil of general type counter (C)
Present value of general type data register (D)
(Except data registers used as file registers)
Present value register of timer (T)
Present value register of general type counter (C)
Extension register for general
M8032 
(latch memory all 
clear)
Contact image of latch (battery backed) type auxiliary relay (M) and latch (battery backed) type state relay (S)
Contact and coil of retentive type timer (T)
Contact, counting coil, and reset coil of latch (battery backed) type counter and high-speed counter
Present value of latch (battery backed) type data register (D)
Present value of general type data register (D)
(Data registers used as file registers)
Present value register of retentive type timer (T) and 1-ms timer (T)
Present value register of latch (battery backed) type counter and high-speed counter
Latch (battery backed) type extension register (R)
M8000
FNC 22
MUL
D8031
K2
D0 (D1)
X003
T10
D 0
[Applied example]
"D8030 (VR2) value x 2" 
is transferred to D0 (D1).
The set value range can be changed (up to 32,767) 
by multiplying the data register value by "n".
Do not use D1 in other programs.
(0 to 51 sec)
RUN monitor
X003
T10
D8030
[Basic example]
0 to 25.5 sec
This register stores the value 
(0 to 255) of variable analog 
potentiometer.
M8033
Outputs are retained even during STOP mode.
Command
input