Moxa M-1401 Manuál Strana 54

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 129
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 53
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-17
Cnt2K_GetSafeValue
This function code is used to get the safe value of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetSafeValue ( int hConnection,
BYTE bytChannel,
BYTE * bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: A pointer to the safe value of the desired
channel. The values are:
0: OFF
1: ON
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_SetSafeValue
This function code is used to set the safe value of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetSafeValue ( int hConnection,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: Stored the safe value for the desired channel.
The values are:
0: OFF
1: ON
Succeed MXIO_OK.
Fail
Refer
t
o
Ret
ur
n
ode
s
.
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 128 129

Komentáře k této Příručce

Žádné komentáře