Altinex MT101-117, MT101-115, MT101-114 RS-232 Connection 1 RS-232 Communication, RS-232 Protocol

Page 10

MULTITASKER

7.3 RS-232 CONNECTION

7.3.1 RS-232 COMMUNICATION

If a control system is used to control the cards in the MultiTasker, connect the 9-pin D connector of the MT101-114/115/117to the control system's RS-232 port. In order to connect the MultiTasker (MT) to a computer or a terminal, you must have the proper interface cable such as the ALTINEX RC5201RS.

The cable must have the appropriate connector on each end and the internal wiring must be correct. Connectors typically have 9 pins (DB-9) or 25 pins (DB-25).

Figure 1 shows the typical pinout and connections for a DB-9 computer serial port and Figure 2 shows the typical pinout and connections required for a DB-25 computer serial port.

MultiTasker

 

Computer

9-Pin 'D' Connector

 

DB-9

 

 

5

 

 

GND

5

GND

 

 

 

 

2

2

 

TXD

RXD

 

3

3

 

RXD

TXD

 

 

 

 

 

 

 

 

 

Figure 1: DB-9 Serial Connection

7.4 RS-232 PROTOCOL

The RS-232 protocol for the MT101-114/115/117uses a simple ASCII character format.

1.Brackets “[ ]” are part of the command for the controller or plug-in card.

2.Brackets "{ }" are part of the command for the panel display commands.

3.Use uppercase letters for all commands.

The MT101-114/115/117have many advanced remote control capabilities which are accessible through standard RS-232 communication. Control can be accomplished using a computer, a control system, or any other device capable of sending RS-232 commands. The factory settings for the RS-232 port are as follows:

Baud Rate

=

9600

Data Bits

=

8

Stop Bits

=

1

Parity

=

None

The enclosure and cards in a MultiTasker are capable of performing various functions, as well as providing feedback to the user or control system. Commands instruct a card to perform specific actions, request status information, and some do both simultaneously.

MultiTasker

9-Pin 'D' Connector

GND

5

7

 

 

TXD

2

3

 

 

RXD

3

2

 

 

 

 

 

Computer

DB-25

GND

RXD

TXD

A command that does not request specific information will generate feedback of “[ ]”. The open bracket immediately followed by a closed bracket indicates the card or unit received a valid command. If the command requested information from the card or enclosure, the feedback generated is the acknowledgement of having received a valid command. Invalid commands generate feedback that includes “ERR” plus an error code.

Figure 2: DB-25 Serial Connection

Example: [ERR001]

Commands ending in “S” will be saved into memory. Commands not ending in “S” will still be executed, but will not be restored when the system is reset or powered-off, then on.

400-0402-003

9

Image 10
Contents MT101-114/115/117 Table of Contents Cleaning Precautions / Safety WarningsInstallation GeneralMT101-114/115/117 General Technical SpecificationsMT101-114/115/117 Electrical Product Description KEY Number LocationsApplication Diagrams Diagram 1 Installation Instructions Diagram 2 Sample Matrix Setup SubroutinesDisconnect AC Power Cord Before Opening the EnclosureOperation MultiTasker Computer Control SystemIdentify Unit ID POWER-UP SUB1 U0/U1Saving Card Configurations KEY ProgrammingRS-232 Connection 1 RS-232 Communication RS-232 ProtocolVER Description of CommandsRS-232 Commands SETEFB RESDFB IDUi12. WR STA1STA0 RMCRATE=S RateRATE= BEEPnTXR BaudBAUD= TXMTest Xyz27. @xyz HelpLEDm-n LED CommandsLEDn= ClfcSTA RDKKEY8= 8,108,0,0,0 Speakers Volume WRKUnlk or Unlock ClrkLock KEYClrlk RdlkWrlk RdskClrvk UplkALL Subroutines are Empty Subroutine CommandsRDS WRSMatrix Functions WRS=SSubroutines are Cleared SUBClrs WaitRES VERSET DFBTroubleshooting Guide Altinex Policies Limited WARRANTY/RETURN Policies Contact InformationToll Free 1-800-ALTINEX