background image

User’s Manual

3

1.2  Installing A/D Converter Cards

1. Orient the backplane with the CPU card already installed and facing towards you as 

shown in Figure 1.

Figure 1.  Installing A/D Converter Cards on the Backplane

2. Position the A/D converter card above the backplane over any unused slot position 

(

SLOT 0

 to 

SLOT 6

) as shown in Figure 1.  Note the slot number and the type of I/O 

card since Dynamic C addresses the I/O cards by slot number.

3. Carefully insert the A/D converter card header into the slot on the backplane and line 

up the tabs on the card with the slots on the backplane as shown in Figure 1.

4. Use the two 4-40 screws supplied with the A/D converter card to ensure that the plastic 

brackets anchor the relay card firmly on the backplane.  Tighten the screws as needed.

+

C2

5

C2

7

J6

C1

1

Place tabs on

card into

alignment slot

D3

C4

+

C5

U2

C6

D4

L2

C9

U5

U6

C1

0

U7

L1

D2

C3

U1

C2

C1

+

+

D1

U3

C7

U4

C8

R9

R8

R7

R6

R5

R4

R3

R2

R1

3

IN

PO

WE

R

J1

1

52

J2

PROCESSOR SLOT

51

26

C1

5

J3

C1

6

C1

3

C1

4

C1

8

C1

7

SLOT 0

2

J4

C1

9

C2

0

C2

1

J5

2

2

SLOT 2

C2

3

C2

2

SLOT 1

C2

4

2

SLOT 3

C2

6

J7

C2

9

C2

8

SLOT 4

2

C3

0

SLOT 5

2

C3

2

C3

1

J8

C3

3

J9

C3

4

C3

5

SLOT 6

2

25

C1

2

2

1

Note

:  The plastic brackets

on the CPU card are

attached on the opposite

side of the board relative

to the I/O cards.

USER

GND

+RAW

U41

U44

R50

U40

C50

JP1

R51

C51

U45

JP2

C55

U43

C52

U42

U46

C57

JP3

R63

R64

R65

R66

R67

R68

C58

R62

C56

R54 R55 R56 R57 R58R59 R60 R61

C53

C54

R52

R53

Flash

EPROM

Flash

EPROM

SRAM

CPU Card

To

power supply

JP14

JP16

JP13

R78

R79

R81

R80

R83

JP18

R82

JP17

R84

JP20

R85

+

C45

U23

+

C46

R89

C47

R90

C48

R86

U20

C20

C32

JP15

R56

JP6

R24

JP1

JP3

JP2

JP5

R23

R21

JP4

R22

R20

R32

R25

JP7

R26

JP8

R27

JP9

R28

JP10

R29

U21

U22

C40

R72

JP19

C44 R71

JP11

R30

JP12

R31

C43

C31

JP21

R55

R77

R87

U24

R91

Q20

R88JP22

A/D Converter Card

Содержание SR9300

Страница 1: ...A D Converter Cards SR9300 Series Smart Star Modular C Programmable Control System User s Manual 010215 A ...

Страница 2: ...re is the buyer s responsibility This device is not approved for life support or medical systems All Z World products are 100 percent functionally tested Additional testing may include visual quality control inspections or mechanical defects analyzer inspections Specifica tions are based on characterization of tested sample units rather than testing over tempera ture and voltage of each unit Z Wor...

Страница 3: ...Library Directories 9 2 2 Smart Star A D Converter Card Function APIs 10 2 3 Sample Programs 14 2 4 Using Dynamic C 15 Appendix A A D Converter Card Specifications 17 A 1 Electrical and Mechanical Specifications 18 Appendix B Field Wiring Terminals 21 B 1 Selecting and Installing a Field Wiring Terminal 22 B 2 Dimensions 23 B 3 Pinouts 23 Appendix C Smart Star Slot Address Layout 25 C 1 A D Conver...

Страница 4: ...iv Smart Star A D Converter Cards SR9300 ...

Страница 5: ...DS Chapter 1 describes the features of the A D converter card one of the I O cards designed for the Smart Star embedded control system The Smart Star embedded control system is described in complete detail in the Smart Star User s Manual ...

Страница 6: ... the back plane chassis which has seven additional slots available for I O cards to be used in any combination A high performance Rabbit 2000 microprocessor on the CPU card operates at 25 8 MHz to provide fast data processing 1 1 A D Converter Card Features Three models of A D converter cards are available as shown in Table 1 Appendix A pro vides detailed specifications Appendix A provides detaile...

Страница 7: ... 4 C 5 U 2 C 6 D 4 L 2 C 9 U 5 U 6 C 1 0 U 7 L 1 D 2 C 3 U 1 C 2 C 1 D 1 U 3 C 7 U 4 C 8 R 9 R 8 R 7 R 6 R 5 R 4 R 3 R 2 R 1 3 IN P O W E R J 1 1 5 2 J 2 PROCESSOR SLOT 5 1 2 6 C 1 5 J 3 C 1 6 C 1 3 C 1 4 C 1 8 C 1 7 SLOT 0 2 J 4 C 1 9 C 2 0 C 2 1 J 5 2 2 SLOT 2 C 2 3 C 2 2 SLOT 1 C 2 4 2 SLOT 3 C 2 6 J 7 C 2 9 C 2 8 SLOT 4 2 C 3 0 SLOT 5 2 C 3 2 C 3 1 J 8 C 3 3 J 9 C 3 4 C 3 5 SLOT 6 2 2 5 C 1 2 ...

Страница 8: ...ors Rg 23 7 kΩ for the SR9300 and 12 1 kΩ for the SR9310 The input shown in Figure 2 is configured differently for the SR9320 which handles analog inputs of 4 20 mA Figure 2 Analog Input Amplifier Circuit Figure 3 shows the complete pinout for the user interface on header J2 Note that pin 1 is indicated by a small arrow on the ribbon cable connector Figure 3 A D Converter Card User Interface Pinou...

Страница 9: ... either pluggable or have screw terminals Table 2 lists the the Z World part numbers for the FWTs Appendix B Field Wiring Terminals provides further information on FWTs includ ing their dimensions and pinouts Table 2 Guide to FWT Selection FWT Description I O Cards Z World Part Number Pluggable Terminals Screw Terminals FWT18 A D Converter 101 0421 101 0425 ...

Страница 10: ...R9300 1 5 Power Distribution Figure 4 shows the power distribution on the A D converter card Figure 4 A D Converter Card Power Distribution BACKPLANE SLOT 0 6 20 22 1 26 5 V V_USER Multiplexer Latch Precision 2 5 V reference 5 V VccADC ...

Страница 11: ... for writing embedded software It runs on an IBM compatible PC and is designed for use with Z World controllers and other controllers based on the Rabbit microprocessor Chapter 2 provides the libraries function calls and sample programs related to the Smart Star A D converter cards ...

Страница 12: ...of Dynamic C libraries and library directories will be displayed One library directory is specific to the Smart Star SMRTSTAR libraries associated with features specific to the Smart Star control sys tem Other functions applicable to all devices based on the Rabbit 2000 microprocessor are described in the Dynamic C Premier User s Manual ...

Страница 13: ... Smart Star sys tems including digital I O cards relay cards D A converter and A D converter cards and serial communication Functions dealing with the A D converter cards are described in this manual Functions relevant to the other I O cards are described in the manual specific to the I O card Func tions dealing with the backplane and the CPU card are described in the Smart Start SR9000 User s Man...

Страница 14: ...hannelnumber is 0 10 Return Value 0 if successful 1 control command unacceptable 2 EEPROM address unacceptable See Also anaInEEWr The calibration constants may also be saved in the flash memory on the Smart Star CPU card Doing so will speed up A D conversions since a memory access from flash memory will be faster than from EEPROM Use anaSaveCalib to save the current set of calibration con stants f...

Страница 15: ...to the global table _adcCalib Parameters channel is the A D converter input channel 0 10 channel should be passed as channel slotnumber 128 channelnumber where slotnumber is 0 6 and channelnumber is 0 10 or channel ChanAddr slotnumber channelnumber where slotnumber is 0 6 and channelnumber is 0 10 value1 is the first A D converter value volt1 is the voltage corresponding to the first A D converter...

Страница 16: ...channel channel should be passed as channel slotnumber 128 channelnumber where slotnumber is 0 6 and channelnumber is 0 10 or channel ChanAddr slotnumber channelnumber where slotnumber is 0 6 and channelnumber is 0 10 Return Value 0 if successful 1 control command unacceptable 2 EEPROM address unacceptable 3 data value unacceptable See Also anaInEERd _anaInEEWr int anaInEEWr int channel ...

Страница 17: ...t channel 0 4095 See Also anaInCalib anaInVolts Reads the state of an analog input channel and uses the previously set calibration constants to convert the state to volts Parameters channel is the analog input channel channel should be passed as channel slotnumber 128 channelnumber where slotnumber is 0 6 and channelnumber is 0 10 or channel ChanAddr slotnumber channelnumber where slotnumber is 0 ...

Страница 18: ...grams that illustrate the use of the corre sponding Dynamic C libraries For example the sample program PONG C demonstrates the output to the STDIO window The SMRTSTAR folder provides sample programs specific to the Smart Star control sys tem Each sample program has comments that describe the purpose and function of the program Follow the instructions at the beginning of the sample program ...

Страница 19: ...all A D converter channels using two known voltages and defines the two coefficients gain and offset These coefficients are then read back to compute the equivalent voltage and are saved to flash memory 2 4 Using Dynamic C To run a sample program open it with the File menu if it is not still open compile it using the Compile menu and then run it by selecting Run in the Run menu The CPU card must b...

