SeaIO 462



SM_Open()

Open the Module

SM_ConfigureSerialConnection()

Configures the local PC's serial port baudrate and parity (for serial SeaI/O modules only).

SM_SelectDevice()

Target a particular Modbus Slave ID

SM_SetSoftwareAddress()

Configures a SeaI/O module's software selectable Modbus slave ID (only with rotary switch set to zero).

SM_SetCommunications()

Configures a SeaI/O module's listening baudrate and parity.

SM_GetDeviceConfig()

Query the SeaI/O module for model and communications info

SM_Close()

Close the SeaMAX handle

SM_GetPIODirection() & SM_SetPIODirection()

Control the IO direction (input vs. output)

SM_GetPIOPresets() & SM_SetPIOPresets()

Control the power-on defaults for banks directed as outputs

SM_ReadPIO() & SM_WritePIO()

Read and write the entire 96-bit IO space

SM_ReadDigitalOutputs()

Read only the digital outputs. Uses absolute addressing. Usable with 1 or 8 outputs only. Must start at a multiple of 8 when reading 8 outputs. (ie. 16-23)

SM_WriteDigitalOutputs()

Write only the digital outputs. Uses absolute addressing. Usable with 1 or 8 outputs only. Must start at a multiple of 8 when writing 8 outputs. (ie. 16-23)

SM_ReadDigitalInputs()
Read only the digital inputs. Uses absolute addressing. Usable with 1 or 8 inputs only. Must start at a multiple of 8 when reading 8 inputs. (ie. 16-23)
 
 
Generated on Mon Oct 3 2022.