Program That Uses Convenient Functions - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
FX
-4AD/FX
-4AD (4-channel Analog Input)
3U
3UC
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
-4AD (unit No.0) should be connected to the FX
3U
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.
Caution:
The upper/lower limit error status data automatic transfer function, the over-scale status data automatic
transfer function, and the error status data automatic transfer function are not supported when connected
and used with the FX5U or FX5UC CPU module.
6) Device assignment
Input
Output
B-54
PLC User's Manual - Analog Control Edition
3UC
Device
X000
Clearance of upper/lower limit error data
X001
Clearance of over-scale data
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
Y020
Output of error detection signal
Y021
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
7 Examples of Practical Programs
7.2 Program That Uses Convenient Functions
Series PLC.
3U
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents