beautypg.com

Special i/o functions – Toshiba 6F3B0253 User Manual

Page 274

background image

6F3B0253

272

T1-16S User’s Manual

8. Special I/O Functions

Operation

Pulse enable

Frequency setting

+

Frequency

Pulse output

-

Sample program

In this example, 3 (H0003) is set in SW26. As a result, the CW/CCW mode pulse
output function is selected.
When R000 is ON, the pulse output is started with the frequency designated by
D0100.
If an invalid frequency is designated, the frequency setting error flag (S26F) comes
ON and the pulse enable flag (S270) is turned OFF. Then the pulse output is stopped.

-300

-1000

300

1000

100

-100

1KHz

300Hz

100Hz

300Hz

100Hz

1KHz