beautypg.com

Communicating with the cs master, Configuring a master, Cables and drivers – Red Lion CSMSTRZR User Manual

Page 6: Usb/pg, data transfers from the compactflash card, Ethernet communications, Rs232 ports, Dh485 communications, Leds, Sts – status led, Startup routine

background image

6

CONFIGURING A MASTER

The CSMSTRZR is configured using Crimson software. Crimson is available

as a free download from Red Lion’s website. Updates to Crimson for new

features and drivers are posted on the website as they become available. By

configuring the master using the latest version of Crimson, you are assured that

your unit has the most up to date feature set. Crimson software can configure

the CSMSTRZR through the RS232/PG port, USB/PG port, Ethernet or

CompactFlash. The USB/PG port is connected using a standard USB cable with

a Type B connector.

The driver needed to use the USB port will be installed with Crimson. The

RS232/PG port uses a programming cable made by Red Lion to connect to the

DB9 COM port of your computer. If making your own cable, refer to the “CS

Master Port Pin Outs” for wiring information.

The CompactFlash can be used to program a CS Master by placing a

configuration file and firmware on the CompactFlash card. The card is then

inserted into the target master and powered. Refer to the Crimson literature for

more information on the proper names and locations of the files.

CABLES AND DRIVERS

Red Lion has a wide range of cables and drivers for use with many different

communication types. A list of these drivers and cables along with pin outs is

available from Red Lion’s website. New cables and drivers are added on a

regular basis. If making your own cable, refer to the “CS Master Port Pin Outs”

for wiring information.

USB/PG, DATA TRANSFERS FROM THE

COMPACTFLASH CARD

In order to transfer data from the CompactFlash card via the USB/PG port, a

driver must be installed on your computer. This driver is installed with Crimson

and is located in the folder C:\Program Files\Red Lion Controls\Crimson x.x\

Device\ after Crimson is installed. This may have already been accomplished if

your CS Master was configured using the USB/PG port.

Once the driver is installed, connect the master to your PC with a USB cable, and

follow “Mounting the CompactFlash” instructions in the Crimson user manual.

Note that using the USB/PG port for frequent data transfers is not

recommended. For frequent data transfers it is recommended that the Ethernet

connection be used. Through the Ethernet connection a web page can be set up

to view logged data. Refer to the Crimson manual for details.
Note: The USB/PG port is for system set-up and diagnostics and is not intended

for permanent connection.

ETHERNET COMMUNICATIONS

Ethernet communications can be established at either 10 BASE-T or 100

BASE-TX. The CS Master’s RJ45 jack is wired as a NIC (Network Interface

Card). For example, when wiring to a hub or switch use a straight-through

cable, but when connecting to another NIC use a crossover cable.

The Crimson manual contains additional information on Ethernet

communications.

RS232 PORTS

The CS Master has two RS232 ports. There is the RS232/PG port and the

COMMS port. Although only one of these ports can be used for programming,

both ports can be used for communications with a PLC. The RS232/PG port can

be used for either master or slave protocols.

RS422/485 PORT

The CS Master has one RS422/485 port. This port can be configured to act

as either RS422 or RS485.

Note: All Red Lion devices connect A to A and B to B. Refer to www.redlion.net

for additional information.

DH485 COMMUNICATIONS

The CS Master’s RS422/485 COMMS port can also be used for Allen

Bradley DH485 communications.

WARNING: DO NOT use a standard DH485 cable to connect this port to Allen

Bradley equipment. A cable and wiring diagram are available from Red Lion.

LEDS

STS – STATUS LED

The green Status LED provides information regarding the state of the CS

Master, as well as the rest of the system. This includes indication of the various

stages of the start-up routine (power-up), and any errors that may occur.

Startup Routine

LED

INDICATION

Rapidly Flashing

CS Master is currently running the boot loader and/or

being flash upgraded by Crimson.

Steady

CS Master is operating properly.

Error States

LED

INDICATION

1 blink, pause, repeat

One or more slave modules are missing from the

system. CS Master and installed modules will

perform normally in this state.

2 blinks, pause, repeat

Missing configuration, or configuration being

updated by Crimson.

3 blinks, pause, repeat

Quantity of module bases does not match

configuration file. CS Master will not communicate

with the modules until the error is corrected.

4 blinks, pause, repeat

Termination plug not installed, or one or more bases

are malfunctioning. CS Master will not communicate

with the modules until the plug is reinstalled, and

power is cycled.

WARNING - USB/PG PORT IS FOR SYSTEM SET-UP AND

DIAGNOSTICS AND IS NOT INTENDED FOR PERMANENT

CONNECTION.

TX

5V

8

1

7

2

TxB

TxA

130K

130K

5

TxEN (OC)

RX

130K

5V

130K

RxB

4

RxA

3

GND

6

TxEN (OC)

TX/RX

130K

5

TxA

2

8

130K

5V

7

1

TxB

6

GND

RS485 2-WIRE

CONNECTIONS

RS422/485 4-WIRE

CONNECTIONS

COMMUNICATING WITH THE CS MASTER