Impulse 463E User Manual

Page 63

Advertising
background image

© Sealevel Systems, Inc.

- 60 -

SeaI/O User Manual

(0x41) Read From Programmable I/O (PIO) Modules

The Read command is used differently for SeaI/O PIO modules. The data, model
number, and configuration are all returned with the state of the module. A sample
Read transaction packet is shown.

Request

Response

Field Name (Hex)

Field Name

(Hex)

Function

41

Function

41

Model (lower byte)

CE

Config

(channel

2)

3F

Config

(channel

1)

00

Data (Port A1)

AA

Data (Port B1)

55

Data (Port C1)

AA

Data (Port A2)

55

Data (Port B2)

AA

Data (Port C2)

55

Data (Port A3)

AA

Data (Port B3)

55

Data (Port C3)

AA

Data

(port

A4)

55

Data (port B4)

AA

Data (port C4)

55

Upon a successful Read operation, the SeaI/O module will respond with the
appropriate packet. In this example, the module queried is a SeaI/O-462. The higher
channel is set to all inputs and the lower channel is set to all outputs, with the data
read alternating with 0xAA and 0x55.

NOTE:

Appendix C covers the layout of PIO enabled module registers.


(0x42) Write To PIO Modules

The Write command for a Sealevel SeaI/O PIO module simply sends a request with
function code 0x42 followed by the 12 bytes of data to write. Upon a successful
Write operation, the response packet will be identical to the request.

NOTE:

Appendix C covers the layout of PIO enabled module registers.

Advertising