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. 
- 83 - 
SeaI/O User Manual 
Reading From Inputs / Outputs 
In order to read from the inputs or outputs, the SeaIO module must first be opened 
successfully. The VC++ example below shows how to read in four inputs, starting at 
input 3 and continuing until input 6. In this case, since we are not reading in a full 8 
bits, the data will be present in the lowest order bits of the data array. 
unsigned char data[1] = {0}; 
int slaveId = 247 
int type = D_INPUTS; 
int start = 3; 
int range = 4; 
result = cw32.Read(slaveId, type, start, range, data); 
Reading in inputs within Visual Basic is similar; D_INPUTS is the read type required 
for either language to access the inputs. The example below shows how it can be 
done through VB. If the current status of the outputs is required, a read can be 
performed using the COILS type. 
dim slaveId, startLoc, range as Integer 
dim recvData(2) as Byte 
slaveId = 247 
startLoc = 1 
range = 16 
returnValue = SeaMaxW32Read(seaMaxPointer, slaveId, D_INPUTS, _ 
 startLoc, range, recvData(0)) 
Writing to Outputs 
Writing outputs is similar to reading inputs, with the single exception that 
Write or SeaMaxW32Write is called instead of Read. The two examples 
below show how to write to digital outputs using Write and 
SeaMaxW32Write in Visual C++ and Visual Basic, respectively. 
result = cw32.Write(slaveId, COILS, start, range, data); 
returnValue = SeaMaxW32Write(seaMaxPointer, slaveId, COILS, startLoc, 
range, sendData(0)) 










