Mitsubishi Electronics MELSEC-F Manuel D’Utilisation

Page de 504
E-57
8 Examples of Practical Programs
8.2 Example of Program using Useful Functions
A
Comm
on I
te
ms
B
FX
3U
-4AD
FX
3UC
-4
A
D
C
FX
3U
-4A
D
-A
D
P
D
FX
3G
-2A
D
-BD
E
FX
3U
-4DA
F
FX
3U
-4D
A
-AD
P
G
FX
3G
-1D
A
-BD
H
FX
3U
-3
A-
ADP
I
FX
3U
-4
A
D
-P
T
       
         
   -
A
D
P
J
FX
3U
-4A
D
-P
TW
     
        
      -
A
D
P
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3U
-4DA (4-channel Analog Output)
8.2
Example of Program using Useful Functions
This section describes a practical program that uses the disconnection detection function (BFM #28), upper/
lower limit function (BFM #38 to #48), corrective function by load resistance (BFM #50 to #54) and status
automatic transfer function (BFM #60 to #63) of FX
3U
-4DA.
1. Conditions
The sequence program described in this section is created under the following conditions.
1) System configuration
FX
3U
-4DA (unit No.0) should be connected to the FX
3U
 Series PLC.
2) Output mode
Channels 1 and 2 should be set to mode 0 (voltage output, -10 V to +10 V).
Channels 3 and 4 should be set to mode 2 (current output, 0 mA to 20 mA).
3) Convenient functions
The disconnection detection function, upper/lower limit function, corrective function by load resistance
and status automatic transfer function are used.
4) Device assignment
Device
Description
Input
X000
Clearance of upper/lower limit function status data
X001
Clearance of error status data
X002
Clearance of disconnection detection status data
D10
Data to be output from channel 1
D11
Data to be output from channel 2
D12
Data to be output from channel 3
D13
Data to be output from channel 4
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 disconnection detection signal
Y011
Output of error detection signal
D200
Data register at destination of automatic transfer of error status
D201
Data register at destination of automatic transfer of upper/lower limit
function error status
D202
Data register at destination of automatic transfer of disconnection detection
error status