
6F3B0253
8.Special I/O Functions
8.5Analog setting function
Function
The value of the analog setting adjuster is converted into a digital value (0 to 1000) and stored in the SW register. 2 adjusters are provided. (V0 and V1)
The SW register data can be used as timer presets or any parameters for function instructions.
Related registers
Function | Register | Remarks |
| |
Adjuster V0 | SW30 | Data range: 0 to 1000 |
| |
Adjuster V1 | SW31 |
|
|
|
Operation |
|
|
|
|
Decrease | Increase | Decrease | Increase |
V0 | V1 |
SW30 (0 to 1000) | SW31 (0 to 1000) |
Sample program
The above example is a simple flicker circuit of Y020. In this example, the ON/OFF interval of Y020 can be controlled by the adjuster V0.
270