Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Instrukcja Użytkownika Strona 362

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 361
Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01
25-8 Revised March, 2012
25.7 _DMC_01_get_rm_output_value_error_handle
FORMAT
I16 PASCAL _DMC_01_get_rm_output_value_error_handle (U16 CardNo, U16 NodeID,
U16 SlotID,U16 port,U16* value)
Purpose
Retrieves output value of the remote I/O module and determines whether to retain or discard
the value if an error occurs.
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* Selection
Get value. If value is
0: When an error occurs, the error output value
will be reset to 0
1: When an error occurs, retain the value until
system is powered off
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Port=0;
U16 Value=0;
I16 status = _DMC_01_get_rm_output_value_error_handle(CardNo, NodeID, SlotID, port,
&Value);
Przeglądanie stron 361
1 2 ... 357 358 359 360 361 362 363 364 365 366 367 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag