| Intellicom User's Manual |
3. Subsystems
Chapter 3 describes the principal subsystems for the Intellicom.
· Switching Between Program Mode and Run Mode
· Memory
· Speaker
3.1 Switching Between Program Mode and Run Mode
The Intellicom is automatically in Program Mode when the programming cable is attached, and is automatically in Run Mode when no programming cable is attached. See Figure 5.
3.1.1 Detailed Instructions: Changing from Program Mode to Run Mode
- Disconnect the programming cable from header J4 of the Intellicom board.
- Reset the Intellicom by unplugging the AC adapter, then plugging it back in.
The Intellicom is now ready to operate in the Run Mode.
3.1.2 Detailed Instructions: Changing from Run Mode to Program Mode
- Attach the programming cable to header J4 of the Intellicom board.
- Reset the Intellicom by unplugging the AC adapter, then plugging it back in.
The Intellicom is now ready to operate in the Program Mode.
3.2 Intellicom Subsystems
Figure 6 shows the Rabbit-based subsystems designed into the Intellicom.
The Intellicom board has 15 pins on header J7, one RJ-12 jack for RS-232 or RS-485 serial communication, and one Ethernet jack (OP6700 only). The pinouts are shown in Figure 7.
RJ-45 pinouts are sometimes numbered opposite to the way shown in Figure 7. Regardless of the numbering convention followed, the pin positions relative to the spring tab position (located at the bottom of the RJ-45 jack in Figure 7) are always absolute, and the RJ-45 connector will work properly with off-the-shelf Ethernet cables.
3.2.1 Digital Inputs
Pins 8-11 on header J7 have the four digital inputs IN0-IN3. Each of the four digital 0 V to 5 V inputs is protected over a range of -36 V to +36 V. The Intellicom is factory-configured for the digital inputs to be pulled up to +5 V, but the digital inputs can also be pulled down by moving the surface-mounted jumper at JP4. The jumper settings and the location of JP4 are shown in Figure 8.
3.2.2 Digital Outputs
Pins 12-15 on header J7 have the four digital outputs OUT0-OUT3. Each of the four open-collector digital outputs can sink up to 200 mA at 40 VDC.
3.3 Serial Communication
In the factory-default configuration, the Intellicom has one RS-232 (3-wire) serial channel, one RS-485 serial channel, and one synchronous CMOS serial channel. The Intellicom may be configured for 5-wire RS-232 or two 3-wire RS-232 channels. The exact configuration instructions depend on the version of Intellicom board you have. This information is etched on the bottom side of the printed circuit board, or you can readily determine your version by examining the diagrams below to find the one that matches your board.
The RS-232 transceiver may be used as a 5-wire RS-232 channel or as two 3-wire RS-232 channels at the expense of the RS-485 channel by adding 0 W surface-mounted resistors at R61 and R62 as shown in Figure 9(a). The RS-485 chip (U10) and the associated bias and termination resistors (R58, R59, and R60) shown in Figure 9(a) must be removed when configuring the Intellicom for either one 5-wire RS-232 or two 3-wire RS-232.
Table 2(a) summarizes the options. Note that the parameters in the serMode software function call must also be set to match the hardware configuration being used.
The RS-232 transceiver may be used as a 5-wire RS-232 channel or as two 3-wire RS-232 channels at the expense of the RS-485 channel, which is connected through 0 W surface-mounted resistors at R82 and R83 as shown in Figure 9(b). R82 and R83, shown in Figure 9(b), must be removed when configuring the Intellicom for either one 5-wire RS-232 or two 3-wire RS-232. U10 and the associated bias and termination resistors (R58, R59, and R60) must also be removed, but R82 and R83 are left installed, if you wish the TxB and RxB RS-232 signals to be available on header J5.
Table 2(b) summarizes the options. Note that the parameters in the serMode software function call must also be set to match the hardware configuration being used.
The RS-232 transceiver may be used as a 5-wire RS-232 channel or as two 3-wire RS-232 channels at the expense of the RS-485 channel, which is connected through jumpers across header JP7 as shown in Figure 9(c). The jumper configurations are shown in Figure 9(c).
Table 2(c) summarizes the options. Note that the parameters in the serMode software function call must also be set to match the hardware configuration being used.
3.3.1 RS-232
The Intellicom's RS-232 serial channel is connected to an RS-232 transceiver, U11. U11 provides the voltage output, slew rate, and input voltage immunity required to meet the RS-232 serial communication protocol. Basically, the chip translates the Rabbit 2000's 0 V to +Vcc signals to RS-232 signal levels. Note that the polarity is reversed in an RS-232 circuit so that +5 V is output as approximately -10 V and 0 V is output as approximately +10 V. U11 also provides the proper line loading for reliable communication.
The maximum baud rate is 115,200 bps. RS-232 can be used effectively at this baud rate for distances up to 15 m.
3.3.2 RS-485
The Intellicom has one RS-485 serial channel, which is connected to the Rabbit 2000 serial port B through U10, an RS-485 transceiver. The chip's slew rate limiters provide for a maximum baud rate of 250,000 bps, which allows for a network of up to 1200 m (or 4000 ft). The half-duplex communication uses the Rabbit 2000's PC0 pin to control the data enable on the communication line.
The RS-485 signals are available on pins 3 and 4 of header J7, and on J5, the RJ-12 jack.
The Intellicom can be used in an RS-485 multidrop network. Connect the 485+ to 485+ and 485- to 485- using single twisted-pair wires (nonstranded, tinned) as shown in Figure 10.
Alternatively, the RS-485 multidrop network may be hooked up using cables with RJ-12 plugs. Note that the RJ-12 jack has +RAW_485 and GND, which means that only one Intellicom needs to be connected to an external power source via an AC adapter. When doing so, ensure that the AC adapter has sufficient capacity for the network -- each Intellicom unit nominally draws 100 mA at 24 VDC.
The Intellicom comes with a 220 W termination resistor and two 680 W bias resistors installed and enabled with jumpers across pins 1-2 and 5-6 on header JP6, as shown in Figure 11.
The bias and termination resistors in a multidrop network should only be enabled on both end nodes of the network. Disable the termination and bias resistors on the intervening Intellicom units in the network by removing both jumpers from header JP6. Note that older versions of the Intellicom do not have this jumper feature, and the surface-mounted bias and termination resistors shown in Figure 11 have to be removed in networks containing more than 10 Intellicom units.
3.3.3 Programming Port
The Intellicom has a 10-pin programming header labeled J4. The programming port uses the Rabbit 2000's serial port A for communication. The Rabbit 2000 startup-mode pins (SMODE0, SMODE1) are presented to the programming port so that an externally connected device can force the Intellicom to start up in an external bootstrap mode.
NOTE Refer to the Rabbit 2000 Microprocessor User's Manual for more information related to the bootstrap mode. The programming port is used to start the Intellicom in a mode where the Intellicom will download a program from the port and then execute the program. The programming port transmits information to and from a PC while a program is being debugged.
The Intellicom can be reset from the programming port.
The Rabbit 2000 status pin is also presented to the programming port. The status pin is an output that can be used to send a general digital signal.
The clock line for serial port A is presented to the programming port, which makes fast serial communication possible.
3.4 Memory
3.4.1 SRAM
The Intellicom is designed to accept 32K to 512K of SRAM packaged in an SOIC case.
The standard models come with 128K of SRAM. Figure 12 shows the locations and the jumper settings for the jumpers at JP1 used to set the SRAM size. The "jumpers" are 0 W surface-mounted resistors.
3.4.2 Flash Memory
The Intellicom is also designed to accept 128K to 512K of flash memory packaged in a TSOP case.
The Intellicom OP6700 comes with two 256K flash memory chips, and the Intellicom OP6600 comes with one 256K flash memory. Figure 12 shows the locations and the jumper settings for the jumpers at JP2 and JP3 used to set the flash memory size. The "jumpers" are 0 W surface-mounted resistors.
NOTE Z-World recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future. A Flash Memory Bank Select jumper configuration option exists at JP5 with 0 W surface-mounted resistors. This option, used in conjunction with some configuration macros, allows Dynamic C to compile two different co-resident programs for the upper and lower halves of the 256K flash in such a way that both programs start at logical address 0000. This is useful for applications that require a resident download manager and a separate downloaded program. See Application Note 218, Implementing a Serial Download Manager for a 256K Flash, for details.
3.4.3 Dynamic C Premier BIOS Source Files
The Dynamic C Premier BIOS source files handle different standard RAM and flash EPROM sizes automatically.
3.5 Speaker
The Intellicom comes with a 35 W speaker that is controlled through the Dynamic C function spkrOut. Both the volume and the frequency of the signal are set with this function call. The maximum average volume was measured to be 75 dBA @ 30 cm (12 inches) from the speaker. Figure 13 shows typical volume measurements for various frequencies with the speaker grille open and closed to maintain water resistance for the front mounting panel.
3.6 Vacuum Fluorescent Display
A vacuum fluorescent display (VFD) may be substituted for the LCD by removing R22 and substituting a VFD for LCD. Note that a VFD has no backlighting and no contrast control.
NOTE Contact your Z-World Sales Representative at (530)757-3737 for information on ordering this option from the factory. The instructions for accessing the display are similar to those for accessing the keypad insert in Appendix B, "Keypad and Plastic Enclosure."
| Z-World http://www.zworld.com Voice: (530) 757-3737 FAX: (530) 757-3792 sales@zworld.com |