background image

DNx-MUX-414 / DNR-MUX-418 1x3 Multiplexer Board

Chapter 1

2

Introduction

May 2019

 

www.ueidaq.com

508.921.4600 

© Copyright 2019

United Electronic Industries, Inc.

1.2

Manual 
Conventions

To help you get the most out of this manual and our products, please note that 
we use the following conventions:

Tips are designed to highlight quick ways to get the job done or to reveal 
good ideas you might not discover on your own.

NOTE:

Notes alert you to important information.

CAUTION! Caution advises you of precautions to take to avoid injury, data loss, 
and damage to your boards or a system crash.

Text formatted in 

bold

 typeface generally represents text that should be entered 

verbatim. For instance, it can represent a command, as in the following 
example: “You can instruct users how to run setup using a command such as 

setup.exe

.” 

Bold

 typeface will also represent field or button names, as in “Click 

Scan 

Network

.”

Text formatted in 

fixed

 typeface generally represents source code or other text 

that should be entered verbatim into the source code, initialization, or other file.

Before you begin:

Before plugging any I/O connector into the Cube or RACK chassis, 
be sure to remove power from all field wiring. Failure to do so may

 

cause severe damage to the equipment.

No HOT SWAP

Always turn POWER OFF before performing maintenance on a UEI system. 
Failure to observe this warning may result in damage to the equipment and 
possible injury to personnel.

Usage of Terms

Throughout this manual, the term “Cube” refers to either a PowerDNA Cube 
product or to a PowerDNR RACKtangle



rack mounted system, whichever is 

applicable. The term DNR is a specific reference to the RACKtangle, DNA to the 
PowerDNA I/O Cube, and DNx to refer to both.

Summary of Contents for DN-MUX-414 Series

Page 1: ...multiplexer switch interface board for the PowerDNA Cube and RACK chassis and 18 channel 1x3 multiplexer switch interface board for the RACK chassis May 2019 PN Man DNx MUX 414 418 Copyright 1998 2019 United Electronic Industries Inc All rights reserved ...

Page 2: ...ueidaq com Website www ueidaq com FTP site ftp ftp ueidaq com Product Disclaimer WARNING DO NOT USE PRODUCTS SOLD BY UNITED ELECTRONIC INDUSTRIES INC AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS Products sold by United Electronic Industries Inc are not authorized for use as critical components in life support devices or systems A critical component is any component of a life support d...

Page 3: ... 7 1 7 3 Synchronization I O 7 1 8 Connectors and Wiring Pinout 8 Chapter 2 Programming with the High Level API 9 2 1 Creating a Session 9 2 2 Configuring Mux Port 9 2 2 1 Configuring Break before make or Port On Delay 10 2 3 Configuring the Timing 10 2 4 Configuring Sync Input Sync Output 11 2 4 1 Configure Sync Out 11 2 4 2 Configure Sync In 12 2 5 Writing Data 13 2 6 Monitoring Supply Voltage T...

Page 4: ...019 United Electronic Industries Inc 3 7 Reading Status and Relay States 22 3 8 Configuring Sync and Delays 23 3 8 1 Example of Using Sync In Sync Out Handshaking 24 3 9 Configuring Break before make Functionality 25 3 9 1 Changing Break Duration 25 3 9 2 Disabling Break before make 25 Appendix A 26 A Accessories 26 ...

Page 5: ...Board 4 1 2 Architecture Block Diagram of DNA MUX 414 MUX 418 6 1 3 Single Channel Block Diagram for MUX 414 MUX 418 7 1 4 DB 62 I O Connector Pinout for DNx MUX 414 8 1 5 DB 78 I O Connector Pinout for DNR MUX 418 8 Chapter 2 Programming with the High Level API 9 Chapter 3 Programming with the Low Level API 16 3 1 Block Diagram for MUX 414 MUX 418 18 Appendix A 26 A 1 Pinout and Photo of DNA STP ...

