Intelligent Appliance IA-3178-U2i User manual

User Manual
Version 0616
www.intelligent-appliance.com
IA-3178-U2i
32-ch SPDT Power Relay
Single or Pair Operation
USB or RS-232 Controlled

IA-3178-U2i
2
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Copyright
Copyright © 1985-2016 Intelligent Appliance Ltd. All rights reserved.
The information in this user manual is subject to change without notice.
Microsoft, Windows and Hyper-Terminal are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries.
Service & Support
To provide customers with easy to use and 24/7 technical support. Intelligent-Appliance
delivers services via the internet. The dedicated website offers large knowledgebase database
that include full information for Development Engineers, Installers in the field and for Software
Engineers. This KNOWLEDGE BASE Include: Data sheets, User Manuals, FAQ, Wiring Diagram,
Selector Guide and Software section.
Feedback
We at Intelligent-Appliance highly value your opinion. Please feel free to contact us with
your impression on any subject, or with any question or comment you may have.
Contact
Telephone: +972-9-8333-022
Fax: +972-9-8332-965
Website: www.intelligent-appliance.com

IA-3178-U2i
3
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
INTRODUCTION ..................................................................................................................................................... 4
FEATURES .....................................................................................................................................................................4
SPECIFICATIONS .............................................................................................................................................................5
ORDERING INFORMATION ................................................................................................................................................6
INSTALLATION ....................................................................................................................................................... 7
SYSTEM WIRING ............................................................................................................................................................7
Pin Assignment .....................................................................................................................................................8
User Defined Jumpers & Led.................................................................................................................................8
Relay Pinout ..........................................................................................................................................................9
Relay Single / Pair operation Layout...................................................................................................................10
Isolated Line Monitor Input ................................................................................................................................11
SOFTWARE INSTALLATION ..............................................................................................................................................12
USB Port setup ....................................................................................................................................................12
Locating the new COM port................................................................................................................................12
IA-3000 Utility .....................................................................................................................................................13
COMMAND SET.................................................................................................................................................... 15
?AA0–GET DEVICE NAME .............................................................................................................................................16
?AA1–GET DEVICE FIRMWARE VERSION ..........................................................................................................................17
?AA2–GET INPUTS AND OUTPUTS STATUS.......................................................................................................................18
?AA50 –GET DEVICE MODE (REGISTER #50)....................................................................................................................19
?AA51 –GET DEVICE MODE (REGISTER #51)....................................................................................................................20
?AAID –GET MODULE’S ID NUMBER ...............................................................................................................................21
?AAS–GET USER JUMPER,USER LED AND VOLTAGE MONITOR STATUS .................................................................................22
?AAWDT –GET WD2 COUNT-DOWN VALUE ...................................................................................................................23
!AA2DDDDDDDD –SET RELAYS STATUS.............................................................................................................................24
!AA3DD –ACTIVATE RELAY N .........................................................................................................................................25
!AA4DD –DE ACTIVATE RELAY N.....................................................................................................................................26
!AA50DD –SET DEVICE MODE REGISTER #50 VALUE...........................................................................................................27
!AA51DD –SET DEVICE MODE REGISTER #51 VALUE...........................................................................................................28
!AA6DD –SET BAUD RATE..............................................................................................................................................30
!AA7DD –SET MODULE’S ADDRESS..................................................................................................................................31
!AABNDD –SET RELAYS STATUS @BYTE LEVEL .................................................................................................................32
!AAE–SET THE RELAYS TO THEIR INITIAL DEFINED STATE .....................................................................................................33
!AAEDDDDDDDD –SET INITIAL STATE ...............................................................................................................................34
!AAMDDDDDDDD –SET TEMPORARY MEMORY STATE ........................................................................................................35
!AASDD –SET USER DEFINED LED ....................................................................................................................................36
!AAWDTDD –SET WD2 TIME VALUE..............................................................................................................................37
^^E –FORCE INITIAL STATE AT ALL MODULES.....................................................................................................................38
^^M –ACTIVATE RELAYS PER PREDEFINED MEMORY STATE ................................................................................................39

IA-3178-U2i
4
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Introduction
The IA-3178-U2i is a 32 Channels Industrial Relay Controller, with 32 Power Relays and an
Isolated, High Voltage Line Monitor, designed and produced by Intelligent-Appliance.
The relays are of SPDT kind with a Contact Rating of 10Amp @ 30VDC, and 10Amp @ 240VAC.
They can be operated in a normal random way, or they can be operated in pairs, to provide
some sort of double pole.
The IA-3178-U2i includes an Isolated USB port and two Watchdog circuits.
The USB port isolation task is avoiding Ground Loops and EMI/RFI Interference, while the
second Watchdog task is providing a user defined way of handling Host computer and
Communication failure.
The IA-3178-U2i is being widely supported by Microsoft Studio Class Library, by National-
Instruments Labview Drivers and by various open code software examples.
The IA-3178-U2i can be controlled by a USB port or by an RS-232 port, while it can be easily and
transparently chained, supporting several Intelligent-Appliance Series-3000 products by a single
COM port.
Features
32-ch, 10 Amp Power Relays
SPDT Relay, Single/Pair operation
Isolated USB Port
Isolated Voltage Monitor Input
2 Way Watchdog Protection
Multi-Drop operation ready
Status Led indicators on all I/Os
Open Source code samples
Setting and Operating Utility
API Software Library
Unique ID
DIN-Rail mounting ready

IA-3178-U2i
5
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Specifications
Relays
Channels
32
Contact current
10 Amp @ 30 VDC
10 Amp @ 240 VAC
Contact method
SPDT, form C
Isolated Digital Input
Channel
1
Voltage Range
24V to 72VDC
90V to 240VAC (IA-3178H)
Isolation
Optic
Communication
Main COM
Isolated USB or RS-232, DB9 Female
Expansion Port
Buffered RS-232, DB9 Male
Factory Defaults
Baud Rate
19.2bps
Data bits
8
Parity
None
Stop bits
1
Baud Rate Range
1200-115Kbps
Host USB Cable
USB A/B, Included
Host RS-232 Cable
DB9 M/F Straight Through
Expansion RS-232 Cable
DB9 M/F Straight Through
General
Power supply
24VDC, 0.8Amp
Module Size
345x115x45 mm
Mounting
Din-Rail Ready
Temp
0-40 C
Weight
996 gr

IA-3178-U2i
6
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Ordering Information
IA-3178-U2i-P:
32-ch, 10 Amp Power Relay Module, Pluggable version
USB or RS-232 Multi-Drop Series, USB Cable Include.
IA-3178H-U2i-P:
32-ch, 10 Amp High Voltage Input Range Relay Module, Pluggable version.
USB or RS-232 Multi-Drop Series, USB Cable Include.
Caution, possibility of electric shock.
Equipment protected throughout by double insolation or reinforced insolation.
Intelligent Appliance products are NOT authorized for use as components in life
support devices or systems.
Do not operate the device in a manner not specified in the documentation. Misuse of
the device may result in injury and/or damage equipment.
When wiring the device disconnect it from the power source and turn OFF all
connected devices.
Not doing so may result in electric shock, injury and/or damage your equipment.
Warning & Safety
!

IA-3178-U2i
7
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Installation
System Wiring
DB9
Female
or
USB
DB9
Male
or
USB
DB9
Female
DB9
Male
DB9
Female
…255
Host PC
Chaining Device
IA-3XXX
TB4
TB3
TB2
TB1
TB10
TB8
TB7
TB6
TB5

IA-3178-U2i
8
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Pin Assignment
J1 –Main Port (USB)
J2 - Secondary Port (RS-232, DB9 Female)
Pin
Function
#2
Tx
#3
Rx
#5
GND
J3 –Expansion Port (RS-232, DB9 Male)
Pin
Function
#2
Rx
#3
Tx
#5
GND
TB1 to TB8 –Relay #1 to Relay #32
TB9–Voltage Monitor - Isolated Digital input
TB10 –Power supply input terminal
User Defined Jumpers & Led
UJP Jumper –User defined jumper
ULD Led –User defined led

IA-3178-U2i
9
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Relay Pinout
SPDT, Form C, Channels 1-32
Terminal
Relay #
Pin
TB1
1
NO
TB1
1
C
TB1
1
NC
TB8
32
NO
TB8
32
C
TB8
32
NC
K1
K1

IA-3178-U2i
10
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Relay Single / Pair operation Layout
The relays may be operated as a Single relay or as a Relay Pair.
See command !0051dd<CR> for setting operation modes.
32 Single operated Relays (Normal)
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
16 Cross Pairs operated Relays (Cross)
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
16 Follow Pairs operated Relays (Follow)
32
16
31
30
15
29
28
14
27
26
13
25
24
12
23
22
11
21
20
10
19
18
9
17
1
1
2
3
2
4
5
3
6
7
4
8
9
5
10
11
6
12
13
7
14
15
8
16

IA-3178-U2i
11
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Isolated Line Monitor Input
IA-3178-U2i (12-72 VDC)
IA-3178H-U2i (90-240 VAC)
TB9 - 2
TB9 - 1
Internal Logic
12 to
72VDC
+
-
12 to
72VDC
90 to
240VAC
-
+
TB9 - 2
TB9 - 1
Internal Logic
~
~
G
Internal Circuit
External Circuit

IA-3178-U2i
12
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Software Installation
USB Port setup
Connect USB A/B Cable between the IA-3178-U2i to the host computer.
The computer informs on locating a new USB device, and asks for S/W drivers.
Kindly choose the USB-Drivers directory on the IA-3000 CD or from our website:
www.intelligent-appliance.com, and complete the task by pressing ‘Next’ and ‘Finish’ while
asked for.
Job done will be accomplished by a steady lilting of the USB led on the IA-3178-U2i unit, and by
a creation of new Serial COM that can be easily found on the Device Manager screen.
At this stage you can easily control the IA-3178-U2i I/O’s by either any serial control software,
or by the IA3000Util Utility, provided in the IA-3000 CD (see next page).
Locating the new COM port
Start the ‘Device Manager’ utility. (Usually by selecting ‘My Computer’, Right Clicking the mouse
button, choosing manage, Left Clicking and then double Left clicking on the Device Manager will
list hardware items).
Select the ‘+’ character to the left of the ‘Ports (COM&LPT)’, and you’ll get a line that will define
for example: ‘USB Serial Port (COM4)’.
This line informs us that we should refer to COM4, in this case, in order to control the IA-3178-
U2i while connected to this computer through its USB port.
IA3000Util Command Line

IA-3178-U2i
13
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
IA-3000 Utility
Install the IA3000Util Utility in your computer by clicking on the ‘Setup' icon in the ‘IA-Utility’
directory, on the IA-3000 CD.
Or download it from our online Knowledge Base. (www.intelligent-appliance.com)
Handling IA-3000 Utility
1. Start the IA3000Util Utility by pressing ‘Start Manu’ on the computer’s main screen,
select ‘All Programs’, and finally ‘IA3000Util'.
2. Select the appropriate COM
3. Select ‘19200’ to fit into the right of the ‘Baud’ label (in case that the IA-3178-U2i is at
its default setting stage).
4. Press the ‘Search’ button and wait for the utility to list all chained items.
5. Select the desired device out of the Module list that appears above the ‘Search’ button.
Step 2
Step 3
Step 4

IA-3178-U2i
14
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
6. Once the device is selected, its form will be shown on the control panel label.
7. Left clicking the buttons will activate or dis-activate the appropriate I/O.
Step 6

IA-3178-U2i
15
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
Command Set
The following table is a quick reference table for the IA-3178-U2i , A host computer / PLC may
control the IA-3178-U2i by simply sending ASCII commands though a standard COM port. Each
command is structured from a delimiter character, modules address, command character, data
if any carriage returns character. All commands must use UPPER CASE characters.
?AA0–GET DEVICE NAME .............................................................................................................................................16
?AA1–GET DEVICE FIRMWARE VERSION ..........................................................................................................................17
?AA2–GET INPUTS AND OUTPUTS STATUS.......................................................................................................................18
?AA50 –GET DEVICE MODE (REGISTER #50)....................................................................................................................19
?AA51 –GET DEVICE MODE (REGISTER #51)....................................................................................................................20
?AAID –GET MODULE’S ID NUMBER ...............................................................................................................................21
?AAS–GET USER JUMPER,USER LED AND VOLTAGE MONITOR STATUS .................................................................................22
?AAWDT –GET WD2 COUNT-DOWN VALUE ...................................................................................................................23
!AA2DDDDDDDD –SET RELAYS STATUS.............................................................................................................................24
!AA3DD –ACTIVATE RELAY N .........................................................................................................................................25
!AA4DD –DE ACTIVATE RELAY N.....................................................................................................................................26
!AA50DD –SET DEVICE MODE REGISTER #50 VALUE...........................................................................................................27
!AA51DD –SET DEVICE MODE REGISTER #51 VALUE...........................................................................................................28
!AA6DD –SET BAUD RATE..............................................................................................................................................30
!AA7DD –SET MODULE’S ADDRESS..................................................................................................................................31
!AABNDD –SET RELAYS STATUS @BYTE LEVEL .................................................................................................................32
!AAE–SET THE RELAYS TO THEIR INITIAL DEFINED STATE .....................................................................................................33
!AAEDDDDDDDD –SET INITIAL STATE ...............................................................................................................................34
!AAMDDDDDDDD –SET TEMPORARY MEMORY STATE ........................................................................................................35
!AASDD –SET USER DEFINED LED ....................................................................................................................................36
!AAWDTDD –SET WD2 TIME VALUE..............................................................................................................................37
^^E –FORCE INITIAL STATE AT ALL MODULES.....................................................................................................................38
^^M –ACTIVATE RELAYS PER PREDEFINED MEMORY STATE ................................................................................................39

IA-3178-U2i
16
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
?aa0 –Get device name
Description
Request the Device model name. Can be used to identify the connected
module type at the specified address.
Syntax
?aa0<CR>
?
Delimiter character
aa
Hexadecimal address of the device
0
Get device Model command
<CR>
Carriage Return - End of command
Response
_nnnn<CR> if the command was valid
_
Response delimiter
nnnn
A string containing the device name
<CR>
Carriage Return - end of response
Example
Command: ?010<CR>
Response: _3178<CR>
Request the device at address 01Hex to send its model name.
The response indicates that the command was successful and that the device
at this address is IA-3178-U2i

IA-3178-U2i
17
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
?aa1 –Get device firmware version
Description
Request the Device version
Syntax
?aa1<CR>
?
Delimiter character
aa
Hexadecimal address of the device
1
Get device Version command
<CR>
Carriage Return - End of command
Response
_nnnn<CR> if the command was valid
_
Response delimiter
nnnn
A string containing the device version
<CR>
Carriage Return - end of response
Example
Command: ?001<CR>
Response: _u151<CR>
Request the device at address 00 Hex to send its version.
The response indicates that the command was successful and that the device
version at this address is u1.51

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
!

IA-3178-U2i
19
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
?aa50 –Get Device mode (Register #50)
Description
This command reads the module operation mode
Syntax
?aa50<CR>
?
Delimiter character
aa
Hexadecimal address of the device
50
System Mode command
<CR>
Carriage Return - End of command
Response
_dd<CR> if the command was valid
dd
Mode (00-FF)
82
Enable BR change
02
Report on command errors
00
Normal
<CR>
Carriage Return - End of command
Example
Command: ?0050<CR>
Response: _82<CR>
In this example the module operation mode enables baud rate change.
It will also send error messages for invalid commands.

IA-3178-U2i
20
www.intelligent-appliance.com Specifications are subject to change without notice
32-ch Relay
USB or RS-232 Controlled
?aa51 –Get Device mode (Register #51)
Description
This command reads the device mode register #51 data.
Syntax
?aa51<CR>
?
Delimiter character
aa
Hexadecimal address of the device
51
Mode register #51 command
<CR>
Carriage Return - End of command
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
Response
_dd<CR> if the command was valid
dd
Mode register #51
<CR>
Carriage Return - End of command
Example
Command: ?0051<CR>
Response: _04<CR>
In this example watchdog 2 is enabled.
This host communication protection watchdog, will force all relays
to their WD2 special Relay Pattern state.
In case that no communication will take place to this card for over
the time defined in command !aaWDTdd<CR>
Table of contents
Other Intelligent Appliance Relay manuals
Popular Relay manuals by other brands

ABB
ABB CM Series Operating and installation instructions

SMA
SMA MFR01-10 installation manual

Cooper Controls
Cooper Controls Greengate LiteKeeper-8 Installation sheet

BECKWITH ELECTRIC
BECKWITH ELECTRIC M-3520 Instruction book

ABB
ABB HU Instruction leaflet

Siemens
Siemens SIRIUS 3UG4651 operating instructions

Reznor
Reznor EGHB Series installation instructions

BEP Marine
BEP Marine 710-125A quick start guide

Ei Electronics
Ei Electronics RadioLINK Relay Module Ei428 instruction manual

Pfeiffer Vacuum
Pfeiffer Vacuum HiPace PM 071 282-X operating instructions

IME
IME RD1GP manual

Pilz
Pilz P2HZ X4P operating instructions