Moxa M-1401 Handbuch Seite 58

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 57
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-21
DO_GetSafeValue
This function code is used to get the safe value for a specific D/O
channel.
C/C++
Arguments
Return Value
int DO_GetSafeValue ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
BYTE bytValue);
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.
bytValue: Stores the safe value of the desired D/O channel.
1 represents ON, 0 represents OFF.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
DO_SetSafeValue
This function code is used to set the safe value for a specific D/O
channel.
C/C++
Arguments
Return Value
int DO_SetSafeValue ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
BYTE bytValue);
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.
bytValue: Stores the safe value of the desired channel. 1
represents ON, 0 represents OFF.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Seitenansicht 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare