Download Control Microsystems SCADAPack2 C/C++ Tools

Transcript
ioReadDin8
Read Data From 8-point Digital Input Module
Syntax
#include <ctools.h>
BOOLEAN ioReadDin8(UINT16 moduleAddress, UCHAR & data)
Description
This function reads buffered data from the 8 point digital input module at the specified
module address. Buffered data are updated when an I/O request for the module is
processed.
The function has two parameters: the module address, and a reference to an UCHAR
variable. If the moduleAddress is valid, digital input data are copied to the variable. The
valid range for moduleAddress is 0 to 15.
The function returns FALSE if the module address is invalid; otherwise TRUE is returned.
2
SCADAPack C++ Tools User Manual
265