Object-Oriented SeaMAX 2.x Interface

Functions

SM_HANDLE CSeaMaxW32::GetSeaMAXVersion3Handle ()
 Returns a SeaMAX Version 3.x compatable handle for use with non-deprecated (newer) SM functions. More...
 
int CSeaMaxW32::Read (slave_address_t slaveId, seaio_type_t type, address_loc_t address, address_range_t range, void *values)
 Performs a Modbus read on an opened SeaI/O module and returns the data by reference. More...
 
int CSeaMaxW32::Write (slave_address_t slaveId, seaio_type_t type, address_loc_t address, address_range_t range, unsigned char *data)
 Performs a Modbus write on an opened SeaI/O module and returns the data by reference. More...
 
int CSeaMaxW32::Open (char *file)
 Opens the specified resource. More...
 
int CSeaMaxW32::Close ()
 Closes a previously opened SeaI/O module resource. More...
 
HANDLE CSeaMaxW32::getCommHandle (void)
 Returns the HANDLE type data used by SeaMAX as the communications resource. More...
 
int CSeaMaxW32::Ioctl (slave_address_t, IOCTL_t, void *)
 Multi-function tool to configure and access non-standard Modbus features of the SeaI/O module. More...
 
int CSeaMaxW32::set_intermessage_delay (int new_delay_time)
 Sets the intermessage delay time. More...
 

Detailed Description

A deprecated version of the SeaMAX 2 interface has been provided for backwards compatability.

Warning
These functions should not be used in new projects, as they scheduled for removal from future versions of the SeaMAX API. They have been added for backward support only.
 
 
Generated on Mon Nov 26 2018.