Crestron electronic CP2E, CP2 User Manual

This document was prepared and written by the Technical Documentation department at:
Crestron Electronics, Inc.
15 Volvo Drive
Rockleigh, NJ 07647
Crestron CP2/CP2E 2-Series Integrated Control Processor

Contents

2-Series Integrated Control Processor: CP2/CP2E 1
Introduction ...............................................................................................................................1
Features and Functions................................................................................................ 1
Specifications ..............................................................................................................2
Physical Description.................................................................................................... 3
Memory ....................................................................................................................... 7
Industry Compliance ...................................................................................................9
Setup/Installation ....................................................................................................................... 9
Rack Mounting ............................................................................................................ 9
Bussing Strip Installation ..........................................................................................10
Network Wiring......................................................................................................... 11
Hardware Hookup .....................................................................................................12
Optional Power Supply..............................................................................................13
Programming the CP2 and CP2E.............................................................................................13
CP2/CP2E Device Library Symbols..........................................................................13
Converting Programs and Modules Created for other Systems................................. 18
Establishing Communication with the CP2/CP2E.....................................................20
Troubleshooting Communications ............................................................................22
Compiling and Uploading a Program to the Control System .................................... 24
Uploading Web pages to the CP2E ...........................................................................25
Uploading Touchpanel Projects via the CP2/CP2E...................................................26
Updating the Operating System.................................................................................26
Advanced Console Commands..................................................................................27
Troubleshooting.......................................................................................................................28
Passthrough Mode ..................................................................................................... 29
Further Inquiries ......................................................................................................................31
Future Updates......................................................................................................................... 31
Software License Agreement................................................................................................... 32
Return and Warranty Policies.................................................................................................. 34
Merchandise Returns / Repair Service ......................................................................34
CRESTRON Limited Warranty.................................................................................34
Operations Guide - DOC. 5980 Contents i
Crestron CP2/CP2E 2-Series Integrated Control Processor

2-Series Integrated Control Processor: CP2/CP2E

Introduction

Features and Functions

Crestron’s CP2 and CP2E 2-Series Integrated Control Processors, cost-competitive
options in Crestron's 2-Series line of integrated control systems, are designed for
smaller home and commercial network systems. Like all Crestron control processors,
the CP2 and CP2E units house the control system software program and provide
connectivity for communication and control of all devices on the network. The CP2E
is functionally identical to the CP2, with the exception that it also provides LAN and
Web access through its built-in 10/100 BaseT Ethernet port, which supports
dynamic/static IP addressing and full-duplex TCP/IP and UDP/IP protocols.
With speed, power, and massive memory, the 2-Series control systems are ideal for
enhanced applications like media help desks, videoconferencing, distance learning,
and entertainment facilities.
Functional Summary
Powered by 2-Series Control Engine
36 MB of Internal Memory
8 IR/Serial Ports
8 Isolated Relay Ports
8 I/O Versiports
3 RS-232/422/485 Ports
1 RS-232 Computer Port
1 Cresnet Port
Supports SIMPL
Built-In 10/100 BaseT Ethernet Port (CP2E only)
Built-In Web Server (CP2E only)
Windows® & SIMPL+™
As with all of Crestron’s 2-Series control processors, the 2-Series Control Engine is
a solutions-driven control technology that is at the very heart of the CP2 and CP2E
products. The breakthrough 2-Series Control Engine is based on the 257 MIPS, 32-
Operations Guide - DOC. 5980 2-Series Integrated Control Processor: CP2/CP2E 1
2-Series Integrated Control Processor Crestron CP2/CP2E
bit Motorola ColdFire processor. The 2-Series operating system is vastly upgraded
from Crestron’s X-generation products, yet compatible with existing Crestron
software and programming. A key feature is the new Crestron Compiler, which
allows any existing Crestron SIMPL™ Windows
control program to be easily recompiled for the 2-Series. The real-time, preemptive multi-tasking/multi-threaded operating system offers a file system that supports long file names. The enhanced SIMPL+™ instruction set is also fully compatible with existing Crestron SIMPL Windows and SIMPL+ programs.

Specifications

