Moxa Technologies DA-IRIGB-4DIO-PCI104-EMC4 User Manual

DA-IRIGB-4DIO-PCI104-EMC4 Module
User’s Manual
Edition 2.0, February 2017
www.moxa.com/product
© 2017 Moxa Inc. All rights reserved.
DA-IRIGB-4DIO-PCI104-EMC4 Module
User’s Manual
The software described in this manual is furnished under a license agreement and may be used only in accordance with
the terms of that agreement.
Copyright Notice
© 2017 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa.
Moxa provides this document as is, without warranty of any kind, eit her expres sed or i mplied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Technical Support Contact Information
www.moxa.com/support
Moxa Americas
Toll
-free: 1-888-669-2872
Tel:
+1-714-528-6777
Fax:
+1-714-528-6778
Moxa China (Shanghai office)
Toll
-free: 800-820-5036
Tel:
+86-21-5258-9955
Fax:
+86-21-5258-5505
Moxa Europe
Tel:
+49-89-3 70 03 99-0
Fax:
+49-89-3 70 03 99-99
Moxa Asia
-Pacific
Tel:
+886-2-8919-1230
Fax:
+886-2-8919-1231
Moxa India
Tel:
+91-80-4172-9088
Fax:
+91-80-4132-1045
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Package Checklist ............................................................................................................................... 1-2
Product Features ................................................................................................................................ 1-2
Product Specifications ......................................................................................................................... 1-2
2. Hardware Installation ....................................................................................................................... 2-1
Block Diagram .................................................................................................................................... 2-2
Pin Assignments ................................................................................................................................. 2-2
IRIB-B Signal Input ..................................................................................................................... 2-2
Digital Input and Digital Output ..................................................................................................... 2-2
Installing the DA-IRIGB-4DIO-PCI104-EMC4 .......................................................................................... 2-3
3. Software Installation and Configuration ........................................................................................... 3-1
Installing the IRIG-B Driver in Linux...................................................................................................... 3-2
Online Installation ....................................................................................................................... 3-2
Off-line Installation ...................................................................................................................... 3-3
Using the timesync Daemon in Linux ..................................................................................................... 3-4
Examples ................................................................................................................................... 3-5
Configuring the timesync Daemon ................................................................................................. 3-5
Using the IRIG-B Utility in Linux ........................................................................................................... 3-5
Examples ................................................................................................................................... 3-8
Installing the IRIG-B Driver in Windows 7 ............................................................................................ 3-10
Installing the IRIG-B Utility in W i n dows 7 ............................................................................................ 3-12
Using the IRIG-B Utility in Windows 7 ................................................................................................. 3-15
Configuring IRIG-B Paramet er s .......................................................................................................... 3-16
Input Signal Type ...................................................................................................................... 3-16
IRIG-B Parity Mode .................................................................................................................... 3-17
Configuring Time Synchronization Settings in Windows 7 ....................................................................... 3-18
Selecting a Time Input Source .................................................................................................... 3-18
Synchronizing with System Time ................................................................................................. 3-18
Configuring Digital Output and Inpu t Status ......................................................................................... 3-19
Using the mxIrigUtil Command ........................................................................................................... 3-20
4. API Reference ................................................................................................................................... 4-1
Get IRIG-B Board Hardware ID ............................................................................................................. 4-2
Open IRIG-B Device ............................................................................................................................ 4-2
Close IRIG-B Device ............................................................................................................................ 4-2
Get Digital Input Signal ....................................................................................................................... 4-2
Get Digital Output Signal ..................................................................................................................... 4-3
Get IRIG-B Parity Check Mode .............................................................................................................. 4-3
Get Input Interface ............................................................................................................................. 4-3
Get IRIG-B Output Parity Check Mode ................................................................................................... 4-4
Get Output Interface ........................................................................................................................... 4-4
Get Pule Per Second Output Width ........................................................................................................ 4-4
Get IRIG-B Signal Status ..................................................................................................................... 4-5
GET RTC Synchronization Source .......................................................................................................... 4-5
Get RTC from IRIG-B Device ................................................................................................................ 4-5
Set Digital Output Sig nal ..................................................................................................................... 4-6
Set IRIG-B Input Parity Check Mode ..................................................................................................... 4-6
Set Input Interface ............................................................................................................................. 4-6
Set IRIG-B Output Parity Check Mode ................................................................................................... 4-7
Set Output Interface ........................................................................................................................... 4-7
Set Pulse Per Second Output Width ....................................................................................................... 4-7
Set RTC Synchronization Source ........................................................................................................... 4-7
Set RTC to IRIG-B Device .................................................................................................................... 4-8
Synchronize System Local Time with IRIG RT C ....................................................................................... 4-8
IRIG-B Program Example ..................................................................................................................... 4-8
1
1. Introduction
Thank you for purchasing Moxa’s DA-IRIGB-4DIO-PCI104-EMC4 module for embedded computers that support the PCI/104 interface.
The DA-IRIGB-4DIO-PCI104-EMC4 module features 3 digital inputs and 4 digital outputs and provides precision timing information using IRIG-B input signals.
The following topics are covered in this chapter:
Overview
Package Checklist
Product Features
Product Specifications
DA-IRIGB-4DIO-PCI104-EMC4 Module Introduction
1-2
Overview
The DA-IRIGB-4DIO-PCI104-EMC4 module features 3 digital inputs and 4 digital outputs, and provides precision timing information using IRIG-B input signals. The module is designed for embedded computers that support the PCI/104 interface. The DA-IRIGB-4DIO-PCI104-EMC4 module includes two DB9 connectors for IRIG-B input signals and DIOs in embedded computers.
The DA-IRIGB-4DIO-PCI104-EMC4 module includes jumpers that enable you to configure the I/O base address and the INT vector for each port. In addition, the built-in EMC level 4 protection safeguards the module connected to the IRIG-B input signals and digital input and digital output devices.
Package Checklist
MOXA performs a careful mechanical and electrical inspection of each module prior to shipping. Your module should arrive in perfect electrical order, free of any marks or scratches. Please handle the module by the edges only, since your body’s static charge can damage the integrated circuits. When the module is not in use, keep it in the anti-static package provided. You may also use this package to return the module if it requires repair.
The DA-IRIGB-4DIO-PCI104-EMC4 module is shipped with the following items:
• DA-IRIGB-4DIO-PCI104-EMC4 module
• 2 DB9 connectors
• 4 15 mm M/F M3x6/M3x7 spacers
• 4 4.8 mm M/F 4-40x7/4-40x4.75 spacers
• 4 screws
• Quick installation guide (printed)
• Warranty card
NOTE
Please notify your sales representative if any of the above items are
missing or damaged.
Product Features
The DA-IRIGB-4DIO-PCI104-EMC4 module features the follow ing:
• 1 IRIG-B signal input port to support S/W controlled TTL/differential signal input
• 3 digital inputs, 4 digital outputs
• Built-in EMC level 4 protection
• Configurable IRQ and I/O settings
• Onboard status LED indicators for IRIG-B signal input
Product Specifications
Hardware
Communication Controller:
FPGA Cyclone IV @ 25 MHz
Bus:
PCI/104
Connectors:
2-pin wafer, 10-pin wafer
Jumper:
PCI resource
Interface
Connector:
DB9 male
Protection
ESD Protection:
8 kV contact, 15 kV Air ESD protection
DA-IRIGB-4DIO-PCI104-EMC4 Module Introduction
1-3
Surge Protection:
2 kV line-to-line and 4 kV line-to-ground surge protection, 8/20 µs waveform
Input Signals
IRIG
-B: TTL or differential
Time Code Input
IRIG
-B: Based on the IRIG STANDARD 200-04 and IEEE 1344
Precision and Accuracy
Accuracy (
Time Synchronization): ±1 µs
Accuracy (Free Running):
±500 ms @ 24 hr
Timebase Precision:
±40 ns
Digital Input
Input Channels:
3, source type
Input Voltage:
0 to 30 VDC
Digital Input Levels for Dry Contacts:
• Logic level 0: Close to GND
• Logic lev
el 1: Open
Digital Input Levels for Wet Contacts:
• Logic level 0: +3 V max .
• Logic level 1: +10 V to +30 V (source to D I )
Isolation:
3 kV optical isolation
Connector Type:
DB9 male
Digital Output
Output Channels:
4, sink type
Output Current:
Max. 200 mA per channel
On
-state Voltage: 24 VDC nominal, open collector to 30 V
Isolation:
3 kV optical isolation
Connector Type:
DB9
Operating Systems
Windows:
Windows 7E
Linux:
Debian 7
Physical Characteristics
Dimensions:
90 x 96 mm (3.54 x 3.78 in)
Environmental Limits
Operating Temperature:
-10 to 60°C (14 to 140°F)
Storage Temperature:
-40 to 85°C (-40 to 185°F)
Ambient Relative Humidit y:
5 to 95% (non-condensing)
Altitude:
Up to 2000 m
Standards and Certifications
EMC:
CE, FCC
EMI
: EN 55032, EN 61000-3-2, EN 61000-3-3, FCC Part 15 Subpart B Class A
EMS:
EN 55024, IEC 61000-4-2, IEC 61000-4-3, IEC 61000-4-4, IEC 61000-4-5, IEC 61000-4-6, IEC
61000
-4-8, IEC 61000-4-11
Green Product:
RoHS, CRoHS, WEEE
MTBF (mean time between failures)
Time:
1,145,189 hrs
Database:
Telcordia (Bellcore), GB
Power Requirements
Power Consumption:
2 W
Warranty
Warranty Period:
5 years
2
2. Hardware Installation
This chapter explains how to install the DA-IRIGB-4DIO-PCI104-EMC4 module. The following topics are covered in this chapter:
Block Diagram
Pin Assignments
IRIB-B Signal Input Digital Input and Digital Output
Installing the DA-IRIGB-4DIO-PCI104-EMC4
DA-IRIGB-4DIO-PCI104-EMC4 Module Hardware Installation
4-2
Block Diagram
Pin Assignments
This section includes the pin assignment for the male DB9 connectors to connect to an IRIG-B signal source or a digital input (DI) or d i gital output (DO) device.
IRIB-B Signal Input
Pin Differential TTL
1 – 2 – 3 Data + TTL 4 Data - GND 5 – 6 – 7 – 8 – 9
Digital Input and Digital Output
Pin 3DIs, 4DOs
1 DO 0 2 DO 1 3 DO 2 4 DO 3 5 DO COM 6 DI 0 7 DI 1 8 DI 2 9 DI Source
DA-IRIGB-4DIO-PCI104-EMC4 Module Hardware Installation
4-3
Installing the DA-IRIGB-4DIO-PCI104-EMC4
ATTENTION
To prevent damage to your system or the main board, make sure that you turn off the embedded computer before installing the
DA-IRIGB-4DIO-PCI104-EMC4 module.
1. Turn off the e mb edded computer.
2. Connect the cables. Complete the following actions: a. Connect the 2-wire IRIG-B inp ut signal cable.
b. Connect the 4-wire IRIG-B output signal cable.
DA-IRIGB-4DIO-PCI104-EMC4 Module Hardware Installation
4-4
c. Connect the 10-wire DIO signal cable.
3. Install the fo ur 15 mm spacers on the embedded computer.
DA-IRIGB-4DIO-PCI104-EMC4 Module Hardware Installation
4-5
4. Insert the module firmly into an available PCI/104 slot.
5. Instal l the four screws to secure the module in place.
DA-IRIGB-4DIO-PCI104-EMC4 Module Hardware Installation
4-6
6. Secure the DB9 connectors on the rear panel of the embedded computer.
7. Turn on t he embedded computer. The BIOS will automatically set the IRQ and I/O address.
3
3. Software Installation and Configuration
This chapter describes how to install driver and utility for the DA-IRIGB-4DIO-PCI104-EMC4 on an embedded computer running Linux or Windows 7 (64-bit), and how to configure the software settings.
The following topic is covered in this chapter:
Installing the IRIG-B Driver in Linux
Online Installation Off-line Installation
Using the timesync Daemon in Linux
Examples Configuring the timesync Daemon
Using the IRIG-B Utility in Linux
Examples
Installing the IRIG-B Driver in Windows 7
Installing the IRIG-B Utility in Windows 7
Using the IRIG-B Utility in Windows 7
Configuring IRIG-B Parameters
Input Signal Type IRIG-B Parity Mode
Configuring Time Synchronization Settings in Windows 7
Selecting a Time Input Source Synchronizing with System Time
Configuring Digital Output and Input Status
Using the mxIrigUtil Command
Loading...
+ 30 hidden pages