5: F
UNCTIONS
AND
S
ETTINGS
5-46
FC6A S
ERIES
MICROS
MART
U
SER
’
S
M
ANUAL
FC9Y-B1722
Analog Potentiometer
This section describes the analog potentiometer that changes the analog value used in the user program without the use of an
external device.
Function Description
The analog potentiometer has a minimum value of 0 and a maximum value of 1,000. An analog value of 0 to 1,000 is acquired
according to the position of the analog potentiometer and without the use of any special external devices, and that value is stored
in a special data register.
Analog potentiometer value storage location
The analog potentiometer value is stored in a special data register (D8057: read-only) as a value between 0 and 1,000. This value
is updated with each scan.
Analog potentiometer status (D8059)
The analog potentiometer status code is stored in special data register D8059 (analog potentiometer status).
Analog Potentiometer Filter
The analog potentiometer data is averaged by the specified filter count. This can reduce rapid fluctuations in the analog
potentiometer.
The larger this value is set, the slower the tracking of the change in analog potentiometer becomes.
When filtering, the input value is calculated with the equation below.
Analog potentiometer data types
The range of analog potentiometer values that can be handled with the specified data types are as follows.
Status code
Details
Analog Potentiometer Value
0
Normal operation
Current analog potentiometer value
1
Converting data (occurs only once during the initial conversion when the power is
turned on)
Undefined
2
Initializing
0
3 to 65,535
Reserved
—
Count
Details
0
No filtering
1 to 255
The input value is set as the average value of n samples of analog potentiometer data. (n: Count)
Data type
Details
Binary data
0 to 1,000
Optional range
Minimum to maximum
(The minimum and maximum in a range between 0 to 1,000 where minimum
≤
maximum)
Analog Potentiometer
Analog potentiometer value after filtering =
Total analog potentiometer values for filter count (n) worth of scans
Filter count n
Содержание MICROSmart FC6A Series
Страница 1: ...B 1722 8 FC6A SERIES User s Manual...
Страница 12: ...TABLE OF CONTENTS Preface 11 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 182: ...2 PRODUCT SPECIFICATIONS 2 152 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 434: ...8 INSTRUCTIONS REFERENCE 8 18 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 520: ...11 SD MEMORY CARD 11 54 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 554: ...13 TROUBLESHOOTING 13 26 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 567: ...FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722 A 13 APPENDIX ASCII Character Code Table...