Moxa M-1401 Instrukcja Obsługi Strona 117

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 116
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-80
RTD2K_GetEngUnit
This function code is used to get the engineering unit for a specific
RTD channel.
C/C++
Arguments
Return Value
int RTD2K_GetEngUnit ( int hConnection,
BYTE bytChannel,
WORD * wEngUnit );
hConnection: The handle for an I/O device connection.
bytChannel : The specific channel to be get.
wEngUnit: A pointer that stores the specific RTD
channel's engineering unit. The values for
normal channels are:
0=Celsius
1=Fahrenheit
2=Ohm
Others_: return Illegal Data Value
The values for virtual channels are:
0=Celsius
1=Fahrenheit
Others_: return Illegal Data Value
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
n Codes.
RTD2K_SetEngUnit
This function code is used to set the engineering unit for a specific
RTD channel.
C/C++
Arguments
Return Value
int RTD2K_SetEngUnit ( int hConnection,
BYTE bytChannel,
WORD wEngUnit);
hConnection: The handle for an I/O device connection.
bytChannel : The specific channel to be set.
wEngUnit: A pointer that stores the specific RTD
channel's engineering unit. The values for
normal channels are:
0=Celsius
1=Fahrenheit
2=Ohm
Others_: return Illegal Data Value
The values for virtual channels are:
0=Celsius
1=Fahrenheit
Others_: return Illegal Data Value
Succeed MXIO_OK.
Fail Refer to Return Codes.
Przeglądanie stron 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag