Mitsubishi Electronics MELSEC-F Home Theater Server User Manual


 
B-55
7 Examples of Practical Programs
7.2 Program That Uses Convenient 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-4AD/FX3UC-4AD (4-channel Analog Input)
7.2 Program That Uses Convenient Functions
This section describes a program that uses the 4AD convenient functions (BFM #22).
1. Conditions
The sequence program described in this section is created under the following conditions.
1) System configuration
The FX
3U-4AD (unit No.0) should be connected to the FX3U Series PLC.
2) Input mode
Channels 1 and 2 should be set to mode 0 (voltage input, -10V to +10V -32000 to +32000).
Channels 3 and 4 should be set to mode 3 (current input, 4mA to 20mA 0 to 16000).
3) Averaging time
For all the channels, the averaging time should be set to "1" (default).
(To use the default value, it is not necessary to set the averaging time in the sequence program.)
4) Digital filter function
For all channels, the digital filter function should be disabled (default).
(To use the default value, it is not necessary to set the digital filter function in the sequence program.)
5) Convenient functions
The upper/lower limit detection function, upper/lower limit error status data automatic transfer function,
over-scale status data automatic transfer function, and error status data automatic transfer function
should be used.
6) Device assignment
Device Description
Input
X000 Clearance of upper/lower limit error data
X001 Clearance of over-scale data
Output
Y000 Output of channel-1 lower limit error data
Y001 Output of channel-1 upper limit error data
Y002 Output of channel-2 lower limit error data
Y003 Output of channel-2 upper limit error data
Y004 Output of channel-3 lower limit error data
Y005 Output of channel-3 upper limit error data
Y006 Output of channel-4 lower limit error data
Y007 Output of channel-4 upper limit error data
Y010 Output of channel-1 over-scale (lower limit) data
Y011 Output of channel-1 over-scale (upper limit) data
Y012 Output of channel-2 over-scale (lower limit) data
Y013 Output of channel-2 over-scale (upper limit) data
Y014 Output of channel-3 over-scale (lower limit) data
Y015 Output of channel-3 over-scale (upper limit) data
Y016 Output of channel-4 over-scale (lower limit) data
Y017 Output of channel-4 over-scale (upper limit) data
Y20 Output of error detection signal
Y21 Output of setting error detection signal
D0 A/D converted digital value of channel 1
D1 A/D converted digital value of channel 2
D2 A/D converted digital value of channel 3
D3 A/D converted digital value of channel 4
D100 Upper/lower limit error status data automatic transfer-to data register
D101 Over-scale status data automatic transfer-to data register
D102 Error status data automatic transfer-to data register