Page 6: ...res Section 1 4 Indicators Section 1 5 Specification Section 1 6 Device Architecture Section 1 7 Connectors and Wiring Pinout Section 1 8 1 1 Organization of Manual This MUX 414 418 User Manual is organized as follows Introduction This chapter provides an overview of DNx MUX 414 and DNR MUX 418 1x3 multiplexer cross point switch board features device architecture connectivity and logic Programming...

Page 7: ...struct users how to run setup using a command such as setup exe Bold typeface will also represent field or button names as in Click Scan Network Text formatted in fixed typeface generally represents source code or other text that should be entered verbatim into the source code initialization or other file Before you begin Before plugging any I O connector into the Cube or RACK chassis be sure to r...

Page 8: ...AC rms at 40 to 85 C with a switch resistance of less than 0 2 Ω typical not including external cables All relays default to open on power up reset Switching rates up to 250 Hz are supported and all channels default to break before make relay operation 1 3 3 Synchro nization Input and Output Pins MUX 414 MUX 418 boards can synchronize relay switching via the sync in pin and sync out pins The sync ...

Page 9: ... MUX 14 14 fully isolated 1 x 3 channel multiplexer switch DNR MUX 18 18 fully isolated 1 x 3 channel multiplexer switch 48 VDC 34 Vrms sinusoidal maximum operating voltage 0 2 Ohm resistance not including cabling 1 A continuous load current rating at 40 to 85 C 3 A surge current 100 mS 250 Hz update rate All switches Normally Off power up reboot state 350 VAC isolation 1 5 Indicators The MUX 414 ...

Page 10: ...t ON impedance 0 2 Ohm typical 0 25 Ohm max at the I O connector Contact OFF impedance 100 MOhm Off Leakage Current 5 nA typical 3 μA max over full temp range Max update rate 250 Hz including break before make timing Turn Off Time 0 2 mS typical 1 mS max Turn On Time 0 45 mS typical 2 mS max Power up reboot state All Switches Off Sync in out specifications Sync in High Voltage 2 8 V min Sync in Lo...

Page 11: ...0 25 Ohm max at the I O connector Contact OFF impedance 100 MOhm Off Leakage Current 5 nA typical 3 μA max over full temp range Max update rate 250 Hz including break before make timing Turn Off Time 0 2 mS typical 1 mS max Turn On Time 0 45 mS typical 2 mS max Power up reboot state All Switches Off Sync in out specifications Sync in High Voltage 2 8 V min Sync in Low Voltage 1 0 V max Sync out Hi...

Page 12: ...tates all closed relays open before new relay states are closed This break before make functionality is user configurable Users can disable this feature as well as program a delay in microseconds for how long the contacts will be open before new connections are made 1 7 3 Synchro nization I O Users have access to synchronization functionality via a sync in pin on the DB connector and sync out func...

Page 13: ...1 ch 0 C 42 rsvd Pin Signal 43 ch 11 C 44 ch 11 B 45 ch 12 A 46 ch 12 com 47 sync 3 75V 48 sync in 49 ch 9 A 50 ch 9 com 51 ch 8 A 52 ch 8 com 53 ch 6 A 54 ch 6 com 55 ch 2 C 56 ch 2 B 57 ch 1 A 58 ch 1 com 59 ch 4 A 60 ch 4 com 61 ch 0 A 62 ch 0 com Pin Signal 1 ch 17 A 2 ch 17 B 3 ch 17 C 4 ch 17 Com 5 ch 16 A 6 ch 16 B 7 ch 16 C 8 ch 16 Com 9 ch 15 A 10 ch 15 B 11 ch 15 C 12 ch 15 Com 13 ch 14 ...

Page 14: ...gramming language you use Please refer to the UeiDaq Framework User Manual for more information on use of other programming languages 2 1 Creating a Session The Session object controls all operations on your PowerDNx device The first task when programming using the high level Framework is to create a session object 2 2 Configuring Mux Port You use a Mux session to configure MUX 414 MUX 418 channel...

Page 15: ...nableBreakBeforeMake method The following example shows you how to turn break before make off using the EnableBreakBeforeMake method You can change the amount of time the A B and C relays for a channel open before they close with the SetOffDelay method The following example sets the off delay to 350 µS You can change the amount of time before a new write command will be accepted with the SetOnDela...

Page 16: ... when its relay write is programmed 2 4 1 Configure Sync Out To program this first get a pointer to the mux port object of the MUX 414 MUX 418 board that you wish to configure the sync out pin for Configure the sync output mode with the SetSyncOutputMode API The following configures the sync out pin to pulse low when the relays are ready otherwise it is high SetSyncOutputMode accepts the following...

Page 17: ... µS options as the pulse width parameter 2 4 2 Configure Sync In To configure sync in get the pointer s to the mux port object s of the MUX 414 MUX 418 board s that you wish to configure the sync in pin s for To program this first get a pointer to the mux port object of the MUX 414 MUX 418 board that you wish to configure the sync in pin for Enable sync in Configure the sync in circuitry to trigge...

Page 18: ...ay open B and C 2 Close the B relay open A and C 3 Close the C relay open A and B The following example of writes 5 channels 0 2 5 11 and 12 which are reprogrammed with the following changes channel 0 close relay A 1 channel 2 close relay B 2 channel 5 close relay C 3 channel 11 open all relays 0 channel 12 close relay C 3 create a writer and link it to the session s stream CUeiMuxWriter muxWriter...

Page 19: ...o monitor diagnostic data use the ReadADC method You can read up to 5 diagnostic channels ADC channel 0 Reserved ADC channel 1 The 3 3 V supply in volts ADC channel 2 The 2 5 V supply in volts ADC channel 3 The temperature in degrees C ADC channel 4 The status uint32 see description in Section 2 7 The following code shows how to read the voltage and temperature NOTE You can also retrieve status da...

Page 20: ...1 means overrun write while busy Bit 3 1 means state machine is busy Bit 2 1 means output state machine is waiting for the external SYNC ready Bit 1 1 means relays are settled Bit 0 reports the logic state of the sync in pin all other bits are Reserved The following code shows how to read the relay states and status 2 8 Cleaning up the Session The session object will clean itself up when it goes o...

Page 21: ...n 3 7 Configuring Sync and Delays Section 3 8 Configuring Break before make Functionality Section 3 9 3 1 About the Low level API The low level API provides direct access to the DAQBIOS protocol structure and registers in C The low level API is intended for speed optimization when programming unconventional functionality or when programming under Linux or real time operating systems When programmi...

Page 22: ...ng programmed embedded in the sample name Note that immediate mode samples are named Sample I O board name i e Sample414_418 3 3 1 Data Collection Modes The MUX 414 MUX 418 supports the following acquisition mode Immediate point to point Designed to provide easy access to a single I O board at a non deterministic pace Acquires a single data point per channel Runs at a maximum of 100 Hz API that im...

Page 23: ... is a data structure of type DQ414W The DQ414W data structure has elements for closing or opening the A B and or C relays and programming sync in sync out and or break before make configuration typedef struct int32 rflags int32 mux_select 2 int32 relay_select 3 DQ414W pDQ414W 3 5 1 Programming Relays You have two options of how to program the A B or C relays The typical application will use the mu...

Page 24: ...ough 13 Allows write to mux_select 0 414 or 418 DQ_MUX414_W_PORT1 Program A B or C relay connect for channel 14 through 17 Allows write to mux_select 1 418 only DQ_MUX414_W_PORT10 Program A B or C relay connect for channel 0 through 17 Allows write to mux_select 1 and mux_select 0 DQ_MUX414_W_RELAY_A Program A relays to connect or disconnect all channels Allows write to relay_select 0 DQ_MUX414_W_...

