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
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).
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.
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
PINDIRECTIONDESCRIPTION
1*To CP2/CP2E(RXD-) RS-422 Receive Data (Idles low)
2To CP2/CP2E(RXD) RS-232 Received Data
3From CP2/CP2E(TXD) RS-232 Transmitted Data
4From CP2/CP2E(TXD+) RS-422 Transmit Data (Idles high)
5RS-232 and RS-422 Signal Common
6To CP2/CP2E(RXD+) RS-422 Receive Data (Idles high)
7From CP2/CP2E(RTS) RS-232 Request to Send
8To CP2/CP2E(CTS) RS-232 Clear to Send
9From 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
direction. RXD+ and TXD+ should idle high (going low at start of data transmission). RXDand TXD- should idle low (going high at start of data transmission). If necessary, RXD+/RXDand 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) CONNECTORRS-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; pinprogrammable 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.
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 TD3 RD+
4 Connected to pin 5
5 Connected to pin 4
6 RD7 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-
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 LEVELDESCRIPTION
\Root of the file system
DISPLAY
SYSContains various system configuration files
SETUP
HTMLWeb pages
SIMPLControl system program files
SPLUSSimpl+ module files
USERUsed for user-defined files
MAILBOXDirectory 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)