Moxa M-1401 Manuel Page 79

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 129
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 78
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-42
Pulse2K_SetSafeValue
This function code is used to set the safe value for a specific pulse
channel.
C/C++
Arguments
Return Value
int Pulse2K_SetSafeValue ( int hConnection,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: Stores the specific pulse channel’s power on
value. The values are:
0: stop
1: start
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Analog Input Commands
AI_Reads
This function code is used to read the values of contiguous analog
input channels.
C/C++
Arguments
Return Value
int AI_Reads ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
double dValue[ ]);
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 read.
dValue: An array that stores the values of the
contiguous A/I channels; dValue[0] represents
the value of the starting channel. The unit is
Vdc for the voltage module, and mA for the
current module.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Vue de la page 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 128 129

Commentaires sur ces manuels

Pas de commentaire