Download MELSEC-L Multiple Input (Voltage/Current

Transcript
Appendix 2
Details of Buffer Memory Addresses
(1) CH1 Time Average/Count Average/Moving Average (Un\G1 to Un\G4)
Set average time, an average count, and moving average by channel where the averaging process setting is
enabled.
• The following table lists the setting range.
Processing method
Setting range
*1
Time average
8 to 18000
Count average
4 to 36000 (times)*2
Moving average
2 to 1000 (times)
*1
*2
Set the time average in increments of 100ms (800 to 1800000ms). To set the time average of 1000ms, set 10.
When a program is used to set 32768 to 36000 (times), set the value in hexadecimal. To set 36000 (times), set 8CA0H.
• When a value outside the above range is written, an error occurs on the corresponding channel. The
corresponding error code is stored in Latest error code (Un\G19), Error flag (XF) turns on, and conversion
processing is performed using the previous setting.
• On a channel where Averaging process setting (Un\G24) has been set to Sampling processing (0), any
setting for this area is ignored.
(a) Enabling the setting
Turn on and off Operating condition setting request (Y9) to enable the setting.
(b) Default value
All channels are set to 0.
The default value is 0. Change the value according to the processing method.
(2) Conversion completed flag (Un\G10)
The conversion status can be checked.
b15 b14 b13 b12 b11 b10 b9
0
0
0
0
0
0
0
b8
b7
b6
b5
b4
0
0
0
0
0 CH4 CH3 CH2 CH1
b4 to b15 are fixed to 0.
b3
b2
b1
b0
0: Converting or unused
1: Conversion completed
(a) Conversion completion
When the first conversion is completed in the channel where the conversion is enabled, the flag turns to
Conversion completed (1).
Conversion completed flag (XE) turns on when the conversion of all the channels where the conversion is
enabled is completed.
Turning on and off Operating condition setting request (Y9) turns the flag back to its default "Converting or
unused (0)", and when the first conversion is complete, the flag turns to Conversion completed (1).
140