Страница 20: ...16 Smart Star A D Converter Cards SR9300 ...

Страница 21: ...User s Manual 17 APPENDIX A A D CONVERTER CARD SPECIFICATIONS Appendix A provides the specifications for the Smart Star A D converter card ...

Страница 22: ...mechanical dimensions for the A D converter card Figure A 1 Relay Card Dimensions All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses J1 C2 C6 U6 C12 C10 C11 R3 R2 C9 C3 C4 1 11 6 16 U4 U3 U2 J2 U1 R1 C1 U5 C5 C8 C7 C13 C14 R4 R5 2 73 70 2 49 63 3 00 76 1 19 48 ...

Страница 23: ...0 1 inch pitch Operating Temperature 40 C to 70 C Humidity 5 to 95 noncondensing Power Requirements 5 V DC at 40 mA from backplane 5 V supply 9 V to 30 V DC 35 mA at 24 V DC RAW V_USER from backplane Number of Inputs 11 conditioned channels Analog Input Ranges 0 V to 10 V 10 V to 10 V 4 mA to 20 mA Resolution 12 bits 0 4095 Conversion Time including Dynamic C 0 2 ms channel Input Stability count I...

Страница 24: ...20 Smart Star A D Converter Cards SR9300 ...

Страница 25: ... WIRING TERMINALS Appendix B explains how to prepare the connector on an I O card to accept a field wiring terminal and how to secure the field wiring terminal to the I O card The dimensions for the field wiring terminals are included ...

Страница 26: ...are careful the tab will remain intact to be saved and snapped back in place for future use Plug the FWT connector into the connector on the A D converter card Be sure to posi tion the pluggable or screw connectors so that the edge of the FWT they are on faces outwards from the A D converter card as shown in Figure B 2 Position the mylar insulator above the FWT as shown in Figure B 2 to protect th...

Страница 27: ...ed in parentheses B 3 Pinouts Figure B 4 shows the pinout for the FWTs used on the A D converter cards Note that AIN0 is not available when using a FWT 0 125 3 2 4 20 107 2 75 70 0 625 16 0 725 18 5 Figure B 4 FWT Pinout for A D Converter Cards GND AIN2 GND AIN2 AIN3 GND AIN4 AIN5 GND AIN6 GND AIN7 AIN8 GND AIN9 AIN10 GND 5 V ADC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...

Страница 28: ...24 Smart Star A D Converter Cards SR9300 ...

Страница 29: ...NDIX C SMART STAR SLOT ADDRESS LAYOUT Appendix C provides information about the register addresses for the various I O card slots on the backplane The information in this appendix will be of interest to more advanced users ...

Страница 30: ...ddress In addition the backplane design requires that bits 13 and 14 be high and that bit 9 be low The simplest way to enforce this is to use a base address of 0x6000 Table C 1 provides the address layout for accessing the Smart Star backplane slots where Sn is the binary representation of the slot number 0 6 Rn is the binary representation of the register numbers 0 15 and X means the value does n...

Страница 31: ...installed on the A D converter card to store the calibration constants Table C 3 A D Converter Card Control Registers Address Data Bits Value Description 0x0 Write D7 D0 D7 D4 selects input channel D3 D0 selects conversion channel Load A D converter with data byte 0x0 Read D1 0 A D converter end of conversion signal 1 A D converter busy 0x1 Write D0 0 Enable A D conversion 1 Disable A D conversion...

Страница 32: ...28 Smart Star A D Converter Cards SR9300 ...

Страница 33: ...WT See field wiring terminals I I O cards attaching to backplane 3 installation field wiring terminals 22 I O cards 3 P pinout A D converter card user inter face 4 FWT18 field wiring terminal 23 power distribution 6 S sample programs 14 SSTARAD1 C 15 SSTARAD2 C 15 SSTARAD3 C 15 slot address layout 25 software 8 libraries 8 SMRTSTAR LIB 8 9 sample programs 14 SMRTSTAR LIB anaIn 13 anaInCalib 11 ana...

Страница 34: ...30 Smart Star A D Converter Cards SR9300 ...

Страница 35: ...User s Manual 31 SCHEMATICS 090 0086 A D Converter Card SR9300 Schematic 090 0102 FWT18 Schematic ...

Страница 36: ...TS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONE DATE B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 2900 SPAFFORD ST DAVIS CA 95616 530 757 4616 ...

Страница 37: ...B NONE ...

Страница 38: ...NG CONTENT THIS DOCUMENT APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO REVISION HISTORY REV ENGINEER PROJECT DESCRIPTION REVISION APPROVAL APPROVAL APPROVAL CONTROL DOCUMENT DATE DATE A DATE NONE 530 757 4616 DAVIS CA 95616 2900 SPAFFORD ST ...

Страница 39: ......

Отзывы: