Moxa M-1401 Instrukcja Obsługi Strona 94

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 93
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-57
AO_SetSafeRaws
This function code is used to set safe values for contiguous A/O
channels in raw data format.
C/C++
Arguments
Return Value
int AO_GetSafeRaws ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to write.
wValue: An array that stores safe values in raw data
format for the contiguous A/O channels.
wValue[0] represents the value of the starting
analog output channel.
Succeed MXIO_OK.
Fail R
e
f
e
r
t
o
R
et
ur
n
ode
s
.
AO_GetSafeRaw
This function code is used to get the safe value for a specific A/O
channel in raw data format.
C/C++
Arguments
Return Value
int AO_GetSafeRaw ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytChannel: The desired channel.
wValue: A pointer to the safe value for the desired
channel in raw data format.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Przeglądanie stron 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag