IA-3178-U2i
18
www.intelligent-appliance.com
Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
?aa2 – Get Inputs and Outputs status
Description
Read digital inputs an relays present status
Syntax
?aa2<CR>
?
Delimiter character
aa
Hexadecimal address of the device
2
Read I/O status
<CR> Carriage Return - End of command
This relay controller may by operated in two different methods:
1.
Normal
2.
Relay pairs
Register #51 bit 4= ‘0’
Register #51 bit 4= ’1’
32 Relays
16 Relay pairs.
Response
Normal: _dddddddd<CR>
Relay pairs: _dddd<CR>
Examples
Command: ?002<CR>
Response:
Normal response:
_10000002<CR>
Relay #29 and #2 are activated
Relay pairs – “Follow” response:
_1002<CR>
Relay #25, #26 and #3, #4 are activated
Relay pairs – “Cross” response:
_1002<CR>
Relay #13, #20 and #2, #31 are activated
Note
!