Page 25: ... Using relay_select When using relay_select you can close more than 1 relay per channel relay_select 0 closes A relays relay_select 1 closes B relays relay_select 2 closes C relays NOTE Each channel is programmed by setting or resetting its corresponding bit in the relay_select array e g the A relay for channel 0 corresponds to bit 0 in relay_select 0 the B relay for channel 5 corresponds to bit 5...

Page 26: ... adc_3_3 monitor internal 3 3V supply double adc_2_5 monitor internal 2 5V supply double adc_deg_c adc temperature in degrees C uint32 status status identical to status returned by DqAdv414ReadStatus DQ414ADC pDQ414ADC NOTE Before reading data call DqAdv414ReadADC hd devn NULL once to initialize the ADC Example startup ADC reads DqAdv414ReadADC hd DEVN NULL Get voltages and temperature along with ...

Page 27: ... status DQ414STATUS pDQ414STATUS Relay position data is returned as a 1 for closed and a 0 for open Status is returned as Bit 17 DQ_MUX414_STS_ADCDR 1 means data is ready from ADC Bit 16 DQ_MUX414_STS_OVR 1 means overrun write while busy Bit 3 DQ_MUX414_STS_BUSY 1 means state machine is busy Bit 2 DQ_MUX414_STS_SYNCWAIT 1 means output state machine is waiting for the external SYNC ready Bit 1 DQ_M...

Page 28: ... 5 for more information about the DqAdv414Write API You can configure delays and sync in sync out modes with the DqAdv414Cfg API typedef struct uint32 on_delay uint32 off_delay uint32 di_mode uint32 di_polarity uint32 sync_out_pw uint32 sync_out_mode DQ414CFG pDQ414CFG Table 3 3 Settings for DQ414CFG Elements Name Description on_delay program the time before next command is accepted in 10uS units ...

Page 29: ...a DQ414CFG struct r_cfg on_delay 2 20us time before next command is accepted r_cfg off_delay 25 250uS breaking time of break before make r_cfg di_mode 0 not using program 0 r_cfg di_polarity 0 not using program 0 r_cfg sync_out_pw 3 sync_out pin pulse length for sync_out_modes 6 and 7 0 1uS 1 10uS 2 100uS 3 1mS r_cfg sync_out_mode 7 sync_out pin mode of operation 0 drive constant logic 0 1 drive c...

Page 30: ...int32 di_mode uint32 di_polarity uint32 sync_out_pw uint32 sync_out_mode DQ414CFG pDQ414CFG For example to set 1 ms as the amount of time you break connections for A B and C relays before you reconnect to a new configuration you program the following set delay in DQ414CFG struct r_cfg off_delay 100 100 10us 1000uS breaking time of break before make set configuration DqAdv414SetCfg hd DEVN1 r_cfg 3...

Page 31: ...d are 4w x 3 8d x1 2h inch or 10 2 x 9 7 x 3 cm with standoffs The weight of the STP 62 board is 3 89 ounces or 110 grams Figure A 1 Pinout and Photo of DNA STP 62 Screw Terminal Panel 62 to J2 42 to J2 21 to J2 61 to JT1 41 to JT1 20 to JT1 60 to JT1 40 to JT1 19 to JT1 59 to JT1 39 to JT1 18 to JT1 58 to JT1 38 to JT1 17 to JT1 57 to JT1 37 to JT1 16 to JT1 56 to JT1 36 to JT1 15 to JT1 55 to JT...

Page 32: ...ndustries Inc DNx MUX 414 DNR MUX 418 1x3 Multiplexer Board Index 27 Index A ACB 17 Architecture 6 B Block Diagram 6 C Cable s 26 Cleaning up the session 15 Conventions 2 Creating a Session 9 H High Level API 9 O Organization 1 P Pinout 8 S Screw Terminal Panels 26 Specifications 5 6 Support ii Support email support ueidaq com ii Support FTP Site ftp ftp ueidaq com ii Support Web Site www ueidaq c...

Reviews: