Diamond Power Products MM-48-AT user manual Relay Operation

Page 40

15. RELAY OPERATION

Diamond-MM-48-AT contains 8 relays with SPDT (form C) configuration. The relays are Omron type G6K or equivalent. Note that these relays are actually DPDT (double pole) relays. The two poles are connected in parallel for lower on resistance and greater current carrying capacity. The relays have the following operating characteristics:

Rated load

0.3A / 125VAC, 1A / 30VDC

Contact material

Gold plating over silver

Max operating voltage

125VAC, 60VDC

Max switching capacity

37.5VA, 30W

Min permissible load

10A at 10mVDC

Initial contact resistance

100mΩ max

Operate time

3ms max

Release time

3ms max

Bounce time

3ms max

Mechanical life

50,000,000 operations min (at 36,000 operations / hr)

Electrical life

100,000 operations min at rated load (at 1,800 operations / hr)

The relay signals are on connector J4 on the left side of the board. Each relay has 3 contacts: C, NC, and NO. The functions of these contacts are as follows:

Relay N C

(N = 0 to 7) Relay output common contact. This contact is always

 

used with relay output connections.

Relay N NC

Relay output normally connected contact. This contact is

 

connected to the Relay N C contact when power is off or when a 0 is

 

written to the relay’s control bit in the relay control register. It is

 

disconnected when power is on and a 1 is written to the relay’s

 

control bit.

 

The relay is called “off” when the NC contact is connected to the C

 

contact (because this represents the power-off state).

Relay N NO

Relay output normally open contact. This contact is disconnected

 

when power is off or when a 0 is written to the relay’s control bit in

 

the relay control register. It is connected to the Relay N C contact

 

when power is on and a 1 is written to the relay’s control bit.

 

The relay is called “on” when the NO contact is connected to the C

 

contact.

The relays are controlled with a register at Base + 3. Writing a 1 to a relay’s control bit turns that relay “on”, and writing a 0 to a bit turns the relay “off”. Any combination of relays may be “on” or “off” at any time under software control. On power-up or system reset, all relays are in the off position.

The board stores the value written to the relays, and this value may also be read back at Base + 3. A 1 indicates a relay “on”, and a 0 indicates a relay “off”. This readback value is only accurate as long as power is maintained to the board.

Diamond-MM-48-AT User Manual V1.01

Page 40

Image 40
Contents DIAMOND-MM-48-AT Table of Contents Description DIAMOND-MM-48-AT Board Drawing O Header Pinout and PIN Description Signal Name DefinitionJ3 Analog and Digital I/O J4 Relays and Optocouplers Signal Name Definition Relay output contactsOptoisolated input contacts Board Configuration Base AddressBase Address Jumper Position Hex Decimal Interrupt Level SelectionReserved Optocoupler PolarityAnalog Input Range Base + Write Function Read Function OverviewLSB MSB Register Map Bit Assignments Write operationsDA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 Read operationsRegister Definitions Base + WriteDefinitions Base + ReadBase + Read/Write A/D Channel Register AD9 AD8HIGH3 HIGH2 HIGH1 HIGH0 LOW3 LOW2 LOW1 LOW0 Base + Read/Write Digital I/O Configuration Register Base + Read/Write Relay Control PortRELAY7 RELAY6 RELAY5 RELAY4 RELAY3 RELAY2 RELAY1 RELAY0 DIR3 DIR2 DIR1 DIR0DIO3 DIO2 DIO1 DIO0 Base + Read Digital I/O Data and Edge StatusDEDGE3 DEDGE2 DEDGE1 DEDGE0 DIO3 DIO2 DIO1 DIO0 OEN3 OEN2 OEN1 OEN0 POL3 POL2 POL1 POL0Daupdt DACH2 DACH1 DACH0 Base + Write Channel and Control RegisterOEDGE3 OEDGE2 OEDGE1 OEDGE0 OPTO3 OPTO2 OPTO1 OPTO0 Base + Write Command Register Dapre Daprld Reset Fiforst AdstartBase + Read Status Register POL ADCH3 ADCH2 ADCH1 ADCH0Base + Write Configuration Register CKSEL1 CKFRQ1 CKFRQ0 Scnint Clken ClkselBase + Read Configuration & Status Register Adbusy Dabusy CKSEL1 CKFRQ1 CKFRQ0 Scnint Clken ClkselBase + Write Fifo Control Register Fifoth Fifoen ScanenBase + Read Fifo Status Register OVF Fifoth Fifoen ScanenBase + Write Interrupt Control Register Clrt Clrd Clro Clra Tinte Dinte Ointe AinteBase + Read Interrupt Status Register Tint Dint Oint Aint Tinte Dinte Ointe AinteBase + Read/Write Counter/Timer D15 Base + Read/Write Counter/Timer D7Base + Read/Write Counter/Timer D23 Ctrno Latch Gtdis Gten Ctdis Cten Load CLR Base + Write Counter/Timer Control RegisterCtrno Base + Read/Write Eeprom / TrimDAC Data Register Base + Read/Write Eeprom / TrimDAC Address RegisterBase + Write Eeprom Access Key Register Base + Write Calibration Control RegisterBase + Read Calibration Status Register Base + Read Fpga Revision CodeAnalog Input Ranges and Resolution ResolutionInput Ranges Single Ended and Differential InputsPerforming AN A/D Conversion Trigger an A/D conversion on the current channel LSB = readbase MSB = readbase+1 Data = MSB * 256 + LSBInput voltage = A/D value / 32768 * Full-scale voltage D SCAN, FIFO, and Interrupt Operation TriggerClken Clksel Conversion or ScanFifo Operation Interrupt OperationFifoen Fifoth Scanen Fifoen =Operation Table Guidelines for Selecting Fifo Use Fifoen and FifothAinte Fifoen Scanen Analog Output Overview Generating AN Analog Output Autocalibration Operation Reference Voltages12.2 A/D calibration 12.3 D/A CalibrationDigital I/O Operation Procedure for enabling interrupts on selected edges Optocoupler OperationEdge detection assumes OENn = 1 to enable edge detection Polarity and logic readbackRelay Operation Counter 0 A/D Sample Control COUNTER/TIMER OperationCounter 1 Counting/Totalizing Functions Command Sequences CounterCounter Outpbase+15,0x01 Outpbase+15,0x81 Autocalibration SpecificationsGeneral