Specifications for the CP2 and CP2E are given in the following table.
CP2/CP2E 2-Series Integrated Control System Specifications
SPECIFICATION DETAILS
CPU 32-Bit Motorola ColdFire® Processor
Processor Speed 257 MIPS (Dhrystone 2.1 Benchmark)
Memory 36MB (4MB flash, 32MB DRAM, 256KB NVRAM)*
Ports/Connectors**
NET
COMPUTER
INFRARED – SERIAL OUTPUT
I/O
RELAY OUTPUT
LAN (CP2E only)
COM (A, B, & C)
24VDC
Reset Buttons
HWR
SWR
Power Requirements 24 VDC, 1A, 24W (Power supply not included)***
Network Power Fuse Rating Internal self-resetting fuse****
Environmental Temperature &
Humidity
Dimensions & Weight Height: 1.7 in (4.32 cm)
* For more information on system memory usage, see Memory on page 7.
** For more information on controls, ports, and indicators, see Physical Description on page 3.
*** For information on optional power source, see Optional Power Supply on page 13.
**** Heat-sensitive device—resets within approximately 30 seconds after overload condition is
removed.
1 – Cresnet 4-wire interface (Expandable via Cresnet
Poll Accelerator)
1 – DB9F PC interface
8 – Simultaneous one-way IR or serial output
8 – Programmable digital/analog inputs & digital outputs
8 – Normally open, isolated relays (MOV suppression)
1 – RJ45 10/100 BaseT Ethernet port
3 – DB9 bidirectional serial ports (RS-232, -422, -485),
all Cresnet Poll Accelerator ready
1 – Male receptacle for optional external power pack.
Initiates system hardware reset
System restart with or without program
41° to 113°F (5° to 45°C)
10% to 90% RH (non-condensing)
Width: 19.0 in (48.26 cm) – with ears
17.03 in (43.24 cm) – without ears
Depth: 6.64 in (16.87 cm)
Weight: 3.54 lb (1.59 kg)
2 2-Series Integrated Control Processor: CP2/CP2E Operations Guide - DOC. 5980
Crestron CP2/CP2E 2-Series Integrated Control Processor

Physical Description

The CP2/CP2E integrated control systems are housed in black enclosures with labeling on the front and rear panels. The front panels of both units include standard LEDs and two reset buttons. All connections to the units are made through their rear panels. The front panels of the CP2 and CP2E are shown below.
Front and Rear Panels
The front panels of the CP2 and CP2E are shown below.
CP2/CP2E Front Panels
The rear panels of the units are shown below. Both units contain a single RS-232 computer port, a network connector, three COM ports, eight one-way IR/serial ports, eight I/O ports, eight relay ports, and a 24VDC male receptacle for power supplied through an AC power pack (purchased separately). The CP2E also contains a single Ethernet port.
CP2/CP2E Rear Panels
Rubber feet are supplied and can be attached to the base of the unit for stability and to prevent slippage in shelf placement and stacking configurations. The unit may also be rack mounted by attaching the supplied metal flanges (ears).
Operations Guide - DOC. 5980 2-Series Integrated Control Processor: CP2/CP2E 3
2-Series Integrated Control Processor Crestron CP2/CP2E
Controls and Indicators
The CP2/CP2E front panel indicators and controls are described below.
PWR (Power)
This LED illuminates when the unit is connected to and receives 24VDC power from an AC power pack or the Cresnet NET connector.
NET
This LED illuminates when the central processing unit is processing or communicating with Cresnet devices (i.e., button pressed at Cresnet panel or data received from Cresnet panel).
ERR
This LED illuminates when an error condition is detected. This may be the result of hardware or software failure, or a programming error. To determine the actual error condition, examine the message available through the Viewport menu Functions/2-
Series/errorlog.
LNK (LAN) – (CP2E only)
This LED illuminates when there is a connection to the rear panel LAN port.
ACT (LAN) – (CP2E only)
This LED illuminates when there is communication (activity) at the rear panel LAN port.
HWR
Pressing this button initiates system hardware reset. (Same effect as disconnecting and reconnecting power.)
SWR
Pressing this button in combination with the HWR button performs a system restart without loading the program (refer to Troubleshooting Communications on page 22). Pressing it alone while the system is running restarts the program.
Ports
The CP2/CP2E rear panel ports are illustrated and described below.
COMPUTER
COMPUTER
This DB9F connector is used when programming the units with a PC. The port is modem compatible. The modem and/or PC program cable are not included.
NET
NET
G Z Y 24
24VDC 24W
4 2-Series Integrated Control Processor: CP2/CP2E Operations Guide - DOC. 5980
Crestron CP2/CP2E 2-Series Integrated Control Processor
NOTE: The orientation of this connector is “upside down” compared to other Crestron network devices (e.g., CNX-BIPAD8, CNX-RMCLV). Be sure the mating Cresnet cable connector is properly aligned before attempting to insert it, to avoid damage to the CP2/CP2E unit.
This connector (typical Crestron network port labeled G Z Y 24) is used for expansion to Cresnet and SmarTouch peripherals. This connector can also serve as a 24W power source to the network when CP2/CP2E unit power is supplied through the 24VDC power supply connector by an optional AC power pack (purchased separately); otherwise, power to the unit is supplied through this connector. There is a 24W maximum load rating for power output. Refer to “Network Wiring” on page 11 for details.
COM (A – C)
COM A
COM B
COM C
These three DB9 (male) software programmable, bi-directional serial ports are available for RS-232, RS-422, or RS-485 communication, with hardware and software handshaking. Speeds are rated up to 115,200 bps. All three ports are Cresnet Accelerator ready. The Cresnet Poll Accelerator effectively increases the network speed, fan-out, and device addresses by a factor of 8 for each Poll Accelerator added to the system.
NOTE: The pinout of each 9-pin port is non-standard (refer to the table after these notes, titled "Non-Standard COM Pinout"); it contains RS-422 pins in addition to RS-232. This may result in a conflict with some equipment and therefore all nine pins should not be used. Only the required pins for each communication type should be connected. For RS-232 and –422, pins 2, 3, 5, 7, and 8 are wired straight through.
NOTE: Data Set Ready (DSR) and Data Terminal Ready (DTR) are not supported.
NOTE: To support RS-485, tie pin 1 (RXD-) to pin 9 (TXD-) and pin 4 (TXD+) to
pin 6 (RXD+) in the cable (refer to the table after this note, titled "COM Pinout to RS-485 Bus".
Non-Standard COM Pinout
PIN DIRECTION DESCRIPTION
1* To CP2/CP2E (RXD-) RS-422 Receive Data (Idles low)
2 To CP2/CP2E (RXD) RS-232 Received Data 3 From CP2/CP2E (TXD) RS-232 Transmitted Data 4 From CP2/CP2E (TXD+) RS-422 Transmit Data (Idles high) 5 RS-232 and RS-422 Signal Common 6 To CP2/CP2E (RXD+) RS-422 Receive Data (Idles high) 7 From CP2/CP2E (RTS) RS-232 Request to Send 8 To CP2/CP2E (CTS) RS-232 Clear to Send 9 From CP2/CP2E (TXD-) RS-422 Transmit Data (Idles low)
Where: *= RS-422 transmit and receive are balanced signals requiring two lines plus a ground in each
Operations Guide - DOC. 5980 2-Series Integrated Control Processor: CP2/CP2E 5
direction. RXD+ and TXD+ should idle high (going low at start of data transmission). RXD­and TXD- should idle low (going high at start of data transmission). If necessary, RXD+/RXD­and TXD+/TXD- may be swapped to maintain correct signal levels.
2-Series Integrated Control Processor Crestron CP2/CP2E
COM Pinout to RS-485 Bus
COM (DB9) CONNECTOR RS-485 BUS
Tie Pins 1 & 9 ­Tie Pins 4 & 6 +
Pin 5 G
INFRARED – SERIAL OUTPUT
A B C D
S G S G S G S G
E F G H
S G S G S G S G
INFRARED - SERIAL OUTPUT
These connectors provide eight serial outputs for IR or serial interface. Each output is labeled S (signal) and G (ground). Infrared output is rated up to 1.2 MHz, at data rates up to 115K. Serial protocols include one-way RS-232.
NOTE: Transmission levels on the infrared – serial output connectors are in the 0 to +5VDC range, which may not be compatible with all RS-232 devices.
I/O
1 2 3 4 5 6 7 8 G
I/O
This connector provides eight software programmable analog and digital inputs as well as digital outputs. Digital outputs offer 250mA sync from maximum 24 VDC; catch diodes for use with "real world" loads. Digital inputs are rated 0 – 24 VDC, 20K ohms input impedance, logic threshold 1.25 VDC. Analog inputs are rated 0 – 10 VDC, protected to 24 VDC maximum, 20K ohms input impedance; pin­programmable 2K ohms pullup resistor to +5V.
NOTE: Digital outputs are TTL values and may not work with devices requiring a “dry” contact closure (e.g., low voltage motor controllers).
RELAY OUTPUT
1 2 3 4
RELAY
5 6 7 8
OUTPUT
These connectors provide eight normally open, isolated relay contact groups. Each relay contact closure is rated 1A, 30 VAC/DC; MOV arc suppression is provided across contacts for use with "real world" loads.
6 2-Series Integrated Control Processor: CP2/CP2E Operations Guide - DOC. 5980
Crestron CP2/CP2E 2-Series Integrated Control Processor
24VDC, 2.0A (Power Supply)
24VDC
2.0A
This male connector can be used to supply 24VDC power to the CP2/CP2E from an AC power pack purchased separately. (Refer to Optional Power Supply on page 13). When power is supplied to the units through this connector, 24VDC, 24W is also available to other Cresnet system devices through the NET connector. This is typically done in small installations. In large system configurations, power is usually supplied through Cresnet wiring to the NET connector.
NOTE: Use care in wiring installations to avoid applying 24 VDC power to Cresnet wiring from an AC power pack as well as from a system device that contains its own power supply. Although this condition should not cause any damage, Crestron does not recommend it. In those network configurations that require more power than can be supplied by Crestron’s Power Control Unit alone, disconnect the +24 VDC Cresnet wire from those devices that will be powered by an AC power pack.
LAN (CP2E only)
LAN
This built-in 10/100 BaseT Ethernet RJ45 port (CP2E only) provides local area network or Web access. Refer to the following table for the Ethernet connector signals and use an appropriate cable (not supplied).
LAN Port Pinout
TYPE PIN SIGNALS
8-Position RJ45
1 TD+ 2 TD­3 RD+ 4 Connected to pin 5 5 Connected to pin 4 6 RD­7 Connected to pin 8 8 Connected to pin7
NOTE: Interface connectors for the NET, Infrared-Serial, I/O, and Relay Output ports are provided with the unit.

Memory

The CP2/CP2E has 36MB of built-in memory (non-volatile and volatile). A total of 36MB is broken down as follows: 4MB flash (non-volatile), 32MB DRAM (volatile), and 256KB NVRAM. Flash memory contains the file system inside the 2-
Operations Guide - DOC. 5980 2-Series Integrated Control Processor: CP2/CP2E 7
2-Series Integrated Control Processor Crestron CP2/CP2E
series control engine. Non-volatile memory contains information that is retained after loss of electrical power. Volatile memory is lost after a power failure. Refer to the lists below for a breakdown of memory usage for program-related information stored in the unit.
Flash
The 4MB flash memory consists of approximately 1.5MB used for firmware, and approximately 2.5MB available for SIMPL, SIMPL+, and Web pages. The files that reside in flash conform to a flat directory structure. The following table presents the structure of the overall file system.
TOP LEVEL SECONDARY LEVEL DESCRIPTION
\ Root of the file system
DISPLAY
SYS Contains various system configuration files
SETUP
HTML Web pages
SIMPL Control system program files
SPLUS Simpl+ module files
USER Used for user-defined files
MAILBOX Directory contains the user mailbox file
Although the file system is case insensitive, the case is preserved to maintain file checksums.
Legacy directory used in ISYS panels to hold display lists
Legacy directory used in ISYS panels to hold setup files
Non-volatile
1. SIMPL+ Modules
2. SIMPL+ Variables (using "nonvolatile" qualifier or #DEFAULT_NONVOLATILE)
3. SIMPL Program
4. Operating System (.cuz file)
5. Signals explicitly written to NVRAM (by symbols such as Analog RAM, Analog RAM from database, Serial RAM, Serial RAM from database, Analog Non-volatile Ramp, Digital RAM, etc.)
NOTE: If you extract NVRAM values to a file (Viewport, File transfer | Save NVRAM to File), to simplify restoring them in the event of file corruption or to
distribute to identical control systems, remember that NVRAM values are position sensitive in the program. When saving the NVRAM is crucial to your application, it is recommended to place all symbols and/or modules that use NVRAM at the beginning of your program. When NVRAM (.nvr file) is re-installed, all the values should line up with the program. If the program is modified, and logic is placed before any symbols using NVRAM, the previously stored values will not line up and your presets will have to be re-entered
Volatile
1. Digital, analog and serial signal values
2. SIMPL+ Variables (Default if no options are specified, or if "volatile" qualifier is used, or #DEFAULT_VOLATILE is used)
8 2-Series Integrated Control Processor: CP2/CP2E Operations Guide - DOC. 5980
Loading...
+ 28 hidden pages