Moxa M-1401 Handbuch Seite 66

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 65
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-29
DO4K_SetSafeAction
This function code is used to set the safe action for a specific
channel.
C/C++
Arguments
Return Value
int DO4K_GetSafeAction ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
WORD wAction);
hConnection: The handle for an I/O connection. bytSlot:
Slot number of the I/O module, from 1 to 32.
bytChannel: The desired channel.
wAction: Stores the safe action for the desired D/O
channel. The values are:
0: Safe Value
1: Hold last state
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse Output Commands for ioLogik E2000, R2000
Pulse2K_GetSignalWidths
This function code is used to get the Hi/Lo signal widths of
contiguous pulse output channels.
C/C++
Arguments
Return Value
int Pulse2K_GetSignalWidths ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wHiWidth[ ],
WORD wLoWidth[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wHiWidth: An array that stores the Hi signal widths
of the contiguous pulse output channels;
wHiWidth[0] represents the Hi signal
width of the starting channel.
wLoWidth: An array that stores the Lo signal widths
of the contiguous pulse output channels;
wLoWidth[0] represents the Lo signal
width of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Seitenansicht 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare