Analog Potentiometer - IDEC MICROSmart FC6A Series User Manual

Windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

5: F
S
UNCTIONS AND
ETTINGS

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).
Status code
0
Normal operation
Converting data (occurs only once during the initial conversion when the power is
1
turned on)
2
Initializing
3 to 65,535
Reserved
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.
Count
0
1 to 255
When filtering, the input value is calculated with the equation below.
Analog potentiometer value after filtering =
Analog potentiometer data types
The range of analog potentiometer values that can be handled with the specified data types are as follows.
Data type
Binary data
Optional range
5-46
Analog Potentiometer
No filtering
The input value is set as the average value of n samples of analog potentiometer data. (n: Count)
Total analog potentiometer values for filter count (n) worth of scans
0 to 1,000
Minimum to maximum
(The minimum and maximum in a range between 0 to 1,000 where minimum ≤ maximum)
FC6A S
MICROS
ERIES
Details
Details
Filter count n
Details
U
'
M
FC9Y-B1722
MART
SER
S
ANUAL
Analog Potentiometer Value
Current analog potentiometer value
Undefined
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents