background image

                                                                                                                                        User’s Manual     

DM5856HR/DM6856HR

19

              

RTD Finland Oy

Chapter 5  

- B

OARD OPERATION AND PROGRAMMING

This chapter shows you how to program and use your DM5856HR/DM6856HR: It provides a
complete description of the I/O-map plus a detailed discussion of programming operations to aid
you in programming.

Defining the I/O Map

The I/O map of the DM5856HR/DM6856HR is shown in Table 5-1 below. As shown, the module
occupies two addresses. The Base Address (designated as BA) can be set using the jumpers as
described in Chapter 2 (Board settings). The following sections describe the register contents of
each address used in the I/O map.

Table 5-1: DM5856HR/DM6856HR I/O Map

Register Description

Read Function

Write Function

Address in HEX

Low Byte (ch. 1-8)

Digital Inputs 1-8

Digital outputs 1-8

BA+0

High Byte (ch. 9-16)

Digital Inputs 9-16

Digital outputs 9-16

BA+1

    

BA = Base Address

BA+0 Digital Inputs  1-8

(Read)

The optoisolated digital input channels 1-8 can be read from address BA+0.

BA+1 Digital Inputs  9-16

(Read)

The optoisolated digital input channels 9-16 can be read from address BA+1.

BA+0 Digital Outputs 

(Write)

The Data Output register controls the output optocouplers 1-8. Data is transferred from the Data
register to the outputs by performing an 8-bit write to BA+0. Direct transfer of data to the output
latch for all the 16 bits can be performed by executing a 16-bit write to BA+0. The address decoder
of the DM5856HR will automatically write consecutive addresses BA+0 and BA+1with the correct
output data bytes.

BA+1 Digital Outputs

(Write)

The Data Output register controls the output optocouplers 9-16. Data is transferred from the Data
register to the outputs by performing an 8-bit write to BA+1.

Содержание DM5856HR

Страница 1: ...DM5856HR DM6856HR Isolated digital I O module User s Manual Hardware Revision 1 0 B...

Страница 2: ...D Finland Oy DM5856HR DM6856HR ISOLATED DIGITAL I O MODULE User s Manual REAL TIME DEVICES FINLAND OY LEPOLANTIE 14 FIN 00660 HELSINKI FINLAND Phone 358 9 346 4538 FAX 358 9 346 4539 E Mail sales rtdf...

Страница 3: ...contents of this manual as well as features and specifications of this product at any time without prior notice Notice We have attempted to verify all information in this manual as of the publication...

Страница 4: ...onfigured Jumper Settings 9 Base Address Jumpers 10 CHAPTER 3 BOARD INSTALLATION 12 Board installation 12 External I O connections 14 Isolated digital input Isolated digital outputs CHAPTER 4 HARDWARE...

Страница 5: ...ck Fig 3 2 19 Eurocard rack installation with an integrated PC 104 data Module and EUROCARD cpuModule computer system Fig 3 3 Input connection for Channel number 1 Fig 3 4 Output connection for Channe...

Страница 6: ...r optocoupler output capable of sinking 8mA at 30V Each output channel can be connected to a different potential The isolated outputs are controlled with a latch structure Isolated Digital Inputs 16 o...

Страница 7: ...M6856HR card These include power supplies terminal boards TB50 and other connection systems The board is also available in the rugged IDAN enclosure system Please consult the factory for more details...

Страница 8: ...NGS The DM5856HR DM6856HR Isolated digital I O board has jumper settings which can be changed to suit your application It is factory configured with a 5V input range configuration The factory settings...

Страница 9: ...6HR and the locations of the jumpers The following paragraphs explain how to change the factory jumper settings to suit your specific application Table 2 1 Factory jumper settings see figure 2 1 below...

Страница 10: ...ake sure you set up the base address first using the eight jumpers marked BASE ADDRESS It allows you to choose from 256 different I O addresses in your computer I O map Should the factory installed se...

Страница 11: ...0 1 0 1 260 608 0 0 1 1 0 360 864 1 0 1 1 0 270 624 0 0 1 1 1 370 880 1 0 1 1 1 280 640 0 1 0 0 0 380 896 1 1 0 0 0 290 656 0 1 0 0 1 390 912 1 1 0 0 1 2A0 672 0 1 0 1 0 3A0 928 1 1 0 1 0 2B0 688 0 1...

Страница 12: ...lease handle the board in an antistatic environment and use a grounded workbench for testing and handling of your hardware Before installing the board in your computer check the jumper settings Chapte...

Страница 13: ...rack installation using the CPU as a form factor adapter Assemble your PC 104 data modules on a RTD single board EUROCARD computer and install the system in a 19 enclosure Multiple DM5856HR boards ca...

Страница 14: ...2 IN1 3 NC 4 IN2 5 IN2 6 NC 7 IN3 8 IN3 9 NC 10 IN4 11 IN4 12 NC 13 IN5 14 IN5 15 NC 16 IN6 17 IN6 18 NC 19 IN7 20 IN7 21 NC 22 IN8 23 IN8 24 NC 25 IN9 26 IN9 27 NC 28 IN10 29 IN10 30 NC 31 IN11 32 IN...

Страница 15: ...2 GND 4 13 Vsupply 5 14 Out5 15 GND 5 16 Vsupply 6 17 Out6 18 GND 6 19 Vsupply 7 20 Out7 21 GND 7 22 Vsupply 8 23 Out8 24 GND 8 25 Vsupply 9 26 Out9 27 GND 9 28 Vsupply 10 29 Out10 30 GND 10 31 Vsuppl...

Страница 16: ...RTD Finland Oy Chapter 4 HARDWARE DESCRIPTION This chapter describes in detail the two major features of the DM5856HR DM6856HR The isolated optocoupler inputs and the isolated optocoupler outputs Fig...

Страница 17: ...pproximately 3 2 to 3 4V To customize the input range to a different one please change the input resistor The nominal value of the 5V range input resistor is 1 KOhm The forward voltage of the optocoup...

Страница 18: ...atch The output optocoupler transistor is in the open collector configuration with a pull up resistor which is connected to the collector A 4 7 KOhm resistor is used as a pull up to the supply The out...

Страница 19: ...nputs 1 8 Digital outputs 1 8 BA 0 High Byte ch 9 16 Digital Inputs 9 16 Digital outputs 9 16 BA 1 BA Base Address BA 0 Digital Inputs 1 8 Read The optoisolated digital input channels 1 8 can be read...

Страница 20: ...eration Clearing and setting bits in an I O port When you clear or set bits in an I O port you must be careful not to alter the status of other bits You can preserve the status of all the bits you do...

Страница 21: ...C syntax 1 Software controlled byte write outp BA low_byte outp BA high_byte 2 Software controlled direct word write outpw BA word Isolated Input Programming The optoisolated inputs are read from a da...

Страница 22: ...a 4 8K pull up 8 mA sink current 30V Output supply voltage 5 to 30V Digital Inputs isolated Number of lines 16 Triggering voltage 5V range 3 3V Approx Maximum input voltage factory default 5V range 1...

Страница 23: ...ion What other devices were connected to the product How was power supplied to the product What features did and did not work What was being done when the product failed What were environmental condit...

Страница 24: ...ol of REAL TIME DEVICES OR AS A RESULT OF SERVICE OR MODIFICATION BY ANYONE OTHER THAN REAL TIME DEVICES EXCEPT AS EXPRESSLY SET FORTH ABOVE NO OTHER WARRANTIES ARE EXPRESSED OR IMPLIED INCLUDING BUT...

Отзывы: