Mitsubishi Electronics MELSEC-F Home Theater Server User Manual


 
E-59
8 Examples of Practical Programs
8.2 Example of Program using Useful Functions
A
Common Items
B
FX
3U
-4AD
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3G
-2AD-BD
E
FX
3U
-4DA
F
FX
3U
-4DA-ADP
G
FX
3G
-1DA-BD
H
FX
3U
-3A-ADP
I
FX
3U
-4AD-PT
-ADP
J
FX
3U
-4AD-PTW
-ADP
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4DA (4-channel Analog Output)
•For FX3G, FX3U, FX3UC Series PLCs
*1. The output mode setting, setting of corrective function by load characteristics and status automatic
transfer function setting are retained in the EEPROM of FX
3U-4DA. For this reason, even if the
sequence program is deleted, the previously set functions will still be valid.
*2. After setting the output mode, set the data writing time (waiting time) to 5 seconds or more for each
setting. After the output mode is specified, and the same output mode is used, it is not necessary to
set the output mode and the waiting time (T0 K50).
M8002
M8000
K50
T0
T0
Output modes of channels 1 to 4 will be specified
Upper/lower limit function setting
Initial pulse
RUN monitor
X000
X001
X002
Clearance of upper/lower limit function status data
Clearance of disconnection detection status data
M8000
RUN monitor
Output of upper/lower limit error status of channels to
Y000 to Y007
M23
Error detected Output to Y011
M0
Y011
*1
M22
Y010
Setting of lower limit values for channels 1 and 2
Setting of lower limit values for channels 3 and 4
Setting of upper limit values for channels 1 and 2
Setting of upper limit values for channels 3 and 4
Corrective function setting by load resistance
Setting of load resistance values for channels 1 and 2
Status automatic transfer function setting
(The initial setting of destination data registers is used,
and the sequence program for this function is omitted.)
Clearance of error status data
Disconnection detected in channels 3 and 4
Output to Y010
Transfer of data that will be output from channels 1 to 4
*2
*1
*1
*1
FNC 79
TO
K0 K1
P
K0 H2200
FNC 79
TO
K38 K1
P
K0 H1122
FNC 79
TO
K41 K2
P
K0 K-3200
FNC 79
TO
K45 K2
P
K0 K28800
FNC 79
TO
K43 K2
P
K0 K6400
FNC 79
TO
K47 K2
P
K0 K25600
FNC 79
TO
K50 K1
P
K0 H0011
FNC 79
TO
K51 K2
P
K0 K5000
FNC 79
TO
K60 K1
P
K0 H0007
FNC 79
TO
K40 K1
P
K0 H0003
FNC 79
TO
K29 K1
P
K0 K0
FNC 79
TO
K28 K1
P
K0 K0
FNC 79
TO
K1 K4K0 D10
FNC 12
MOV
D201 K2Y000
FNC 12
MOV
D202 K4M20
FNC 12
MOV
D200 K4M0