Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manual de usuario Pagina 88

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 87
Publication 2098-PM001E-EN-P — July 2002
2-48 Referencing the Motion Library
Analog Output Attributes
long AnalogOutputSetVoltage(long channel, float voltage);
Sets the voltage output value for the auxiliary analog channel
specified by the channel argument.
Valid channel arguments are:
1 = Auxiliary analog output channel 1
2 = Auxiliary analog output channel 2
Returns 0 if successful, or -1 on an error.
Digital Input Status
long InputGetAll(void);
Returns the state of all digital inputs.
The return value is bitmapped as follows:
Bit Input Description
0 – 15 IN1 – IN16 Digital inputs 1-16
16 IX Auxiliary encoder index
17 BX Auxiliary encoder channel B
18 AX Auxiliary encoder channel A
19 – 21 S1 – S3 Motor hall inputs 1-3
22 IM Motor encoder index
23 BM Motor encoder channel B
24 AM Motor encoder channel A
25 TS Motor thermostat input
26 NEG_OT Motor negative overtravel input
27 POS_OT Motor positive overtravel input
28 – 31 Reserved
Vista de pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 113 114

Comentarios a estos manuales

Sin comentarios