beautypg.com

Special i/o functions – Toshiba 6F3B0253 User Manual

Page 272

background image

6F3B0253

270

T1-16S User’s Manual

8. Special I/O Functions

8.5 Analog 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

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.

Decrease

Increase

Decrease

Increase