Smart Star
User's Manual
PREV NEXT INDEX



10. Relay Cards

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 configuration of I/O, A/D converter, D/A converter, and relay cards can be tailored to a large variety of demanding real-time control and data acquisition applications.

The typical Smart Star system consists of a rugged backplane with a power supply, a CPU card, and one or more I/O cards. The CPU card plugs into a designated slot on the backplane 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.

10.1 Relay Card Features

Two models of relay cards are available, as shown in Table 18.


The SR9500 relay cards are suitable for switching all kinds of loads up to 30 V DC at 1 A or 48 V AC at 0.5 A. The SR9510 handles similar loads, but is restricted to noninductive loads unless you add snubbers to the system that is interfacing with the Smart Star.

10.2 User Interface

Depending on the model of relay card (see Table 18), the relays on the relay card will be configured as SPDT or SPST with or without snubbers. Figure 45 shows these relay configurations.


Figure 45. Relay Configurations

The diode protects the coil power supply (and the Smart Star backplane) from inductive spikes caused by energizing/de-energizing the coil, and the resistor-capacitor snubbers protect the relay contacts against voltage spikes induced by inductive loads.

Figure 46 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 46. Relay Card User Interface Pinout

10.3 User FWT Connections

Connections to the relay cards are made via a ribbon cable connector or optional field wiring terminals that are either pluggable or have screw terminals. Table 19 lists the Z-World part numbers for the FWTs.


10.3.1 Pinouts

Figure 47 shows the pinout for the FWTs used on the relay cards.


Figure 47. FWT Pinouts for Relay Cards

10.4 Power Distribution

Figure 48 shows the power distribution on the relay card.


Figure 48. Relay Card Power Distribution

The relay coil actuation voltage is 12 V, and so +V_USER should be 12 V to 30 V DC. The +V_USER supply passes through a linear regulator and comparator, which are in parallel. The comparator is set for approximately +13.9 V, and as long as +V_USER is more than +13.9 V, the +12 V from the linear regulator will provide the coil actuation voltage. Should +V_USER be less than +13.9 V, the comparator will supply +V_USER directly to provide the coil actuation voltage.

10.5 Relay Cards Software

Dynamic C Premier is an integrated development system 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.

10.5.1 Dynamic C Libraries

With Dynamic C running, click File > Open, and select Lib. The following list of Dynamic C libraries and library directories will be displayed.


One library directory is specific to the Smart Star.

10.5.2 Library Directories

The SMRTSTAR directory contains libraries required to operate the Smart Star control system.


10.5.3 Smart Star Relay Card Function APIs

void relayOut(int relay, int value);


Sets the state of a relay.
Parameter
relay is the relay to set. relay should be passed as
or
where slotnumber is 0-6, and relaynumber is 0-5 (SR9500) or 0-7 (SR9510), depending on the model of relay card.
value is the value to set the relay to, 0 or 1 (off or on).

10.5.4 Sample Programs

10.6 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 be in Program Mode (see Section 4.1, "Programming Cable") and must be connected to a PC using the programming cable as described in Section 2.3, "Programming Cable Connections."

More complete information on Dynamic C is provided in the Dynamic C Premier User's Manual.

10.7 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.

Table 20 lists the electrical, mechanical, and environmental specifications for the relay card.



PREV NEXT INDEX


Z-World
http://www.zworld.com
Voice: (530) 757-3737
FAX: (530) 757-3792
sales@zworld.com