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. 
- 82 - 
SeaI/O User Manual 
Example SeaMAX Programming Tasks 
The following is a sampling of the various tasks that can be performed with the 
SeaMAX library. For more complete examples, see the provided Visual C++ and 
Visual Basic examples installed with the SeaMAX libraries. 
NOTE: 
The SeaMAX installation places all these examples in the SeaMAX 
installation folder. Refer to those examples for more complete and 
in-depth information. 
Opening/Closing a SeaI/O Module 
Whether in C++ or Visual Basic, the process of accessing the SeaMAX libraries 
begins with the creation of a SeaMAX object. After creating the SeaMAX object, 
Open() can be called with a string argument indicating where the resource exists – 
either as COM resource or as a TCP/IP resource. 
The following is an example of how to open a COM based SeaI/O module with an 
RS-232 bridge, USB bridge, or direct RS-485 connection. 
CSeaMaxW32 cw32; 
char *portString = “sealevel_rtu://COM6”; 
int result = cw32.Open(portString);
For a TCP/IP connection to a SeaI/O module with a Ethernet bridge, the example port 
string below is valid. The code below is an example of how to open a TCP/IP 
enabled SeaI/O module in Visual Basic. 
dim seaMaxPointer as Long 
dim portString as String 
portString = “sealevel_tcp://10.0.0.1” 
seaMaxPointer = SeaMaxW32Create() 
returnValue = SeaMaxW32Open(seaMaxPointer, portString)










