Impulse 463E User Manual
Page 64

© Sealevel Systems, Inc.
- 61 -
SeaI/O User Manual
(0x43) Get PIO Config
The Get PIO Config command is used to retrieve the current status of the ports. The
SeaI/O module queried will respond with the model number and the port-by-port I/O
configuration. The module will not respond with any data contained in those ports;
use a Read command to retrieve that information. A sample transaction packet is
shown, below.
Request
Response
Field Name (Hex)
Field Name
(Hex)
Function
43
Function
43
Model (lower byte)
CE
Config
(channel
2)
3F
Config
(channel
1)
00
NOTE:
Appendix C covers the layout of PIO enabled module registers.
(0x44) Set PIO Config
The Set PIO Config command is used to set the I/O configuration of the ports on a
SeaI/O PIO module. The two most significant bits of each Config channel should be
set to “0”, while the lower six bits determine whether the port will be an input or
output. A bit value of “1” indicates an input and a bit value of “0” indicates an
output.
In this example, channel 2 is set to be all inputs (3F, 00111111), and channel 1 is set
to be all outputs (00, 00000000).
Request
Response
Field Name
(Hex)
Field Name
(Hex)
Function
44
Function
44
Config (channel 2)
3F
Config (channel 2)
3F
Config (channel 1)
00
Config (channel 1)
00
NOTE:
Appendix C covers the layout of PIO enabled module registers.