Program That Uses Data History Function - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-4AD/FX
-4AD (4-channel Analog Input)
3U
3UC
7.3

Program That Uses Data History Function

This section describes a program that uses the data history function of the 4AD.
1. Conditions
The sequence program described in this section is created under the following functions.
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) Data history function
For all channels, the data sampling time should be set to 100 ms.
The sampling cycle should be 100 ms × 4 (number of selected channels) = 400 ms.
For all channels, data will be sampled 100 times, and the sampled data will be stored as data history in
the data registers.
6) Device assignment
Input
Data register
PLC User's Manual - Analog Control Edition
Device
X000
Clearance of data history
X001
Temporarily stoppage of data history
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 to D199
Channel-1 data history(100 data samples)
D200 to D299
Channel-2 data history(100 data samples)
D300 to D399
Channel-3 data history(100 data samples)
D400 to D499
Channel-4 data history(100 data samples)
7 Examples of Practical Programs
7.3 Program That Uses Data History Function
Series PLC.
3U
Description
A
B
C
D
E
F
G
H
I
J
B-57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents