Innodisk EMP2 SERIES User manual

EMP2 SERIES
mPCIe to Serial COM
User Manual
Rev 1.3

i
2005-2017 © Innodisk Corporation. All Rights Reserved
Copyright Information
2005-2017 © Innodisk Corporation. All Rights Reserved
Innodisk™ is trademark or registered trademark of Innodisk Corporation.
This document is subject to change and revision without notice. No part of this
document may be reproduced in any form by any photographic, electronic,
mechanical or other means, or used in any information storage and retrieval
system, without prior written permission from Innodisk Corporation.
All other product and brand names in this document are trademarks or
registered trademarks of their respective owners.
版權說明
2005-2017 © 宜鼎國際股份有限公司
Innodisk™ 是宜鼎國際股份有限公司之註冊商標。
本文件得不經通知即更改或修訂。本文件中出現任何文字敘述、文件格式、圖形、
照片、方法及過程等內容,除另特別註明,版權均屬宜鼎國際股份有限公司所有,
受到相關之智慧財產權保護法之保障。任何個人、法人或機構未經宜鼎國際股份
有限公司的書面(包括電子文件)授權,不得以任何形式複製或引用本文件之全
部或片段。
其他出現在本文件的品牌或產品乃歸屬原公司所有之商標或註冊。

ii
2005-2017 © Innodisk Corporation. All Rights Reserved
Revision History
Revision
Date
Description
1.0
2015/10/21
Initial Release
1.1
2016/10/4
Add products of EMP2-X4S1& EMP2-X4S2
1.2
2017/05/31
Remove EMP2-X401
1.3
2017/11/30
1. Add the product of EGP2-X401
2. Add a NOTE of Windows embedded in
section 1.1.

iii
2005-2017 © Innodisk Corporation. All Rights Reserved
Table of Contents
Revision History ...................................................................................................................... ii
Table of Contents.................................................................................................................... iii
Overview................................................................................................................................... 1
Windows.............................................................................................................................. 21.
1.1. Install Driver ................................................................................................................. 2
1.2. Switch Mode by Software (for EMP2-X404/X801, EGP2-X401).................................. 4
1.3. Switch Mode by Hardware (for EMP2-X202/X402)...................................................... 6
1.4. Enable RS-485 checkbox for RS-485 Half Duplex Mode ............................................ 6
Linux.................................................................................................................................... 72.
2.1. Install Driver ................................................................................................................. 7
2.2. Install EMP2 Mode-Control Tool................................................................................... 7
2.3. Switch Mode by Software (for EMP2-X404/X801, EPG2-X401).................................. 8
2.4. Switch Mode by Hardware (for EMP2-X202/X402)...................................................... 9
Contact us .............................................................................................................................. 10

1
2005-2017 © Innodisk Corporation. All Rights Reserved
Overview
This manual describes how to implement EMP2 mPCIe to serial COM cards of
the following products.
Product No.
RS232
RS485HD
RS485FD
Switch Method
EMP2-X202
X
O
O
Hardware
EMP2-X402
X
O
O
Hardware
EMP2-X203
O
X
X
N/A
EMP2-X403
O
X
X
N/A
EMP2-X801
O
O
O
Software
EMP2-X404
O
O
O
Software
EMP2-X4S1
X
X
O
N/A
EMP2-X4S2
X
O
O
N/A
EGP2-X401
O
O
O
Software
Note: HD: Half Duplex, FD: Full Duplex

2
2005-2017 © Innodisk Corporation. All Rights Reserved
Windows
1.
1.1. Install Driver
This section is applicable to ALL products.
Please notice that the driver name including “Adj” is for EMP2 -X404/X801 and
EGP2-X401. The driver name including “Fixed” is for
EMP2-X202/X203/X402/X403/X4S1/X4S2.
Double click the driver package to start. If driver is already existed in the OS, it
will be removed automatically before installation.

3
2005-2017 © Innodisk Corporation. All Rights Reserved
NOTE1: If you encounter an error while executing the driver, please download
“Microsoft Visual C++ Redistributable Package” then install first.
https://www.microsoft.com/en-us/download/details.aspx?id=29
NOTE2: Please confirm Window Embedded has included “windows generic
multifunction card driver” inbox driver.
This package would be “WinEmb-INF-mf.cab”.
You can add it by dism command online or WES ICE tool offline. Also you can
modify the existed template directly to add mf driver section.

4
2005-2017 © Innodisk Corporation. All Rights Reserved
1.2. Switch Mode by Software (for EMP2-X404/X801,
EGP2-X401)
This section is applicable to following products.
Product No.
RS232
RS485HD
RS485FD
Switch Method
EMP2-X404
O
O
O
Software
EMP2-X801
O
O
O
Software
EGP2-X401
O
O
O
Software
In Device Manager, right click the mouse to enter “properties” in
“InnodiskMPIO-Access Device”.

5
2005-2017 © Innodisk Corporation. All Rights Reserved
In “COM Settings”, you can select different mode among RS232, Loopback,
RS485HD and RS485FD.

6
2005-2017 © Innodisk Corporation. All Rights Reserved
1.3. Switch Mode by Hardware (for EMP2-X202/X402)
This section is applicable to following products
Product No.
RS232
RS485HD
RS485FD
Switch Method
EMP2-X202
X
O
O
Hardware
EMP2-X402
X
O
O
Hardware
Switch mode between RS485 Half Duplex and Full Duplex by using DIP switch.
Please refer to the following picture:
1.4. Enable RS-485 checkbox for RS-485 Half Duplex Mode
This section is applicable to ALL products.
In Device Manager, right click the mouse to enter “properties” in “Innodisk’s
Communications Port (COM“N”)”. (“N” depends on the setting of real
environment.)
In “Port Settings”, please check RS-485 checkbox when using RS-485 Half
Duplex Mode

7
2005-2017 © Innodisk Corporation. All Rights Reserved
Linux
2.
Here we use Ubuntu 14.04 for example.
2.1. Install Driver
This section is applicable to ALL products.
Step1. Go to driver folder.
Step2. Type command “make”.
Step3. Type command “sudo make install”
2.2. Install EMP2 Mode-Control Tool
This section is applicable to ALL products.
Step1. Go to tools folder.
Step2. Type command “make”.
Step3. Type command “sudo make install”

8
2005-2017 © Innodisk Corporation. All Rights Reserved
2.3. Switch Mode by Software (for EMP2-X404/X801,
EPG2-X401)
This section is applicable to following products.
Product No.
RS232
RS485HD
RS485FD
Switch Method
EMP2-X404
O
O
O
Software
EMP2-X801
O
O
O
Software
EGP2-X401
O
O
O
Software
After installing driver and control tools, you can simply execute below
command to initial EMP2 device.
Notice, all EMP2 control tools need to be executed as root.
COMMAND: emp2init
The emp2init will help you check if the driver has been loaded on the
system and setup all ports following the configuration file (/etc/emp2.cfg).
If the configuration file did not exist, it will create a default one for you, all
ports will be configured as RS232 mode by default.
Notice that, the emp2init must be executed after system boot up every
time to make sure the driver loaded well and all ports be configured as you
want.
COMMAND: emp2cfg <port> <mode>
The <port> specify which port you want to configure, start from 1. And the
<mode> specify the target mode, "lo" for LOOPBACK, "232" for RS-232,
"485hd" for RS485 Half-Duplex, and "485fd" for RS-485 Full-Duplex.

9
2005-2017 © Innodisk Corporation. All Rights Reserved
COMMAND: emp2init reset
Reset all port to default mode RS232.
2.4. Switch Mode by Hardware (for EMP2-X202/X402)
Please follow instructions in 1.3. Switch Mode by Hardware to configure DIP
switch.
This section is applicable to following products.
Product No.
RS232
RS485HD
RS485FD
Switch Method
EMP2-X202
X
O
O
Hardware
EMP2-X402
X
O
O
Hardware
After changing DIP switch between RS485HD and RS485FD, you need to
execute the command “emp2init reset” to take effect, then you can also check
the configuration file (/etc/emp2.cfg) to make sure it is in the correct mode.
Notice, all EMP2 control tools need to be executed as root.

10
2005-2017 © Innodisk Corporation. All Rights Reserved
Contact us
Headquarters (Taiwan)
5F., No. 237, Sec. 1, Datong Rd., Xizhi Dist., New Taipei City 221, Taiwan
Tel: +886-2-77033000
Branch Offices:
USA
+1-510-770-9421
Europe
+31-40-3045-4008
Japan
+81-3-6667-0161
China
+86-755-2167-3689
www.innodisk.com
© 2017 Innodisk Corporation.
All right reserved. Specifications are subject to change without prior notice.
November 30, 2017
This manual suits for next models
9
Table of contents
Other Innodisk Control Unit manuals
Popular Control Unit manuals by other brands

Daikin
Daikin E8.5064 installation manual

Wilo
Wilo Wilo-Control EC-Drain PD1 Installation and operating instructions

ABB
ABB i-bus EIB product manual

LOVATO ELECTRIC
LOVATO ELECTRIC ATL DPS1 operating manual

American Standard
American Standard R110 installation instructions

BHI
BHI NEDSP1061-KBD Installation and operating manual

Alcorn Mcbride
Alcorn Mcbride 1746-SMPTE user guide

Dasan
Dasan TMS3.0 installation manual

Comunello Automation
Comunello Automation CU 24V 1M quick start guide

Nice
Nice Mindy-A01 Instructions and warnings for the fitter

Phytec
Phytec phyCORE-MPC5200B tiny Hardware manual

Linx Technologies
Linx Technologies FCTN-MD09 Series Data guide