Owner's manual
Table Of Contents
- Table of Contents
- Introduction
- SeaI/O Hardware Description
- SeaI/O Base and Expansion Modules
- SeaI/O Module Common Features
- SeaI/O Configurations & Specifications
- 410 Series – 16 Optically Isolated Inputs/16 Reed Relay Outputs
- 420 Series – 16 Optically Isolated Inputs/8 Form C Outputs
- 430 Series – 32 Optically Isolated Inputs
- 440 Series – 32 Reed Relay Outputs
- 450 Series – 16 Form C Relay Outputs
- 462 Series – 96 Channel TTL DB-78
- 463 Series – 96 Channel TTL 50-Pin
- 470 Series – 16 A/D, 2 D/A, 8 24V Outputs, 8 Isolated Inputs
- 520 Series – 8 Optically Isolated Inputs/8 High-Current Form C Outputs
- Power Options
- Hardware Configuration
- Wiring Options
- Mounting Options
- Accessories
- SeaMAX Application Suite
- SeaI/O Architecture
- Device Address Configuration
- Configuring the “Base” SeaI/O Module
- Configuring N-Series Expansion Modules
- Configuring an Ethernet Module (E-Series)
- MaxSSD Configuration & Diagnostics Utility
- Communicating Via Modbus
- Extended Modbus Command Set
- Developing Custom Applications Using SeaMAX API
- SeaMAX API
- Non Object-Oriented SeaMAX API
- IOCTL Calls and Functionality
- Using SeaMAX with Visual C++ 6.0
- Using SeaMAX with Visual Basic 6.0
- Example SeaMAX Programming Tasks
- CEthernet API
- Appendix A – Data Encoding Tables
- Appendix B – CRC Calculation
- Appendix C – SeaIO Model 462/463 Holding Register Set
- Appendix D – SeaMAX Data Types and Structures
- Appendix E – Troubleshooting
- Appendix F – How To Get Assistance
- Appendix G – Compliance Notices
- Warranty

© Sealevel Systems, Inc.
- 85 -
SeaI/O User Manual
Reading from Analog Inputs
In order to read from an A/D channel, SeaMAX requires that an input register read
occurs – much like a discreet input read is required to read the digital input. It’s
important to note that a read of input register type requires that there be 2 bytes of
available space allocated for each register being read. The example below
exemplifies an input register read from within Visual C++.
result = cw32.Read(slaveId, INPUTREG, start, range, ad_input);
Following is an example of an input register read performed within a Visual Basic
application.
returnValue = SeaMaxW32Read(seaMaxPointer, slaveId, INPUTREG, startLoc,
range, recvData(0))
The data returned by the Read function is only a binary value. In order to translate
the data into a meaningful unit such as Volts or milliamps, refer to the example
documentation provided within the SeaMAX installation.
Writing to Analog Outputs
Similar to reading from an A/D channel, writing to an analog output occurs by
issuing a holding register write. Holding registers are two bytes wide and require that
the data be available in Big Endian format.
result = cw32.Write(slaveId, HOLDINGREG, start, range, da_output);
The following example shows how to write to a holding register within Visual Basic.
returnValue = SeaMaxW32Write(seaMaxPointer, slaveId, HOLDINGREG,
startLoc, range, sendData(0))
Similar to reading A/D values, in order to convert a desired Voltage value into the
appropriate Write data, consult the examples installed with the SeaMAX installation.










