Intellicom User's Manual

> ## 3. Subsystems

> Chapter 3 describes the principal subsystems for the Intellicom.

> · Switching Between Program Mode and Run Mode

> · Intellicom Subsystems

> · Serial Communication

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

> Figure 5. Intellicom Program Mode and Run Mode Set-Up

> #### 3.1.1 Detailed Instructions: Changing from Program Mode to Run Mode

> 1. Disconnect the programming cable from header J4 of the Intellicom board.

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

> 1. Attach the programming cable to header J4 of the Intellicom board.

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

> Figure 6. Intellicom Rabbit-Based Subsystems

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

> Figure 7. Intellicom I/O Pinout

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

> Figure 8. Surface-Mounted Jumper Configurations for Selecting
> Pullup/Pulldown on the Digital Inputs

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

> Version 175-0188 Rev. A & B

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

> Figure 9(a). Intellicom RS-232/RS-485 Serial Communication Options

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

> Table 2(a). Serial Communication Configurations (Version 175-0188 Rev. A & B)
> Item |
> | One 3-wire RS-232 & RS-485 | Two 3-wire RS-232 | One 5-wire RS-232
> --- | --- | --- | --- | ---
> R58-R60 | In | Out | Out
> R61-R62 | Out | In | In
> U10 | In | Out | Out
> J7-3 & J5-3 | RS-485+ | TxB | TxB
> J7-4 & J5-4 | RS-485- | RxB | RxB
> J7-6 | TxC | TxC | RTS
> J7-7 | RxC | RxC | CTS

> Version 175-0188 Rev. C

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

> Figure 9(b). Intellicom RS-232/RS-485 Serial Communication Options

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

> Table 2(b). Serial Communication Configurations (Version 175-0188 Rev. C)
> Item |  | One 3-wire RS-232 & RS-485 | Two 3-wire RS-232 | One 5-wire RS-232 | RS-232 on J5
> R58-R60 | In | -- | -- | Out
> R61-R62 | Out | In | In | In
> R82-R83 | In | Out | Out | In
> U10 | In | In | In | Out
> J7-3 | RS-485+ | TxB | TxB | TxB
> J7-4 | RS-485- | RxB | RxB | RxB
> J7-6 | TxC | TxC | RTS | TxC or RTS
> J7-7 | RxC | RxC | CTS | RxC or CTS
> J5-3 | RS-485+ | -- | -- | TxB
> J5-4 | RS-485- | -- | -- | RxB

> Version 175-0206

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

> Figure 9(c). Intellicom RS-232/RS-485 Serial Communication Options

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

> Table 2(c). Serial Communication Configurations (Version 175-0206)
> Item |  | One 3-wire RS-232 & RS-485 | Two 3-wire RS-232 | One 5-wire RS-232 | RS-232 on J5
> Header JP7 | 3-5 4-6 | 1-3 2-4 | 1-3 2-4 | 1-5 2-6
> Header JP6 | 1-2 5-6 | -- | -- | No jumpers installed
> U10 | In | In | In | Out
> J7-3 | RS-485+ | TxB | TxB | --
> J7-4 | RS-485- | RxB | RxB | --
> J7-6 | TxC | TxC | RTS | TxC or RTS
> J7-7 | RxC | RxC | CTS | RxC or CTS
> J5-3 | RS-485+ | -- | -- | TxB
> J5-4 | RS-485- | -- | -- | RxB

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

> NOTE | If you plan to connect a power supply to more than one Intellicom unit in an RS-485 network using the RJ-12 jacks, rework the RS-485 cables so they do not connect +RAW_RS485 through the RJ-12 jack to the boards in the network.
> NOTE | The RS-485 port is available only in the factory default configuration. The RS-485 port will not be available when you select the configuration option for both 3-wire RS-232 ports or one 5-wire RS-232 port.

> Figure 10. Multidrop Intellicom Network

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

> Figure 11. RS-485 Termination and Bias Resistors

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

> Figure 12. Intellicom Jumper Settings
> for SRAM and Flash EPROM Size

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

> Figure 13. Intellicom Speaker Sound Pressure Level
> 30 cm (12 inches) from Speaker

> ### 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."

> Figure 14. Location of Display Control Resistor, R22

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