background image

RS-232/422/485 COM Module 

 

Crestron 

ST-COM

 

ST-COM Symbol Input Descriptions 

INPUT(S)

FUNCTION(S)

[tx$]

More advanced signal processing can be done through serial strings 
and the tx$ input line on the symbol. 

[enable]

If signal is present on this input, it must be high to permit activity of 
the the symbol. If the signal is low, the symbol is disabled. 

[break]

Some devices use a break character before sending out any serial 
data. Break characters are sent out the port separated by the 
specified pace parameter. 

[rts]

RTS is an output from the program to the ST-COM port that sets the 
state of the RTS line. 

str1

The ST-COM ports are capable of receiving complex serial data in 
the form of serial data strings on this input line. 

 

ST-COM Symbol Output Descriptions 

OUTPUT(S)

FUNCTION(S)

[rx$]

More advanced signal processing can be done through serial strings 
and the rx$ output line on the symbol. 

[cts]

CTS is an input to the program that monitors the "Clear to Send" line 
status of the particular ST-COM port. 

str2

The ST-COM ports are capable of sending complex serial data in the 
form of serial data strings on this output line. 

 

NOTE:

  When present, the delimiter is appended to every string of text in the port 

definition (both transmitted and received strings).  

Example Program 

An example program can be obtained from the Downloads page (EXAMPLES 
Library) of the Crestron website (

www.crestron.com)

. Search for ST-COM.SMW. 

New users are required to register in order to obtain access to the FTP site.  

This example program illustrates serial control of Zone 1 in a lighting system. The 
lighting system communicates with port A of the ST-COM over RS-422 with 38400 
N81 settings. Zone 1 can either be turned ON or OFF or can be ramped UP or down. 
This example program is designed expecting that the only serial input for Zone 1 are 
those in the COM port definition of the ST-COM.  

