IA-3178-U2i
28
www.intelligent-appliance.com
Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
!aa51dd – Set device mode Register #51 value
Description
This command changes relay operation mode and enables/disables WD2.
Note
One must set the device
value to ‘82’ to enable setting of device mode
register #51 value.
Make sure setting mode register #50 value to its normal setting when done.
Relay Single / Pair operation Layout
to better understand Relay operation options.
The relays may be operated as Single relay or as a Relay Pair.
Syntax
!aa51dd <CR>
!
Delimiter character
aa
Hexadecimal address of the device
51
System mode command
dd
Mode register #51
bit
Value
(dd)
Function
Relays –
Single/Pair
operation
4
10
1 16 Pairs
00
0 32 Single relays
Relays –
Crossing/Following
Orientation:
3
08
1 Crossing Pair (!aa5118)
00
0 Following Pair (!aa5110)
WD2 - Host communication watchdog:
2
04
1 Enabled
00
0 Disabled
<CR>
Carriage Return - End of command
Response
|dd EE OK if the command was valid
Example 1
Command: !005110<CR>
Response: |10 EE OK
This command will set 16 pairs of “Following Relay” operation.
Operation of pair #1, !00300<CR>, will activate relay #1 and #2.
Operation of pair #2, !00301<CR>, will activate relay #3 and #4.
Last pair is #16, !0030F<CR>, will activate relay #31 and #32.