mycnc:timers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
mycnc:timers [2018/04/30 16:41] – skirillov | mycnc:timers [2018/04/30 19:41] – skirillov | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Each timer can be assigned to any output pin. | * Each timer can be assigned to any output pin. | ||
- | * Pulse time (in miliseconds) and Pause time (in miliseconds) can be setup for each timer | + | * Pulse time (in milliseconds) and Pause time (in milliseconds) can be setup for each timer |
* Timers can be enabled/ | * Timers can be enabled/ | ||
Line 16: | Line 16: | ||
^ Timer0 ^ ^ ^ | ^ Timer0 ^ ^ ^ | ||
| GVAR_TIMER0_ENABLED | 8100 | Writing " | | GVAR_TIMER0_ENABLED | 8100 | Writing " | ||
- | | GVAR_TIMER0_PORT | 8101 | Writig | + | | GVAR_TIMER0_PORT | 8101 | Writing |
- | | GVAR_TIMER0_PULSE | 8102 | A value written to this register is Timer 0 Pulse width in miliseconds | + | | GVAR_TIMER0_PULSE | 8102 | A value written to this register is Timer 0 Pulse width in milliseconds |
- | | GVAR_TIMER0_PAUSE | 8103 | A value written to this register is Timer 0 Pause in miliseconds | + | | GVAR_TIMER0_PAUSE | 8103 | A value written to this register is Timer 0 Pause in milliseconds |
^ Timer1 ^ ^ ^ | ^ Timer1 ^ ^ ^ | ||
| GVAR_TIMER1_ENABLED | 8104 | Writing " | | GVAR_TIMER1_ENABLED | 8104 | Writing " | ||
- | | GVAR_TIMER1_PORT | 8105 | Writig | + | | GVAR_TIMER1_PORT | 8105 | Writing |
- | | GVAR_TIMER1_PULSE | 8106 | A value written to this register is Timer 1 Pulse width in miliseconds | + | | GVAR_TIMER1_PULSE | 8106 | A value written to this register is Timer 1 Pulse width in milliseconds |
- | | GVAR_TIMER1_PAUSE | 8107 | A value written to this register is Timer 1 Pause in miliseconds | + | | GVAR_TIMER1_PAUSE | 8107 | A value written to this register is Timer 1 Pause in milliseconds |
^ Timer2 ^ ^ ^ | ^ Timer2 ^ ^ ^ | ||
| GVAR_TIMER2_ENABLED | 8108 | Writing " | | GVAR_TIMER2_ENABLED | 8108 | Writing " | ||
- | | GVAR_TIMER2_PORT | 8109 | Writig | + | | GVAR_TIMER2_PORT | 8109 | Writing |
- | | GVAR_TIMER2_PULSE | 8110 | A value written to this register is Timer 2 Pulse width in miliseconds | + | | GVAR_TIMER2_PULSE | 8110 | A value written to this register is Timer 2 Pulse width in milliseconds |
- | | GVAR_TIMER2_PAUSE | 8111 | A value written to this register is Timer 2 Pause in miliseconds | + | | GVAR_TIMER2_PAUSE | 8111 | A value written to this register is Timer 2 Pause in milliseconds |
^ Timer3 ^ ^ ^ | ^ Timer3 ^ ^ ^ | ||
| GVAR_TIMER3_ENABLED | 8112 | Writing " | | GVAR_TIMER3_ENABLED | 8112 | Writing " | ||
- | | GVAR_TIMER3_PORT | 8113 | Writig | + | | GVAR_TIMER3_PORT | 8113 | Writing |
- | | GVAR_TIMER3_PULSE | 8114 | A value written to this register is Timer 3 Pulse width in miliseconds | + | | GVAR_TIMER3_PULSE | 8114 | A value written to this register is Timer 3 Pulse width in milliseconds |
- | | GVAR_TIMER3_PAUSE | 8115 | A value written to this register is Timer 3 Pause in miliseconds | + | | GVAR_TIMER3_PAUSE | 8115 | A value written to this register is Timer 3 Pause in milliseconds |
==== How to use Timers in Hardware PLC ==== | ==== How to use Timers in Hardware PLC ==== | ||
- | Here is example | + | Here is an example |
M169 is Timer0 initialization and start | M169 is Timer0 initialization and start |
mycnc/timers.txt · Last modified: 2022/03/07 16:09 by ivan