Io Sw-Simpl PDF
Io Sw-Simpl PDF
This document was prepared and written by the Technical Documentation department at:
All brand names, product names and trademarks are the property of their respective owners. 2002 Crestron Electronics, Inc.
Software
Contents
Introduction 1
The Intent of this SIMPL Windows Manual ...................................................1 SIMPL Windows New Features ..........................................................................1 SIMPL Windows Review and Programming Preparation..............................3 SIMPL Windows ...............................................................................3 System Design & Programming Process...............................................3 Crestrons Programming Design Kit ......................................................4 VisionTools Pro-e ...............................................................................4 Programming Process ...........................................................................4 Contact Crestron Electronics, Inc. ......................................................................6 Trademark Information........................................................................................6
System Requirements.........................................................................................7 Crestron Database Requirements ......................................................................7 Installing from the Crestron Web Site .................................................................7 Installing from the Crestron ControlCD...............................................................8 Uninstall SIMPL Windows.............................................................................8
DOS Workshop
11
Migration to SIMPL Windows............................................................................11 Changes from Workshop ..................................................................................11 Symbol CrossReference ......................................................................11 SpeedKey.............................................................................................12 KeyCombo Shortcut Table...................................................................12 Feature Comparison .........................................................................................14 Importing Workshop Programs .........................................................................15
17
SIMPL Windows Applications ...........................................................................17 Opening SIMPL Windows .................................................................................18 Set Directory Paths ...........................................................................................18 Create A New Program.....................................................................................19 Program Header ..................................................................................19
Configuration Manager
21
Software
Program Manager
43
Accessing Program Manager............................................................................43 Screen Navigation.............................................................................................44 Symbol Library .....................................................................................44 Program View.......................................................................................45 Detail View ...........................................................................................47 Bookmark .............................................................................................47 World View ...........................................................................................48 Signal Tray ...........................................................................................49 Program Manager Button Bar ...........................................................................50 Programming in SIMPL Windows .....................................................................51 Symbols & Signals ............................................................................................52 Symbol Properties................................................................................52 Symbol Categories...............................................................................54 Symbol Title Bar...................................................................................54 Programming a System ....................................................................................55 Define Signals from User Interface......................................................55 Using Logic Symbols ...........................................................................57 Naming Signals....................................................................................59 Subsystems..........................................................................................60 Programming with User Interfaces....................................................................61 Feedback .............................................................................................61 Indirect Text .........................................................................................63 Imported UI Projects ............................................................................63 Using Macros ....................................................................................................64 Crestron Macros ..................................................................................65 User Macros.........................................................................................66
71
Serial Driver Programming Information ............................................................71 [TX$].....................................................................................................71 [RX$] ....................................................................................................71 [BREAK] ...............................................................................................71 [RTS] ....................................................................................................72 [CTS] ....................................................................................................72 Other Lines...........................................................................................72 [enable] ................................................................................................72
Software
73
Signal Colors.....................................................................................................73 Signal Operations .............................................................................................74 Navigating Symbol Inputs and Outputs ...............................................74 Create New Signals .............................................................................74 Selecting Signals .................................................................................75 Edit Signal Name .................................................................................75 Rename Signal Globally ......................................................................76 Disconnect a Signal .............................................................................76 Replacing a Signal ...............................................................................77 Connect Signals...................................................................................77 Naming a Parameter............................................................................78 Automatically Increase Inputs, Outputs, or Parameters ......................78 Decrease Inputs, Outputs, or Input/Output Pairs.................................80 Automatically Assign Unique Signal Name(s) .....................................80 Signal Routing......................................................................................81 Auto-Increment the First Number.........................................................82 Auto-Increment the Last Number.........................................................83 Auto-Increment the Last Number in a Signal Name ............................83 Copying Signal Names ........................................................................84 Append a Signal Suffix.........................................................................85 SIMPL Windows ExampleBase ........................................................................86 How to Re-Synch Your Programs.....................................................................86
Compile Programs
87
Compiler Settings..............................................................................................87 Compiling the Program .....................................................................................88 Consider Commented Out Symbols and Devices ............................................90
Sharing Programs
91
Test Manager
93
Test Manager Overview....................................................................................93 Accessing Test Manager ..................................................................................93 Screen Navigation.............................................................................................94 Trace Window ......................................................................................94 Status Window .....................................................................................94 Incoming Data ......................................................................................95 Testing a Program ............................................................................................95 SIMPL Procedures Before Testing ......................................................95 Begin Testing with Test Manager ........................................................98
ViewPort
101
Viewport Overview ......................................................................................... 101 Communication Settings ................................................................................ 101 Hardware Configuration .................................................................................102 Viewport: File Menu ....................................................................................... 103 Viewport: Edit Menu....................................................................................... 103 Viewport: Setup Menu.................................................................................... 103
Software
Network Analyzer
129
Overview .........................................................................................................129 Using Network Analyzer..................................................................................129 Starting Network Analyzer .................................................................130 Communication Settings ....................................................................130 Opening Existing Files .......................................................................131 Acquiring New Data ...........................................................................132 Network Analyzer Analysis .............................................................................133 "Delta Y on transmit is too small".......................................................133 "Delta Z on transmit is too small" .......................................................133 "Y and Z lines are not symmetrical on transmit" ................................134 "Delta Y and Delta Z are not within 25% on transmit" .......................134 "Y voltage is too high on transmit" .....................................................134 "Z voltage is too high on transmit" .....................................................135 "Y voltage is too low on transmit".......................................................135 "Z voltage is too low on transmit".......................................................135 "Y and Z voltages do not overlap on transmit"...................................135 "Delta Y on receive is too small" ........................................................136 "Delta Z on receive is too small" ........................................................136 "Y and Z lines are not symmetrical on receive" .................................136 "Delta Y and Delta Z are not within 25% on receive".........................136 "Y voltalge is too high on receive"......................................................137 "Z voltage is too high on receive".......................................................137 "Y voltage is too low on receive"........................................................137 "Z voltage is too low on receive" ........................................................138 "Minimum Y voltage is too high on receive".......................................138 "Minimum Z voltage is too high on receive".......................................138 "Y and Z voltages do not overlap on receive"....................................138
Crestron e-Control
139
Ethernet Communications...............................................................................139 Network Requirements/Preparation................................................................139 Hardware Preparation CNMSX-AV and Pro ................................................140 Hardware Preparation CEN-IO ....................................................................141 Control System Diagnostics via Ethernet .......................................................141 Programming the System to Communicate with Ethernet Devices ................141 Adding Ethernet Devices to a SIMPL Windows Program..................141 Changing IP Addresses without Changing the Program ...................143 System-to-System Communication ...................................................144 Crestron e-control SDK......................................................................146 Ethernet Connection Information ....................................................................146 Recommended Connection ...............................................................146 Isolated Network Connection .............................................................146
Software
147
Front Panel Overview .....................................................................................147 Accessing Front Panel Editor..........................................................................147 Screen Navigation...........................................................................................147 Front Panel Editor Buttons..............................................................................148 Page Buttons .....................................................................................148 Front Panel Editor Programming ....................................................................150 Adding Pages.....................................................................................151 Adding Objects to Pages ...................................................................151 Active/Inactive Text and Join Numbers .............................................155
159
Configuration & Program Manager .................................................................159 Program Manager Right Mouse Click Menus ....................................163 Front Panel Editor ...........................................................................................164 Test Manager ..................................................................................................165 ViewPort..........................................................................................................167 Network Analyzer Menu Definitions ................................................................171 SIMPL+ Menus ...............................................................................................172 SIMPL+ Right Mouse Click Menus ....................................................173
SIMPL+
175
SIMPL+ Overview ...........................................................................................175 Accessing SIMPL+..........................................................................................176 SIMPL+ Programming Text Colors .................................................................177 Saving and Compiling SIMPL+ Files ..............................................................177 SIMPL+ New File Template ............................................................................178
179 181
SIMPL Windows Errors Defined .....................................................................181 Device Library Error ...........................................................................181 Symbol Library Error ..........................................................................181 Error Importing SmarTouch System ..................................................181 Program Data Integrity Checks..........................................................181 Program Load/Save Error ..................................................................182 Swapping Devices Error ....................................................................182 Error in Moving a Device....................................................................182 AutoFill Error ......................................................................................182 File Open Error ..................................................................................183 Parameter Format Error.....................................................................183 Versions of Libraries/Databases ........................................................183 Crestron/User Database Dialog Error................................................184 User Interface Dialog Error ................................................................184 Connection Sheet Dialog Error ..........................................................184 Communication Dialog Error..............................................................184
Crestron SIMPL Windows v
Software
Software
197
Symbol Cross Reference Table ......................................................................197 Symbols A-C ......................................................................................197 Symbols D-M......................................................................................198 Symbols N-Q......................................................................................199 Symbols R-Sm ...................................................................................200 Symbols Sm-Z ...................................................................................201
Tables
203
Glossary of Terms Index Software License Agreement Return and Warranty Policies
Software
Software
Introduction
Software
Right Mouse Click Menus
Many right mouse click menus have been added to SIMPL Windows to increase programming speed and usability. These include multiple device selection and others.
Bookmarks
The bookmark feature allows programmers to bookmark a particular Detail View setup. This can be very helpful and save time when working on larger programs. The bookmark command will always bring you to the Detail View you bookmarked.
SIMPL+
SIMPL+ is a procedural programming language extension of SIMPL Windows. If programmers have familiarity with procedural languages like C or BASIC, they will be comfortable with SIMPL+.
Virtual Workspace
Virtual Workspace contains a small control pad that allows easy manipulation of the viewable screen area. This control pad is called WorldView and shows you the whole "program" and what part of it you are currently looking at. With a click of the mouse you can change the view to see any other part of the program.
More Speed!
Crestron software designers are continually working to optimize SIMPL Windows for the most speed possible.
Network Analyzer
Network Analyzer can function over the TCP/IP connection. Simply set your communications to TCP/IP using the ViewPort or directly edit comminations from SIMPL Windows. An automated analysis feature has also been added to the Network Analyzer.
Improved HELP
SIMPL Windows help has been completely rewritten with the end user in mind. It is logically written and methodically laid out with hundreds of index entries for easy location of topics.
Software
ViewPort now has the Passthrough mode. This mode allows remote access (via modem) to a systems RS-232 devices. This is extremely helpful and time saving for diagnosing logic and mechanical problems. The Passthrough mode is fully functional with Crestrons CNX control systems.
Software
Basic System Design Process
VisionTools Pro-e
VT Pro-e allows programmers to create custom designed projects for touchpanels or web browsers. By supplying SIMPL Windows with the VT Pro-e project name, touchpanel designs can be brought into SIMPL Windows automatically. Each buttons join number and text will be retained. This is a great time saving feature. NOTE: Projects created with Crestron's older product, VisionTools for Windows, are also supported.
Programming Process
Once the basic system is designed on paper using the Programming Design Kit and the touchscreens have been created in VT Pro-e, the system programmer should review the following process.
Software
Software
North America
Support U.S. East [email protected] Support U.S. Central [email protected] Support U.S. West and Canada [email protected]
International
Support Outside North America [email protected]
Trademark Information
All brand names, product names, and trademarks are the sole property of their respective owners. SIMPL, SIMPL+, SmarTouch, and VisionTools, are trademarks of Crestron Electronics, Inc. Windows is a registered trademark of Microsoft Corporation. Windows 95/98/Me/XP and Windows NT/2000 are trademarks of Microsoft Corporation
Software
System Requirements
The PC where SIMPL Windows is to be installed should meet these minimum system requirements. Windows 98/NT/XP Operating System 64 MB RAM 100 MB hard drive space 450 MHz or faster Pentium processor 640 x 480 or higher screen resolution
Software
Insert the Crestron ControlCD into the PC's CD ROM drive and select Runfrom the Windows start menu. Type the letter for the CD-ROM drive and :\Setup. Follow the directions provided.
RunDialog Box
Software
Select "Add/Remove Programs". The "Add/Remove Programs Properties" dialog box is displayed. Select SIMPL Windows and click on the Add/Remove button. Add/Remove Programs Dialog Box
Software
Software
DOS Workshop
Symbol CrossReference
Symbol names have been changed to be more descriptive and easier to remember. Typing the DOS Workshop name in SIMPL Windows will still work too. The Symbol CrossReference chart will help programmers easily learn the new names for device and logic symbols. The Symbol CrossReference lists the exact equivalence between the old Workshop and new SIMPL Windows symbol names.
Software SpeedKey
Users of the DOS Workshop are familiar with many of the previous symbol names. This knowledge works to the programmers advantage in SIMPL Windows, in the form of the SpeedKey feature. This option allows you a quick and easy method for inputting symbols into your program. Workshop users who are familiar with the names of their most-often-used symbols can key them very quickly, hence the name SpeedKey. SpeedKey will let programmers enter Workshop symbol names when building the program; SIMPL Windows will then insert the new symbol name for you automatically, placing each symbol or symbol subsystem directly into the Logic folder, as if it was manually dragged there with the mouse. As each symbol name is typed it appears on the Status Bar. As long as the Logic folder in Program View is highlighted, you can add old or new symbol names, with no case sensitivity.
Software
Description or Result Bring Up Context-Sensitive Help. Find next Symbol Assign sequential names to highlighted Signals, based on first Signal Assign sequential names to highlighted Signals, based on last Signal Refresh window Copy Input Signal to its Output, or vice-versa Resize a Symbol (Detail View) Next pane Previous pane Adds Inputs and/or Outputs one at a time Removes Inputs and/or Outputs one at a time Create new Signal name. Add Inputs or Outputs in specified multiples Select Inputs or Outputs in an upward direction, from present cursor position to first Input or Output. Select Inputs or Outputs in a downward direction, from present cursor position to last Input or Output. Select a variable range of Inputs or Outputs Delete a Signal or Symbol Delete a Signal, and highlight the Input or Output below it Add theSignalSuffix set in Prefs Add theSignalSuffix set in Prefs Add theSignalSuffix set in Prefs Add theSignalSuffix set in Prefs Add theSignalSuffix set in Prefs Add a SignalSuffix when prompted Communications Cancels Edit Mode Moves cursor between Inputs and Outputs Result depends on particular combination of keyboard shortcuts used. Start Create a new program Create a new macro Open a program or macro Save a program or macro Print Cut Copy Paste Paste Special Undo Find Symbol Expand current node Collapse current node Close Detail View Symbol Library Program View Toggle Both Views
SHIFT-END
SHIFT-CLICK DELETE CONTROL-DELETE ALT-1 ALT-2 ALT-3 ALT-4 ALT-5 ALT-6 ALT-C ESCAPE TAB or Arrow Keys POWR/sequence CONTROL-T CONTROL-N CONTROL-M CONTROL-O CONTROL-S CONTROL-P CONTROL-X CONTROL-C CONTROL-V CONTROL-SHIFT-V CONTROL-Z CONTROL-F CONTROL-E CONTROL-SHIFT-E CONTROL-F4 ALT-Y ALT-P ALT-B
Software
Feature Comparison
The Feature Comparison table presents a list and a brief description of the popular Workshop feature and the corresponding SIMPL Windows function. Workshop/SIMPL Windows Comparison Table
DOS Workshop Programming Language SIMPL I Symbol Names Short, non-descriptive symbol names Viewing Symbols While programming: can only view one Symbol at a time Program Testing Test program by exiting DOS Workshop and opening debugger SIMPL New self explanatory symbol names While programming: can view multiple symbols Test Manager is now called from the program; no longer have to leave the development tool to test and debug Windows drag and drop style & copy/paste shortcuts SIMPL Windows
Entering Information Text, variables, and other information was entered character by character into fields VisionTools for Windows DOS Workshop and VisionTools for Windows completely separate programs Modem Database Adequate modem database Program Subsystems N/A
SIMPL Windows integrates with VisionTools for Windows and imports VTW projects Extensive modem database in ViewPort: can set strings, etc. Symbols can now be clustered and grouped for easy location and manipulation Signal inputs on left, Outputs on right Signals color coded: Digital=Blue; Analog=Red; Other=Black
Signal Representation Less consistent approach to signal inputs/outputs Signal Type Identifier N/A
Test Environment SAM - Monitors digital signal activity Indirect Text Programming handled using separate SDPM Symbol. Signal Name Length Signal name table would fill up, names had to be shortened to fit Communicating with User Devices N/A
Test Manager - Monitors digital, analog, and serial signal activity Easy to program, handled as part of the TouchPanel No limit to signal name length.
Software
NOTE: If the original Workshop program contained macros, SIMPL Windows will remove any indication of the macros and install all of the code that used to be within the macros directly into the program. This can become a very tedious when importing large programs. To preserve macros, import them separately into SIMPL Windows by following steps 3-5 for each macro. 3. Install a GENERIC symbol in the Workshop program. In the comment section type PLACEHOLD. This symbol will act as a placeholder for the macros signal names. Comment out the Workshop macro so it does not convert by selecting Alt+F1. Transfer the signal names of the macro to the PLACEHOLD symbol. List the signal names in the following format: Output_1, Output_2, Output_3; Input_1, Input_2; (Signal names are followed by a coma. The last signal either output or input, is followed by a semicolon) 6. Install a DEFARGS symbol to make the program into a macro, then convert the program, a ".imc" file will be produced. Workshop will remind users that there are incomplete symbols and commented out symbols. This is acceptable, click Yes. Start SIMPL Windows, choose File | Import a Workshop Macro. Choose File | Convert To Program to complete the transfer. Save the program by selecting File | Save. Replace the net devices and connect the necessary signals.
4. 5.
7. 8. 9.
10. In SIMPL Windows select File | Import a Workshop Macro. Import the Workshop macro that was previously commented out. Save the macro as a User Macro in SIMPL Windows. 11. Select the new User Macro from the SIMPL Windows Symbol Library and drag it into the imported program. 12. In the imported program copy the signal names from PLACEHOLD symbol to the new User Macro.
Software
Software
Software
The window asks you: "What do you want to do?" and presents four options: 1. 2. 3. 4. Run SIMPL Windows Tutorial Create a New Program Open an Existing Program Exit SIMPL Windows
Software
This will display the SIMPL Windows Preferences" window. Select the Directories tab and make sure the directory paths are correct.
SIMPL Windows Preferences Dialog Box
Click OK when all paths are correct. The system will pause for approximately thirty seconds while information is reloaded.
Selecting New Program from the button bar. Selecting File | New Program.
When a new program is started the "Program Header Information" window appears. It is important to complete all the information, as it will be printed out on the connection sheet.
"Program Header Information" Window
NOTE: Information entered into the Dealer Name and Programmer fields of the "Program Header Information" dialog box are recalled from program to program until SIMPL Windows is reloaded or upgraded. After the "Program Header Information" dialog box is complete, click OK. SIMPL Windows will ask if you want to configure the hardware for the system.
Configure? Window
Software
Configuration Manager
Software
Device Library
The Device Library is the master list of hardware components available to build your control system. This list of devices allows programmers to select the hardware and drag and drop it into the Network System View. These components, or devices, are grouped functionally by device type. Expand the folder for the device you require by clicking on the plus sign (collapse the folder by clicking the minus sign). Device Library groups, with a brief explanation of each: Control Systems: The "brain" of each Crestron system; a Control System contains the microprocessor, runs the operating system, and executes the SIMPL Windows program. Ethernet Control Modules: This refers to the Ethernet expansion cards. Expansion Module: This refers to the Crestron CNIORACK, a device used to expand the functionality of the CNRACK by providing for use of additional cards. Lighting: Various devices that make up lighting systems, all of which connect to the Cresnet network.
Software
Local Control Panels: Plug-in cards that provide a button panel to a Control System. Network Control Modules: Devices that connect to the Cresnet network. Usually external devices. Plug-in Control Cards: Circuit boards that plug-in to an empty card slot in a control system or other device. Cards provide additional capability to a system. Plug-in Control Cards (CNX Series): Plug-in cards compatible with Crestron generation X line of control systems. Plug-in DPA Modules (CNX Series): Plug-in cards provide Direct Processor Access. Serial Drivers (General): General one or two-way serial devices that require the user to provide string input and output information. Use one of these devices if yours is not listed in the Crestron Database. Power Supplies: Used to power your Cresnet network; it is common to need multiple power supplies for a given system. It is not necessary to add power supplies to the program. The power supply symbols are included for documentation purposes such as the Connection Sheet. Touchpanels (Wired): Cresnet-compatible touchpanels. Touchpanels (Wireless): RF touchpanels, one-or two-way, which do not go on a Cresnet network, but require a wireless RF receiver (see below). Wired Panels: User interface such as a button panel, that your end user interacts with to control their Cresnet system. Wireless Receivers (IR): IR receivers used with IR transmitters. Wireless Receivers (RF): RF receivers used with RF transmitters or RF touchpanels. Wireless Remotes (IR): IR transmitters. Wireless Remotes (RF): RF transmitters. User Devices: If your device is not in the Crestron or User databases and you want to program the device yourself in detail. Crestron DB: Information about controlled devices Crestron knows how to program; listed by device type, manufacturer, and model. Crestron updates this database periodically; check your version number to determine whether you have the latest installed. User DB: A place to store information about controlled devices that have been created; and are not yet supported by Crestron. We encourage programmers to send information on these devices to Crestron so that they can be included in the next release of the Crestron Database. The Database has thousands of driver files. We want to be able to support as many devices as possible and welcome your additions.
When Configuration Manager is opened, Network System View prompts the user to begin by displaying the message: "Start by dropping a Control System here". Network System View is where programmers start to build the system by dragging over a control system from the Device Library.
Configuration Manager-Network Systems View
Network System View allows programmers a graphical representation of the entire physical system. Programmers will see the back of the control system, including empty card slots and built-in card slots. Network device icons (Cresnet and Ethernet) are displayed in the space below the system. It may be necessary to use the scroll bars to see all the network devices.
Software
Start
Start "QuickAccess" Window The lightning bolt icon will display the "QuickAccess" window.
New Program
New Program New Program button will begin new programs with the "Program Header Information" window.
Open Program
Open The open folder icon will open an existing program.
Save Program
Save The floppy disc icon is a shortcut for save. It will save the current program.
Program Manager
Program Manager Program Manager button switches current program to Program Manager for programming activities.
Configuration Manager
Configuration Manager Configuration Manager button switches current program to Configuration Manager for system building activities.
Convert/Compile
Convert/Compile Convert / Compile checks the program for errors and compiles.
Transfer Program
Transfer Program Transfer Program icon transfers program to the control system.
ViewPort
ViewPort ViewPort button launches the SIMPL Windows ViewPort.
Test Manager
Test Manager Test Manager button tests and debug program. Realtime monitoring of signal activity.
Help
Help This button displays the SIMPL Windows help files.
Software
Selecting Hardware
Locate the necessary hardware by opening the folder that contains the component. Open the folder by clicking on the plus (+) sign. Highlight the device you want by clicking on it. Drag it to the Network System View area by holding down the left mouse button while dragging the device. Release the mouse button to drop the device.
Selecting Control System
Once a control system is chosen it will always be displayed in the Network System View. The next step is to add the other devices that comprise the system such as network devices and additional plug-in cards. Macros for controlling hundreds of different pieces of equipment are available in the User Devices folder under Crestron Database. Crestron continually updates this database to include the latest macros.
Software
SIMPL Windows guides programmers through the building process by continuously providing feedback via the cursor. SIMPL Windows will not allow programmers to install devices that are not compatible with the control system or other installed components. The incompatibility is communicated to the user when the cursor turns into a circle with a strike through it. SIMPL Windows will not allow a drop when the cursor in this state.
Cursor Displaying an Impossible Drop
When SIMPL Windows displays the cursor as the standard pointer with an added plus (+) sign, this is representative of a legal drop with full compatibility.
Software
Cursor Displaying a Compatible Drop
Replacing Devices
Devices are replaced by selecting a new device, dragging it into Network System View, and dropping it on the device to be replaced.
Replace CNRACK with CNMS
SIMPL Windows will ask users to verify that a device is to be deleted. Click the appropriate button.
Replace Device Confirmation
Software
Configuration Manager will display the card in the slot it was dropped into. By clicking the right mouse button, users can delete the card or configure. For this example, choose Configure.
Configure Plug-in Cards
After selecting Configure, the Device Settings window is displayed. Several parameters of control cards can be configured. The Name tab allows users to change the name for easy identification (especially if multiple cards are used). The card slot number can be changed under the Card Slot tab. The Connection Sheet tab allows users to provide notes that will be printed on the connection report.
Software
Device Settings CNXVTC-3
NetDevices
These devices are configured in the Configuration Manager. Select the system control device and drag it into the control system. For this example a CT-3000 touchpanel is dropped into the NetDevices slot.
Drop Network Devices into the NetDevice Slot
Configuration Manager will display network devices as icons under the control system. Users may have to use the scroll bars to view all the icons. Three CT-3000 touchpanels have been added for this installation.
Software
The NetDevices can be configured or deleted by selecting the icon and clicking the right mouse button.
Configure NetDevices
After selecting Configure, the Device Settings dialog box for the NetDevice will be displayed. Several parameters of the NetDevice can be configured. Name The name can be changed under the Name tab (this is recommended if there is more than one NetDevice of the same type). The Device Name tab also shows device power consumption in watts.
Device Settings: Device Name Tab
Software
Net ID
UI Project (for touchpanels only) The UI Project tab refers to the User Interface Project Name as given in VisionTools Pro-e. Touchpanel designs from Crestrons VT Pro-e software can be referenced and brought into the SIMPL Windows program. Join numbers and buttons are brought in when a UI project is specified. This feature can save an enormous amount of typing and referring back and forth between VT Pro-e and SIMPL Windows.
Device Settings: UI Project Tab
Chain (for touchpanels only) NetDevices can be chained together under the Chain tab. Chaining means that multiple touchpanels are programmed exactly the same. One touchpanel acts as a master to which the others are chained. Begin to chain by selecting one of the slave touchpanels. Under the right mouse menu click Configure and select the Chain tab. Select the Net ID of the master panel.
Software
After all the slave panels have the master Net ID set, select the master touchpanel and view the Chain Tab. The Chain tab for the master displays all the Net Ids that are chained to it.
Device Settings: Chain Tab Display Slaves
The device icons will appear with chains across them. This is the visual confirmation that a touchpanel is chained to a master panel.
Chained Touchpanels (04, 05) with Master (03)
Connection Sheet The Connection Sheet tab allows free text to be entered with other helpful descriptions. These notes are printed on the connection report.
Software
Device Settings: Connection Sheet Tab
Select the equipment to be controlled by the IR port A. In this example an IR driver file for a SONY CCP-303ES CD player is selected from the Crestron Database. The
Software
database is located in the User Devices folder of the Device Library. Click and drag the SONY CCP-303ES and drop it into IR Port A of the CNXIR-8 control card.
Select Equipment to be Controlled and Drop into Appropriate Control Port
Right mouse click on the equipment to configure the device settings or delete the device. For this example, select Configure.
Right Click to Configure or Delete
When Configure is selected the Device Settings window will be displayed. The Device Settings dialog box allows the programmer to configure several parameters of each user device, as well as record notes for the connection sheet report.
Device Settings Window
Software
Some serial cards may have a default driver already installed. If this is not the preferred drive, replace it by selecting another driver. Select the serial driver from the Device Library. In this example a ST-COM/CNXCOM two-way serial driver is selected. Click and drag the ST-COM/CNXCOM and drop it into Port A of the CNXCOM-6 control card. Select Serial Driver to be Installed and Drop into Appropriate Control Port
Right mouse click on the driver to configure the device settings or delete the device. For this example, select Configure.
Software
When Configure is selected the Device Settings window will be displayed. The Device Settings dialog box allows the programmer to configure certain parameters of each device, as well as record notes for the connection sheet report. Serial Devices have an additional tab for Serial Settings. Baud Rate, Data Bits, Stop Bits, Parity, Communication Standard, and Handshaking are all configured in the Serial Settings tab. For the default settings simply click OK.
Device Settings Window
Software
Deleting Devices
Devices can be deleted from Configuration Manager by selecting them and clicking the right mouse button. Configuration Manager will display a choice box in which you can choose either Configure or Delete.
Deleting a NetDevice
Configuration Manager will ask if you are sure that you want to delete the selected device.
Delete Prompt
Users can also delete devices from the Configuration Managers System Device Tree. SIMPL Windows displays a delete confirmation box. Select the appropriate button.
Confirming Deletion via the Device List
Software
It is important to remember that AutoFill cannot detect transmitters (IR nor RF) or one-way RF wireless touchpanels such as the ST-1550 (although it will detect two-way wireless touchpanels); nor does it detect User Devices. Therefore, after using AutoFill, make sure to manually configure these kinds of devices in the Configuration Manager. NOTE: Your system must first be physically connected to your PC before initiating AutoFill.
The Device Settings dialog box will be displayed. Select the UI Project tab and click the Browse button to display the VisionTools project files. SIMPL Windows supports both .prj (VTW) and .vtp (VT Pro-e) files.
Browse for VisionTools Project
Software
This process will load the VisionTools project and automatically create touchpanel buttons, label signal names, and assign join numbers already specified in the VisionTools project. This will become evident when the touchpanel is viewed in Program Manager. NOTE: This is not a live link to VisionTools software. The touchpanel buttons, signal names, and join numbers are brought in when the UI project is specified. It does not actively update.
Software
The window asks if programmers want to load the default logic for the device. Additionally, the window may contain notes and recommendations depending on the particular device. Click Yes to load logic or No to load the device only.
Software
Software
Program Manager
Click No to skip the configuration process and go directly to Program Manager. NOTE: Crestron recommends that programmers new to SIMPL Windows should begin by building the system in Configuration Manager before programming in the Program Manager.
Software
Screen Navigation
The Program Manager consists of three main viewing windows. Program Manager
Symbol Library
Due to the architecture of the Symbol Library, it is sometimes referred to as the Symbol Tree. The Symbol Library is a master list of every symbol and macro available for use in creating your control system program. The symbols are grouped by symbol type with each group is contained in its own folder. The folders are expanded by clicking on the plus (+) sign.
Software
The three main folders are Logic Symbols, Crestron Macros, and User Macros.
Symbol Library
Program View
Program View provides a tree type view of the program. Symbols that are selected from the Symbol Library are dropped into the Logic folder in Program View. The folders can be expanded/collapsed by clicking on the plus/minus (+/-) sign.
Typical Program in Program View
Software
Search for a signal by entering its name in the What to Find field. If only a portion of the name is known, the search can be narrowed by entering the root-portion of the name in the What to Find field and selecting either the Find First or Find Next buttons to navigate to the desired signal.
Use the "Signal List" Dialog Box to Search for a Signal
Sort the signals in the project by type. There are five options in the Show Signals of Type area, shown after this paragraph. A checked type results in a list of typespecific signals. More than one type can be checked. Of course, minimizing the types checked reduces the list of signals.
Software
Select a signal from the list and click on the Details button at the top right corner of the dialog box to reveal the "Signal Detail for" dialog box. Refer to the Signal Routing paragraph in the Programming Features chapter for routing details.
Clicking the Details Button on the "Signal List" Dialog Box
Detail View
Detail View displays devices and symbols so the input and output signals are visible. This is where programmers will name input/output signals. There are several ways to display a device or symbol in Detail View. The most common methods are: Drag and drop the symbol from Program View Double click on the symbol while in Program View
Detail View of Analog Ramp Symbol
Bookmark
Bookmarks are a terrific time saving way to mark certain symbols in Detail View. When a certain cluster of symbols in Detail View is important and may have to be referred to many times while writing the program, a bookmark should be added. Select Bookmark | Add. SIMPL Windows will display the "Enter New Bookmark Name" window and ask for the new bookmark name.
Software
"Enter New Bookmark Name" Window
Enter a bookmark name and select OK. The bookmark will be added. Anytime it is necessary to return to the Detail View that was displayed when the bookmark was added, select Bookmark | bookmark name.
World View
Select View | World View to open a World View window. World View provides a map or overhead view of the current symbols in Detail View. This enables programmers to move around in Detail View very quickly even if many symbols are open. Click on the symbols in the World View window and Detail View will automatically move to that section of the program. The red box in the World View window displays what is shown in Detail View. Clicking inside of it and dragging can move the box.
World View
Software
Signal Tray
Select View | Signal Tray to open a Signal Tray area. The Signal Tray is a powerful holding tool for signals that have already been defined (named). It is a convenient place to store signals that are currently being used repeatedly. Signals are placed into the Signal Tray by dragging them from either the Signal List folder in Program View or the signal itself from Detail View.
Signal Tray
Software
Start
Start QuickAccess Window The lightning bolt icon will display the QuickAccess" window.
New Program
New Program New Program button will begin new programs with the Program Header Information" window.
Open Program
Open The open folder icon will open an existing program.
Save Program
Save The floppy disc icon is a shortcut for save. It will save the current program.
Print
Print The printer icon will print the contents of the active view.
Print Preview
Print Preview Print Preview allows you to preview the contents of the active view.
Cut
Cut Cuts a selection (equivalent to Ctrl+X).
Copy
Copy Copies a selection (equivalent to Ctrl+C).
Paste
Paste Pastes a selection (equivalent to Ctrl+V).
Program Manager
Program Manager (active) This button switches current program to Program Manager for programming activities.
Configuration Manager
Configuration Manager Configuration Manager button switches current program to Configuration Manager for system building activities.
Software
Transfer Program
Transfer Program Transfer Program icon will transfers program to the control system.
ViewPort
ViewPort The ViewPort button launches the SIMPL Windows ViewPort.
Test Manager
Test Manager This button will begin Test Manager for testing and debugging of the program. Realtime monitoring of signal activity.
Help
Help This button displays the SIMPL Windows help files.
Tile Vertical
Tile Vertical Tile Vertical aligns symbols vertically.
Tile Horizontal
Tile Horizontal This button aligns symbols horizontally.
Software
Inputs
Symbol inputs allow signals to be connected from other parts of the program. Depending upon the symbol type, the current state of the input signal(s) may affect one or more output signal(s). Some symbols have a fixed number of inputs, while others can have a variable number of inputs, determined by the programmer based upon need.
Outputs
Except for a few special cases, the ultimate purpose of a symbol is to modify the states of its outputs. These output states will depend upon the symbol type, the current or past states of the input signals, and the values of the parameters. Because the symbol alone determines the states of its output signal(s), the symbol is considered the driving source for the output signals. Similar to symbol inputs, the number of symbol outputs is fixed for some symbols, or can be variable based on need for other symbols.
Parameters
Some symbols also have parameters, which are constant values that help determine how the symbol behaves. For example, a symbol that delays an action for a specified period of time would have a parameter determining how long the delay should be. The exact function of a parameter depends solely on the symbol type itself. For convenience, parameters may be expressed in a variety of formats (all of which are directly related to one another). Although they will default to one format based upon the symbol type, this format can be altered by changing the format specifier at the end of the value.
Software
Format (specifier) Range decimal (d) 0d - 65535d percentage (%) 0% - 100% 0s - 582s (single precision) 0s - 19,000,000s (double seconds (s) precision) hexadecimal (h) 0h - FFFFh 0t - 65535t ticks (t) (1 tick = 1/112.5 second)
Note that \\ has special meaning, which is to print the \ character itself. For example, to actually print the string \x05\x06 (8 characters), the string would be: \\x05\\x06
Software
Symbol Categories
Symbols in SIMPL can be divided into two broad categories: device symbols and logic symbols.
Device Symbols
Device symbols represent a number of Crestron control devices that can be included in programming. They can be placed into or deleted from the program in the Configuration Manger section of SIMPL Windows only. The Program Manger allows device symbols to be connected but not added or deleted. Device symbols are automatically placed in the program when the corresponding devices are selected in the Configuration Manager. Select the device and drag-anddrop into the control system.
Logic Symbols
While device symbols allow you to communicate with the outside world, logic symbols allow you to make your program perform exactly the way you want. Logic symbols can range from the very basic ones such as the AND, OR, or NOT symbols, to symbols designed for very special applications. A more in-depth discussion of logic symbols can be found in the Programming with Symbols section.
Software
Enter a new descriptive name in the field at the top of the window. A check in the Show Extended Comment check box allows for an additional comment to be entered in the Extended Comments field. If unchecked, the Extended Comments field is removed from the window. When a comment is added to a symbol via the "View/Enter Symbol Comment" window, the entered text appears in the symbol title bar between the symbol designation and nomenclature separated by colons (:). The actual extended comment, if used, does not appear in the symbol title bar. Instead, three periods () appear after the comment in the symbol title bar to disclose that an extended comment has been implemented.
Programming a System
After the system is built by adding all the necessary Crestron hardware in Configuration Manager, begin programming the system by working in the Programming Manager. Program each button function from the system touchpanels or other user interface devices. Begin by naming the output signals from the user interface (output signals will already have assigned names if a VisionTools project has been brought in when configuring a touchpanel in Configuration Manager). Select the symbol(s) needed for the program in the Symbol Library. Drag and drop the symbols into the Program View window. Assign signal names to symbol inputs and outputs in the Detail View window.
Software
Name the output signals. Signals should be given a descriptive name like power_on, screen_up or VCR_play, for example. Name signals by selecting the signal with the pointer.
Selected Signal
Software
Crestron recommends using Subsystems to keep the program organized and easy to modify.
NOTE: It is possible to drop symbols directly into Detail View. However, this will not place the symbol in a subsystem
Software
Locating a Symbol
Although symbols are broken down into descriptive subfolders in the Symbol Library, it may still be difficult to locate a certain symbol. To alleviate such a problem, simply right mouse click within Symbol Library to reveal additional commands, as shown after this paragraph.
Available Commands from a Right Mouse Click on Symbol Library
Select Find to display the "Find a Symbol/Module in the Symbol Library" dialog box.
Available Commands from a Right Mouse Click on Symbol Library
Enter a phrase in the Search For field and check those boxes (Name, Speedkey/File Name, Hint, and Help) for the categories to be searched. Click the Search button. The outcome is listed in the Results box at the bottom of the dialog box.
Software
Placing a Symbol
In Program View, double click on the symbol to display it in Detail View. Once in Detail View, the symbols signals can have names assigned and, if necessary, parameters defined.
Double Click Symbol to Display
Naming Signals
Signal names are assigned in Detail View. The signal must be selected or highlighted before text can be entered. By default, the top input signal (top left) is automatically selected when a signal is first displayed. Use the pointer or arrow keys to navigate around the symbol.
Software
Subsystems
Crestron recommends using subsystems. They are a simple way to organize programs for easy location of specific logic functions. They can be named for easy identification making future modification easier. To create a subsystem, select the Logic folder in Program View and choose Insert Subsystem from the right mouse menu.
Insert Subsystem
The Enter Symbol Comment window will be displayed. It is advantageous to use descriptive names for each subsystem. This way future programmers can easily navigate through and identify the various parts of the program. Enter the Subsystem name and click Yes.
Name Subsystem
A new Subsystem will be displayed. Multiple Subsystems are displayed in numerical order (S-1, S-2, S-3).
Software
Feedback
Feedback lets the user know that a button press has registered with the system. This is especially important for touchpanels, where the user cannot tell from feel alone whether they pressed in the right spot. Another purpose feedback serves is to provide information to the user about the current state of the system (that the VCR is currently in PLAY mode, for example).
Visual Button Feedback
Whether a button is pressed or not is determined by the user (or the user's finger to be exact!) but it is a signal that decides whether a button is shown in its feedback state or not. Therefore, the signal is the driving force for the button feedback. Where
Software
Certain buttons may call for more complex feedback. For example, a volume mute button may alternately turn the mute on and off. To indicate this with feedback, the button should display in the feedback state when the mute function is on, and turn off when mute turns off. Clearly, momentary feedback will not do the trick here, so we must use logic symbols to generate the desired behavior. This example shows how to do this using the TOGGLE symbol.
Software
Indirect Text
Indirect text is a feature where the particular text string that appears on a touchpanel button can change, depending on the signal state. For example, when the user touches the button to enable it the button might read Power ON, and when touched again to disable, it might read Power OFF. With the introduction of SIMPL Windows, touchpanel definitions now have built in text fields defined. These text fields will accept serial data signals directly, thus eliminating the need for the serial to indirect text symbol in many cases.
Serial Send to Touchpanel text fields
Imported UI Projects
VisionTools UI projects can be imported into SIMPL Windows. This allows Touchpanel designs created in VisionTools to be referenced by SIMPL Windows for the touchpanels specified in the program. The VisionTools project will automatically assign names to the input (fb-feedback) signals and output (press-button) signals of the touchpanel. Additionally, the VisionTools project will assign join numbers to the buttons!
Software
TouchPanel UI Project in Detail View
When VisionTools UI projects are used the touchpanel signals are defined automatically. Programmers can continue to use the definitions provided or rename the signals.
Using Macros
SIMPL Windows provides programmers with a number of Crestron Macros as well as a predefined space to store user created macros called User Macros
Things to Remember
When importing newer macros into older programs make sure the macro is compatible with the control systems OPS version. Programmers should remember that macros can not be tested independently. They must be brought into a program and then compiled.
Macros are brought into the program the same way as symbols. Select the macro and drag it into the Logic Folder or a Logic Subsystem. Double click on the macro to display it in Detail View.
Software
To display the parameter routings of a macro, highlight the parameter, right mouse click, and select Show Routings (alternatively depress F2). The "Parameter Routings for" dialog box appears, example is shown after this paragraph.
Example of "Parameter Routings for" Dialog Box
Use this dialog box to determine how signals are routed through a macro. Use the Goto button to locate signal routing for a selected signal. By default, SIMPL Windows responds by opening the Logic folder in Program View and displaying the location. If the Always open symbol in Detail View check box is checked, SIMPL Windows goes one step further and opens the selected symbol (with highlighted sugnal) in Detail View.
Crestron Macros
Crestron Macros are prepackaged logic programs. A Crestron macro is a set of prewritten and debugged logic used for controlling a particular device or performing a function. The use of macros saves programming and debugging time since a large portion of the symbol signal functionality already exists inside the macro.
The internal workings of a macro can be viewed by selecting File | Open | Macro. This enables users to view the symbols and signal connections that are within the macro.
Beginner programmers can control very complex equipment by using the correct Crestron Macro. Crestron Macros are located in a Symbol Library folder called Crestron Macros. Expand the folder by clicking the plus (+) sign. Select the macro and press F1 for a description.
Software
Crestron Macro and F1 Description
User Macros
Programmers can create their own macros and store them in the User Macros folder in the Symbol Library. Alternatively, programmers can import Crestron Macros, edit them to match their specific needs, and save them as a User Macro.
Software
Argument Definition is used by SIMPL Windows to create the macro file. It allows you to specify the inputs, outputs, and parameters of the macro, which will be available to the users of the macro. Only one Argument Definition is used per file.
Conceptual Representation of a Macro
The Argument Definition symbol will define how the macros symbol will appear in SIMPL Windows. Name all inputs, outputs, and parameters. The names given to the Argument Definition signals will become the signal cues in the macro symbol. In order to let the macro user specify the parameter values, parameters are named (instead of given values) in the Argument Definition symbol. The internal parameters are then given the name #parameter name. The # tells the internal program that the parameter value is specified by the macro user. NOTE: Programmers must name the parameter in the Argument Definition symbol before entering the #parameter name in the macro program.
Programming the Argument Definition Symbol Detail View
Save the macro by selecting File | Save. Enter a file name and save it with a .umc extension in the Usrmacro folder.
Software
Saving a User Macro
Once saved, User Macros are available for use in other programs. They reside in the User Macro folder in the Symbol Library. To use a macro, select and drag it into the Logic Folder that same way any other symbol is selected.
The Macro as a Symbol
1. 2. 3. 4.
Select File | Import Crestron Module Select the Crestron macro that is to be edited. Crestron macros have a .cmc file extension. Open the macro file. Edit the macro to perform the specific tasks necessary. Edit signals and add/remove symbols Save the macro as a User Macro by selecting File | Save. SIMPL Windows will display the Save As window. The Usrmacro folder is the default location. This is the User Macro file folder. Files have a .umc extension.
Software
It may be necessary to restart SIMPL Windows to have the edited macro show up in the User Macro folder.
User Macros in Symbol Library
Software
Software
The purpose of this section is to provide programming information about various devices that can be added to a SIMPL Windows project.
[TX$]
[TX$] is a serial string (which can come from symbols like Transmit Analog [Speedkey: TXA]). Information on the serial string attached to this input is transmitted out of the COM port, at the COM port parameters specified for that port in Configuration Manager. If there are no symbols driving this input, it may be left blank
[RX$]
[RX$] is a serial string (which can be routed to symbols such as Serial to Analog [Speedkey: OP103]). Information on the serial string attached to this input is processed by the symbols that this string is driving. If the received data is not processed by other symbols, this ouput may be left blank.
[BREAK]
[BREAK] generates a BREAK on the transmit pin of the associated COM port. There are several different kinds of BREAKs. Some BREAKs are 17-20 bits of low. Some are generated continuous logical low as long as the BREAK line is held high. Consult the documentation for each specific device to know whick type of BREAK it generates. Some RS-422 based devices use the BREAK for synchronization before communicating other data. If BREAK characters are not going to be generated, this input may be left blank.
Software [RTS]
[RTS] changes the state of the physical RTS pin on the associated COM port to high as long as the digital signal tied to this input is high. When the digital input drops low, the RTS line also drops low. If there is no explicit program control of RTS required, this input my be left out. NOTE: If explicit control is needed, the Hardware Handshake for this port must be set to NONE in Configuration Manager.
[CTS]
[CTS] is a digital output of the symbol. The digital signal tied to this output changes stste when the CTS pin on the associated COM port changes state. When CTSis driven high, the digital signal tied to this output goes high. When CTS is driven low, the digital signal tied to this output goes low. If no explicit monitoring of CTS is required, this output may be left blank. NOTE: If explicit monitoring is required, the Hardware Handshake for this port must be set to NONE in Configuration Manager.
Other Lines
Other lines are labeled str1, str2, etc. Each has an associated digital input or digital output. On the rising edge of a digital input, the data in the string field is sent out the associated COM port. This allows constant data to be easily transmitted without the need to code other symbols and connect them to the TX$ line. When the COM port receives data, it attempts to match it to strings that have digital outputs associated with them. If it finds a match, the associated digital output is driven high. NOTE: If the same data is received twice by the COM port, the digital output for that string drops low momentarily (a logical impulse) and then is driven high again. In this way, all matches are seen. NOTE: String fields may contain any valid strings. Information on strings can be found at Legal String Syntax on page 53.
[enable]
[enable] is an optional digital input that only affects the transmission of the constant strings and the matching of strings. If nothing is tied to this input, the constant matching/transmission is enabled. If a digital signal is tied to it and is low, the constant matching/transmission is inhibited. This does not affect the usage of the TH$, RX$, BREAK, RTS, or CTS signals.
Software
Programming Features
Signal Colors
Signals are the elements used in your program to interconnect the various device and logic symbols that comprise your program. Signals can be one of three types: digital, analog, or serial. In SIMPL Windows the three signal types are color-coded as follows: Digital = Blue Analog = Red Serial = Green Other = Black NOTE: Other signals are neither digital nor analog. These black signals may indicate a combination of signals (e.g. many symbols accept either analog or serial signals where the combination is shown as a black signal). The signal type is displayed on the Status Bar when the signal is highlighted.
Example Signal Colors
Software
Signal Operations
Navigating Symbol Inputs and Outputs
You can easily navigate a given symbol by using the arrow keys. Move from input to output using the Tab key.
In Detail View
1. 2. Double-click on an input or output arrow. A blinking cursor will appear. Enter a signal name you decide upon, or use AutoName. AutoName's recommendation will always assure you of a unique signal name, one that is not currently used in your program. If you select your own signal name, instead, you will be automatically alerted if the signal name already exists, because the input or output background will be green in color.
3.
In Program View
1. 2. 3. Navigate through the Program Tree, and find the particular input or output. Double-click the input or output. Enter a signal name
Software
4.
The signal is created! Notice that after a signal is created, it appears in the Signal List folder at the bottom of the Program Tree, in Program View.
Selecting Signals
Signal selection in SIMPL Windows follows two standard Windows conventions: the SHIFT key is used to select a bloc of signals directly above or below each other in an input or output column. The CONTROL key is used to select two or more signals present in the same input or output column or in the same symbol, but not necessarily directly above or below each other.
The entire bloc will be highlighted. SHIFT-END will select downward, from the signal your cursor is on, to the last signal. SHIFT-HOME will select upward, from the signal your cursor is on, to the first signal.
Software
In Program View
1. 2. 3. 4.
Navigate through the Program Tree until you find the signal, or locate it in the signal List folder at the bottom of the Program Tree. Double-click the signal Make your signal name modifications Press Enter on your keyboard
Disconnect a Signal
DeletePlus allows you to Delete A If the signal to be deleted is connected to multiple symbols in your program, you will Signal while Highlighting the Input see multiple instances of the signal in Program View, as well as in Detail View if the or Output below it. Hold Ctrl symbols that contain it are open. Exercise caution when selecting a signal for while pressing the Delete key. deletion. Make sure you find the exact instance of the signal you want deleted.
In Detail View
The symbol containing the particular instance of the signal to be deleted must be in Detail View. 1. 2. Check the symbol header to insure you are deleting the exact instance of the signal. If there are currently multiple symbols present in Detail View, bring the correct symbol to the front in the view, or maximize the correct symbol if it is currently minimized. Select the instance of the signal to be deleted and press the DELETE key.
3.
In Program View
In the Program Tree: 1. 2. Find the specific symbol containing the signal to be deleted. If the symbol is currently collapsed, expand it by selecting the plus (+) sign.
Software
Locate the input or output folder where the signal is located. Select the signal, and press the DELETE key.
Replacing a Signal
This operation is known as redefining a signal connection. It disconnects a given signal and connects a different signal in its place (by contrast, renaming a signal assigns a new name to a signal, while the signal itself remains the same). Redefinition of signals can occur from one symbol to another symbol, or within the same symbol.
In Detail View
Drag and drop the new output signal to the input signal you wish to redefine; this will sever the connection of the existing input signal and replace it with the output signal.
In Program View
1. 2. 3. 4. OR 1. 2. Navigate to the signal you want. Drag and drop the signal on the signal to be redefined. Navigate to the signal you wish to redefine. Double-click on the signal, or right-click and select Rename Signal. Enter the new signal name. Press Enter or click OK as appropriate.
Connect Signals
In Detail View:
1. 2. Drag and Drop an existing signal to the new signal. Double clicking on a signal will create a name field with a blinking cursor. Enter the name of the signal you wish to connect to, and press Enter.
NOTE: If an input or output will not accept a name you are trying to give it, make sure you are not trying to connect a digital input or output to an analog input or output, or vice-versa.
In Program View:
To connect a signal in Program View: 1. In the Signal List, drag and drop one signal to the signal to which it should be connected.
The signals are now connected. If the symbols to which these signals are attached happen to be present in Detail View, you will notice the newly connected status of the signals there.
The parameter field is always at or near the bottom of the signal body. 1. 2. 3. Locate this field, and double-click it. This causes a blinking cursor to appear. Enter a parameter name. Press Enter on the keyboard.
For example, the Sequencer Select Symbol has one parameter, called size1, and therefore has one parameter field. By contrast, the String I/O Symbol has three parameters, and so has three parameter fields: Str1 Str2 Delimiter In SIMPL we allow users to enter parameters in various forms. Previously, for parameters where a constant number is expected, the following "type identifiers" could be used: d - decimal h - hex s - seconds t - ticks % - percentage (0-100%) With the release of SIMPL Windows v1.22.0, Crestron has added another parameter form. The new form is a single ASCII character surrounded by single quotations. The value of this parameter is equivalent to the character's ASCII value. For example, 'A' equals 65d, 'B' = 66d, etc. Refer to an ASCII conversion table.
Software
I/O Grow requires you to manually create each new input, output, or signal you want. By comparison, I/O Grow Special allows you to specify how many new input/outputs you want, and they are created as a bloc, instantly and automatically.
Open the Logic Symbols folder, in the Symbol Library. Open your desired specific Symbol folder. Place a symbol into Detail View by dragging or double clicking. Make sure input or output signal is selected. Press ALT + on the keyboard (the ALT key and the plus (+) sign).
In most cases, you will now see one additional input/output pairs appear. ALT- will produce the opposite effect that ALT+ does: it will reduce the number of signals.
3.
Enter the desired number of additional inputs or outputs to be added, and click OK.
Software
5.
NOTE: Inputs, outputs, or input/output pairs deleted this way must be done so one at a time.
To use AutoName
For a given signal: Double-click, then click elsewhere in the symbol, or Click once to select, then press Enter twice.
A unique signal name will appear, consisting of a combination of the symbol Number and the Prompt for that input or output. Examples To quickly AutoName a column of Inputs from top to bottom: 1. OR 1. 2. 3. Click the first input to highlight it Press and release the Enter key Press and release the Down arrow Double-click on every input.
Software
NOTE: SIMPL Windows will not allow you to connect a digital input, output, or signal to an analog input, output or signal, or vice-versa.
Signal Routing
The Signal Routing window displays the specific path between symbols that a signal takes in a given logic bloc. Every symbol a signal is connected to will appear in these two fields.
Each line within a field contains the following information, in order: Symbol number, Symbol name, Prompt name, and Symbol comment. Use the "Signal Detail for" dialog box to locate where a signal is used. Select the Goto button to locate the symbol(s) for a selected signal. By default, SIMPL Windows responds by opening the Logic folder in Program View and displaying the location. If the Always open symbol in Detail View check box is checked, SIMPL Windows goes one step further and opens the selected symbol (with highlighted signal) in Detail View. Refer to the example shown after this paragraph.
Software
Selecting the Open All Symbols button at any time while the "Signal Detail for" dialog box is open results in the opening of all symbols (having the selected signal) in Detail View.
Software
1. Highlight a signal with a name that has a numeric component 2. Move your cursor to the signal below that signal, by pressing the down arrow once, or clicking the lower signal once 3. Press the SHIFT-F4 key. A new signal name will appear, identical to the first except for the first numeric, which will be one increment higher.
Software
3. 4.
A new signal name will appear, identical to the first except for the last numeric, which will be one increment larger, and the next input or output will be highlighted, ready for editing or copying. NOTE: To Auto-Increment both inputs and outputs, it must be done separately. First increment the inputs, then increment the outputs.
The newly highlighted field is ready for data entry. Just start typing!
Software
This function uses the Signal Suffix, which is a two-character suffix you can append to any output signal(s), to facilitate such things as signal tracking. Select Edit | Preferences and choose the General tab. Under Append Suffix Setup there are five key combinations available for use, allowing you to set shortcuts for five different signal suffixes; you can then track five different signals. Programmers might want to set Alt-1 to enable a signal suffix such as "-fb", which when appended to a particular signal would indicate the signal is used to provide feedback, and would allow you to know the path taken by that signal.
3.
4. 5.
In Detail View, Select the signal(s) to which you want to append a particular suffix. Press the particular Alt combination required to enable the specific suffix you wish to append to the selected signal(s).
NOTE: Append Suffix applies to all signals. However, it is usually used with output signals to indicate that they have passed through a gate.
Software
Software
Compile Programs
Compiler Settings
Prior to compiling it may be necessary to adjust the default compiler settings. In either Configuration Manager or Programming Manager select Edit | Preferences to open the "SIMPL Windows Preferences" dialog box. Click the Compiler Settings tab, as shown after this paragraph, to reveal the default settings.
"SIMPL Windows Preferences" Dialog Box Compiler Settings Tab
Generate SIMPL-C Listing Crestron recommends that this item remains unchecked. Checking this item results in
Software
Software
The Compiler will run after the information boxes are answered. While running, the Compile Status window will be displayed.
Compile Status
When the compile process is complete, SIMPL Windows will display the "Compile Complete" dialog box. The box prompts the use to answer if the program should be transferred to the control system. Click the appropriate button. If the compiler found problems in the program, it will display them in the "Program Compilation" window along with the "Compile Complete" dialog box.
"Compile Complete" Dialog Box & "Program Compilation" Window
Compiler errors (notice, warning, fatal) are defined in the Compiler Errors Defined section. They are listed by error code such as CMCVT102.
Software
The user has the option to continue or cancel. It is also possible to avoid this prompt during each compile. Simply check the box at the bottom of the dialog box.
Software
Sharing Programs
Copy Program
This easy way of copying files in Zip format is a feature that can be used often to simplify the archiving, sharing, and e-mailing of SIMPL Windows programs. Starting with SIMPL Windows v1.22, a new Copy Program tool is available. Select Copy Program from the SIMPL Windows File menu to display the "Copy Program" dialog box. Enter a destination directory in the Copy Files to this directory field or use the Browse button to find one.
"Copy Program" Dialog Box
Software
Choose an archived file to import. Check the appropriate directory check boxes and click on the button. The archived program will be loaded and displayed by SIMPL Windows.
Software
Test Manager
Software
Screen Navigation
Test Managers three subwindows are resizable, as is the entire Test Manager window.
Test Manager
Trace Window
The Trace Window will display all the signals in a program as they change state or value. Digital signals that change state or analog signals change value, these signals will be displayed in realtime. To monitor analog and serial values, use the Status Window. The exclusion list option (Trace Window | Exclude Signals From Trace Window) allows the user to select specific signals that they do not want to see in the Trace Window. This is especially useful if a given program has certain signals that are transitioning rapidly. For example, a fast oscillator may be generating too many signals into the Trace Window, which makes it difficult to see relevant signal transitions. By eliminating the oscillator's signals, it will be easier to examine other parts of the program. The exclusion list is stored for a given program by using the base name of the program with the TM extension. For example, the program test.smw would have its exclusion list stored in the test.tm file. If a program has one or more signals in its exclusion list, an indicator displays the word "Exclusions" in the lower right hand corner of the status bar.
Status Window
The Status Window only monitors the activity of the signals specified by the programmer, in contrast to the Trace Window, which monitors every signal in the program. This is especially helpful if you want to monitor only two or three signals
Software
of a program. As the digital signals selected change state or a selected analog* signal changes value, these signals will be displayed in the Status Window. This view presents programmers with the current state of the selected signals. Digital, serial, and analog signals can be selected anytime for monitoring in this window. When debugging a large program, it is sometimes useful to have multiple sets of signals for observation. The bookmark (Status Window | Bookmarks) feature allows the storage and recall of these lists rapidly.
Incoming Data
Unlike the other two subwindows that comprise the Test Manager, the Incoming Data window displays data coming in through the serial or Ethernet port that is unrelated to signal monitoring. This data would include error or alert messages transmitted by the system or show SIMPL+ print statements.
Testing a Program
Testing a program requires that a PC be connected to: 1. 2. The serial port on the control system. A typical DB9 (9-pin) straight through serial cable is required. The Ethernet port on the control system.
Software
Set Watch
Signals that are going to be tested have to be identified with the Set Watch command. This command will identify specific signals that the user selects for Test Manager to test and debug. Select the signals to be tested in either Program View or Detail View. Set Watch in Program View In Program View, select the signal by clicking on it. Use the right-mouse button to display the command menu and select Set/clear Watch.
Set/Clear Watch
The selected signal names will be displayed in bold as a visual verification that the Set Watch is assigned to the signal.
Set Watch is active in Program View
Software
In Detail View, select the signal(s) by clicking on it. Multiple signals can be selected when activating Set Watch in the Detail View. Use the Shift or Ctrl keys for multiple selections. Use the right-mouse button to display the command menu and select Set Watch.
Select Signals
The selected signal names will be displayed in bold as a visual verification that the Set Watch is assigned to the signal.
Set Watch is active in Detail View
Software
If Test Manager cannot communicate with the control system, a warning box will display No Communications with rack.
No Communication with System
NOTE: The control system always runs the last uploaded version of the program. Changes made to a program are not reflected by the control system until the new program is compiled and uploaded. The Test Manager environment will be displayed. The selected signals (signals with the Set Watch active) will be displayed in the Status Window.
Software
Begin to test by selecting touchpanel buttons or perform function that requires the selected signal(s) to change value. Signal transitions are displayed in the Trace Window.
Software
Test Manager signal transitions
Test Manager makes it easy to force signal transitions. There are four signal buttons on Test Managers button bar that allow users to force signal transitions. Assert button De-assert button Pulse High Pulse Low The Assert button forces a signal high. The De-assert button forces a signal low. This button pulses a signal high. This button pulses a signal low.
Another tool that is accessed by the button bar is the Time Stamp. Time Stamp The Time Stamp button inserts a time stamp in the Trace Window.
Software
ViewPort
Viewport Overview
The Viewport utility is a broad-based mechanism that accomplishes multiple system tasks, primarily via an RS-232 or TCP/IP connection between the control system and a PC. It is used to observe system processes, upload new operating systems and firmware, change system and network parameters, and communicate with network device consoles, among many other tasks. Viewport can also function as a terminal emulator for generic file transfer. All of these functions are accessed through the commands and options in the Viewport menus: File | Edit | Setup | Diagnostics | Functions | File Transfer | Remote Viewport can be from either SIMPL Windows or VT Pro-e: click the toolbar button or select Viewport from the Tools menu. Alternatively, Viewport can be launched as a stand-alone program: from Windows Start menu point to Programs, then Crestron, then SIMPL Windows, and finally click Viewport. To quit Viewport, click the close button or choose Exit on the File menu.
Communication Settings
As just described, the connection between the PC and the control system can be either serial (RS-232) or TCP/IP. To specify the connection type, click Communications Settings on the Viewport Setup menu. Then click RS-232 or TCP/IP. The available parameters will differ depending on the connection type. For RS-232, the default PC settings match the serial protocol that the control system expects. The default PC settings are as follows: Port = COM 1. Select the correct COM port on the PC (COM 1 through COM 8). Baud rate = 38400. The baud rate should be set to 115200 for 2 Series processors; 57600 for X Series; 38400 for ST-CP. To synchronize the PC and the control system to a different baud rate, use the Set Baud Rate command on the Functions menu. Parity = None. Number of data bits = 8. Number of stop bits = 1.
Installation & Operations Guide DOC. 5728C Crestron SIMPL Windows 101
Software
Hardware Configuration
For RS-232, use a DB9 straight-through serial cable to connect the COMPUTER port on the control system to one of the COM ports on the PC.
RS-232 Connection
For a TCP/IP connection, use Ethernet straight cables to connect the PC and control system to the LAN.
TCP/IP Connection
Software
Exit
The Exit command closes Viewport.
Paste
The Paste command writes the contents of the Clipboard to the Viewport screen and transmits the pasted characters using the selected connection (as if they were typed in).
Clear Data
The Clear Data command clears the Viewport buffer and all displayed text.
Software
Local Echo
When Local Echo is enabled, any command issued to the COM port will also be displayed in Viewport.
CR to CR/LF (Outgoing)
Many devices use the ASCII newline character (CR/LF) as a command delimiter. The CR to CR/LF option converts any carriage return (CR) character that is issued to the COM port to a CR/LF.
Sound
When Sound is enabled, Viewport interprets any incoming character that represents a sound (for example, the <Bel> character) as a Viewport-specific command, and the corresponding sound will be emitted.
Character Mapping
Character mapping is used to control how incoming and outgoing data is displayed (when the Display in Hex Mode option is not enabled). The Character Mapping dialog box is divided into three areas, according to the range of ASCII character values (see ASCII Conversions): Low Characters controls the display of characters with ASCII values below 20 hex. These characters represent commands, such as <Esc> or <Line Feed>. The Normal option will display the ASCII equivalent of the character. The Translated option will display the character represented by control and function keys. For example, <Ctrl+@>, which corresponds to the NULL character, would be displayed as <NUL>.) The Hex option displays the character in hexadecimal notation.
Software
The Always Interpret CR, LF, and TB option interprets carriage returns, line feeds, and tabs as Viewport-specific commands, and the characters themselves will not be displayed. Standard Characters pertains to characters with values between 20 hex and 7E hex. These can be displayed either in ASCII (click the Normal check box) or hexadecimal notation. High Characters pertains to characters with values above 7E hex. These can be displayed either in ASCII (click the Normal check box) or hexadecimal notation. Each range of characters can be displayed or hidden by selecting or clearing the corresponding Show check box.
Font
Use the Font dialog box to set a font, font style and point size for Viewport characters. A preview of the resulting text is displayed in the Sample area.
RS-232 Connection
For RS-232, the default PC settings match the serial protocol that the control system expects. The default PC settings are as follows: Port = COM 1. Select the correct COM port on the PC (COM 1 through COM 8). Baud rate = 38400. The baud rate should be set to 115200 for 2 Series processors; 57600 for X Series; 38400 for ST-CP. To synchronize the PC and the control system to a different baud rate, use the Set Baud Rate command on the Functions menu. Parity = None.
Installation & Operations Guide DOC. 5728C Crestron SIMPL Windows 105
Software
Number of data bits = 8. Number of stop bits = 1.
TCP/IP Connection
For TCP/IP, enter the IP address of the control system in the Fixed text field to connect to the control system automatically whenever Viewport is launched. Alternatively, choose Prompt on Connect to specify the IP address each time a new connection is established.
Other Settings
The Mode for Network Transfer buttons pertain to the method for uploading firmware to network devices. In most cases firmware is uploaded via XModem, but some devices, such as the CNTV, require ASCII uploads. In these cases the Line Pacing for ASCII Uploads sets the number of milliseconds the Viewport will wait between sending lines of data during the upload.
Modem Settings
Modem Settings specifies the initialization string that is sent to the PC or control system modem, to configure and prepare it for use. (The actual dial-up connection is made using the commands on the Viewport Remotemenu.) Viewport provides default initialization strings that are standard for most modems; to recall these, click Restore Defaults. Enter a time in seconds for the connection to be attempted before hanging up. Click the Drop DTR check box to close the connection by turning off the Data Terminal Ready signal. Finally, click Turn Modem Speaker Off to disable the sound of the modem connection.
Communications Presets
Communications presets are shortcut keys or key combinations that can be used to specify communications settings automatically. That is, once a preset is configured, pressing the key combination will set the associated communications parameters (for either RS-232 or TCP/IP). Point to Communications Presets and then click Add. Type a name for the preset, and then select the desired key combination from the Hotkey drop-down list. Click the Communication Settings button and set the desired parameters. Click OK. Click OK again to exit or to assign another preset. After a preset is configured it can be deleted or changed by pointing to Communications Presets and selecting Remove or Modify.
Restore Defaults
The Restore Defaults command restores the following default settings:
Software
NOTE: The 2 Series processor has no associated suffix; rather, the operating system version will be preceded by the model name of the control system.
Software
Check Ops Version
The Check Ops Version command displays the current version of the operating system (Ops) as well as the date that the operating system was uploaded. The Ops version number includes a suffix that indicates the type of control system, as follows: Suffix s m l c x w Control System Smartouch CNMS Lighting Rack or Card Cage CNX CNRACKX
Software
In X Series processors, the contents of the mailbox is deleted whenever a new program is uploaded to the control system, or a new file is saved to the mailbox. In 2 Series processors, the contents of the mailbox is deleted only when a new file is saved to the mailbox; uploading a new program will not erase the file.
Identify Transmitter ID
The Identify Transmitter ID command verifies communication between an IR (infrared) or RF (radio frequency) transmitter and a receiver, such as the CNIRGW or CNRFGWA.
The control system program must contain a gateway at the ID where the physical gateway is located. Simply point the transmitter at the receiver and press any button; if valid communication exists, the Transmitter ID of the unit will be displayed, and the Button ID field will show the ID of the button that was pressed.
Software
CNX/CN Series
Soft Reset
The Soft Reset command restarts the program that is currently loaded in the control system's working memory, or RAM.
Hard Reset
The Hard Reset command loads the program that is in permanent memory, or flash PROM, into RAM. This will overwrite whichever program was previously in RAM.
Cold Reboot
The Cold Reboot command re-initializes Monitor ROM (a set of system-level routines similar to the BIOS) and restarts the operating system.
Software
In X Series control systems only, the Show SIMPL+ Memory Usage command displays the "tasks" list, which is the list of SIMPL+ tasks/processes running in the control system. The data includes the amount of memory being used by each SIMPL+ module, in the following format:
The ROM column represents how much permanent memory the module is using in the control system. A module is stored only once. In the example above, three modules are stored in ROM: BRAND X VCR CONTROL.UF takes up 144 bytes of ROM. BRAND Y VCR CONTROL.UF takes up 128 bytes of ROM. BRAND Z VCR CONTROL.UF takes up 384 bytes of ROM. A module can be instantiated several times; each instance of a module takes up RAM (as shown in the RAM column), but no additional ROM. In the above example, BRAND X VCR CONTROL.UF is instantiated 5 times. Each instance takes up the same amount of RAM. The name in parentheses is the reference name. In SIMPL Windows, all SIMPL+ modules have a <Reference Name> parameter. Whatever is typed into this field is what will be shown in the parentheses. This provides a unique identifier for each copy of a module. If any errors are generated at runtime, the error message will give both the module name and the reference name, as follows: ~TEMP1[7] <-- Array out of bounds in BRAND Z VCR CONTROL.UF (Executive Planning Room) ~TEMP[16][17] <-- Array out of bounds in BRAND Z VCR CONTROL.UF (Executive Planning Room) ~X$[10] <-- Array out of bounds in BRAND Z VCR CONTROL.UF (Executive Planning Room) The reference name makes it easier to track the instance of a module that is causing the run-time error. The Handle column is used internally by the control processor and can be disregarded. The <none> task is a system internal task that is always present.
Installation & Operations Guide DOC. 5728C Crestron SIMPL Windows 111
Software
Program Reset
The Program Reset command restarts the program that is currently stored in memory. If programs exist both in internal and Compact Flash memory, the program in Compact Flash will be loaded. Otherwise, the program in internal memory is loaded. Use the console command "CFAUTORUN ON/OFF" to control the actions of the control system when a Compact Flash card is inserted into a running system. If CFAUTORUN is enabled, when a Compact Flash card is inserted or removed the system automatically performs a Program Reset and the program in Compact Flash will run. If CFAUTORUN is disabled, then a Program Reset must be issued to switch programs. If programs exist both in internal and Compact Flash memory, the program in Compact Flash will be loaded. Otherwise, the program in internal memory is loaded.
Erase Program
The Erase Program command erases the current program from either internal memory or Compact Flash. If the Viewport detects a program in Compact Flash, then click Yes to erase the program from Compact Flash, or No to erase the program from internal memory. Click Cancel to cancel the operation.
Error Log
The Error Log submenu provides options for retrieving and saving the error messages that are shown on the front panel of 2 Series control systems when the Msg button is pressed. To display the current error messages in Viewport, click Show Error Log. To write the error messages to the Clipboard, click Copy Error Log to Clipboard. To save the error messages to a file, click Save Error Log to File. Then browse to the desired directory, name the file and click Save. Finally, to erase the front panel error messages, click Clear Error Log.
Software
General
Send Break
The Send Break command issues a break command to the COM port. Another way to issue the break command in Viewport is to press <Alt+K>. A break key is used to tell a computer to halt, or break out of, whatever it is doing. On most PCs, for instance, pressing the <Pause/Break> or <Scroll Lock/Break> key while holding down the <Ctrl> key issues the break command.
Setup IP Table
The IP Table is an internal table that contains the IP IDs and associated IP addresses of all Ethernet devices in the program. It is accessed by the control processor to identify and locate Ethernet devices, for purposes of communication through the transfer of packets. (Ethernet devices are located in the Ethernet Control Modules folder of the Device Library.) In SIMPL Windows, each Ethernet device is assigned a unique hexadecimal IP ID that must then be mapped (via the IP Table) to an IP address. IP IDs are set automatically, when the device is brought into the program in Configuration Manager. IP IDs can also be changed in Configuration Manager.
Software
Software
The IP ID of a device can only be changed in the Device Settings dialog box in Configuration Manager. It cannot be changed in Viewport. Once the IP Table has been uploaded to the control system its entries can be modified or removed: To view the IP Table that is currently loaded in the control system, click Retrieve Current IP Table from Control System. All the entries will be displayed in the IP Table editor, preceded by a icon. To remove an entry from the IP Table editor, select it and click Remove. To erase the contents of the IP Table editor, click Remove All. Note that entries will not actually be removed from the IP Table until the new IP Table is sent to the control system. To change an entry, select it and click Modify. Make the desired changes to the IP ID or IP address and click OK. The modified entry will now appear in the IP Table editor preceded by a icon. To add a new entry, click Add and enter the IP information. The new entry will icon. appear in the IP Table editor preceded by a To erase the IP Table that is currently loaded in the control system, click Clear Current IP Table in the Control System.
Software
Set Network ID
The Set Network ID command is used to change the Net IDs of certain network devices. Not all Net IDs can be changed in this way; some devices have different hardware settings, and some touchpanels must be configured locally. Refer to the hardware manual of the device to verify whether its Net ID can be changed using Viewport. As Viewport detects network devices, those devices will be listed in Current Network Devices. The information given here includes the current Net ID of the device, the type of device and its firmware version. Click Search for Devices to refresh this list if any devices are added or removed from the network. To change the Net ID select the device, choose a Net ID from the drop-down list, and then click Set ID. To send the Set ID command directly to a single device, click the Broadcast to All ID's check box and connect only that device to the network. Select a new ID as just described, and click Set ID.
Set Transmitter ID
Use Set Transmitter ID to change the ID of an infrared (IR) transmitter. This requires a CNIDC (IR probe). First enter the two-digit hexadecimal ID that the transmitter will be set to and click OK. Position the IR probe of the CNIDC over the sensor on the transmitter and click OK to begin programming. Continue to hold the IR probe in position until the LED indicator on the transmitter stops flashing. To verify the new ID, click Identify Transmitter ID on the Viewport Diagnostics menu.
Software
First select the Net ID of the transceiver, then select the desired RF channel. To verify the new channel, click Report Network Devices on the Diagnostics menu. Put touchpanel into Setup Mode/Calibrate Mode To bring a network touchpanel into setup mode or calibrate mode, simply enter the Net ID of the panel and click OK. To bring all touchpanels on the network into setup or calibrate mode, enter "FF" as the Net ID.
Software
Send Touchpanel
The Send Touchpanel command uploads a compiled VT Pro-e project to a specified touchpanel. First select the Net ID of the touchpanel and click OK. Alternatively, click Send Direct to Wired Touchpanel if the touchpanel is connected directly to a COM port on the PC. For non-TPS panels, browse to the project directory containing the .hex file to be uploaded, select the file and click Open to begin the transfer. For TPS panels, browse to the directory containing the .vtz file to be uploaded and click Open. This will display the full file path of the project, as well as the date the project was compiled. Each time a project is selected using the Browse command, that project is added to the File Name drop-down list. This makes it convenient to recall projects without need to browse to a directory. To delete the list click Clear History. Next, choose the pages to send to the TPS panel. The choices are as follows: All Files in Project: sends the entire project. Only Changed Files: sends only the files that are different from those that are currently stored in the panel. Note that if any pages in the panel are not present in the project, those pages will be deleted from the panel. Additional choices include Do not send graphic files and Do not send sound files. These are often very large files that take a long time to load.
Software
The Send Web Pages command uploads Web pages to X Series and 2 Series control systems, both of which can provide Web server functionality in e-Control applications. You can create e-Control Web pages using either the Crestron SDK (software developer's kit) or VisionTools Pro-e. With X Series control systems, the Web server is a built-in component of the CNXENET+ card; with 2 Series control systems, the Web server is built into the control processor itself. In addition, the 2 Series provides an expansion slot for a Compact Flash card; thus Web pages can be uploaded to Compact Flash memory as well. The 2-Series Web server has a built-in gateway that permits up to 30 simultaneous connections to the Web server, whereas the CNXENET+ card supports up to 5 simultaneous connections. In fact, because of security restrictions imposed by Java, only the built-in gateway can be used with the internal Web server, not the CNX (software) gateway. To transfer Web pages, select a destination (for the 2 Series only): choose either Internal Flash or Compact Flash. With the Compact Flash option, if Viewport does not detect a Compact Flash card you will be prompted to insert a card and retry the Web page transfer. Select which files to send: the options are to send an entire HTML project, only files that have changed, or a single HTML page. With the Transfer Entire Project option, click OK when reminded to select a default page, then browse to the HTML project folder. Select a default page, which will be the first page that is displayed when the control system is accessed by a Web browser. The transfer procedure will send the default page along with all other pages and subdirectories that are in the same folder as the default page. Thus it is important to remove unneeded files from the HTML project folder, as uploading extraneous files can exceed the capacity of the Web server. If this occurs, an error message will be generated. If any files in the HTML project folder change, the changed files can be transferred to the control system without need to resend the entire project, by choosing Only Transfer Files that have Changed. Here again, browse to the project folder and select the default page. Click Open, and then OK to transfer the changed files. During transfer, the Viewport compares the files in the project folder with those that currently exist on the Web server. If the Web server contains files that are not present in the project, those files will be deleted from the Web server. Finally, a single HTML file can be sent by selecting Transfer Single File. Browse to the file and click Open. Then specify the file's relative path (from the root directory) and click OK. Note that this will delete any files that reside on the Web server.
Software
To change directories, type CD <Directory>. To create a new directory (only in Compact Flash), open the CF0 directory and type MAKEDIR <New Directory>. When the target directory is open, use the Send Generic Files command to browse to the file. Click Open to transfer the file. Following is a list of console commands that work with the Compact Flash directory: CFAUTORUN: enables a program autoboot from Compact Flash. MAKEDIR: creates a directory on Compact Flash. CD: changes to a directory on Compact Flash. DELETE: deletes specified files from Compact Flash. DIR: lists the files in Compact Flash. FREE: If Compact Flash is the current directory, displays the amount of space available on the Compact Flash card. If internal, gives the amount left on internal flash. XGETFILE: retrieves a file from Compact Flash. XPUTFILE: sends a file to Compact Flash.
Software
In X Series control systems the size of the mailbox is fixed, whereas in the 2 Series (and pre-X Series) the size varies depending on the amount of memory left over after the SIMPL Windows program has been uploaded. To display the current capacity of the mailbox in kilobytes click Get Available Mailbox Size on the Diagnostics menu. This will also display the name of any file that is currently being stored in the mailbox.
In X Series processors, the contents of the mailbox is deleted whenever a new program is uploaded to the control system, or a new file is saved to the mailbox. In 2 Series processors, the contents of the mailbox is deleted only when a new file is saved to the mailbox; uploading a new program will not erase the file.
Software
In some cases Microsoft's Internet Explorer may append a .zip extension to a downloaded .cuz or .upz file. For example, a file called "51263x.upz" may appear as "51263x.upz.zip." If this happens, rename the file, removing the .zip extension.
Software
a "b" file. Choose the "a" file; Viewport will automatically retrieve the "b" file during the upload.
Retrieve Program
The Retrieve Program command copies the current program from either internal or Compact Flash to disk. If the Viewport detects a program in Compact Flash, click Yes to retrieve the program from Compact Flash, or No to retrieve the program from internal memory. Click Cancel to cancel the operation.
Software
The Modem Settings command on the Viewport Setup menu specifies the initialization strings for a PC or control system modem, as well as for any modem used in PC Passthrough mode. (An initialization string is sent to a modem in order to configure and prepare it for use.) Viewport provides default initialization strings that are standard for most modems. In addition, Modem Settings specifies the time to wait for a connection to be established before hanging up. To begin a dial-up connection, click Dial and enter the number to be dialed (hyphens are permitted); to terminate the connection, click Hang Up. Use Phone Book to store frequently dialed numbers. Click Add to enter a new number in the phone book, enter the name and comments in the text fields and click Save to add the number to the list of entries. To change an entry, select it and click Modify; to remove an entry, select it and click Delete. Use the Copy command to make minor modifications to an entry without need to re-type all the information. To dial a number in the phone book, simply select it and click Dial. Use the Initialize Rack Modem command to configure a control system modem (the control system must be connected to a COM port on the PC). The modem will be configured using the initialization string specified in Setup | Modem Settings.
TCP/IP
The TCP/IP submenu provides options for connecting to a computer or control system via Ethernet. Simply click Connect and enter the IP address and port number of the desired destination (if connecting to a control system, it may be necessary to enter a password); to terminate communication, click Disconnect (this will restore default TCP/IP settings). Each time a new IP address is entered in the IP Address field, it is added to the IP Address drop-down list. This makes it convenient to connect to frequently-used addresses, as they can simply be selected from the list without need to retype. To delete the list click Clear Connect History. Use AddressBook to store frequently used IP addresses. Click Add to enter a new IP address, enter the name and comments in the text fields and click Save to add the IP
124 Crestron SIMPL Windows Installation & Operations Guide DOC. 5728C
Software
address to the list of entries. To change an entry, select it and click Modify; to remove an entry, select it and click Delete. Use the Copy command to make minor modifications to an entry without need to re-type all the information. To connect to an IP address, select it and click Connect. Some IP addresses (usually hosts on the Internet) have associated domain names. The DNS Lookup command retrieves the domain name, if any, of the current IP address. The Wait for Connection command causes the Viewport to listen for a TCP/IP connection to be initiated from another control system or computer. Enter the port number and click OK. To take Viewport out of listening mode, click Cancel.
PC Passthrough
PC Passthrough refers to a communication method whereby a remote PC connects to a local control system by using a local PC as a bridge. This is typically used in troubleshooting situations where a programmer must access a customer's control system from outside the customer's LAN. Since the control system is likely to be protected behind a firewall, Ethernet access will not be possible; and depending on the location of the control system, a physical link using serial cables may not be an option either. In this scenario a local PC can establish communication with the control system using RS-232 or TCP/IP, as usual. The local PC would then enter PC Passthrough mode. The remote PC then connects to the local PC, usually via modem, enabling the remote PC to communicate with the control system just as if a direct connection existed.
Local PC Settings
To enter PC Passthrough mode, click PC Passthrough and specify the type of connection that will be established with the remote PC. In the scenario just described, this will a modem connection, although TCP/IP and direct RS-232 are also available options. To specify a modem connection click RS-232 to enable the serial settings options. Click Modem as the connection type and select the COM port where the modem is installed. (Note that the initialization string issued to the modem is specified in Modem Settings on the Viewport Setup menu. For PC Passthrough, the string is given in the PC Passthrough Initialization String field. Viewport provides default initialization strings that are standard for most modems.) Next, select the PC settings for baud rate, parity, and the number of data bits and stop bits. (In most cases the default settings, N, 8, 1 be kept.) Click Start to begin PC Passthrough mode. To specify an RS-232 connection, click RS-232 and then choose Direct. Select the appropriate COM port on the PC and then select the other serial communication settings. (Here again the default settings can be kept in most cases.) Click Start to begin PC Passthrough mode. Finally, to specify an Ethernet connection, simply click TCP/IP, and then click Start. The PC will listen for a connection from the remote PC.
Remote PC Settings
Once the local PC is brought into PC Passthrough mode, the remote PC can establish communication as follows:
Installation & Operations Guide DOC. 5728C Crestron SIMPL Windows 125
Software
Remote Console
The Remote Console submenu enables access to the console of a network device, such as a TPS touchpanel or CNTV. Click Connect and then enter the Net ID of the device to be accessed, then click OK. Once the connection is established commands can be issued directly to that device console from Viewport. To terminate communication, click Disconnect.
Software
Software
Software
Network Analyzer
Overview
The Crestron Network Analyzer is an application designed for advanced users. It is intended to be a diagnostic tool used to identify problems within a network.
Crestron Network Analyzer
The Crestron Network Analyzer has been developed to assist system programmers and installation technicians in diagnosing electrical problems in the systems network wiring. By graphing voltage levels and time, the Network Analyzer will help identify the following problems: Problem network devices Voltage drops Electrical shorts Breaks in network wires or miswired network devices
Software
Communication Settings
Network Analyzer needs to communicate with the system control processor (rack). To edit the communication settings select Edit | Communication settings (alternatively Alt+D). The "Port Settings" dialog box will be displayed. Make the desired changes and click OK.
Software
To acquire new data to review select File | Acquire (alternatively Ctrl+A). Network Analyzer prompts users for the network ID of the device from which data is to be acquired. In the data field of the "Select Network ID" dialog box enter the desired Net ID. Click the OK button to proceed.
Provide Net ID
When the proper data is acquired, the Network Analyzer will display graphs plotting voltage levels against time (in milliseconds).
Network Analyzer Graphic Display
Software
The graphs displayed by Network Analyzer display voltage level from -5V to 10V on the Y axis The time sample runs from 0 to 6.55ms. along the X axis. The blue "Y" represents the wire labeled "Y" in a cresnet network. The red "Z" represents the wire labeled "Z" in a cresnet network.
Background Colors
The gray area of the graph represents when the control processor (rack) is commanding the network. The white area of the graph represents when the net device that was requested is in control of the network.
button.
Software
Software
Description The highest voltage on the Z line must not exceed 6.88 volts during transmit. Possible Cause This problem can be caused by a faulty network driver in the control system, by a short circuit between the Z line and power in the network wiring, or by a break in the ground line. To verify if this problem is due to a faulty network driver, disconnect all network wires from your control system and repeat the test. If you receive this message again, you have a problem with your control system. If not, there is a problem in your network wiring. A break in the ground line would also result in the analysis: "Y voltage is too high on transmit".
Software
Software
voltage on the Y line (delta y) must be within 25% of the difference between the maximum voltage on the Z line and the minimum voltage on the Z line (delta z) during receive. That is, delta y must not be 25% greater than delta z and delta z must not be 25% greater than delta y. Possible Cause This problem can be caused by a faulty network driver in the selected network device, or by a problem in the network wiring. To verify if this problem is due to a faulty network driver, disconnect all network wires from your control system and attach the selected device directly to the control system using a short length of network wire and repeat the test. If you receive this message again, you have a problem with your network device. If not, there is a problem in your network wiring.
Software
Software
Crestron e-Control
Ethernet Communications
Crestron is now supporting Ethernet communications with the 2 Series and CNX generation control systems. Crestron e-Control support includes: System-to-system communication Allowing your web-browser or custom Visual Basic application to act like a Crestron touchpanel using Crestron e-Control Software Development Kit (SDK). Control of Ethernet-enabled Crestron devices (CEN models), such as the CEN-IO. Control of system diagnostics from the ViewPort via Ethernet. Serving Web Pages. Some router/firewall capability. NOTE: For additional details, refer to the latest revision of the Crestron e-Control Reference Guide (Doc. 6052). It can be obtained from the Docwnloads | Product Manuals section of the Crestron website (www.crestron.com).
Network Requirements/Preparation
See your MIS department to determine whether or not your network meets these criteria. 1. 2. 3. Any PC designed to communicate to a Crestron device over Ethernet must support TCP/IP. The CNX control system and CEN modules must have static IP addresses; they do not support DHCP servers or BOOTP servers. CNX control system and CEN modules require a 10BaseT attachment.
Additional Conditions
Running the SDK requires its own licensing fee, including the "CNX Gateway" running on an accessible network PC. This same PC may also need to run a web server in order to allow control via another PC using a web browser, depending on your system configuration.
Software
2.
3. 4.
5.
6.
7.
8.
Software
2.
3.
Software
Drag-n-Drop DPA Card
Ethernet devices that are addressed by the control system may have their IP addresses set either in the SIMPL Windows program or through the ViewPort with a PC. Just as each Cresnet device is assigned a Cresnet ID, e.g. 03 through FE, to be used when programming, an Ethernet device is assigned an IP ID which also may range from 03 through FE. Ultimately, each IP ID is converted into an actual IP address through an IP Table that exists inside the CNX control system. This will be discussed in more detail below. To add Ethernet devices to your program, in the SIMPL Windows' Configuration Manager, drag an Ethernet-connected device, e.g. a CEN-IO or a Virtual Touchpanel symbol, into the program. Drop it on the CNXENET card or the "Ethernet Units" arrow underneath the "Cresnet Units" arrow. (Pull the window divider down further if you don't see it in the System View window.)
Drag-n-Drop Ethernet Control Module CEN-IO
to display the "Device Settings"dialog Double click on the CEN-IO icon box. Select the IP Net Address tab and assign an IP ID and a corresponding IP address. For example, assign IP ID: 03 at IP address 192.168.2.7.
Software
You can modify the corresponding IP address for any IP ID without changing or reloading the program by changing the IP table in the control system directly. From the ViewPort select Setup IP Table from the Function menu. Click the Retrieve Current IP Table from Control System button. This will extract the IP Table from the CNX system and list it in the dialog box.
Software
You are now able to modify or delete existing entries as well as add new ones. When you have made all the changes necessary, you can save the new table to disk and/or load it back into the control system. Once you have made these changes, be careful not to overwrite the IP table in the control system the next time you upload the program (unless the addresses in your program supercede those in the current IP table).
System-to-System Communication
History
Crestron control systems have long been able to exchange information while running, creating a distributed network. The control systems communicated via a serial cable connected to individual RS232 ports on each control system. The SIMPL Windows program uses the "Intersystem Communications" symbol (formerly known as XSIG to Workshop users). This symbol takes lists of digital, analog, and serial signals, and converts them to a stream of serial information that was typically sent out a comm port (e.g. CNXCOM-8) and into the comm port of the receiving system. Another symbol of the same type in the receiving system would convert the information back into separate digital, analog, and serial signals by matching up signals in corresponding list positions. System-to-System via Ethernet System-to-system communication over Ethernet is very similar to past methods, in that the same "Intersystem Communications" symbols are used, but the sending and receiving strings generated by these symbols are sent to a "Virtual Communication Port", instead of a physical comm port. In the SIMPL Windows Configuration Manager, you can find this device under "Ethernet Control Modules" folder. Drag-nDrop it onto the CNXENET card or on the "Ethernet Units" arrow as shown. Double click on the icon and assign an IP ID and corresponding IP address.
Software
In the Program Manager, connect the transmit and receive serial signals from the Intersystem Communications symbol to the transmit and receive terminals of the Virtual Comm Port symbol.
Connect Signals
One restriction is that the IP IDs of the Virtual Comm Ports (VCP) of any two communicating control systems must match. That is, in system A you may have defined a VCP defined at IP ID 07, with the corresponding IP address of system B. In system B, you also must have a VCP defined at IP ID 07, this time with the corresponding IP address of system A. You can, however, have as many Virtual Comm Ports in a control system as there are valid IP IDs (max of 251), so you can talk to many control systems, or have several different communication channels between the same two control systems. It may be helpful to think of an IP ID as a "channel", and thus the channels must match for information to be exchanged. You can easily debug system-to-system communication by using standard serial communication in a test environment and then re-routing the Intersystem Communications serial signals to Virtual Comm Ports after all of the logic has been confirmed to work.
Software
Software
Screen Navigation
The Front Panel Editor consists of one window with a display of a front panel. Check-box display options change the view of the panel display if enabled. The Legend displays the color code used in the editors panel display. The Pages area lists the pages that are programmed.
Software
Front Panel Editor
Page Buttons
The Add button will display the "Add Page" dialog box. Enter a new page name.
"Add Page" Dialog Box
The Copy button will display the "Copy Page" dialog box. Enter new page name and the selected page will be copied and given the new name.
Software
The Rename button displays the "Rename Page" dialog box. Enter the new page name.
"Rename Page" Dialog Box
The Import button displays a folder/file window. Select a front panel program to import.
Software
Select File to Import
The Set First button rearranges the pages in the Pages area by positioning the selected page at the top of the list.
Software
To start programming a CNX Front Panel, follow the directions the editor displays when it is first opened by selecting a page from the page list or, if this is a new program, add a new page.
Front Panel Display
Select the Add button and enter a name for the new page. It is a good idea to use descriptive page names or include numbers for easy identification. After entering a page name, click OK.
Adding a Page
After naming the first menu, select Page | Add/Edit Object to display the Edit Panel Object window. Select the object type. This will be a heading, so select Text Object as the object type and enter inactive text where prompted. When complete, click OK.
Software
Edit Panel Object
The object will be displayed on the panel. Since the object type is Text Object, the field box is black in accordance with the Legend. Objects can be moved around the display by holding the left mouse button (the pointer will become a crosshair) and dragging. Since this object is a heading that does not require jumps to other pages via the function buttons, it is placed in the top row of the display.
Text Object in Panel
Software
Objects added to the bottom line of the display can have page jumps or logic programming in SIMPL Windows that cause specific events to occur. These objects are initiated by pressing the function button that is associated with it (this is the button below the objects field. Add additional objects to the page by selecting Page | Add/Edit Object or double clicking in the display area where the object is to appear. Place objects over the appropriate function buttons.
Object Added to Button Display Row
Add pages for each object on the bottom row by selecting the Add button from the Pages section and naming each new page. The new page is displayed in the Pages area.
Pages Displayed in List Area
After adding the new page names, return to the main page and double click on the first object. In this example the first object is VCR. The Edit Panel Object window is displayed. Select the appropriate page jump from the pull-down menu and click OK.
Software
Select Appropriate Page Jump
Select the Simulate check box. This will make the Front Panel Editor simulate a real CNX front panel. The function buttons will be enabled only if a page jump is defined. Click on the first panel button.
Selecting a Function Button
Software
Clicking the first button will display the page that was assigned to this page jump. In this example, the VCR button displays Page2-VCR Control. The display is clear because Page2-VCR Control has been named but no objects have been added at this point.
Selecting VCR Page
To give the user a visual cue that a function button has been pressed, it is possible to program active text. Double click on the object to display the Edit Panel Object window. Select a Digital Channel (join number) and enter Active Text. Click OK.
Software
In this example, play is assigned digital channel (join number) 1 and active text PLAY is entered. When the panel button associated with digital channel 1 (the VCR button) is pressed, the active text will be displayed as a visual cue that the button is pressed.
Digital channels are also referred to as join numbers. Join numbers are numeric identifiers assigned to an object or button. It is necessary to identify objects so the input/output signals of SIMPL program can be named and routed properly. A powerful tool to assist programmers in naming and routing signals for the Front Panel is the synchronize signals command. Select Panel | Synchronize Signals. This will automatically name all the input and output signals for the front panel in the SIMPL Windows program. To display the signal names, open the CNX front panel symbol in SIMPL Windows Detail View.
Software
Programmers can close Front Panel Editor and continue connecting signals in SIMPL Windows.
Software
Software
File
Ctrl+T Opens QuickAccess Window Ctrl+N Creates New Program Ctrl+M Creates New User Macro Creates a New SIMPL+ Module Ctrl+O Open Existing SIMPL Windows Program Ctrl+S Saves Current Program Saves Current Program with New Name Copies Program and Associated Files to the Directory Provided Imports an Archived Program from a Import Archived Program Specified Directory Imports a Crestron Module (.cmc file) for Import Crestron Module Editing Imports a Workshop Macro (.imc file) Import Workshop Macro Converts a Program to a User Macro Convert To Macro Converts User Macro to a Progam Convert To Program Ctrl+P Prints the Detail View Print Detail View Prints all Symbols in the Opened SIMPL Print All Symbols Windows Progam Prints Connection Sheet Report Print Connection Sheets Previews the Selected View (Symbol Print Preview Library/Program View/Detail View) Print Specifications Page Setup Alt+F4 Exits SIMPL Windows Exit Start New Program New User Macro New SIMPL+ Open Save Save As Copy Program
Software
Edit
Cut Copy Paste Paste Special
Ctrl+X Ctrl+C Ctrl+V Ctrl+ Shift+ Ctrl+F Find Symbol in Program Find Next Symbol in Program F3 Find Symbol in Library
Communications
Cut Selection to Clipboard Copy Selection to Clipboard Paste Object in Clipboard Paste Multiple Copies of a Symbol with Option for Incrementing Signal Names Locate a Symbol by Name or Comment Repeats the Last Find Command Locate and Drag Symbol from Symbol Library to Detail View F4 Creates a Signal Name by Copying the Name of the Signal Above and Increments the Last Number by 1 Shift+ Creates a Signal Name by Copying the F4 Name of the Signal Above and Increments the First Number by 1 Creates a Signal Name by Copying the Name of the Signal Above and Decrements the Last Number by 1 Creates a Signal Name by Copying the Name of the Signal Above and Decrements the First Number by 1 F6 Copies Input Signal Name to the Output Signal Name and Vice Versa Alt+1 Append the Signal Name with the Suffix Programmed for Alt+1. See Edit | Preferences - General tab Alt+2 Same as Append Suffix 1 (above), thru except use keyboard commands Alt+2 Alt+5 thru Alt+5 Alt+6 Appends the Signal Name with the Text provided at the Prompt Opens SIMPL Windows Preferences Dialog Box. Tabs Include General , Directories , and Autosave Alt+C Allows Setting of Communication Parameters
Software
Auto Tile Vertical Auto Tile Horizontal Individual Detail Zoom Global Detail Zoom Close All Symbol Details Detail Font Expand All Collapse All Expand Current Node Collapse Current Node Refresh Reload Symbol Library from Disk
Toolbar Status Bar Signal Tray World View Limited Symbols Mode Symbol Library Program View Toggle Both Next Pane Previous Pane
Ctrl+E Ctrl+ Shift+E F5 Repaints the Displays in Symbol Library and Program View Updates the symbol list. Use this command after adding a user macro to the directory without editing it in SIMPL Windows (e.g., as done with a copy or drag-and-drop in Windows Explorer). Displays the Toolbar When Enabled Displays the Status bar when Enabled When Enabled, Opens a Temporary Storage Facility for Frequently Used Signals Control Pad for Moving Around Detail View Available When Virtual Workspace is When Enabled, Limits the Number of Symbols Displayed in Detail View Alt+Y Displays Symbol Library When Enabled Alt+P Displays Program view When Enabled Alt+B Shortcut for [(Alt+Y)+(Alt+P)] F8 Move to Next Window Pane or View Symbol Library/Program View/Detail View Shift+F8 Move to Previous Window Pane or View
N/A Cascades Symbol Windows in Detail View Tile Symbols Vertically in Detail View Tile Symbols Horizontally in Detail View Tile Symbols to Virtual Workspace - must have Virtual Workspace Enabled - see Edit | Preferences - General tab Automatically Tile Symbols Vertically When Enabled Automatically Tile Symbols Horizontally When Enabled Zooms Selected Symbol in Detail View Zooms Entire Detail View Closes all Symbols and Clears Detail View Allows Different Fonts/Point Size for Symbol Details Expands all Nodes in Program View Collapses all Nodes in Program View Expands Current Node in Program View Collapses Current Node in Program View
Software
Project
Displays Program Header Information Window Automatically Configures control system Auto Fill Rack so it does not have to be done manually. Opens the Front Panel Editor (for CNX Edit Front Panel Systems only) Opens Configuration Manager Configure System Opens Program Manager Program System F12 Converts and Compiles a Program Convert/Compile Displays SIMPL Program Window (begin Transfer Program transfer here) Displays System Power Usage Display Power Usage Displays Symbols that are Specified not to Show Commented Out be Compiled Symbols Stop debugging "watch" on all signals. Clear Watch for All Signals Reloads program from disk. Compares Re-Synch Symbols in Program each symbol in a program with a new and Re-Synch Macros in Program possibly changed definition (e.g., assume Re-Synch SIMPL+ in Program an input is deleted when editing a macro; Recompute Signal Types any macro in an existing program is not Display Signal List updated until these commands are selected). Edit Program Header
Bookmarks
Add Replace Remove Close All Open Details First Create a Bookmark Based on Current View Replace Bookmark with Current View Remove All or Selected Bookmarks Close All Open Symbols Before Implementing a Bookmark
Tools
Viewport Network Analyzer Test Manager VisionTools Pro DEAL for Windows Rebuild User Database Opens the Viewport Opens the Network Analyzer Opens the Test Manager Opens VisionTools Pro-e Opens Deal for Windows Rebuilds the User Database Using Files
Help
Help Topics Context Sensitive Design & Specification Guide (DSG) About SIMPL Window F1 Opens the SIMPL Windows Help File "What's This?" Field Level Help Accesses the Crestron Design & Specification Guide - Assuming it is Available from the Hard Drive or CD ROM SIMPL Windows Version Information
Software
Connect to the Crestron Website See New Crestron Products and Check Out Upcoming Events
Program View
Insert Subsystem View/Edit Symbol CommentCtrl+R or Tab Ctrl+D Show Detail Find Detail F9 Search and Replace Comment Out Delete Symbol Insert Signal/Parameter Field Insert Multiple Signal Parameter Fields Remove Signal/Parameter Field Edit Parameter Change Signal Rename Signal Globally Set/Clear Watch Alt+R Alt+ Alt+ Shift+ AltAlt+F1 Adds a Subsystem before the Selected Symbol Opens "Edit Symbol Comment" Dialog Box Displays Selected Symbol in Detail View Locates a Symbol in Detail View Opens the "Replace Substrings" Dialog Box Comments a Symbol Out of the Compile Process Prompts User to Verify Deletion of a Symbol Inserts Signal or Parameter (Depending on Symbol Type) Inserts Multiple Signal or Parameter Fields (Depending on Symbol Type) Removes a Signal or Parameter Field (Depending on Symbol Type) Allows the Parameter Value to be Changed Allows the Signal Reference Name to be Changed Allows the signal Reference Name to be Sets a Watch on the Selected Signal for Test Manager to View and Clears a Watch if Set on the Selected Signal Displays the Routings of the Selected Brings up Macro or SIMPL+ Symbol to Edit Edit a Crestron Macro or SIMPL+ Symbol by First Converting to a User Module Provides Help on the Selected Symbol
F2
Help
F1
Software
Detail View
Ctrl+R Opens "Edit Symbol Comment" Dialog Box Locates the Symbol in the Program Tree F9 Opens the "Replace Substrings" Dialog Box Alt+F1 Comments a Symbol Out of the Compile Comment Out Process Ctrl+F4 Removes Selected Symbol from Detail Close Detail View F7 Sizes Window to Height of Symbol Size to Fit Height Shift+ Sizes Window to Width of Symbol Size to Fit Width F7 Prompts User to Verify Deletion of a Delete Symbol Symbol Alt+ Inserts Signal or parameter (Depending Insert Signal/Parameter on Symbol Type) Field Alt+ Inserts Multiple Signal or Parameter Insert Multiple Signal/ Shift+ Fields (Depending on Symbol Type) Parameter Fields Removes a Signal or Parameter Field Remove Signal/Parameter Alt(Depending on Symbol Type) Field Allows the Parameter Value to be Edit Parameter Changed Allows the Signal Reference name to be Change Signal Changed Alt+R Allows the signal Reference Name to be Rename Signal Globally Changed Globally While Keeping the Signal Connections Sets a Watch on the Selected Signal for Set Watch Test Manager to View Clears a Watch if Set on the Selected Clear Watch Signal F2 Displays the Routings of the Selected Show Routings Signal F3 Highlights the Selected Signal in Detail Highlight Routings View Ctrl+A Selects All Signals of a Symbol Select All Signals Brings up Macro or SIMPL+ Symbol to Edit User Module Edit Edit a Crestron Macro or SIMPL+ Import Crestron Module Symbol by First Converting to a User Module F1 Provides Help on the Selected Symbol Help View/Edit Symbol Comment Find Tree Node Search and Replace
Close
Software
Test Manager
File
Open Save Program Save Incoming Data Exit Ctrl+O Open a SIMPL Windows SMW file or a SIG file Ctrl+S NOT IMPLEMENTED AT THIS TIME Save All Data in the Incoming Data Window to a User Specified File Exit Test Manager
Edit
Copy Clear Incoming Data Port Settings Ctrl+C Copy Selected Data in the Incoming Data Window to the Clipboard Ctrl+I Clear All Data in the Incoming Data Window Alt+D Set the Communications Settings (COM Port, Baud Rate, etc.)
View
Toolbar Status Bar Toggle to View Toolbar Toggle to View Status Bar
Status Window
Add Signal Add Selected Signals from Trace Window Remove Signal Remove All Signals Assert Signals De-Assert Signals Positive Pulse Signals Negative Pulse Signals Save To Disk Bookmarks Brings Up a Dialog to Add Signals to the Status Window Adds the Selected Signals to the Status Window Remove Selected Signals from the Status Window Remove All Signals from the Status Window Assert the Selected Signals in the Status Window De-Assert the Selected Signals in the Status Window Assert then De-Assert the Selected Signals in the Status Window De-Assert then Assert the Selected Signals in the Status Window Save Information in the Status Window to a User Specified File Saves/Restores the Current Window Positions for Visual Ease
Software
Trace Window
Pause Trace Clear Add Signal to Status Window Exclude Signals from Trace Window Trace All Signals Trace Only Signals in Status Window Macro Trace On Macro Trace Off
Alt+P Suspends Incoming Signal transitions in the Trace Window Alt+C Clear All Signal Transitions from the Trace Window Add Selected Signals in the Trace Window to the Status Window Do Not Trace These Signals Show All Signal Transitions Show only the Transitions of Signals that are in the Status Window Show the Signal Transitions of Signals that are in Macros Hide the Signal Transitions of Signals that are in Macros Include Analog Signals in Trace Window
Show Analogs in Trace Window Include Serial Signals in Trace Window Show Serials in Trace Window Alt+T Insert a Time Stamp Placeholder in the Trace Insert Time Stamp Window Insert a Time Stamp Placeholder on all Signals in Put Time Stamp on All the Trace Window Signals Save Signal Transitions in the Trace Window to a Save To Disk User Specified File As Signal Transitions Occur, Put Them in a User Log To Disk Specified File (Even When in Pause Mode)
Options
Reset Rack Synchronize with Rack Find Rack Show Analogs as Percent Show Signals as HEX Issue a Command to the Rack to Soft Reset the Rack Synchronize the State of Signals in the Status Window with the Rack (This Command Results in False Data Being Added to the Trace Window) Locate the Rack at a Different Baud Rate and Switch it to the Currently Set Baud Rate of the PC Toggle Between Showing an Analog Signal's Value as a Percentage or a Number Between 0 and 65535 in the Trace and Status Windows Toggle Between Showing an Serial Signal in HEX Format or as a Raw String in the Trace and Status Windows
Help
Help Topics About Test Manager Show help Topics Show About Box with Test Manager Version
Software
ViewPort
File
Save Current Buffer Exit Saves the Contents of the Outgoing Data or Incoming Data Buffers Alt-X Closes the Serial or Ethernet Port and Exits
Edit
Ctrl+ Copies Selected Data to the Clipboard Insert Shift+ This Command has a Dual Function: It Sends Data Out of Paste Insert the Current Serial or Ethernet Port to a Connected Device and Pastes the Selected Data into the Outgoing Data Buffer Clear Data Alt+C Clears the Contents of the ViewPort Window Copy
Setup
Auto Baud Search Local Echo Locates the Rack Using Baud Rates of 57,600 and 300 Alt+L Displays Outgoing Data - If in Local Echo Mode (LEM), Commands Entered are Sent to the COM Port, as well as Displayed On Screen - If not in LEM, then Commands are only Sent to the COM Port Alt+H The ViewPort Views the Code Types a Device is Sending Back - A Device may Send Back Non-ASCII Characters - Enabling Hex Output Causes all Data Returned to Appear as a TwoDigit hex Number - If Hex Output if off, all Returned is Displayed in Plain ASCII Text Outputs a Carriage Return with a Line Feed Enables Sound Causes Incoming Backspace Characters to Remove the previous Character from the Incoming Data Buffer Brings up the "Character Mapping" Dialog Box Allows a New Font to be Selected Alt+W Splits the Viewing Window Between Incoming Data and Outgoing Data Windows
CR to CR/LF (Outgoing) Sound Destructive Backspace (Incoming) Character Mapping Font Split Window
Creates a Diagnostic Tool for RS-232 Communication and Saves Sets of Strings Triggered by One Key Stroke Communications Settings Alt+D Allows Setting of Communication Parameters Turns Off the Modem Speaker When Enabled Modem Settings Allows Setting of Presets for Communication Communication Presets Parameters Restores All Setup Screen Settings, Except for Restore Defaults Modem Settings Setup Sequence Keys
Software
Diagnostics
Establish Communications (Find Rack) Check Operating System Version Report Plug-in Control Cards Report Network Devices
Alt+B Checks for a Control System at Various Baud Rates F5 Displays the Version Number of the Operating System (OPS) F3 Report All Modules Present on the System F4
Reports All Network Devices Present on the System F7 Reports Information About the Program Report Program Currently Loaded in the Control System Information Displays the Amount of Space Available in Get Available Mailbox Size the Mailbox Alt+R Determine if RF Transmitter/Receiver Identity Transmitter ID Combination is Working Properly If Enabled, the Command Electronically Switch Processors Switches Communication from one (CNRACKX-DP) Processor to the Other
Software
Resets the Control System Without Changing the Contents of its Working F10 Resets the Control System and Transfers Hard Reset the Programming from Non-Volatile Memory to Working Memory Reboot Rack with the OPS Present in ROM Boot from ROM Reboots the Control System's Monitor Cold Reboot Erases the Permanent Memory Image Erase Permament Memory Stored in the FLASH PROM Erases the SIMPL+ Directory Stored in the Erase SIMPL+ Directory FLASH PROM Alt+K Sends Break Character Out COM Port Send Break Clears the Entire Control System Memory Erase Everything Except Except the Monitor the Monitor F8 Synchronize the Baud Rate of the Rack and Set Baud Rate ViewPort Set the Control System Real-Time Clock Set Control System Clock F6 Allows User to Set the Password Used to Set CNX Front Panel Enter Certain Areas of the CNX Front Panel Password Set Current IP Information; IP Address, IP Set Control System IP Mask, and Default Router Settings Information Add/View/Edit/Delete Entries from the Setup IP Table Control System's IP Table - This Table is used to Associate the IDs of Ethernet Devices with Their Corresponding IP Permits the User to Set a Password for Set Control System Accessing the Control System via TCP/IP Password (For TCP/IP Connections only) Polls the System for All Network Devices Set Network ID Set Transmitter ID, One at a Time Set transmitter ID Change Channel of the CNRFGWX (i.e., Set CNRFGWX Channel Two-Way Transceiver for the STX Spectrum Line of Touchpanels) Puts Touchpanel into Setup Mode Put Touchpanel into Setup Mode Puts Touchpanel into Calibrate Mode Put Touchpanel into Calibrate Mode Allows Remote Access to RS-232 Controlled Enter Passthrough Mode Devices (CNX only) Permits the User to Generate a CNXTA File Configure CNXTA List Which Contains Files that are Either Telephone Audio Interface Loaded into the CNXTA or Stored on the PC Card (CNX only) Soft Reset
F9
Software
File Transfer
Send Program Send Touchpanel Send File to Mailbox Get File from Mailbox Load NVRAM from file Save NVRAM to file Update Control System
Update Operating Update Monitor ROM Update Touchpanel Firmware Load Network Device
Update Plug-in Card General File Transfer > This grouping of commands is used to transfer or receive files from a nonCrestron system. These are generic file transfer commands, that would be used with any terminal program. They pertain to data coming and going from the ViewPort to the serial port on your PC. Select a File to be Uploaded or Downloaded Choose File Uploads Selected File Using ASCII ASCII Upload Transfer ASCII File from the Device ASCII Download Connected to the PC COM Port Uploads File Using the XMODEM Transfer XModem Upload Protocol Downloads File Using the XMODEM XModem Download Transfer Protocol Uploads File Using the XMODEM 1K XModem 1K Upload Transfer Protocol Downloads File Using the XMODEM 1K XModem 1K Download Transfer Protocol Loads SIMPL+ to the CEN-OEM Send SIMPL+ Program to the CEN-OEM
Alt+P Transfers Program to the Control System Alt+T Sends Touchpanel (.hex file) to Supplied Network ID Sends a File to the Mailbox Area in the Cresnet Control System Retrieves Current File from the Mailbox Loads Non-Volatile Data Used with a SIMPL Program Saves Non-Volatile Data Used with a SIMPL Program Update the Control System's Monitor, OPS, and/or TCP/IP Stack or Update Using the .upz 'Package' Alt+O Sends Selected OPS to the Control System Updates Monitor Low-Level ROM - Used only by Crestron Technical Support Sends Touchpanel firmware (.csf file) to Network ID Supplied Loads a Data File to Support a Network Device Send New Firware to a Plug-in Card
Software
Remote
Modem
Dial Hang-up Phone Book Initialize Rack Modem Dials Local Modem to Connect to Another Modem (the Remote Modem Would Normally be the Rack Modem) Disconnects the Modem Open Phone Book to Keep a Record of Phone Numbers and Comments Sends Initialization String to the Control System Modem
TCP/IP
Connect Disconnect and return to default settings Wait for Connection Address Book Clear Connect History DNS Lookup Temporary Connection to an IP Address Disconnect Connection to Current IP Address Wait for TCP/IP Connection from Another Copy of the ViewPort Permits User to Build an Address Book - Enter Name, IP Address, and Comment Clear the Connect History List Find Out if the Current IP Address has a Registered Domain Name
File
Acquire Open Print Setup Recent File Exit Ctrl+A Acquires Data for Graphical Representation Ctrl+O Opens Existing .cna Files Permits User to Setup Printing Parameters Opens a File from a List of Recently Used Files Exits Network Analyzer
Edit
Communication Settings Alt+D Displays the "Port Settings" Dialog Box
View
Tool Bar Status Bar Toggle Whether Tool Bar is Visible Toggle Whether Status Bar is Visible
Tools
ViewPort Opens the Crestron ViewPort Application
Help
Help Topics About Network Analyzer F1 View Network Analyzer Help View network Analyzer Version Information
Software
SIMPL+ Menus
This section provides a list of SIMPL+ menu options, short cuts and definitions.
File
New Open Import Crestron SIMPL+ Library Close Save Save As Save As Print Print Preview Page Setup Recent File Exit Ctrl+N Ctrl+O Creates a New Document Opens an Existing Document Opens SIMPL+ Library Archive File Close the Active Document Save the Active Document Save the Active Document with a New Name Saves Current Program with New Name Print the Active Document Displays Full Pages Change printer and Print Options Opens a File from a List of Recently Used Files Quit the Application - Prompts to Save
Ctrl+S
Ctrl+P
Edit
Undo Cut Copy Paste Find Replace Ctrl+Z Ctrl+X Ctrl+C Ctrl+V Ctrl+F Ctrl+H Undo Last Action Cut Selection and Put on Clipboard Copy Selection and Put on Clipboard Insert Clipboard Find Specified Text Replace Specified Text with Different Text
View
Status Bar Output Window Standard Toolbar Show/Hide Status Bar Show/Hide Output Window at Bottom of Screen Show/Hide Standard Toolbar
Build
Check Syntax Save and Compile Check the Syntax of the Active Document Save and Compile the Active Document
Tools
ViewPort Export SIMPL+ for Peripherals Opens the ViewPort Compiles and Exports .csz File
Window
New Window Cascade Tile Arrange Icons Clear Output Window Open Another Window for the Active Document Arrange Windows so They Overlap Arrange Windows for Non-Overlapping Arrange Icons at Bottom of Window Clear the Output Window
Software
Document Window
Cut Copy Paste Cut Selection and Put on Clipboard Copy Selection and Put on Clipboard Insert Clipboard Contents
Output Window
Clear Output Window Hide Clears the Output Window Show/Hide Output Window
Application Workspace
Standard Toolbar Output Window Show/Hide Standard Toolbar Show/Hide Output Window
Software
Software
SIMPL+
SIMPL+ Overview
NOTE: SIMPL+ is only available with 2 Series processors and the CNMSX (Pro or AV). SIMPL+ is included in this SIMPL Windows to further extend the programming power of SIMPL Windows. SIMPL+ gives programmers the ability to add their own symbols to the Crestron language. The symbol can perform as much or as little of the SIMPL program as desired. SIMPL+ is a procedural programming language similar to 'C' or BASIC. You do not have to choose between SIMPL Windows and SIMPL+ when writing a program. Instead, programmers can combine the two, using SIMPL+ for the parts of the program they think benefit from it. More advanced programmers can use SIMPL+ exclusively. And because of its familiar syntax, SIMPL+ makes transferring programs written for another platform to a Crestron system easier than ever before. A SIMPL+ Programming Guide (latest revision of Doc. 5789) is available to provide information that instructs a beginner on how to write a SIMPL+ program. A SIMPL+ Language Reference Guide (latest revision of Doc. 5797) is available to provide information on the proper useage of the SIMPL+ language. All available language contructs and functions are described, proper syntax is illustrated, and examples are provided. As the name implies, it is the perfect reference tool to have around when preparing a SIMPL+ program.
Software
Accessing SIMPL+
A new SIMPL+ program is started by selecting File | New SIMPL+ from SIMPL Windows. The SIMPL+ Editor will be displayed.
SIMPL+ Start Screen
New SIMPL+ programs are saved as .usp files and reside in the User SIMPL+ folder. Crestron prepared SIMPL+ programs can be imported by selecting File | Import Crestron SIMPL+. Choose the .csp file to import and click Open.
SIMPL+ Example: Checksum
Software
Software
Software
SIMPL (Symbol Intensive Master Programming Language) is Crestron's programming language, designed for easy implementation of your control system requirements. The primary objects used in SIMPL are called symbols; they are the fundamental building blocks of the SIMPL language. Each symbol has a specific set of operations it performs. Some symbols, such as a logic inverter, execute relatively simple operations, while other symbols perform extremely complex operations such as sequential programming. For the most up-to-date listing, refer to the latest revision of DOC. 6120, Crestron SIMPL Windows Symbol Guide, available on the Crestron website (www.crestron.com) Downloads | Product Manuals | Software.
Software
Software
Software
AutoFill Error
Make sure that your control system is connected via its "computer port" to your PC's serial port. Drag and drop a control system of the appropriate type to the Configuration Manager, then select Autofill.
Software
1. There is no communication between the control system and the PC. Check your cabling. Check the serial port settings for baud rate, parity, etc. Go to the Viewport and select "Check Ops" and watch to see if there is communication established there. 2. The control system that you have selected is different than the actual control system. 3. Remember that only cards and network devices can be detected, not transmitters or one-way wireless touchpanels, since they are not physically connected. 4. The hardware returns an identification string that is unknown. If this is a fairly new product, check that the device library contains this device and if not, request the newest device library from Crestron.
Versions of Libraries/Databases
SIMPL Windows files should be opened only in versions of SIMPL Windows that are the same or later than the one with which it was created. (If not, some information may be lost, but the program may be usable.)
Software
Software
WARNING (CMCVT102)
Signal SIGNAL_NAME has no driving source. Cresnet programming is like a schematic, and all wires on a schematic should have a source point and a destination point. A signal without destination is like a wire thats run to a chip but has no point of origin. Often such an error is due to misspelling a signal name while connecting it between gates.
NOTICE (CMCVT103)
Signal SIGNAL NAME has no destination. Cresnet programming is like a schematic, and all wires on a schematic should have a source point and a destination point. A signal without a destination is like a wire thats run from a chip but goes nowhere. Often such an error is due to misspelling a signal name while connecting it between gates. Often a programmer may attach a signal to the output of a gate if a particular output is considered mandatory, but this signal is never used. On logic gates (not macros), a programmer can put a 0 on an output that is considered mandatory if they are not using that output. Such an example would be on an RMV in which the programmer does not want to use the OUT line but they do want to use the [OUT*] line.
NOTICE (CMCVT104)
Cannot open C:\ANYDEALER\SIMPL\MYJOB\A12345.BIN The output binary file cannot be opened for write. Generally this happens if another application currently has the file open for write or there is no disk space left.
NOTICE (CMCVT105)
End Of String encountered before a complete hex constant was specified in S-3, Prompt "string". A valid hex constant is specified as a \ followed by an X or x followed by 2 hexadecimal characters (0-9, A-F). If a hex constant is specified but not completed, as in the above example, then this message is generated. The error message that tells you what symbol the error was encountered in (S-3) and the particular prompt on the symbol where the error occurred (string).
Invalid Escape Sequence "\Q" detected in S-1, Prompt "string". An escape sequence starts with the \ character. Valid escape sequences are (the notation \x following the explanations are the character(s) the escape sequence actually produces). \a Bell (alert) \x08 \b Backspace \x07 \f Formfeed \x0C \n Newline \x0D\x0A \r Carriage Return \x0D \t Horizontal Tab \x09 \v Vertical Tab \x0B \\ Backslash \x5C \xYY Hex constant A valid hex constant is specified as a \ followed by an X or x followed by two hexadecimal characters (0-9, A-F). If a hex constant is specified but not completed, a different error is generated, specific to hexadecimal characters. The error message that tells you what symbol the error was encountered in (S-1) and the particular prompt on the symbol where the error occurred (string).
NOTICE (CMCVT107)
Incomplete escape sequence encountered at end of string in S-2, Prompt "string". An escape sequence starts with the \ character. In this case, an escape sequence was specified with \ as the last character of a string and no further data was typed. Valid escape sequences are (the notation \x following the explanations are the character(s) the escape sequence actually produces). \a Bell (alert) \x08 \b Backspace \x07 \f Formfeed \x0C \n Newline \x0D\x0A \r Carriage Return \x0D \t Horizontal Tab \x09 \v Vertical Tab \x0B \\ Backslash \x5C \xYY Hex constant A valid hex constant is specified as a \ followed by an X or x followed by two hexadecimal characters (0-9, A-F). If a hex constant is specified but not completed, a different error is generated, specific to hexadecimal characters. The error message that tells you what symbol the error was encountered in (S-2) and the particular prompt on the symbol where the error occurred (string).
Software
Parameter 1000s Exceeds Single Precision (65535, 100%, FFFFh, 582s) in S-1, Prompt time. Single precision parameter values can be expressed in raw numbers, percentages, hex, or time, but they are limited to the above values. SIMPL Windows checks parameters for valid ranges so in practice this error message should never appear.
WARNING (CMCVT109)
Required NVRAM Size exceeds 64K. Symbols can only address NVRAM values 16 bits long. If the NVRAM layout of the program exceeds 64K, then this error message is issued.
WARNING (CMCVT110)
This message can come from 1 of 3 possible places: A. Two exclusive signals are jammed in the main program. Signal "out" (S-7, Prompt o1) has a previously defined driving source. In this case, the compiler is telling you what signal name has a problem, and what gate (S-7) and prompt on that gate (o1) it was on. B. Two exclusive signals are jammed inside of a macro. Signal "in1-pulsex" (S-3, Prompt out) in Macro S-3.6 (Macro file C:\cresvss\usrmacro\bad2.umc) has a previously defined driving source. In this case, the compiler tells you what symbols (S-3) and prompt on that symbol (out) within the Macro (specified by its number in the program, S-3.6 and its filename) the problem occurred. C. An exclusive from the program is jammed with an exclusive inside of the macro. Signal "out1", Macro S-3.7 Prompt o1, Internal Macro Symbol S-2 Prompt o1 (Macro file C:\cresvss\usrmacro\good1.umc) has a previously defined driving source. In this case, the compiler tells you what macro symbol (S-3.7), the filename of the macro, and what prompt on the macro the error occurred. It also tells what internal (S-2) and prompt (o1) inside the macro is actually being jammed and causing the problem.
FAILURE (CMCVT111)
Internal Memory Allocation Error in Expression Parser. The compiler could not allocate memory to use data from its configuration files.
Could not create Signal Table file C:\ANYDEALER\SIMPL\MYJOB\A12345.SIG The .SIG file could not be opened for write. Generally this happens if another application currently has the file open for write or there is no disk space left.
NOTICE (CMCVT113)
No data defined for S-1 Serial I/O str1, skipping A signal name was typed on the input to a Serial I/O symbol or a Serial Driver symbol, but no data was typed in for the symbol to trigger. The compiler will not convert this signal or data field, so it skips over it.
NOTICE (CMCVT114)
CNIR-8 Slot 1 Port A str1 is greater than 254 characters, truncating to 254. The total length of a function + delimiter on a 1 way serial driver is 254 characters. If the total length exceeds 254 characters, the function is truncated to 254 characters.
NOTICE (CMCVT115)
Slot 1 Port A str1 is greater than 255 characters, truncating to 255. S-1 Serial I/O str1 is greater than 255 characters, truncating to 255. The total length of a function + delimiter on a 2 way serial driver or Serial I/O symbol is 255 characters. If the total length exceeds 255 characters, the function is truncated to 255 characters.
WARNING (CMCVT116)
Unable to open IR file C:\ANYDEALER\USERDB\MYFILE.IR on Slot-1 CNIR-6 Port A. This error message may be issued if: An IR Driver is missing from the Crestron Database. This usually happens if you have an older version of the Crestron database than the program with which it was created. When the program is opened through SIMPL Windows, it will tell you if the Crestron database version is older than the program with which it was created. An IR Driver is missing from the User Database. Verify that all the drivers that are required are in the User database, and resort the user database.
NOTICE (CMCVT117)
RF Receiver, RF/IR ID 01 is illegal (RF/IR Transmitter IDs must be 10 or greater). Some Transmitters must be set to ID 10 or greater to function properly on a Cresnet system. If one of those transmitters is in use and its ID is set to less than 10, this warning is issued.
Software
In practice this error is rare, and is issued if the compiler cannot allocate initialization memory.
WARNING (CMCVT119)
No rack was defined, assuming CNRACK. The rack type must be specified so that the output binary file may be written in the proper format. If no rack is specified, the compiler assumes a particular rack model.
WARNING (CMCVT120)
Function PLAY referenced by driver C:\CRESTRON\USERDB\MYDRIVER.IR in CNIR-8 Slot 5 Port A does not exist, skipping. This error is rare, and only happens if a function is specified through SIMPL Windows that does not exist in the driver file. Since SIMPL Windows finds the function names in the IR file, the only way this can happen is if the IR driver is edited and a function is changed after putting that driver on a port.
FAILURE (CMCVT121)
Error allocating memory for Macro C:\MYMACROS\FLY-LOGO.UMC. This error results from the system not being able to allocate memory to load in a macro for processing.
FAILURE (CMCVT122)
Error loading Macro C:\MYMACROS\FLY-LOGO.UMC. This can happen if the file specified does not contain a valid macro file or the system was unable to read the file off of disk.
FAILURE (CMCVT123)
Internal memory allocation error processing Macro C:\MYMACROS\FLYLOGO.UMC. This error results from the system not being able to allocate memory to load in a macro for processing.
WARNING (CMCVT124)
Undefined input INPUT-1 on Macro C:\MYMACROS\FLY-LOGO.UMC, defaulting to 0. A macro must have all inputs and outputs filled. If one of the inputs is left without a signal name, the compiler will hold it at a logic low level.
Software
NOTICE (CMCVT126)
Signal SIGNAL_NAME in Macro S-1 (Macro name C:\MYMACROS\FLYLOGO.UMC) has no driving source. Cresnet programming is like a schematic, and all wires on a schematic should have a source point and a destination point. A signal without destination is like a wire thats run to a chip but has no point of origin. Often such an error is due to misspelling a signal name while connecting it between gates.
NOTICE (CMCVT127)
Signal SIGNAL_NAME in Macro S-1 (Macro name C:\MYMACROS\FLYLOGO.UMC) has no destination. Cresnet programming is like a schematic, and all wires on a schematic should have a source point and a destination point. A signal without a destination is like a wire thats run from a chip but goes nowhere. Often such an error is due to misspelling a signal name while connecting it between gates. Often a programmer may attach a signal to the output of a gate if a particular output is considered mandatory, but this signal is never used. On logic gates (Not macros), a programmer can put a 0 on an output that is considered mandatory if they are not using that output. Such an example would be on an RMV in which the programmer does not want to use the OUT line but they do want to use the [OUT*] line.
FAILURE (CMCVT128)
Incompatible value 1000s for prompt time on Macro C:\MYMACROS\FLYLOGO.UMC. This error can occur if a parameter specified on a macro is not valid for the parameter it is replacing on a gate internal to the macro.
NOTICE (CMCVT129)
Invalid serial settings specified for Slot 1 Port A, assuming RS-232, 9600 N81 No Handshake. If invalid serial settings are detected for a serial port, then this error message issued. A know serial specification of 9600 N81, No Handshake, is used in these instances.
ERROR (CMCVT130)
Number of Digital Signals exceeds system capacity. A given Cresnet system has certain limitations. If the compiler detects that one of these limitations has been exceeded, one or more of these messages may be issued. The status that comes up at the end of the compile will have the particular limitation flagged with a * in front of the message.
Software
A given Cresnet system has certain limitations. If the compiler detects that one of these limitations has been exceeded, one or more of these messages may be issued. The status that comes up at the end of the compile will have the particular limitation flagged with a * in front of the message.
ERROR (CMCVT132)
Required NVRAM exceeds system capacity. A given Cresnet system has certain limitations. If the compiler detects that one of these limitations has been exceeded, one or more of these messages may be issued. The status that comes up at the end of the compile will have the particular limitation flagged with a * in front of the message.
ERROR (CMCVT133)
Program size exceeds system capacity. A given Cresnet system has certain limitations. If the compiler detects that one of these limitations has been exceeded, one or more of these messages may be issued. The status that comes up at the end of the compile will have the particular limitation flagged with a * in front of the message.
NOTICE (CMCVT134)
Cannot find parameter #VAL1 for substitution in S-5 (prompt string) in Macro S-1 (Macro File C:\cresvss\usrmacro\replacements.umc), assuming 0 (Use quotes if this is a literal parameter). If a parameter replacement is given but is not valid, this error occurs. For example, if on a DELAY symbol the time is given as #VAL1 but VAL1 does not exist anywhere on the Define Arguments symbol, this error is given when the program is compiled. The argument to the symbol is then set to 0.
FAILURE (CMCVT135)
Could not process C:\cresvss\usrmacro\replacements.umc, macro resync required. If a macro was used in a program and then modified such that it's number of inputs or outputs have changed, the compiler will see this discrepancy when it tries to load the macro when generating the output binary file. In order to fix this, the Re-Synch Macros in Program option must be selected from SIMPL Windows. It is possible that more inputs or outputs will be added to the symbol, in which case the macro will now be incomplete. It is also possible that inputs or outputs will be deleted from the symbol. Note that ANY time macros are changed, the program using them should be resynched. If signal types are changed on a macro, the compiler will not catch this.
End of string encountered without finding \] for partial macro substitution in S5 (prompt string) in Macro S-1 (Macro File C:\cresvss\usrmacro\replacements.umc) When performing a partial substitution for a macro, the parameter name must be prefaced by the escape sequence \[ and suffixed with the escape sequence \]. This error results if the programmer did not give the trailing \] sequence.
NOTICE (CMCVT137)
Partial substitution marker \[ in S-2, Prompt "string" is only valid within a macro. Partial substitution marker \] in S-2, Prompt "string" is only valid within a macro. The escape sequences \[ and \] are used for partial substitution and are therefore only valid when writing a macro. In the context of a main program, they are flagged as invalid. If you need to send the characters \[ or \], you should type \\[ or \\] which will generate a \ character rather than trying to make an escape sequence.
NOTICE (CMCVT138)
Cannot find parameter #VAL1 for partial substitution in S-5 (prompt string) in Macro S-1 (Macro File C:\cresvss\usrmacro\replacements.umc) ignoring. If a partial parameter specifier is given but is not valid, this error occurs. For example, if on a SEND symbol the string is given as \[#VAL1\] but VAL1 does not exist anywhere on the Define Arguments symbol, this error is given when the program is compiled.
NOTICE (CMCVT139)
Incompatible value 01xxxxxxxxh after Partial substitution in S-6 (prompt p1) in Macro S-1 (Macro File C:\cresvss\usrmacro\replacements.umc), assuming 0. When a substitution is performed, the final value must fit the characteristics of the symbol. For example, if a Macro had an OP103 symbol and the person wanted to match for a specific byte that was to be specified on the outside of the macro, they could use the following match word: 01\[#MATCH_BYTE\]h When the user goes to fill in the macro parameters, they should only specify a value for MATCH_BYTE that makes the OP103 legal. If they typed in 05, the final word would be 0105h, which is fine. As in the above error, if they typed in xxxxxxxx, this is illegal as the match word becomes 01xxxxxxxxh.
FAILURE (CMCVT140)
Error creating signal table for main program. This error only happens if there is a memory allocation failure internal to the compiler.
Software
The GENERIC symbol is no longer supported since support for the DOS compiler was removed. If you have a GENERIC symbol in your program that you wrote in an older version of SIMPL Windows (1.18.01 and below), remove the GENERIC and add the symbol to your program from the Symbol Library.
NOTICE (CMCVT142)
Symbol S-2 in Macro S-5 (Macro file C:\CRESTRON\SIMPL\USRMACRO\MYMACRO.UMC) is not supported, ignoring. The GENERIC symbol is no longer supported since support for the DOS compiler was removed. If you have a GENERIC symbol in a macro that you wrote in an older version of SIMPL Windows (1.18.01 and below), remove the GENERIC and add the symbol to your program from the Symbol Library.
NOTICE (CMCVT143)
Invalid Chain list "03,04" for ID-03 Touchpanel, ignoring. This error is a result a difference in how chaining works between different versions of SIMPL Windows. Please contact Crestron for assistance.
FAILURE (CMCVT144)
Could not invoke SIMPL+ Compiler for c:\crestron\usrsplus\myfile.usp. There was an error invoking the SIMPL+ compiler. This can happen when the compiler cannot open or read the specified SIMPL+ module (i.e., if the USP file does not exist on disk or the file is zero length). Check to make sure the path to the User SIMPL+ modules is correct and that the module actually exists in the directory specified.
WARNING (CMCVT145)
Could not extract Crestron SIMPL+ file c:\crestron\cresspls\cresspls.csp, ignoring. Crestron supplied SIMPL+ modules are stored in an archived format to keep disk space at a minimum and are only extracted when they need to be processed by the compiler. If this error appears, check to make sure the CRESSPLS.CSZ file exists in your SIMPL Windows directory.
NOTICE (CMCVT146)
Error adding c:\crestron\usrsplus\myfile.uf to SIMPL+ Transfer File. SIMPL+ programs are stored in an archived format for transfer to the control system. This error indicates that the system was unable to add the SIMPL+ program to the archive for transfer.
Symbol S-1 in macro S-5 (Macro file c:\crestron\usrmacro\mymacro.umc) is not supported in this control system, ignoring. All of the control systems do not support all of the available symbols, some symbols are excluded. When a macro is created, there is no particular control system that it is being designed for, so all symbols are allowed. When the macro is put in a program for a particular control system, the compiler checks to make sure all of the symbols in the macro are supported, and if a symbol is not supported, this error message appears.
NOTICE (CMCVT150)
Symbol S-1 is not supported in this control system, ignoring. The symbol in the program (in this case S-1) is not implemented on the control system for which the program is designed.
FATAL (CMCVT152)
Error determining padding value from IODEV.TIO. The device library file could not be read. Contact Crestron for further assistance.
FATAL (CMCVT153)
Error retrieving rack compiler data from IODEV.TIO. The device library file could not be read. Contact Crestron for further assistance.
WARNING (CMCVT154)
CNX Front panel has signals defined, but no menus have been added. A common error when programming the LCD front panel of a CNX generation control system is to add the menus to the front panel, but forgetting to tie the join numbers to signal names. When this error occurs, no join numbers have been programmed even though there are objects on the front panel that require join numbers.
FATAL (CMCVT155)
Cannot open temporary SIMPL+ Listing file C:\TEMP\SPLUS.INF. The compiler requires temporary space when compiling SIMPL+ modules. In this case, the temporary file SPLUS.INF in C:\TEMP could not be created. Check to make sure that the file is not already there, that it is not marked as READ ONLY, that the path being used actually exists, and that there is free disk space.
WARNING (CMCVT157)
CN-TVAV has simulated NVRAM symbols using NVRAM are reset at startup. Some control systems do not have NVRAM, such as the CEN-TVAV and the CNTVAV. The symbols that use NVRAM are mapped into regular RAM. They are still
Software
useful for holding results at runtime (such as storing intermediate computational results for use later on in the program), but their results do not persist between powerdowns. The symbols that cause this warning are: (The speedkey name follows in parenthesis) Analog RAM (RAM) Digital RAM(DRAM) Analog Non-Volatile Ramp (RAMPNV) Serial RAM (SMEM, SRAM) Serial RAM from database (SMEM2, SRAMDB) Serial Memory Search (ISMEM, SMSEARCH) Analog RAM from database (RAM2, RAMDB)
WARNING (CMCVT158)
CN-TVAV has simulated clock time must be manually reset at system startup. Some control systems do not have a hardware clock, such as the CEN-TVAV and the CN-TVAV. The clock must be reset at system startup. The symbols that cause this warning are: (The speedkey name follows in parenthesis) Serialize Date (DATE$) Clock Driver (DEVICE SYSTEM,CLOCK)
WARNING (CMCVT159)
Symbol S-1 in macro S-5 (Macro file c:|\crestron\usrmacro\mymacro\umc) is incomplete. The specified symbol in the specified macro file has been flagged as incomplete (marked with *!*). This should be fixed before continuing. An incomplete symbol is one that is missing inputs, outputs, or parameters.
WARNING (CMCVT160)
Symbol S-5 is incomplete. The specified symbol has been flagged as incomplete (marked with *!*). This should be fixed before continuing. An incomplete symbol is one that is missing inputs, outputs, or parameters.
Software
Software
Symbols A-C
Symbol Cross Reference Table
Workshop/SpeedKey #PAD A/D ABUFFER AFLIP AND ASCII Serial Decoder ASTEP ASUM BARCO.DEV BDA BIN>HEX BUFFER CALENDAR CHANNELS CNET2IEEE COMPARE COUNTER
SIMPL Windows Numeric Keypad Analog To Digital Analog Buffer Analog Flip AND ASCII Serial Decoder Analog Step Analog Sum Barco Driver Digital to Analog Serial Binary To Hex Buffer Calendar Scheduler MRMS Channel List Analog to Floating Point Analog Compare Binary Counter
Type Common Common Common Common Common Common Common Common Common Common Common Common Common Common Special Common Common
Software
D/A DATE$ DEBOUNCE DECADE DECODE DEFARGS DELAY DFF DIVMOD DPM DRAM DSUM DUPLE EQU FP GATHER GENERIC GV7K HMV IEEE2CNET INIT INTEGRAL INTERLOCK ISMEM JK KSCV MBUFFER MBUFFER2 MI MID$ MMV MSG MV MXB MXBZ
Digital to Scaled Analog Serialize Date Debounce Decade Binary Decoder Argument Definition Delay D Flip Flop Analog DivMod Analog to Indirect Text Digital RAM Digital Sum Duple Encoder Analog Equate Front Panel Simulator Serial Gather Generic (To be Grass Valley 7000 Interface Layer 1 Pulse Stretcher Floating Point to Analog Analog Initialize Analog Integral Interlock Serial Memory Search JK Flip Flop ASCII to KB Scan Code Analog Scaling Buffer Analog Scaling Buffer about 50% Memory Interlock Serial Substring Multiple One Shots Message to Computer Port One Shot Analog Scaler Analog Scaler with Zero Pass
Common Common Common Common Common Common Common Common Common Special Common Common Special Common Special Common Special Special Common Special Common Common Common Common Common Common Common Common Common Common Common Special Common Common Common
Software
NAND NMARK No Workshop or SpeedKey Name No Workshop or SpeedKey Name No Workshop or SpeedKey Name NOR NOT NTRANS NTX NVLS OP102 OP103 OP105 OP117 OP133 OP146 OP83 OP84 OPW OR OSC PARSE UNITY PAST PRESET PRESETV PRESSES QUE
NAND Non-Volatile Memory Mark ASCII Keypad Indirect Text Broadcast SubSystem NOR NOT Negative Transition Gate Network Transmission Non-Volatile Load/Save MRMS Keyscan Conversion Serial to Analog Keypad Accumulator (Special) Serial Pacer MRMS Barcode Control Grass Valley 7000 Interface Layer 2 Pesa Switch Command Analog 2's Offset Convertor Westec Security Packet Filter OR Oscillator Unity Response Parser Past Analog Preset Analog Variable Preset Button Presser FIFO Queue
Common Common Common Common Common Common Common Common Common Common Common Common Special Common Common Special Common Common Special Common Common Special Common Common Common Common Common
Software
RAM RAM2 RAMP RAMPNV REM RESET1 RESET2 RING RMV ROUTE ROUTE PESA ROUTE UTAH ROUTE VIDMUX ROUTE_AP ROUTE_C ROUTE_DYNAIR ROUTE_E ROUTE_IRIS SAFE CHAN SAMPLE SBUFFER SDAC
Analog RAM Analog RAM From Database Analog Ramp Analog Non-volatile Ramp Comment Soft Reset Hard Reset Ring Counter Retriggerable One Shot Route Connect MRMS Route PESA MRMS Route Utah MRMS Route Vidmux MRMS Route Autopatch Route Control MRMS Route Dynair Route Equipment MRMS Route Iris MRMS Safe Channel Analog Value Sample Serial Buffer Telephone Dialing Keypad w/o Backspace Telephone Dialing Keypad Serial Demultiplexor Serial to Indirect Text Serial to Buffered Indirect Text Serial Send Sequence Selector Sequencer Set System Clock Set Lighting Level Cutoff Analog Rate Limiter Serial RAM Serial RAM from Database
Common Common Common Common Common Common Common Common Common Special Common Common Common Common Special Common Special Common Common Common Common
Common Common Common Common Common Common Common Common Common Common Common Common Common
SDAC2 SDEMUX SDPM SDPMB SEND SEQSEL SEQUENCE SET CLOCK SET_CUTOFF SLEW SMEM SMEM2
Software
SMRX SMTX SMV SPLUS SQUE SR SRCL STEPPER STRINGIO SUM$ SYS5 SYSTEM.DEV TABLE TEST0 TEST1 TEST2 TMSG TOGGLE TPLS TRANS TXA UNDUPLE WHEN XNOR XOR XSIG XSIG2
Serial Demultiplexor (Special) Serial Multiplexor (Special) Serial/Analog One Shot SimplPlus Serial Queue Set/Reset Latch Serial Memory Dialer Stepper Serial I/O Serial Concatenation System 5 Control Clock Driver Truth Table Serial Debugger (Hex) Serial Debugger (ASCII) Analog Debugger Message to CNMU Toggle Touchpanel Load/Save Transition Gate Analog to Serial Duple Decoder When Exclusive NOR Exclusive OR InterSystem Communications InterSystem Communications w/Offset InterSystem Communications w/Status Request
Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Special Common Special Common Common Special Common Common Common Common
Common
XSIG3
Common
Software
Software
Tables
ASCII Conversion
Software
Software
Dec/Hex/Binary Conversion
Dec 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Hex 0 1 2 3 4 5 6 7 8 9 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 Bin 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 00011000 00011001 00011010 00011011 00011100 00011101 00011110 00011111 00100000 00100001 00100010 00100011 00100100 00100101 00100110 00100111 00101000 Dec 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 Hex 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 Bin 00101001 00101010 00101011 00101100 00101110 00101110 00101111 00110000 00110001 00110010 00110011 00110100 00110101 00110110 00110111 00111000 00111001 00111010 00111011 00111100 00111101 00111110 00111111 01000000 01000001 01000010 01000011 01000100 01000101 01000110 01000111 01001000 01001001 01001010 01001011 01001100 01001101 01001110 01001111 01010000 01010001 Dec 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 Hex 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A Bin 01010010 01010011 01010100 01010101 01010110 01010111 01011000 01011001 01011010 01011100 01011100 01011101 01011110 01011111 01100000 01100001 01100010 01100011 01100100 01100101 01100110 01100111 01101000 01101001 01101010 01101011 01101100 01101101 01101110 01101111 01110000 01110001 01110010 01110011 01110100 01110101 01110110 01110111 01111000 01111001 01111010
Software
Dec 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 Hex 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 Bin 01111011 01111100 01111101 01111110 01111111 10000000 10000001 10000010 10000011 10000100 10000101 10000110 10000111 10001000 10001001 10001010 10001011 10001100 10001101 10001110 10001111 10010000 10010001 10010010 10010011 10010100 10010101 10010110 10010111 10011000 10011001 10011010 10011011 10011100 10011101 10011110 10011111 10100000 10100001 10100010 10100011 10100100 10100101 10100110 Dec 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
Software
Glossary of Terms
ActiveCNX
The ActiveCNX control can be thought of as a touch panel symbol in SIMPL Windows. It can send and receive the 3 data types: digital, analog, and serial data. These inputs go into the control system and appear to the control system as a Ethernet touch panel symbol. From that point, the user programs the SIMPL logic as if the system was a real touch panel. The ActiveCNX control is distributed as part of Crestron e-control SDK (Software Development Kit). It is a Microsoft ActiveX control for communications with Crestron e-control Enabled devices such as CNMSX and CEN series. It can be used in a browser or called from a Microsoft Visual Basic program.
Bookmark
The bookmark feature allows programmers to bookmark a particular Detail View setup and save the view. This can be very helpful and save time when working on larger programs. The bookmark command will always bring you to the Detail View you bookmarked.
Button Bar
Sometimes referred to as Tool Bar. SIMPL Windows and its utilities have numerous time saving commands on the button bars. Most notable are the Program, Configure, and the Convert/Compile buttons.
CNMSX-AV
The CNMSX-AV is a cost-competitive option of the CNMSX-PRO. CNMSX-AV has all the features of the CNMSX-PRO, with the following exceptions: Card cage expansion slots are optional with the CNXCAGE; no front panel status and activity LEDs; no front panel LCD screen and no network Analyzer features.
CNMSX-PRO
The CNMSX-PRO is a modular control system with (6) IR/ports, (6) bi-directional RS-232/422/485 ports, (8) digital/analog I/O ports, (8) isolated relays, (4) expansion slots and an integrated 110/220VAC power supply. The CNMSX-PRO also features a 40-character front panel reverse LCD display and LED indicators.
Software
CNRACKX
The CNRACKX is a modular "card cage" offering the ultimate in flexibility and customization. CNRACKX provides (16) expansion slots, including Crestron's exclusive DPA (Direct Processor Access) port for LAN/Ethernet expansion of the control network.
CNX
CNX is Crestron's next generation of control system technology, highlighted by the newest series of Ethernet/LAN compatible control systems. CNX is about integration and productivity, compatibility and accessibility.
Configuration Manager
The area where the control system is "built" in SIMPL Windows. The control system is selected and devices are added in the configuration manager.
Control Processor
The control processor is the heart of the Crestron control system. It is often referred to as the "rack".
Cresnet ID
A unique identity code, ranging from 03 to FE (hex), given to all devices that communicate using the Cresnet network protocol.
Cresnet II Workshop
Workshop was the DOS predecessor to SIMPL Windows.
Crestron Macros
Crestron Macros are prepackaged logic programs. A Crestron macro is a set of prewritten and debugged logic used for controlling a particular device or performing a function.
Software
The Network Analyzer application is designed to help advanced programmers and installation technicians diagnose network problems.
Detail View
Located on the right hand side of the Program Manager, Detail View displays devices and symbols so the input and output signals are visible. This is where programmers will name input/output signals.
Device Library
The Device Library is the master list of hardware components available to "build" your control system. This list of devices allows programmers to select the hardware and drag and drop it into the Network System view or add to the program by right mouse click menus. These components, or devices, are grouped functionally by device type.
Device Symbols
Device symbols represent a number of Crestron control devices that can be included in programming. They can be placed into or deleted from the program in the Configuration Manger section of SIMPL Windows only.
DPA
Direct Processor Access (DPA) is an exclusive feature of CNX systems. It provides high-speed access directly to the processor maintaining high bandwidth network connections. Currently, Crestron offers a 10 BaseT Ethernet card as a DPA port. All CNX systems have an IP address and work seamlessly with network technology.
Ethernet Hub
Inexpensive 4 to 16 port devices that provide a way to physically tap into an existing Ethernet connection. They expand the plugs available, but do not perform any packet routing.
Feedback
Feedback lets the user know that a button press has registered with the system. This is especially important for TouchPanels, where the user cannot tell from feel alone whether they pressed in the right spot.
Gateway
A router that sends packets within the local network to destinations outside of the local network, or receives them from outside and propagates them onto the local network.
Software
Indirect Text
Indirect text is a feature where the particular text string that appears on a TouchPanel button can change, depending on the Signal state. For example, when the user touches the button to enable it the button might read "Power ON", and when touched again to disable, it might read "Power OFF".
Inputs
Symbol inputs allow signals to be connected from other parts of the program. Depending upon the symbol type, the current state of the input signal(s) may affect one or more output signal(s).
IP ID
A unique identity code, ranging from 03 to FE (in hex), given to all devices that communicate using the Cresnet over IP (CIP) network protocol. Each IP ID is associated with an IP address, determined by an IP Table that resides inside the CNX control system.
IP Table
A table which lists IP IDs and their corresponding IP addresses. This table is maintained inside each CNX control system, though it may be generated by a SIMPL Windows program, or edited manually using the Viewport utility.
Logic Symbols
While device symbols allow you to communicate with the outside world, logic symbols allow you to make your program perform exactly the way you want. Logic symbols can range from the very basic ones such as the AND, OR, or NOT symbols, to symbols designed for very special applications.
Network Address
A pattern of bits in IP address format that is shared by all network devices on a given local network. For example, network address 192.168.2.0 describes the local network where all devices have an IP address of 192.168.2.x, where x is any value from 1 to 254.
Network ID
The network ID or "net ID" is a unique identifier for every device on a Cresnet network. It is a two digit hexadecimal number between 03 and FE.
Network View
Network View allows programmers a graphical representation of the entire physical system. Programmers will see the back of the control system, including empty card slots and built-in card slots. Network device icons (Cresnet and Ethernet) are
Software
displayed in the space below the system. It may be necessary to use the scroll bars to see all the network devices.
Outputs
Except for a few special cases, the ultimate purpose of a symbol is to modify the states of its outputs. These output states will depend upon the symbol type, the current or past states of the input signals, and the values of the parameters.
Parameters
Some symbols also have parameters, which are constant values that help determine how the symbol behaves. For example, a symbol that delays an action for a specified period of time would have a parameter determining how long the delay should be. The exact function of a parameter depends solely on the symbol type itself.
Pass-Through mode
This mode allows remote access (via modem) to a system's RS-232 devices. This is extremely helpful and time saving for diagnosing logic and mechanical problems. The Pass-Through mode is fully functional with Crestron's CNX control systems.
Program
The collection of SIMPL symbols and their interconnection to one another are the program.
Program Manager
Program Manager is the screen where programmers will "program" the control system by selecting symbols from the Symbol Library.
Program View
Located in the center window of Program manager, Program View provides a tree type view of the program. Symbols that are selected from the Symbol Library are dropped into the Logic folder in Program View.
Re-Synch
Re-Synch is sometimes necessary if the Symbol Library has been updated or modified since the SIMPL Windows program was created. If a Maco or SIMPL+ symbol is modified, Re-Synch allows the programmer to open a previous SIMPL Windows program that contains the macro or SIMPL+ symbol and perform a ReSynch. This will "update" the Macro/SIMPL+ symbol to reflect the recent changes made by the programmer.
Set Watch
Signals that are going to be tested have to be identified with the Set Watch command. This command will identify specific signals that the user selects for Test Manager to test and debug.
Software
Signal Tray
The Signal Tray is a powerful holding tool for signals that have already been defined (named). It is a convenient place to store signals that are currently being used repeatedly. Signals are placed into the Signal Tray by dragging them from either the Signal List folder in Program View or the signal itself from Detail View.
SIMPL
SIMPL (Symbol Intensive Master Programming Language) is an easy-to-use programming language that is completely integrated and compatible with all Crestron system hardware. SIMPL Windows offers drag and drop functionality in a familiar Windows environment.
SIMPL Windows
SIMPL Windows is Crestron Electronics development environment for programming Crestron control systems. It provides the link between Crestron system hardware and the whole world of equipment to be controlled
SIMPL+
SIMPL+ is a procedural programming language extension of SIMPL Windows. SIMPL+ is included in this release as a BETA version. If programmers have familiarity with procedural languages like C or BASIC, they will be comfortable with SIMPL+.
SpeedKey
SpeedKey allows programmer to enter the DOS workshop name of a symbol. Since many Workshop users have the symbol names memorized, SpeedKey enables them to enter the symbol name in the status bar.
Subnet Mask
A pattern of bits in IP address format (e.g. 255.255.255.0) which, when bitwise "and"ed with your IP address, produces a network address. If an outgoing packet's network address has the same network address as the source of the packet, it is sent on the local network wire, to be received by a device on that local network. Otherwise, it is sent to the gateway address instead, to be routed to a device existing on another network.
Symbol Library
The Symbol Library is a master list of every symbol and macro available for use in creating your Control System program. The Symbols are grouped by symbol type with each group is contained in its own folder.
Symbols
The objects in a SIMPL Windows program that signals are connected to are called Symbols. Each symbol has a specific set of operations that it will perform.
Software
from the program from this list by selecting the device and clicking the Configure or Delete buttons.
System View
Located on the right hand side of Configuration Manager, System View offers the ability to display a graphical view of each module in the control system. Select the module or port to display its configuration information.
Test Manager
Test Manager is the application for testing and debugging a SIMPL program. You can call the Test Manager from within SIMPL Windows, or you can launch it independently.
User Interface
User interfaces (UI) are devices that the system user would operate to request an action from the control system. Examples of UIs are TouchPanels, Button Panels, and Wireless Remotes.
User Macros
Programmers can create their own macros and store them in the User Macros folder in the Symbol Library. Alternatively, programmers can import Crestron Macros, edit them to match their specific needs, and save them as a User Macro.
ViewPort
ViewPort is used for control system diagnostics and maintenance, e.g. to upload the control system's OPS, change system parameters, and other functions such as sensing and reporting all the physical devices present on the system network or installed in the expansion slots of the system.
VT Pro
VisionTools Pro (VT Pro) allows programmers to create custom designed TouchPanels. By supplying SIMPL Windows with the VT Pro project name, TouchPanel designs can be brought into SIMPL Windows automatically. Each button's join number and text will be retained. This is a great time saving feature.
WebControl
WebControl is an add-on to VisionTools Pro (VT Pro). It allows programmers to produce HTML (web pages) from VT Pro projects.
World View
WorldView is a control pad for the program. It shows an overhead view of the Detail View. This becomes very helpful when multiple symbols are open in Detail View. The WorldView is scalable by selecting Edit | Preferences | Virtual Workspace (size).
X axis
The X axis is the horizontal axis of a graph as displayed in the Network Analyzer.
Software
Y axis
The Y axis is the vertical axis of a graph as displayed in the Network Analyzer
Software
Index
A
Autofill, 182 Autofill, 39 Automatically Configure Devices, 39
Email Technical Support, 6 Errors, 25, 177, 181, 185 Ethernet Connection, 2 Ethernet, 1, 22
F
Failure, 187-93 Feature Comparison, 15 Front Panel Editor, 1, 147, 150, 154
B
Baud Rate, 38, 183 Bookmark, 2 Button Bar, 21, 25
I
Importing, 16, 181 Indirect Text, 150 Inputs, 5 Installing from the Crestron Web Site, 8 Installing SIMPL Windows, 7
C
Chain, 33, 193 CNMSX-AV, 1 CNMSX-PRO, 1, 35, 37, 147 CNRACKX, 1, 147 CNX, 12 Compile, 25, 177, 190-91 Configuration Manager, 20 Connection Sheet, 19, 23, 29, 34, 36, 38, 184 Contact Crestron Electronics, Inc., 6 ControlCD, 8, 26, 184 Copy Program, 3 Crestron Database, 7, 23, 26, 35, 184, 188
L
Logic Folder, 13 Logic Symbols, 12
N
Macros, 17, 26, 184-85, 190-91 Multiple Device Selection, 2 Net ID, 32 NetDevice, 24 Network Address, 182 Network Analyzer, 2, 171 Network Device, 24 Network ID, 32 Network System View, 2224, 26 Network Systems View, 24, 26 Network View, 24, 26, 35, 37 New Features, 12, 12 New Programs, 19, 25 NOTICE, 185-93
D
Deleting Devices, 39 Detail System view, 24 Detail View, 24, 156 Device Library, 2122, 26, 28, 181 Directory Paths, 18 DOS Workshop, 1, 1112
O
OPS, 183
Software
P
Parameter, 183, 187, 190-92 Plug-in Control Cards, 23, 28 Power Consumption, 31 Program Header, 1920, 21, 25 Program Manager, 17, 25, 41, 159, 163 Program View, 13, 163 Program, 5, 12, 17 Programming Design Kit, 34, 26 Programming Process, 34 Programming, 23, 12, 2526
V
ViewPort, 2, 25, 167 VisionTools Pro, 4, 17, 150 VisionTools Project, 4041 VT Pro, 4, 17, 150 VTP files, 40
Q
QuickAccess Window, 1819, 25
W
Workshop, 1, 1112, 15, 1617
R
Replacing Devices, 28 Re-Synch, 191
S
Selecting Hardware, 21, 26 SIMPL Windows, 1, 3, 12, 15, 17 SIMPL, 1, 3 SpeedKey, 12 Status Window, 165 Subsystem, 13 Symbol CrossReference, 12 Symbol Library, 5, 18, 163, 181, 184, 193 Symbols, 13, 35, 1718, 156, 163, 175, 177, 181, 183 System Design, 1, 34 System Device List, 24 System Requirements, 7 System View, 2224, 2628 T Test Manager, 25 Testing, 147 Trademark Information, 6 Transfer Program, 25
Software
This License Agreement (Agreement) is a legal contract between you (either an individual or a single business entity) and Crestron Electronics, Inc. (Crestron) for software referenced in this guide, which includes computer software and, as applicable, associated media, printed materials, and online or electronic documentation (the Software). BY INSTALLING, COPYING, OR OTHERWISE USING THE SOFTWARE, YOU REPRESENT THAT YOU ARE AN AUTHORIZED DEALER OF CRESTRON PRODUCTS OR A CRESTRON AUTHORIZED INDEPENDENT PROGRAMMER AND YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE. IF YOU HAVE PAID A FEE FOR THIS LICENSE AND DO NOT ACCEPT THE TERMS OF THIS AGREEMENT, CRESTRON WILL REFUND THE FEE TO YOU PROVIDED YOU (1) CLICK THE DO NOT ACCEPT BUTTON, (2) DO NOT INSTALL THE SOFTWARE AND (3) RETURN ALL SOFTWARE, MEDIA AND OTHER DOCUMENTATION AND MATERIALS PROVIDED WITH THE SOFTWARE TO CRESTRON AT: CRESTRON ELECTRONICS, INC., 15 VOLVO DRIVE, ROCKLEIGH, NEW JERSEY 07647, WITHIN 30 DAYS OF PAYMENT. LICENSE TERMS Crestron hereby grants You and You accept a nonexclusive, nontransferable license to use the Software (a) in machine readable object code together with the related explanatory written materials provided by Creston (b) on a central processing unit (CPU) owned or leased or otherwise controlled exclusively by You, and (c) only as authorized in this Agreement and the related explanatory files and written materials provided by Crestron. If this software requires payment for a license, you may make one backup copy of the Software, provided Your backup copy is not installed or used on any CPU. You may not transfer the rights of this Agreement to a backup copy unless the installed copy of the Software is destroyed or otherwise inoperable and You transfer all rights in the Software. You may not transfer the license granted pursuant to this Agreement or assign this Agreement without the express written consent of Crestron. If this software requires payment for a license, the total number of CPUs on which all versions of the Software are installed may not exceed one per license fee (1) and no concurrent, server or network use of the Software (including any permitted back-up copies) is permitted, including but not limited to using the Software (a) either directly or through commands, data or instructions from or to another computer (b) for local, campus or wide area network, internet or web hosting services; or (c) pursuant to any rental, sharing or service bureau arrangement. The Software is designed as a software development and customization tool. As such Crestron cannot and does not guarantee any results of use of the Software or that the Software will operate error free and You acknowledge that any development that You perform using the Software or Host Application is done entirely at Your own risk. The Software is licensed and not sold. Crestron retains ownership of the Software and all copies of the Software and reserves all rights not expressly granted in writing. OTHER LIMITATIONS You must be an Authorized Dealer of Crestron products or a Crestron Authorized Independent Programmer to install or use the Software. If Your status as a Crestron Authorized Dealer or Crestron Authorized Independent Programmer is terminated, Your license is also terminated. You may not rent, lease, lend, sublicense, distribute or otherwise transfer or assign any interest in or to the Software. You may not reverse engineer, decompile, or disassemble the Software. You agree that the Software will not be shipped, transferred or exported into any country or used in any manner prohibited by the United States Export Administration Act or any other export laws, restrictions or regulations (Export Laws). By downloading or installing the Software You (a) are certifying that You are not a national of Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria or any country to which the United States embargoes goods (b) are certifying that You are not otherwise prohibited from receiving the Software and (c) You agree to comply with the Export Laws. If any part of this Agreement is found void and unenforceable, it will not affect the validity of the balance of the Agreement, which shall remain valid and enforceable according to its terms. This Agreement may only be modified by a writing signed by an authorized officer of Crestron. Updates may be licensed to You by Crestron with additional or different terms. This is the entire agreement between Crestron and You relating to the Software and it supersedes any prior representations, discussions, undertakings, communications or advertising relating to the Software. The failure of either party to enforce any right or take any action in the event of a breach hereunder shall constitute a waiver unless expressly acknowledged and set forth in writing by the party alleged to have provided such waiver.
Software
If You are a business or organization, You agree that upon request from Crestron or its authorized agent, You will within thirty (30) days fully document and certify that use of any and all Software at the time of the request is in conformity with Your valid licenses from Crestron of its authorized agent. Without prejudice to any other rights, Crestron may terminate this Agreement immediately upon notice if you fail to comply with the terms and conditions of this Agreement. In such event, you must destroy all copies of the Software and all of its component parts. PROPRIETARY RIGHTS Copyright. All title and copyrights in and to the Software (including, without limitation, any images, photographs, animations, video, audio, music, text, and applets incorporated into the Software), the accompanying media and printed materials, and any copies of the Software are owned by Crestron or its suppliers. The Software is protected by copyright laws and international treaty provisions. Therefore, you must treat the Software like any other copyrighted material, subject to the provisions of this Agreement. Submissions. Should you decide to transmit to Crestrons website by any means or by any media any materials or other information (including, without limitation, ideas, concepts or techniques for new or improved services and products), whether as information, feedback, data, questions, comments, suggestions or the like, you agree such submissions are unrestricted and shall be deemed non-confidential and you automatically grant Crestron and its assigns a non-exclusive, royalty-tree, worldwide, perpetual, irrevocable license, with the right to sublicense, to use, copy, transmit, distribute, create derivative works of, display and perform the same. Trademarks. CRESTRON and the Swirl Logo are registered trademarks of Crestron Electronics, Inc. You shall not remove or conceal any trademark or proprietary notice of Crestron from the Software including any back-up copy. GOVERNING LAW This Agreement shall be governed by the laws of the State of New Jersey, without regard to conflicts of laws principles. Any disputes between the parties to the Agreement shall be brought in the state courts in Bergen County, New Jersey or the federal courts located in the District of New Jersey. The United Nations Convention on Contracts for the International Sale of Goods, shall not apply to this Agreement. CRESTRON LIMITED WARRANTY CRESTRON warrants that: (a) the Software will perform substantially in accordance with the published specifications for a period of ninety (90) days from the date of receipt, and (b) that any hardware accompanying the Software will be subject to its own limited warranty as stated in its accompanying written material. Crestron shall, at its option, repair or replace or refund the license fee for any Software found defective by Crestron if notified by you within the warranty period. The foregoing remedy shall be your exclusive remedy for any claim or loss arising from the Software. CRESTRON shall not be liable to honor warranty terms if the product has been used in any application other than that for which it was intended, or if it as been subjected to misuse, accidental damage, modification, or improper installation procedures. Furthermore, this warranty does not cover any product that has had the serial number or license code altered, defaced, improperly obtained, or removed. Notwithstanding any agreement to maintain or correct errors or defects Crestron, shall have no obligation to service or correct any error or defect that is not reproducible by Crestron or is deemed in Crestrons reasonable discretion to have resulted from (1) accident; unusual stress; neglect; misuse; failure of electric power, operation of the Software with other media not meeting or not maintained in accordance with the manufacturers specifications; or causes other than ordinary use; (2) improper installation by anyone other than Crestron or its authorized agents of the Software that deviates from any operating procedures established by Crestron in the material and files provided to You by Crestron or its authorized agent; (3) use of the Software on unauthorized hardware; or (4) modification of, alteration of, or additions to the Software undertaken by persons other than Crestron or Crestrons authorized agents. ANY LIABILITY OF CRESTRON FOR A DEFECTIVE COPY OF THE SOFTWARE WILL BE LIMITED EXCLUSIVELY TO REPAIR OR REPLACEMENT OF YOUR COPY OF THE SOFTWARE WITH ANOTHER COPY OR REFUND OF THE INITIAL LICENSE FEE CRESTRON RECEIVED FROM YOU FOR THE DEFECTIVE COPY OF THE PRODUCT. THIS WARRANTY SHALL BE THE SOLE AND EXCLUSIVE REMEDY TO YOU. IN NO EVENT SHALL CRESTRON BE LIABLE FOR INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND (PROPERTY OR ECONOMIC DAMAGES INCLUSIVE), EVEN IF A CRESTRON REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR OF ANY CLAIM BY ANY THIRD PARTY. CRESTRON MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO TITLE OR INFRINGEMENT OF THIRD-PARTY RIGHTS, MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY OTHER WARRANTIES, NOR AUTHORIZES ANY OTHER PARTY TO OFFER ANY WARRANTIES, INCLUDING WARRANTIES OF MERCHANTABILITY FOR THIS PRODUCT. THIS WARRANTY STATEMENT SUPERSEDES ALL PREVIOUS WARRANTIES.
Software
2.
3.
Crestron Electronics, Inc. 15 Volvo Drive Rockleigh, NJ 07647 Tel: 888.CRESTRON Fax: 201.767.7576 www.crestron.com
Operations & Installation Guide - DOC. 5728C 09.02 Specifications subject to change without notice.