Axis AXIS USB Manual de instrucciones Pagina 66

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 65
62 HyTechWorks©2013 – V3.1
hUsb the handle of the HyCNC interface.
coordinate pointer to 4 element coordinate array that used to modify the
coordinate counters.
mode pointer to 4 element mode array that defines the mode for coordinate
counter modifications. 0 relative mode the coordinate value is added to
current coordinate counter. 1 absolute mode - the coordinate value is set to
current coordinate counter.
If the function succeeds, the return value is true. Otherwise, it returns false.
Other Controls
BOOL HyCNC_SetSwitch(HANDLE hUsb, unsigned int val)
HyCNC_SetSwitch sets relay output on/off.
hUsb the handle of the HyCNC interface.
val output level. Bit 0 OUT1. Bit 1 OUT2.
If the function succeeds, the return value is true. Otherwise, it returns false.
BOOL HyCNC_SetSpindle0(HANDLE hUsb, unsigned short period, unsigned short
prescale)
HyCNC_SetSpindle0 sets base frequency for PWM1 and PWM2.
hUsb the handle of the HyCNC interface.

Freq =
72000000
period · prescale
BOOL HyCNC_SetSpindle1(HANDLE hUsb, unsigned short duty)
HyCNC_SetSpindle1 sets PWM1s duty cycle.
hUsb the handle of the HyCNC interface.
Duty Cycle =
duty
period
BOOL HyCNC_SetSpindle2(HANDLE hUsb, unsigned short duty)
Vista de pagina 65
1 2 ... 61 62 63 64 65 66 67 68

Comentarios a estos manuales

Sin comentarios