To turn the lights on, 9 bytes are sent (\x02Z-01-ON\x03). When join #1 on the 
touchpanel is pressed, the signal "Lights-Z1-On" goes high. When this signal goes 
high, the data is sent out the port to the lighting system. A similar approach is taken 
for "Lights-Z1-Off". These buttons have true feedback from the lighting system (i.e., 
when the 16 bytes (\x02Z-01-STATUS-ON\x03) enter the port, the digital signal 
"Lights-Z1-On-F" goes high and drives the feedback of join #1 high). In turn, this 
lights the feedback for the OFF button on the panel. 

In order to ramp the zone, the appropriate command is sent to start the ramping 
operation when the UP or DOWN button is pressed. When either button is released, 
the output of the NOR gate goes high. This, in turn, sends the STOP command to the 
lighting system, telling it to halt the ramping operation in progress. 

It is important to note that the user does not have to define the [tx$] or [rx$] for the 
port. If strings are being triggered and matched only in the port, the string 

14  

  RS-232/422/485 COM Module: ST-COM 

Operations Guide - DOC. 5695A 

Summary of Contents for ST-COM

Page 1: ......

Page 2: ...This document was prepared and written by the Technical Documentation department at Crestron Electronics Inc 15 Volvo Drive Rockleigh NJ 07647 1 888 CRESTRON ...

Page 3: ...aration for Use 7 Firmware Upgrade 9 Programming with SIMPL Windows 12 Configure a ST COM Program 12 ST COM Symbol 13 Example Program 14 Problem Solving 15 Troubleshooting 15 Further Inquiries 15 Future Updates 16 Future Firmware Upgrades 16 Return and Warranty Policies 17 Merchandise Returns Repair Service 17 CRESTRON Limited Warranty 17 Operations Guide DOC 5695A RS 232 422 485 COM Module ST COM...

Page 4: ......

Page 5: ...net system or SmarTouch STS to add control for additional serial devices such as video projectors or AV switchers If part of the Cresnet system use of the power pack is optional Both ports of the ST COM may be used to control a wide variety of RS 232 RS 485 or asynchronous RS 422 controlled equipment A variety of communications parameters are supported Valid parameters are as follows Baud rates ma...

Page 6: ...m 31 ms Supports RS 485 However additional drivers are required and specific protocol must be followed The unit remains in receive mode until transmission is enabled with one character switching Consult Crestron s award winning customer service team in your area Physical Description The ST COM is housed in a black enclosure with silk screened labels on the front and rear panels On the front of the...

Page 7: ...PUT SPECS PW 1205 120V 60Hz 12VDC 5 A PWI 1210 230V 50Hz 12VDC 1A Power Pack Output Connector Polarity NET These two 6 pin 6 position RJ11 modular jacks are used to connect the ST COM module to either the SmarTouch STS or Cresnet remote control system When the module is part of the Cresnet system power is provided via the NET connection the power pack need not be attached Two NET ports are availab...

Page 8: ...out COM A B PIN DIRECTION DESCRIPTION 1 To ST COM RXD RS 422 Receive Data Idles low 2 To ST COM RXD RS 232 Received Data 3 From ST COM TXD RS 232 Transmitted Data 4 From ST COM TXD RS 422 Transmit Data Idles high 5 RS 232 and RS 422 Signal Common 6 To ST COM RXD RS 422 Receive Data Idles high 7 From ST COM RTS RS 232 Request to Send 8 To ST COM CTS RS 232 Clear to Send 9 From ST COM TXD RS 422 Tra...

Page 9: ...ese LEDs flash when the ST COM transmits data to the serial device attached to the respective COM ports RTS COM A B If RTS CTS handshaking is enabled these LEDs illuminate when the ST COM is ready to receive transmission of data from a serial device attached to the respective COM ports CTS COM A B These LEDs illuminate when the serial device on the respective COM port is ready to accept transmissi...

Page 10: ...site or contact Crestron customer service Firmware upgrade files can be obtained from the What s New page Other Products section of the Downloads page UPGRADES Library of the Crestron website 3 CNX upgrade files are required for either CNMSX AV Pro or CNRACKX DP Filenames for CNX upgrade files have a UPZ extension and ST CP files are in one EXE or zipped UPZ file All can be obtained from the What ...

Page 11: ...then opens the Set Network ID window 4 In the Set Network ID window select the ST COM from the Current Network Devices text window 5 From the Choose the new network ID for the selected device Hex text box select the new NET ID for the ST COM 6 Click Set ID to initiate the change This will display the ID command has been sent window 7 In the Command Complete window click OK 8 In the Current Network...

Page 12: ...mA 1000 mA for STI COM ST CP SMARTOUCH STS SERIAL DEVICE SERIAL DEVICE Cresnet System Hookup Connections for ST COM POWER PACK 500 mA 1000 mA for STI COM OPTIONAL DAISY CHAIN TO ADDITIONAL NETWORK DEVICES SERIAL DEVICE SERIAL DEVICE CRESNET SYSTEM NOTE IF RJ TYPE NET CONNECTOR IS AVAILABLE USE IT OTHERWISE USE ST CNB SOLD SEPARATELY TO CONNECT TO 4 PIN CONNECTOR ON CRESNET SYSTEM 8 RS 232 422 485 ...

Page 13: ... 1 Make sure that no programs are accessing the COM port of the PC 2 At the PC start SIMPL Windows or VT Pro e 3 From the SIMPL Windows or VT Pro e menu bar select Tools Viewport to open the Crestron Viewport NOTE SIMPL Windows may open with an opening splash screen and may display the What do you want to do window If so close the window and continue 4 From the Viewport menu select Setup Communica...

Page 14: ...ort Settings Window 6 From the Viewport menu select Diagnostics Report Network Devices alternatively depress F4 as shown in the diagram after this step Accessing the Network Devices 10 RS 232 422 485 COM Module ST COM Operations Guide DOC 5695A ...

Page 15: ...rk Device from the Viewport menu Select Load Network Device 10 Select the NET ID of the ST COM and then click OK as shown in the diagram after this step Select Network ID Window 11 Browse to the firmware directory select the download firmware UPG file and click Open as shown in the diagram after this step The transfer is automatically completed Operations Guide DOC 5695A RS 232 422 485 COM Module ...

Page 16: ... symbols SIMPL Windows offers drag and drop functionality in a familiar Windows environment SIMPL Windows is Crestron s software for programming Crestron control systems It provides a well designed graphical environment with a number of workspaces i e windows in which a programmer can select configure program test and monitor a Crestron control system The nest two sections describe a ST COM within...

Page 17: ... Slot 9 Net Device folder and expand to display the two ports A and B Single click on a port then right mouse click and select Configure Select the Serial Settings tab to display a window that allows for the assignment of communication parameters SIMPL is Crestron s object oriented programming language designated for easy implementation of the control system requirements The objects that are used ...

Page 18: ...site www crestron com Search for ST COM SMW New users are required to register in order to obtain access to the FTP site This example program illustrates serial control of Zone 1 in a lighting system The lighting system communicates with port A of the ST COM over RS 422 with 38400 N81 settings Zone 1 can either be turned ON or OFF or can be ramped UP or down This example program is designed expect...

Page 19: ...M Since the ST CP does not supply power an external power pack must be used Verify that proper cables are securely attached to ST COM NET connectors for Cresnet system NET LED does not Improper NET ID Verify that ST COM NET ID matches NET ID software program Refer to Identity Code illuminate Loose network connection Verify that cables attached to ST COM NET connectors are proper and secure Further...

Page 20: ...on website www crestron com directs the reader to the location and description of each update Check the site periodically for update availability and its subjective value Future Firmware Upgrades As Crestron improves functions adds new features and extends the capabilities of the ST COM firmware upgrades may be made available The upgrade files can be obtained from the What s New page Other Product...

Page 21: ...vered This warranty extends to products purchased directly from CRESTRON or an authorized CRESTRON dealer Purchasers should inquire of the dealer regarding the nature and extent of the dealer s warranty if any CRESTRON shall not be liable to honor the terms of this warranty if the product has been used in any application other than that for which it was intended or if it has been subjected to misu...

Page 22: ...RS 232 422 485 COM Module Crestron ST COM This page intentionally left blank 18 RS 232 422 485 COM Module ST COM Operations Guide DOC 5695A ...

Page 23: ...Crestron ST COM RS 232 422 485 COM Module This page intentionally left blank Operations Guide DOC 5695ARS 232 422 485 COM Module ST COMRS 232 422 485 COM Module ST COM 19 ...

Page 24: ...Crestron Electronics Inc Operations Guide DOC 5695A 15 Volvo Drive Rockleigh NJ 07647 08 01 Tel 888 CRESTRON Fax 201 767 7576 Specifications subject to www crestron com change without notice ...

Reviews: