101-0506 Rabbit Semiconductor, 101-0506 Datasheet

no-image

101-0506

Manufacturer Part Number
101-0506
Description
CARD CPU SR9160 128K SRAM SMRTST
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0506

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9160
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Smart Star (SR9000)
Modular C-Programmable Control System
User’s Manual
019–0107 • 090519–L

Related parts for 101-0506

101-0506 Summary of contents

Page 1

Smart Star (SR9000) Modular C-Programmable Control System User’s Manual 019–0107 • 090519–L ...

Page 2

Smart Star (SR9000) User’s Manual Part Number 019-0107 • 090519–L • Printed in U.S.A. © 2002–2009 Digi International Inc. • All rights reserved. No part of the contents of this manual may be reproduced or transmitted in any form or ...

Page 3

Part I. CPU/Backplane Chapter 1. Introduction 1.1 Features .................................................................................................................................................9 1.2 User Connections ................................................................................................................................11 1.3 Optional Add-Ons...............................................................................................................................11 1.4 Development and Evaluation Tools....................................................................................................12 1.4.1 Tool Kit .......................................................................................................................................12 1.4.2 Software ......................................................................................................................................12 1.5 CE Compliance ...................................................................................................................................13 1.5.1 Design Guidelines .......................................................................................................................15 1.5.2 Interfacing the Smart ...

Page 4

Chapter 4. Software 4.1 Running Dynamic C........................................................................................................................... 43 4.1.1 Upgrading Dynamic C................................................................................................................ 45 4.1.1.1 Patches and Bug Fixes....................................................................................................... 45 4.1.1.2 Upgrades ............................................................................................................................ 45 4.2 Sample Programs................................................................................................................................ 46 4.3 Dynamic C Libraries .......................................................................................................................... 47 4.4 Smart Star Backplane Function Calls................................................................................................. 48 ...

Page 5

... Smart Star A/D Converter Card Function Calls..........................................................................92 8.6 Electrical and Mechanical Specifications ...........................................................................................96 Part IV. D/A Converter Cards Chapter 9. D/A Converter Cards 9.1 D/A Converter Card Features ...........................................................................................................101 9.2 User Interface....................................................................................................................................102 9.3 User FWT Connections ....................................................................................................................104 9.3.1 Pinouts.......................................................................................................................................104 9.4 Power Distribution ............................................................................................................................105 9 ...

Page 6

Part VI. Appendices Appendix A. Field Wiring Terminals A.1 Selecting and Installing a Field Wiring Terminal ........................................................................... 128 A.2 Dimensions...................................................................................................................................... 129 Appendix B. LCD/Keypad Module B.1 Specifications................................................................................................................................... 131 B.2 Contrast Adjustments for All Boards .............................................................................................. 133 B.3 Keypad Labeling.............................................................................................................................. 134 ...

Page 7

PART I. CPU/BACKPLANE User’s Manual 7 ...

Page 8

Smart Star (SR9000) ...

Page 9

Chapter 1 introduces the Smart Star embedded control system and describes the features associated with the backplane chassis and the CPU Card. The Tool Kit containing the hardware essen- tials to begin using the Smart Star is described, and the ...

Page 10

Table 1 lists the backplanes, CPU cards, and the I/O cards that are available for the Smart Star control system. Appendix A provides detailed specifications for the Smart Star back- planes and the CPU cards. Table 1. Smart Star Backplanes ...

Page 11

... Web site for up-to-date information about additional add-ons and features as they become available. The Web site also has the latest revision of this user’s manual. User’s Manual Rabbit Part Number Pluggable Terminals Screw Terminals 101-0420 101-0514 101-0421 101-0515 101-0422 101-0516 11 ...

Page 12

Development and Evaluation Tools 1.4.1 Tool Kit The Tool Kit has the hardware essentials that you need to create and use your own Smart Star control system. The items in the Tool Kit and their use are as follows: ...

Page 13

CE Compliance Equipment is generally divided into two classes. CLASS A Digital equipment meant for light industrial use Less restrictive emissions requirement: less than 40 dB µV (40 dB relative to 1 µV/m) or 300 µV/m ...

Page 14

The sub-versions of the boards are also CE-compliant. All boards that are CE-compliant have the CE mark. Several Smart Star boards are not yet CE-compliant. These boards are listed in Table 4. Table 4. Smart Star Backplanes and Cards Not ...

Page 15

Design Guidelines Note the following requirements for incorporating a Smart Star embedded control system into your application to comply with CE requirements. General • The power supply provided with the Tool Kit is for development purposes only ...

Page 16

Smart Star (SR9000) ...

Page 17

Chapter 2 explains how to connect the power supply to the Smart Star backplane, how to install the CPU Card on the back- plane, and how to connect the programming cable to the CPU Card. Once you run a sample ...

Page 18

Attach the CPU Card to the Backplane 1. Orient the backplane with the Figure 1. Figure 1. Attach the CPU Card to the Backplane 2. Position the CPU Card above the backplane as shown in Figure 1. 3. Carefully ...

