Example Of Program Using Useful Functions - Mitsubishi Electric MELSEC-FX3S Series Manual

Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-4DA (4-channel Analog Output)
3U
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
1. Conditions
The sequence program described in this section is created under the following conditions.
1) System configuration
FX
-4DA (unit No.0) should be connected to the FX
3U
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.
Caution:
The status automatic transfer function is not supported when connected and used with the FX5U or
FX5UC CPU module.
4) Device assignment
Input
Output
PLC User's Manual - Analog Control Edition
Device
X000
Clearance of upper/lower limit function status data
X001
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
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
Data register at destination of automatic transfer of upper/lower limit
D201
function error status
Data register at destination of automatic transfer of disconnection detection
D202
error status
8 Examples of Practical Programs
8.2 Example of Program using Useful Functions
-4DA.
3U
Series PLC.
3U
Description
A
B
C
D
E
F
G
H
I
J
E-57

Advertisement

Table of Contents
loading

Table of Contents