Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manual de usuario Pagina 356

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 355
Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01
25-2 Revised March, 2012
25.1 _DMC_01_get_rm_input_value
FORMAT
I16 PASCAL _DMC_01_get_rm_input_value(U16 CardNo, U16 NodeID,U16 SlotID,
U16 port,U16 *value)
Purpose
Retrieves the value for bit 0 to bit 15 of the remote I/O module's input port.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
Port U16 Selection
0: Port 0
1: Port 1
2: Port 2
3: Port 3
Value U16* Number Received data
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Port=0;
U16 Value;
/* Data received by Port 0 of Remote digital input module */
I16 status = _DMC_01_get_rm_input_value(CardNo, NodeID, SlotID, Port, &Value);
Vista de pagina 355
1 2 ... 351 352 353 354 355 356 357 358 359 360 361 ... 527 528

Comentarios a estos manuales

Sin comentarios