Horner-apg XL4 OCS Manual de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 122
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
MAN0964-01-EN CH.11
June 29, 2012 Page 57 of 122
11.6 PWM Examples
Example 1
To get a 50% Duty Cycle @ 10 kHz waveform on PWM1:
Set %AQ421-422 = 16,000 (duty cycle)
Set %AQ423-424 = 10,000 (frequency
Example 2
To get a 50% Duty Cycle on PW1 and 90 % Duty Cycle on PWM2 @ 1 kHz waveform:
Set %AQ421-422 = 16,000 (duty cycle)
Set %AQ423-424 = 1,000 (frequency
Set %AQ431-432 = 28,800 (duty cycle (32000 * 0.9))
Set %AQ433-434 = 1,000 (frequency
Example 3
To turn PWM 1 output ON all the time
Set %AQ421-422 = 32,000 (duty cycle)
Set %AQ423-424 = Any Value (frequency
Example 4
To turn PWM 1 output OFF all the time
Set %AQ421-422 = 0 (duty cycle)
Set %AQ423-424 = Any Value (frequency
11.7 STP Examples
Example 1
10,000,000 steps control sequence
The following example starts at 2.5 kHz and ramps up to 5 kHz during the first 1,000,000
steps. Then, it runs at 5 kHz for the next 8,000,000 steps. Finally during the last 1,000,000
steps it slows to a stop.
Set %AQ1 = 2500 (Hz) {Start Frequency}
Set %AQ2 = 5000 (Hz) {Run Frequency}
Set %AQ3-4 = 1000000 (Steps) {Accel Count}
Set %AQ5-6 = 8000000 (Steps) {Run Count}
Set %AQ7-8 = 1000000 (Steps) {Decel Count}
Example 2
5,000,000 steps control sequence
The following example starts at 0.5 kHz and ramps up to 1 kHz during the first 2,000,000
steps. Then, it runs at 1 kHz for the next 2,000,000 steps. Finally during the last 1,000,000
steps it slows to a stop.
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 121 122

Comentarios a estos manuales

Sin comentarios