Page 19

Connect the Power Supply Connect the power supply to the POWER IN connector on the backplane—the red (posi- tive) wire to and the black (negative) +RAW wire shown in Figure 2. GND Figure 2. Power Supply ...

Page 20

... PC. Note that COM1 on the PC is the default COM port in the Dynamic C installation. NOTE: Be sure to use the programming cable (Part No. 101-0513) supplied with the Smart Star Tool Kit—the programming cable has red shrink wrap around the RS-232 converter section located in the middle of the cable. Programming cables from other Rabbit kits are not designed to work with the Smart Star ...

Page 21

Apply power. Plug the power supply nearby outlet. The CPU Card is now ready to be used. NOTE: A hardware RESET is accomplished by unplugging the power supply, then plug- ging it back in. To power ...

Page 22

Installing Dynamic C If you have not yet installed Dynamic C version 7.06P3 (or a later version now by inserting the Dynamic C CD from the Smart Star Tool Kit in your PC’s CD-ROM drive. The CD ...

Page 23

Starting Dynamic C Once the CPU Card is installed and connected as described above, start Dynamic C by double-clicking on the Dynamic C icon or Dynamic C root directory, where XXXX are version-specific characters. Dynamic C defaults to using ...

Page 24

PONG.C You are now ready to test your set-up by running a sample program. Find the file PONG.C , which is in the Dynamic C SAMPLES folder. To run the program, open it with the File menu (if it ...

Page 25

Installing I/O Cards 1. Orient the backplane with the CPU Card already installed and facing towards you as shown in Figure 5. Figure 5. Installing I/O Cards on the Backplane 2. Position the new I/O card above the backplane ...

Page 26

Where From Here? NOTE: If you purchased your Smart Star through a distributor or Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: • Use the ...

Page 27

Chapter 3 describes the principal features for the Smart Star backplanes and CPU cards. • Power Distribution - Power Distribution - I/O Card Slots • Smart Star CPU Card Features - Serial Communication - Memory - Other Connectors User’s Manual ...

Page 28

Backplane Features 3.1.1 Power Distribution Power is supplied to the Smart Star control system from an external source through header J1 on the backplane. The +5 V circuitry on the Smart Star control system is protected against reverse polarity ...

Page 29

Figure 7 shows how the power supplies are distributed on the backplane and on the CPU Card. Figure 7. Smart Star Power Supplies—Backplane and CPU Card User’s Manual 29 ...

Page 30

Figure 8 shows how the power supplies are distributed on the I/O cards. Figure 8. Smart Star Power Distribution on I/O Cards NOTE: Note that Rabbit recommends tying +RAW to +V_USER as explained in Section 2.2, “Connect the Power Supply.” ...

Page 31

I/O Card Slots The backplane serves to make the CPU Card accessible seven I/O cards plugged in to SLOT 0 through SLOT 6 on the backplane. Figure 9 shows the pinout for through (headers J3–J9) on ...

Page 32

Smart Star CPU Card Features 3.2.1 Serial Communication The CPU Card has one screw terminal header for RS-232/RS-485 serial communication (J3) and one RJ-45 Ethernet jack (J7, SR9150 only). The RJ-12 jack, J6, is reserved for future use and ...

Page 33

RS-485 The CPU Card has one RS-485 serial channel, which is connected to the Rabbit 2000 serial port C through an RS-485 transceiver. The chip’s slew rate limiters provide for a maximum baud rate of 250,000 bps, and allows ...

Page 34

The CPU Card comes with a 220 Ω termination resistor and 681 Ω bias resistors already installed and enabled with jumpers across pins 1–2 and 5–6 on header JP1, as shown in Figure 12. Figure 12. RS-485 Termination and Bias ...

Page 35

Programming Port The CPU Card has a 10-pin programming header labeled J2. The programming port uses the Rabbit 2000’s Serial Port A for communication. Dynamic C uses the programming port to download and debug programs. The programming port is ...

Page 36

Ethernet Port (SR9150 only) Figure 13 shows the pinout for the Ethernet port (J2 on the CPU Card). Note that there are two standards for numbering the pins on this connector—the convention used here, and numbering in reverse to ...

Page 37

Programming Cable The programming cable is used to connect the programming port of the Smart Star CPU Card serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to ...

Page 38

Memory 3.3.2.1 SRAM The Smart Star CPU Cards are designed to accept 128K or 512K of static RAM packaged in an SOIC case. Standard CPU Cards come with 128K of SRAM. 3.3.2.2 Flash EPROM The Smart Star CPU Card ...

Page 39

Other Connectors The connectors labeled J4 and J5 in Figure 16 are reserved for future use and should not be used in customer applications at this time. Figure 16. CPU Card Connectors J4 and J5 User’s Manual 39 ...

Page 40

Jumpers across pins 9–10 and 13–14 on header JP1 on the backplane are used to bring out the and LED signals to header J6, which is used to connect the optional LCD/key- ACT LNK pad module. Remove these jumpers (you ...

Page 41

Other Hardware 3.4.1 Clock Doubler The Smart Star CPU cards take advantage of the Rabbit 2000 microprocessor’s internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 22.1 MHz frequency is ...

Page 42

Smart Star (SR9000) ...

Page 43

Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit controllers and other controllers based on the Rabbit microprocessor. Chapter 4 provides the libraries, function calls, ...

Page 44

Dynamic C has a number of standard features. • Full-feature source and/or assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of functions in source-code libraries and sample programs: Exceptionally ...

Page 45

Upgrading Dynamic C 4.1.1.1 Patches and Bug Fixes Dynamic C patches that focus on bug fixes are available from time to time. Check the Web site www.rabbit.com/support/ for the latest patches, workarounds, and bug fixes. The default installation of ...

Page 46

Sample Programs Sample programs are provided in the Dynamic C demonstrates the output to the PONG.C folder contain specific sample programs that illustrate the use of the correspond- SAMPLES ing Dynamic C libraries. The folder provides sample programs specific ...

Page 47

Dynamic C Libraries One library directory contains software that is unique to the Smart Star. • SMRTSTAR.LIB —This library supports all the functions needed by the Smart Star sys- tems including Digital I/O Cards, Relay Cards, D/A Converter and ...

Page 48

Smart Star Backplane Function Calls 4.4.1 Board Reset void brdResetBus(); Resets all cards on the bus. RETURN VALUE None. 4.4.2 Board Initialization void brdInit(); Initializes slot addressing, disables card enable/disable line, resets card slot bus and LED latch, and ...

Page 49

Serial Communication Calls Library files included with Dynamic C provide a full range of serial communications support. The RS232.LIB library provides a set of circular-buffer-based serial functions. The library provides packet-based serial functions where packets can be delimited PACKET.LIB ...

Page 50

Disables RS-485 transmission (enables receive) on serial port D. RETURN VALUE None. SEE ALSO ser485Tx 50 Smart Star (SR9000) ...

Page 51

U SING THE Chapter 5 discusses using the TCP/IP features on the CPU cards. Note that the TCP/IP feature is available only on the SR9150 CPU Card. 5.1 Ethernet Connections Before proceeding you will need to have the following ...

Page 52

Apply Power Plug in the power supply. The Smart Star is now ready to be used. NOTE: A hardware RESET is accomplished by unplugging the power supply, then plug- ging it back in. The green LNK light is on ...

Page 53

TCP/IP Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require that you connect your PC and the Smart Star together on the same network. This network ...

Page 54

... NOTE: Your network interface card will likely have a different name. 3. Now select the tab, and check IP Address click on “Properties” to assign an IP address to your computer (this will disable “obtain an IP address automatically”): IP Address : 10.10.6.101 Netmask : 255.255.255.0 Default gateway : 10.10.6.1 4. Click <OK> or < ...

Page 55

Run the PINGME.C Demo Connect the crossover cable from your computer’s Ethernet port to the CPU Card’s RJ-45 Ethernet connector. Open this sample program from the compile the program, and start it running under Dynamic C. When the program ...

Page 56

LCD/Keypad Sample Programs Showing TCP/IP Features The following sample programs, found in the TCPIP subdirectory in SAMPLES/LCD_Keypad/122x32_1x7 pad module connected to the backplane. Remember to configure the IP address, netmask, and gateway as indicated in the sample programs. • ...

Page 57

Where From Here? NOTE: If you purchased your Smart Star through a distributor or Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: • Use the ...

Page 58

Smart Star (SR9000) ...

Page 59

S MART This chapter provides the specifications for the Smart Star back- plane and CPU Card, and describes the conformal coating. User’s Manual S S TAR PECIFICATIONS 59 ...

Page 60

Electrical and Mechanical Specifications 6.1.1 Smart Star Backplane Figure 19 shows the mechanical dimensions for the two Smart Star backplanes. Figure 19. Smart Star Backplane Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed ...

Page 61

Table 5 lists the electrical, mechanical, and environmental specifications for the Smart Star backplanes. Table 5. Smart Star Backplane Specifications Parameter 6.50" × 4.20" × 0.75" Board Size (165 mm × 107 mm × 19 mm) one 2 × 26 ...

Page 62

CPU Card Figure 20 shows the mechanical dimensions for the CPU cards. Figure 20. CPU Card Dimensions 62 Smart Star (SR9000) ...

Page 63

Table 6 lists the electrical, mechanical, and environmental specifications for the CPU Card. Table 6. CPU Card Specifications Parameter Board Size (with optional 4.00" × 3.12" × 1.00" backup battery board) (102 mm × 79.2 mm × 25.4 mm) one ...

Page 64

Jumper Configurations Figure 21 shows the header locations used to configure the various CPU Card options via jumpers. Figure 21. Location of Smart Star CPU Card Configurable Positions 64 Smart Star (SR9000) ...

Page 65

Table 7 lists the configuration options. Table 7. Smart Star CPU Card Jumper Configurations Header Description RS-485 Bias and Termination JP1 Resistors JP2 U5 Flash Memory Size JP3 SRAM Size JP4 U11 Flash Memory Size JP5 Flash Memory Bank Select ...

Page 66

Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the CPU Card have had the Dow Corning silicone-based 1-2620 conformal coating applied. The confor- mally coated areas are shown in Figure 22. The conformal ...

Page 67

Use of Rabbit 2000 Parallel Ports Figure 23 shows the Rabbit 2000 parallel ports. Figure 23. Smart Star CPU Card Rabbit 2000 Systems User’s Manual 67 ...

Page 68

Exclusion Zone It is recommended that you allow for an “exclusion zone” of 3" (80 mm) around the Smart Star in all directions when the Smart Star is incorporated into an assembly that includes other components. This “exclusion zone” ...

Page 69

PART II. DIGITAL I/O CARDS User’s Manual 69 ...

Page 70

Smart Star Digital I/O Cards (SR9200) ...

Page 71

Chapter 7 describes the features of the Digital I/O Card, one of the I/O cards designed for the Smart Star embedded control sys- tem.The Smart Star is a modular and expandable embedded con- trol system whose configuration of I/O, A/D ...

Page 72

User Interface Figure 24 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 24. Digital I/O Card User Interface Pinout 72 ...

Page 73

... Digital I/O Cards. Note that only 23 of the I/O points are available on the FWT27—the HVOUT7 digital output is not available on the FWT27. User’s Manual Rabbit Part Number Pluggable Terminals Screw Terminals 101-0420 101-0514 Figure 25. FWT Pinout for Digital I/O Cards 73 ...

Page 74

Digital Inputs and Outputs The Digital I/O Card has 24 I/O points that are factory configured as either inputs or outputs in banks of eight, depending on the model. Figure 26 shows the locations of the I/O banks. Figure ...

Page 75

The I/O points on Bank 0 are always inputs, and the I/O points on Bank 1 are always out- puts. The I/O points on Bank 2 were configured at the factory as either inputs or outputs, depending on the model ...

Page 76

The protected digital inputs, shown in Figure 27, are factory configured with 10 kΩ pull- up resistors. Digital I/O cards are also available in quantity with the protected digital inputs pulled down as shown in Figure 27. Figure 27. Protected ...

Page 77

Digital Outputs The high-current digital outputs are either sinking or sourcing, depending on the model of the Digital I/O Card. Table 12 provides the pinout configuration for the output points. Table 12. Digital Outputs Pinout Pin 13 I/O8 14 ...

Page 78

FD Figure 30. Selecting Power Supply for High-Current Sinking or Sourcing Outputs Figure 31 shows how to connect a load to the high-current outputs based on whether your Digital I/O Card model has sinking or sourcing outputs. W Figure 31. ...

Page 79

Software 7.5.1 Sample Programs • SSTARIO.C —Demonstrates digital I/O using individual channels and whole banks. The sample program is set up for 8 inputs and 16 outputs. If necessary, you may change the macros in the sample program to ...

Page 80

Smart Star Digital I/O Card Function Calls int digIn(int channel); Reads the state of a digital input channel (IN0–IN15, IN8–IN15 is not available on all versions of the Digital I/O Card). PARAMETER channel is the digital input channel to ...

Page 81

Writes a value to an output channel (OUT0–OUT15, OUT8–IN15 not available on all versions of the Digital I/O Card). PARAMETERS channel is the digital output channel to write. channel = (slotnumber * 128) + (channelnumber) ...

Page 82

Electrical and Mechanical Specifications Figure 32 shows the mechanical dimensions for the Digital I/O Card. Figure 32. Digital I/O Card Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses. 82 Smart Star ...

Page 83

Table 13 lists the electrical, mechanical, and environmental specifications for the Digital I/O Card. Table 13. Digital I/O Card Specifications Parameter 2.73" × 3.00" × 0.44" Board Size (70 mm × × 11 mm) Connectors one 2 × ...

Page 84

Smart Star Digital I/O Cards (SR9200) ...

Page 85

PART III. A/D CONVERTER CARDS User’s Manual 85 ...

Page 86

Smart Star A/D Converter Cards (SR9300) ...

Page 87

A/D C Chapter 8 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 is a modular and expandable embedded control system whose configura- tion ...

Page 88

User Interface Figure 33 shows the circuit used to condition the analog signal before it goes to the A/D converter chip. Depending on the model of A/D Converter Card you have designed to handle analog inputs of ...

Page 89

... Table 15. Guide to FWT Selection FWT Description I/O Cards FWT18 A/D Converter 8.3.1 Pinouts Figure 35 shows the pinout for the FWTs used on the A/D Converter Cards. User’s Manual Rabbit Part Number Pluggable Terminals Screw Terminals 101-0421 101-0515 Figure 35. FWT Pinout for A/D Converter Cards 89 ...

Page 90

Power Distribution Figure 36 shows the power distribution on the A/D Converter Card. Figure 36. A/D Converter Card Power Distribution 90 Smart Star A/D Converter Cards (SR9300) ...

Page 91

Software 8.5.1 Sample Programs • SSTARAD1.C —Demonstrates how to calibrate an A/D converter channel using two known voltages, and defines the two coefficients, gain and offset. These coefficients are then read back to compute the equivalent voltage. • SSTARAD2.C ...

Page 92

Smart Star A/D Converter Card Function Calls int anaInEERd(int channel); The A/D Converter Card calibration constants, gain, and offset are stored in the factory in the upper half of the EEPROM on the A/D Converter Card. Use this function ...

Page 93

Used to recalibrate the response of the A/D converter channel as a linear function using the two conver- sion points provided. Gain and offset constants are calculated and placed ...

Page 94

Reads the state of an analog input channel and converts digital value. A timeout occurs, causing the function to exit, if the end of the conversion is not detected within 13 µs. ...

Page 95

Reads the state of an analog input channel and uses the previously set calibration constants to convert the state to current. NOTE: The factory-set calibration constants are for current measurements in amperes. PARAMETERS channel is the ...

Page 96

Electrical and Mechanical Specifications Figure 37 shows the mechanical dimensions for the A/D Converter Card. Figure 37. Relay Card Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses. 96 Smart Star A/D ...

Page 97

Table 16 lists the electrical, mechanical, and environmental specifications for the A/D Converter Card. Table 16. A/D Converter Card Specifications Parameter 2.73" × 3.00" × 0.44" Board Size (70 mm × × 11 mm) Connectors one 2 × ...

Page 98

Smart Star A/D Converter Cards (SR9300) ...

Page 99

PART IV. D/A CONVERTER CARDS User’s Manual 99 ...

Page 100

Smart Star D/A Converter Cards (SR9400) ...

Page 101

... Three models of D/A Converter Cards are available, as shown in Table 17. Table 17. Smart Star D/A Converter Cards I/O Card Model SR9400 D/A Converter SR9410 SR9420 User’s Manual ONVERTER Features 12-bit D/A converter, 8 channels – 12-bit D/A converter, 8 channels, -10 V – +10 V 12-bit D/A converter, 8 channels – ARDS 101 ...

Page 102

User Interface Figure 38 shows the D/A converter circuit. A buffer, U6, buffers the data signals D0–D7 from the Smart Star backplane, and sends them to the D/A converter, U2–U5. Signals D2– D5 are used to switch the chip ...

Page 103

Figure 39 shows the complete pinout for the user interface on header J1. Note that pin 1 is indicated by a small arrow on the ribbon cable connector. Figure 39. D/A Converter Card User Interface Pinout The D/A Converter Card ...

Page 104

... I/O Cards FWT18 D/A Converter 9.3.1 Pinouts Figure 41 shows the pinout for the FWTs used on the D/A Converter Cards. 104 Rabbit Part Number Pluggable Terminals Screw Terminals 101-0421 101-0515 Figure 41. FWT Pinout for D/A Converter Cards Smart Star D/A Converter Cards (SR9400) ...

Page 105

Power Distribution Figure 42 shows the power distribution on the D/A Converter Card. Figure 42. D/A Converter Card Power Distribution Figure 43 shows the power supply for the op-amps used as voltage amplifiers/current sources. Figure 43. Op-Amp Power Supplies ...

Page 106

Software 9.5.1 Sample Programs —Demonstrates how to set the D/A channel for the desired output. • ANAVOUT.C —Demonstrates how to recalibrate a D/A converter channel using two known • SSDAC1.C voltages, and shows how to define the two coefficients, ...

Page 107

Smart Star D/A Converter Card Function Calls void anaOutDisable(void); Turns off (disables) voltage regulator for output-channel op-amps on all D/A Converter Cards, leaving all output channels in a high-impedance state. RETURN VALUE None. See Also anaOutEnable, anaOut, anaOutVolts, anaOutmAmps ...

Page 108

Calibrates the response of the desired D/A converter channel as a linear function using the two conver- sion points provided. Gain and offset constants are calculated and placed into ...

Page 109

The calibration constants may also be saved in the flash memory on the Smart Star CPU Card. Doing so will speed up D/A conversions since a memory access from flash memory will be faster than from EEPROM. ...

Page 110

Sets the voltage of an analog output channel by serially clocking in 16 bits to a D/A converter using the following format: • Program bits (D15…D12) • New data (D11…D0) D15 D14 D13 ...

Page 111

Sets the voltage of an analog output channel by using the previously set calibration constants to calculate correct data values. PARAMETERS channel is the D/A converter output channel. channel should be passed as channel ...

Page 112

Writes the calibration constants, gain, and offset to the upper half of the EEPROM on the D/A Converter Card. PARAMETERS channel is the D/A converter output channel. channel should be passed as channel = (slotnumber * 128) ...

Page 113

Electrical and Mechanical Specifications Figure 44 shows the mechanical dimensions for the D/A Converter Card. Figure 44. D/A Converter Card Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses. User’s Manual 113 ...

Page 114

Table 19 lists the electrical, mechanical, and environmental specifications for the D/A Converter Card. Table 19. D/A Converter Card Specifications Parameter 2.73" × 3.00" × 0.44" Board Size (70 mm × × 11 mm) Connectors one 2 × ...

Page 115

PART V. RELAY CARDS User’s Manual 115 ...

Page 116

Smart Star Relay Cards (SR9500) ...

Page 117

Chapter 10 describes the features of the Relay Card, one of the I/O cards designed for the Smart Star embedded control system. The Smart Star is a modular and expandable embedded control system whose configura- tion of I/O, A/D Converter, ...

Page 118

User Interface Depending on the model of Relay Card (see Table 20), the relays on the Relay Card will be configured as SPDT or SPST with or without snubbers. Figure 45 shows these relay configura- tions ...

Page 119

... I/O Cards FWT18R Relay (SR9500) FWT27 Relay (SR9510) 10.3.1 Pinouts Figure 47 shows the pinout for the FWTs used on the Relay Cards. User’s Manual Rabbit Part Number Pluggable Terminals Screw Terminals 101-0422 101-0516 101-0420 101-0514 Figure 47. FWT Pinouts for Relay Cards 119 ...

Page 120

Power Distribution Figure 48 shows the power distribution on the Relay Card. Figure 48. Relay Card Power Distribution The relay coil actuation voltage and so supply passes through a linear regulator and comparator, which are in ...

Page 121

Relay Cards Software 10.5.1 Sample Programs —Demonstrates turning a relay on the Relay Card on and off. • SSTARRLY.C 10.5.2 Running Sample Programs To run a sample program, open it with the using the menu, and then run it ...

Page 122

Smart Star Relay Card Function Calls void relayOut(int relay, int value); Sets the state of a relay. PARAMETER relay is the relay to set. relay should be passed as relay = (slotnumber * 128) + (relaynumber) or relay = ...

Page 123

Electrical and Mechanical Specifications Figure 49 shows the mechanical dimensions for the Relay Card. Figure 49. Relay Card Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses. User’s Manual 123 ...

Page 124

Table 22 lists the electrical, mechanical, and environmental specifications for the Relay Card. Table 22. Relay Card Specifications Parameter 2.73" × 3.00" × 0.44" Board Size (70 mm × × 11 mm) Connectors one 2 × 17 latch/eject ...

Page 125

User’s Manual PART VI. APPENDICES 125 ...

Page 126

Smart Star (SR9000) ...

Page 127

Appendix A 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. User’s ...

Page 128

... Note that the mylar insulator will be bowed slightly once the screws are in place. 128 Rabbit Part Number Pluggable Terminals Screw Terminals 101-0420 101-0514 101-0421 101-0515 101-0422 101-0516 Figure A-1. Remove Tabs from Connector on I/O Card Figure A-2. Secure FWT to I/O Card Smart Star (SR9000) ...

Page 129

A.2 Dimensions Figure A-3 shows the overall FWT dimensions. Figure A-3. FWT Dimensions NOTE: All diagram and graphic measurements are in inches followed by millimeters enclosed in parentheses. The actual appearance of the terminals may vary, depending on the number ...

Page 130

Smart Star (SR9000) ...

Page 131

A PPENDIX An optional LCD/keypad module with a NEMA 4 water-resis- tant bezel is available for the Smart Star. Appendix B describes the LCD/keypad module and provides the software function calls to make full use of the LCD/keypad module. B.1 ...

Page 132

Table B-1 lists the electrical, mechanical, and environmental specifications for the LCD/ keypad module. Table B-1. LCD/Keypad Specifications Parameter Board Size Bezel Size Temperature Humidity Power Consumption Connections LCD Panel Size Keypad LEDs * The backlight adds approximately 650 mW ...

Page 133

B.2 Contrast Adjustments for All Boards Starting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based on the voltage of the system they would be used in. Be sure to select a KDU5V LCD/keypad module for use with ...

Page 134

B.3 Keypad Labeling The keypad may be labeled according to your needs. A template is provided in Figure B-4 to allow you to design your own keypad label insert. Figure B-4. Keypad Template To replace the keypad legend, remove the ...

Page 135

B.4 Header Pinouts Figure B-6 shows the pinouts for the LCD/keypad module. Figure B-6. LCD/Keypad Module Pinouts B.4.1 I/O Address Assignments The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table B-2. ...

Page 136

B.5 Mounting LCD/Keypad Module B.5.1 Installation Guidelines When possible, following these guidelines when mounting the LCD/keypad module. 1. Leave sufficient ventilation space 2. Do not install the LCD/keypad module directly above machinery that radiates a lot of heat (for example, ...

Page 137

B.5.2 Mounting Instructions A bezel and a gasket are included with the LCD/keypad module. When properly mounted in a panel, the LCD/keypad module bezel is designed to meet NEMA 4 specifications for water resistance. Since the LCD/keypad module employs an ...

Page 138

Fasten the unit with the four 4-40 screws and washers included with the LCD/keypad module. If your panel is thick, use a 4-40 screw that is approximately 3/16" (5 mm) longer than the thickness of the panel. Figure B-8. ...

Page 139

B.6 Connecting LCD/Keypad Module to Smart Star Backplane The LCD/keypad module can be located as far as 2 ft. (60 cm) away from the Smart Star backplane, and is connected via a ribbon cable as shown in Figure B-9. Figure ...

Page 140

The SR9050 backplane can also be panel-mounted behind the LCD/keypad module. 1. Prepare a cutout and install the LCD/keypad module in the cutout as explained in Section B.5.2.1. 2. Use brackets to secure the LCD/keypad module to the panel using ...

Page 141

B.7 Sample Programs The following sample programs are found in the folder. —Demonstrates how to create messages using the keypad and then dis- • ALPHANUM.C playing them on the LCD display. —Demonstrates cofunctions, the cofunction serial library, and using a ...

Page 142

The following sample programs, found in the folder, are targeted at the Ethernet-enabled versions of the Smart Star and the TCPIP BL2110. Remember to configure the IP address, netmask, and gateway as indicated in the sample programs. —This program implements ...

Page 143

B.8 LCD/Keypad Module Function Calls B.8.1 LEDs When power is applied to the LCD/keypad module for the first time, the red LED (DS1) will come on, indicating that power is being applied to the LCD/keypad module. The red LED is ...

Page 144

B.8.2 LCD Display The functions used to control the LCD display are contained in the Dynamic C PLAYS\GRAPHIC\GRAPHIC.LIB are specified, x can range from 0 to 121, and y can range from 0 to 31. These numbers rep- resent pixels ...

Page 145

Sets display contrast. NOTE: This function is not used with the LCD/keypad module since the support circuits are not available on the LCD/keypad module. void glFillScreen(char pattern); Fills the LCD display screen with a pattern. PARAMETER The ...

Page 146

Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. ...

Page 147

Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. If fewer ...

Page 148

Draws the outline of a circle in the LCD page buffer and on the LCD if the buffer is unlocked. Any por- tion of the circle that is outside the LCD display area ...

Page 149

Initializes the font descriptor structure, where the font is stored in xmem. PARAMETERS *pInfo is a pointer to the font descriptor to be initialized. pixWidth is ...

Page 150

Puts an entry from the font table to the page buffer and on the LCD if the buffer is unlocked. Each font character's bitmap is column major and byte-aligned. Any portion ...

Page 151

Provides an interface between the STDIO string-handling functions and the graphic library. The STDIO string-formatting function will call this function, one character at a time, until the entire formatted string has ...

Page 152

Increments LCD screen locking counter. Graphic calls are recorded in the LCD memory buffer and are not transferred to the LCD if the counter is non-zero. NOTE: and glBuffLock() be sure to balance the calls not ...

Page 153

Gets the current method (or color) of pixels drawn by subsequent graphic calls. RETURN VALUE The current brush type. SEE ALSO glSetBrushType void glPlotDot(int x, int y); Draws a single pixel in the LCD buffer, and on the ...

Page 154

Scrolls byte-aligned window left one pixel, right column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...

Page 155

Scrolls byte-aligned window down one pixel, top column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...

Page 156

Scrolls up or down, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in with white pixels. The window ...

Page 157

Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it is faster. The restriction is ...

Page 158

TextGotoXY(windowFrame *window, int col, int row); Sets the cursor location to display the next character. The display location is based on the height and width of the character to be displayed. NOTE: Execute the TextWindowFrame PARAMETERS *window is a ...

Page 159

TextPutChar(struct windowFrame *window, char ch); Displays a character on the display where the cursor is currently pointing. If any portion of a bitmap character is outside the LCD display area, the character will not be displayed. The cursor increments ...

Page 160

B.8.3 Keypad The functions used to control the keypad are contained in the Dynamic C KEYPADS\KEYPAD7.LIB void keyInit(void); Initializes keypad process RETURN VALUE None. SEE ALSO brdInit void keyConfig(char cRaw, char cPress, char cRelease, char cCntHold, char cSpdLo, char cCntLo, ...

Page 161

How many times to repeat after low-speed repeat None. RETURN VALUE None. SEE ALSO keyProcess, keyGet, keypadDef void keyProcess(void); Scans and processes keypad ...

Page 162

Configures the physical layout of the keypad with the default ASCII return key codes. Keypad physical mapping 1 × ['L'] ['U'] ['–'] ['+'] where 'D' represents Down Scroll 'U' represents Up Scroll 'R' ...

Page 163

B.9 Font and Bitmap Converter A Font and Bitmap Converter tool is available to convert Windows fonts and mono- chrome bitmaps to a library file format compatible with Rabbit’s Dynamic C applications and graphical displays. Non-Roman characters can also be ...

Page 164

Smart Star (SR9000) ...

Page 165

A PPENDIX Appendix C provides information on the current requirements of the Smart Star I/O cards, the use and installation of a backup battery, and some background on power management. User’s Manual OWER ANAGEMENT 165 ...

Page 166

C.1 Current Requirements Remember to take the current draw of the various I/O cards into consideration when selecting the power supply for your Smart Star control system. Table C-1 lists the typical current consumption for the CPU Card and the ...

Page 167

C.2.1 Replacing the Backup Battery The battery is user-replaceable, and is fitted in a battery holder. To replace the battery, lift up on the spring clip and slide out the old battery. Use only a Panasonic CR2330 or equiv- alent ...

Page 168

C.2.3 Power to VRAM Switch The VRAM switch, shown in Figure C-2, allows the battery backup to provide power when the external power goes off. The switch provides an isolation between +5 V and the battery when +5 V goes ...

Page 169

C.2.4 Reset Generator The CPU Card uses a reset generator, U4, to reset the Rabbit 2000 microprocessor when the voltage drops below the voltage necessary for reliable operation. The reset occurs between 4.50 V and 4.75 V, typically 4.63 V. ...

Page 170

C.2.5 External Battery A connection for an external backup battery is provided at header J8, shown in Figure C-4. The header is wired to provide reverse polarity protection. Figure C-4. External Backup Battery Connection The external battery connection is useful ...

Page 171

C.3 Chip Select Circuit Figure C-5 shows a schematic of the chip select circuit for the RAM. Figure C-5. Chip Select Circuit The current drain on the battery in a battery-backed circuit must be kept to a minimum. When the ...

Page 172

Smart Star (SR9000) ...

Page 173

S S MART TAR Appendix D 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. User’s Manual A PPENDIX S A ...

Page 174

The slots on the Smart Star backplane are accessed as external registers via the Rabbit 2000’s assembly IOE prefix or via standard Rabbit BIOS functions. More convenient functions specific to the Smart Star control system have been written to provide ...

Page 175

D.1 Digital I/O Card Channel Layout The Digital I/O Card layout is complicated by the standard Rabbit method of minimizing chip layout while adding channel arrangement flexibility. In particular, the nibble-wise layout of digital input channels requires fewer chips if ...

Page 176

D.2 A/D Converter Card Channel Layout The A/D Converter Card contains a single 11-input 12-bit A/D converter, TLC2543. The method of interfacing to this chip is a combination of single-bit writes via board registers and synchronous clocked serial access via ...

Page 177

D.3 D/A Converter Card Channel Layout The D/A Converter Card contains four two-channel 12-bit D/A converters, TLV5618, to produce 8 analog output channels. Each channel is accessed by the slot, channel and device addressing scheme. The D/A Converter Card also ...

Page 178

D.4 Relay Card Channel Layout The Relay Card layout is complemented by the standard Rabbit method of minimizing chip layout while adding channel arrangement flexibility. In particular, the nibble-wise layout of the relay channels requires fewer chips if fewer channels ...

Page 179

... I/O SMODE0 .......................... 35 SMODE1 .......................... 35 Digital I/O Card .................... 71 banks Bank 2 configurations ... 75 locations ........................ 74 digital outputs digBankOut ................... 81 digOut ...

Page 180

... M memory .................................38 flash EPROM configuration for different sizes ..........38 SRAM configuration for different sizes ................38 models A/D Converter Card ..........87 D/A Converter Card ........101 Digital I/O Card .................71 Relay Cards .....................117 mounting instructions LCD/keypad module .......136 O options LCD/keypad module .........11 P pinout A/D Converter Card user interface ...

Page 181

FWT A/D Converter Card ...... 89 D/A Converter Card .... 104 Digital I/O Card ............ 73 Relay Cards ................. 119 LCD/keypad module ....... 135 Relay Cards ..................... 118 power distribution A/D Converter Card .......... 90 backplane .......................... 29 ...

Page 182

Relay Cards dimensions ...................123 electrical ......................124 temperature ..................124 spectrum spreader .................41 subsystems ............................32 T TCP/IP connections additional resources ...........57 Tool Kit .................................12 DC power supply ...............12 Dynamic C software ..........12 field wiring terminal ..........12 programming cable ............12 software ...

Page 183

... CPU Card (SR9150) Schematic www.rabbit.com/documentation/schemat/090-0129.pdf 090-0143 Backplane (SR9010) Schematic www.rabbit.com/documentation/schemat/090-0143.pdf 090-0130 Backplane (SR9050) Schematic www.rabbit.com/documentation/schemat/090-0130.pdf 090-0101 Digital I/O Card–Sinking (SR9200) Schematic www.rabbit.com/documentation/schemat/090-0101.pdf 090-0118 Digital I/O Card–Sourcing (SR92x5) Schematic www.rabbit.com/documentation/schemat/090-0118.pdf 090-0086 A/D Converter Card (SR9300) Schematic www.rabbit.com/documentation/schemat/090-086.pdf 090-0121 D/A Converter Card (SR9400) Schematic www ...

Page 184

LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0125.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the latest schematics directly. ...

Related keywords