6F3B0253
8. Special I/O Functions
Operation
Pulse enable
Frequency setting 100 | 1000 | 300 | |||
+ | 1KHz |
|
|
|
|
Frequency |
| 300Hz |
|
|
|
100Hz |
|
|
|
|
|
Pulse output
100Hz
300Hz
- | 1KHz |
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.
272