Tri-M Technologies Inc. specializes in embedded computing for rugged environments. Tri-M’s innovative solutions are
the premiere choice for off-highway vehicles, industrial controls, robotics, military equipment, aerospace technologies,
undersea and advanced security products. We offer a wide range of DC-to-DC converters, CPU boards, hardened
enclosures, I/O modules, wireless communication devices, and customized systems. With over 28 years of industry
experience, Tri-M is your embedded systems specialist.
Who this Guide is For
This user guide is intended for integrators of embedded system applications. It contains detailed information on hardware
and software requirements to interconnect to other embedded devices. Carefully read this user guide before you begin
installation. The user should be familiar with practicing safe techniques while making supply or pin connections.
User Guide Revision History
RevisionDateDescription
A12 Jan 2012 Rebranded
Trademarks
Trademarks, registered trademarks, and product names are the property of their respective owners and are used herein
for identication purposes only.
Contact Information
Tri-M Technologies Inc.
101–1530 Kingsway Avenue
Port Coquitlam, BC V3C 6N6 Canada
This note contains important or useful information in the use or installation of the product.
CAUTION
The caution provides information to prevent potential equipment damage or shock hazard.
Electrostatic Discharge (ESD) Precautions
To avoid electrostatic discharge or transient voltage damage to the board, observe the following procedures:
• Before touching the board, discharge your body and any tools you use from electricity.
• Ensure that the board or the unit you want to install the board on is de-engergized before installing.
• Do not touch any devices or components on the board.
CAUTION: Shock Hazard
As soon as the board is connected to a working power supply, touching the board may result in electrical shock, even if the
board has not been switched on yet.
Digital Input Reading (DIR) ..............................................................................................................13
DIR Grouping ...........................................................................................................................................13
DIR I/O Map .............................................................................................................................................14
Tri-M’s IR104 PC/104 relay module is designed for controlling low and high current loads operating in rugged
industrial environments. The IR104 features 20 opto-isolated digital inputs and 20 relay outputs, ideal for
industrial control applications. The bidirectional inputs are isolated up to 3000V and can handle input voltages
from 3V to 24V AC or DC. The 2×20 SPST (normally open) relays have dual 20-position detachable screw
terminal blocks designed for 14 to 24 AWG wiring. The contacts are UL Certied and rated for 5A, 250VAC and
30VDC, allowing the IR104 to directly control small motors or solenoids.
In order to take full advantage of the IR104, up to 4 modules can be stacked. This maximizes IR104’s
functionality to congure IRQs and input change ags. Tri-M also offers custom designs, such as 12V or Solid
State relays for lower current draw and less interference. For more information, please visit http://www.tri-m.
com/support/proservices.html.
Key Specications
• 20 Opto-isolated bi-directional inputs with 3000V protection
• 20 SPST Output Relays with 20,000,000 Lifetime Cycles
• Input Voltages from 3V to 24V AC or DC and Output UL ratings of 5A @30 VDC and 250VAC
• I/O Map conguration options such as Relay Output Control, Digital Input Reading, Input Change Flags,
and Interrupt Control Registers
• Operating Temperature -25°C to +70°C (-13°F to +158°F) for rugged industrial environments
Supply Voltage +5VDC
Supply Current Maximum 1A, Typical 110mA (all relays off)
Supply Voltage Tolerance ±5%
Input Voltage 3V to 24V DC or AC
Input Opto-isolation 3000V
Relay Maximum Current 5A @ 30VDC and 250VAC
Relay Maximum Voltage 150VDC, 250VAC
Relay Maximum Power 150W, 1250VA
Operate Time 10ms maximum
Release Time 5ms maximum
Environmental Specications
Operating Temperature -25°C to +70°C (-13°F to +158°F)
Mechanical Specications
Input Relays 20 Opto-isolated Inputs
Output Relays 20 SPST Output Relays
Relay Lifetime 20,000,000 min. / 70,000 min. at rated loads
Dimensions PC/104 Compliant, 90 × 96mm (3.55 × 3.78")
Component Height 12.49mm (0.492"), slightly over the 0.435" PC/104 standard
Weight 127.12 g (4.48 oz)
There are 20 bi-directional opto-isolated inputs with 3000V protection. They are accessed by a standard 2-row
right-angled 40-pin header, with 0.1" pin spacing. The input voltage ranges from 3V to 24V DC or AC.
For higher input voltage requirements, please contact our Professional Services Team (see "Contact
Information" on page 2) or visit http://www.tri-m.com/support/proservices.html.
The ROC bank energizes and de-energizes through the I/O writes. They are two grouped banks of eight and
one bank of four. When an I/O read is executed, the relay output register is accessed. This allows the relay
data to be read back. To energize a relay (close contact), write a logic “1” to the corresponding bit in the
register bank. To de-energize a relay (open contact), write a logic “0” to the corresponding bit in the register
bank.
ROC Grouping
RelayOutputAddress
ROC Bank 1DO1 to DO8I/O address = Base Address (0x00)
ROC Bank 2DO9 to D16I/O address = Base Address + 1 (0x01)
ROC Bank 3DO17 to DO20I/O address = Base Address + 2 (0x02)
The I/O address is an
offset from the base
decoded address.
Digital Input Reading (DIR)
The DIR bank is accessed through I/O reads and are grouped in two banks of eight and one bank of four. A
logic “0” read for an input indicates the corresponding physical input is “powered”. A logic “1” read on any input
indicates the corresponding physical input is “non-powered”.
DIR Grouping
BankInputAddress
DIR Bank 1DI1 to DI8I/O address = Base Address + 4 (0×04)
DIR Bank 2DI9 to DI16I/O address = Base Address + 5 (0×05)
DIR Bank 3DI17 to DI20I/O address = Base Address + 6 (0×06)
Note
The I/O address is an
offset from the base
decoded address.
DIR Bank 1Input 8Input 7Input 6Input 5Input 4Input 3Input 2Input 1
DIR Bank 2Input 16Input 15Input 14Input 13Input 12Input 11Input 10Input 9
DIR Bank 3Not usedNot usedNot usedNot usedInput 20Input 19Input 18Input 17
Input Change Flags (ICF)
When a change is detected on one of the inputs, the corresponding bit in the ICF register is set to logic “1”.
The input change ags are accessed through I/O reads and are grouped in two banks of eight and one bank of
four.
ICF Grouping
BankFlagsAddress
ICF Bank 1F1 to F8I/O address = Base Address + 8 (0×08)
ICF Bank 2F9 to F16I/O address = Base Address + 9 (0×09)
ICF Bank 3F17 to F20I/O address = Base Address + 10 (0×0A)
The ICR I/O map has one Interrupt Enable (IE) per input and four Interrupt Output enables (IRQen4, IRQen5,
IRQen6 and IRQen7). Each of the Interrupt Outputs correspond to a PC/104 interrupt line. Only one Interrupt
Output should be enabled.
Interrupts are generated and issued on the PC/104 Bus when ALL of the following conditions are met:
1. A change of input state has occurred indicated by the Flag registers.
2. The input that changed has its Interrupt Enable set (logic “1”).
3. One of the Interrupt Output Enables is set (logic “1”).
ICR Grouping
BankInterruptsAddress
ICR Bank 1IE1 to IE8I/O address = Base Address + 12 (0x0C)
ICR Bank 2IE9 to IE16I/O address = Base Address + 13 (0x0D)
ICR Bank 3IE17 to IE20 & IRQen4 to 7I/O address = Base Address + 14 (0x0E)
ICR I/O Map
BankSD7SD6SD5SD4SD3SD2SD1SD0
ICR Bank 1IE8IE7IE6IE5IE4IE3IE2IE1
ICR Bank 2IE16IE15IE14IE13IE12IE11IE10IE9
ICR Bank 3IRQen7IRQen6IRQen5IRQen4IE20IE19IE18IE17
Note
An Interrupt will stay asserted until all the Input Change Flags that have their Interrupt Enabled ags enabled are cleared. An
input change ag can be cleared by reading the corresponding input bank.
CAUTION: Equipment Damage
The IR104-V4 interrupts cannot be shared with other PC/104 boards. Attempting to share an IRQ may cause damage to the
IR104-V4 and the other PC/104 board as well.
There are four decoded base addresses: 0x240, 0x260, 0x280, and 0x300. They are jumper selectable using
the address select blocks JP1 and JP2.
0x240 0x2600x2800x300
JP1JP2
11
Not Installed Not Installed
JP1JP2
11
JP1JP2
11
Installed Not Installed
Not Installed Installed
JP1JP2
11
Installed Installed
Base Address
Register0x240 0x2600x2800x300Description
ROC Bank 10x2400x2600x2800x300Relays 1 to 8
ROC Bank 20x2410x2610x2810x301Relays 9 to 16
ROC Bank 30x2420x2620x2820x302Relays 17 to 20
DIR Bank 10x2440x2640x2840x304Inputs 1 to 8
DIR Bank 20x2450x2650x2850x305Inputs 9 to 16
DIR Bank 30x2460x2660x2860x306Inputs 17 to 20
ICF Bank 10x2480x2680x2880x308Change Flag Inputs 1 to 8
ICF Bank 20x2490x2690x2890x309Change Flag Inputs 9 to 16
ICF Bank 30x24A0x26A0x28A0x30AChange Flag Inputs 17 to 20
ICR Bank 10x24C0x26C0x28C0x30CInterrupt Enables Inputs 1 to 8
ICR Bank 2 0x24D0x24D0x28D0x30DInterrupt Enables Inputs 9 to 16
ICR Bank 30x24E0x26E0x28E0x30EInterrupt Enables Inputs 17 to 30 & IRQ output enables 4, 5, 6 & 7
Unless otherwise agreed to in writing, Tri-M Technologies Inc. (Tri-M) warrants to the original purchaser that its products
will be free from defects in material and workmanship for a period of (1) one year from the date of shipment. Tri-M’s
obligation under this warranty is limited to replacement or repair at its option and its designated site. Any such products
must be returned within the warranty period to Tri-M in Tri-M approved packaging with a Tri-M-assigned RMA (Return
Material Authorization) number referenced on the shipping documents.
All warranties are void if there is evidence of misuse, tampering, or attempted repair of parts. Any returns must be
accompanied by a return material authorization (RMA) number issued by Tri-M. Purchaser shall prepay transportation
to Tri-M’s designated site. If returned products are repaired or replaced under the terms of this warranty, Tri-M shall pay
return transportation charges.
In no case will Tri-M be held liable for consequential damages arising out of its obligations under this warranty or the
failure or incorrect use of any of its products. This warranty is in lieu of all warranties, either express or implied, including,
without limitation, any implied warranty of merchantability or tness for any particular purpose, and of any other obligation
on the part of Tri-M.
Disclaimer
No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into
any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical,
manual, or otherwise, without the express written permission of Tri-M Technologies Inc.
Tri-M Technologies Inc. (Tri-M) makes no representations or warranties with respect to the contents of this manual, and
specically disclaims any implied warranties of merchantability or tness for any particular purpose. Tri-M shall under
no circumstances be liable for incidental or consequential damages or related expenses resulting from the use of this
product, even if it has been notied of the possibility of such damages. Tri-M reserves the right to revise this publication
What is the mating connector for relay connectors (CN1, CN2)?
IR104’s relay socket terminals (CN1, CN2) use Wieland’s Part# 25.647.0553.0. The mating screw plug terminal block is
Wieland Part# 25.640.0553.0.
What happens to the IR104’s relays on a power-up or hardware reset?
Ensured by design on IR104-V3 (version 3) and higher versions, the relays are de-energized and the contacts open on a
power-up or hardware reset.
What options are available on the IR104?
There are a variety of options available for the IR104, such as conformal coating, connectors, and custom designs.
Custom builds include 12V and solid state relays. For more information about these options, please contact us. See
"Contact Information" on page 2.
I have an older version of IR104, what’s new in IR104-V4 (version 4)?
New features include input change ags, interrupt enables, and software IRQ selection.
Is the IR104-V4 software compatible with other IR104 version?
IR104 software support is compatible with previous versions. All new features have been set in previously unused I/O
registers.
Is the IR104 RoHS Compliant?
All Tri-M’s products are RoHs, and we also provide other customizable options depending on your requirements.
What is the MTBF?
The IR104 MTBF is rated at 57,098 hours at 30°C (86°F) ambient temperature.
What is IR104-V4’s OS support?
The IR104 does not come with any software. I/O mapped registers are supported by any system with ISA support. An OS
using x86 protected mode requires I/O driver support such as Linux ioperm or Windows® PortTalk.
How do I request an RMA or warranty issue?
To request an RMA, please ll out the online form on our website at www.tri-m.com/support .
What if I have a technical or specic question?
For technical support, please see "Contact Information" on page 2.