Mitsubishi Electronics MELSEC-F Manuel D’Utilisation

Page de 504
I-20
4 Programming
4.5 Averaging Time
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3U
-4AD-PT-ADP (4-channel Platinum Resistance Thermometer Data Input)
4.5
Averaging Time
Setting range: 1 to 4095
Initial value: K1
Numeric data type: Decimal (K)
If the averaging time is set for the PT-ADP, the averaged temperature measurement data will be stored in the
D8260 to D8263, D8270 to D8273, D8280 to D8283, and D8290 to D8293. The averaging time can be set for
each channel.
Set the averaging time in the following special data registers:
• FX
3U
, FX
3UC
 Series PLC
• FX
3G
 Series PLC
1. Cautions regarding averaging time setting
• If the averaging time is set to "1", the immediate data will be stored in the temperature measurement 
special data register.
• If the averaging time is set to "2" or more, the average value will be calculated in accordance with the set 
averaging time, and the average value obtained will be stored in the temperature measurement special 
data register.
• After turning the PLC power on, the average data will be stored in the temperature measurement special 
data registers (D8260 to D8263, D8270 to D8273, D8280 to D8283, and D8290 to D8293) until the number 
of data items is increased to the set averaging time.
• Set the averaging time in the range from 1 to 4095. If the set value is outside the setting range, the error 
signal will be output.
• If the averaging time is set to "0" or smaller, the PLC will perform as if the averaging time is set to "1".
If the averaging time is set to "4096" or larger, the PLC will perform as if the averaging time is set to "4096".
→ For a detailed description of error status, refer to Section 5.5
2. Program Example (For FX
3U
, FX
3UC
 Series PLC)
Special data register
Description
1st
2nd
3rd
4th
D8264
D8274
D8284
D8294
Averaging time for channel-1 data
D8265
D8275
D8285
D8295
Averaging time for channel-2 data
D8266
D8276
D8286
D8296
Averaging time for channel-3 data
D8267
D8277
D8287
D8297
Averaging time for channel-4 data
Special data register
Description
1st
2nd
D8284
D8294
Averaging time for channel-1 data
D8285
D8295
Averaging time for channel-2 data
D8286
D8296
Averaging time for channel-3 data
D8287
D8297
Averaging time for channel-4 data
M8000
Normally
ON
FNC 12
MOV
K1
D8264
FNC 12
MOV
K5
D8265
Sets the averaging time to "1" for the channel-1
data of the 1st analog special adapter.
Sets the averaging time to "5" for the channel-2
data of the 1st analog special adapter.