C-17
4 Programming
4.5 Number of Averaging Time
FX
3U
/FX
3UC
Series PLC User's Manual - Analog Control Edition
FX3U-4AD-ADP (4-channel analog Input)
A
Common Items
B
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3U
-4DA-ADP
E
FX
3U
-4AD-PT
-ADP
F
FX
3U
-4AD-TC
-ADP
G
PID Instruction
(FNC 88)
4.5 Number of Averaging Time
Setting range: 1 to 4095
Initial value: K0
Numeric data type: Decimal (K)
If the number of averaging time is set for 4AD-ADP, the average data will be stored as the input data. The
number of averaging time can be set for each channel.
Set the number of averaging time in the following special data registers:
1. Cautions regarding number of averaging time setting
• If the number of averaging time is set to "1", the current data is stored to the special data register.
• If the number of averaging time is set in the range from 2 to 4095, the average value will be calculated to
conform to the set number of averaging time, and the obtained average value will be stored in the special
data register.
• After turning the PLC power on, the current data is stored to special data registers until the number of data
items reaches the set number of averaging time. After this, the average data will be stored.
• Set the number of averaging time in the range from 1 to 4095. If the set value is outside the setting range,
an error signal will be output.
→ For a detailed description of the error, refer to Section 6.5
2. Example of program
Special data register
Description
1st 2nd 3rd 4th
D8264 D8274 D8284 D8294 Number of averaging time for channel-1 data
D8265 D8275 D8285 D8295 Number of averaging time for channel-2 data
D8266 D8276 D8286 D8296 Number of averaging time for channel-3 data
D8267 D8277 D8287 D8297 Number of averaging time for channel-4 data
M8000
Normally
ON
FNC 12
MOV
K1 D8264
FNC 12
MOV
K5 D8265
Sets the number of averaging
time for channel-1 of the 1st
analog special adapter to 1.
Sets the number of averaging
time for channel-2 of the 1st
analog special adapter to 5.