Xantrex Technology XMP 2600 manual Serial interface, Ack

Page 15

The serial interface

Interfacing the XMP 2600

The serial interface

The Serial Interface is RS232 hardware interface with three types of operating modes: Monitor Mode, Remote Terminal Control Mode and Remote Computer Control Mode.

Serial

Interface

Capabilities

Computer

Versus

Terminal

Operation

Pressing the terminal’s ENTER key while the Serial Interface is in Monitor Mode and the GPIB Interface is OFF will cause the Serial Interface to switch to the Remote Terminal Control Mode.

In addition to the Transmit and Receive lines, the interface implements the following hardware handshake lines:

DTR -

Data Terminal Ready.

CTS -

Clear To Send.

RTS -

Request To Send.

DCD -

Data Carrier Detected.

The interface has the following programmable parameters:

Baud Rate -

2400, 4800, 9600.

Xon/Xoff -

Yes, No.

Stop Bits -

1 or 2 depending on the Parity settings.

Parity -

Odd, Even, None.

Echo -

Yes, No.

The number of Start Bits is fixed at 1.

The Serial Interface Parameters are set in the SERIAL SET-UP MODE (see: User’s Guide).

The Serial Interface always uses “hardware handshake” (signals CTS and RTS). If you do not wish to utilize those signals, short pins 7 and 8 of the connecting cable, on the XMP’s side (see the User’s Guide for further details).

The selection of the ECHO parameter determines the Remote Control Mode of operation by changing some aspects of the behavior of the Serial Interface, as detailed below:

echo

Yes (terminal)

No (computer)

 

 

 

echo

echo each received character

no echo

 

 

 

prompt

'>'

{ACK}

 

 

 

SRQ string

'{bell}SRQ<'

'SRQ<'

 

 

 

terminators

{CR} echoed as {CR}{LF}

{CR}{LF} or {LF}

 

 

 

In the Computer Remote Control mode of operation, the XMP 2600 will respond to each command string with an ASCII {ACK} - 06 HEX.

2

XMP 2600 Programming Manual rev. 1.1

Image 15
Contents Xantrex Multiple Output Power System XMP XMP Last? Limited What does this warranty cover and how long does itHow do you get service? WarrantyDisclaimer Product What does this warranty not cover?Information Information About Your Power SupplySafety Summary Description Power Supply SymbolsPower Supply Grounding Nonoperative Modules Input Mains Voltage RatingOutput Voltages Do Not Open The Unit Air Inlets And Air OutletRegulatory Approvals Regulatory Approvals and Safety Agency ComplianceSafety Agency Compliance Power Supply SafetyAbout this manual Chapters TerminologyWho should use this manual Table of contents Basic Programming Commands and Queries Reference Byte Error Codes summaryGpib interface 1Interfacing XMPACK Serial interfaceListening Formats Programming messages formatsResponse Data Separator Talking FormatsUsing an RS232 link How to communicate with the XMPUsing the comm. channels Using the Gpib busProgramming the XMP Recovering from communication haltsUsing queries Using commandsInitialize the XMP Recommendations on using the XMPIdentify the XMP Enforce power-on conditionsSetup the XMP 2600 status system Query installed Power ModulesInitial setup of the Power Modules Setup system level protection shutdown featuresStatus reporting Protection setupOutput settings ActivationUse queries Using advanced featuresHandling SRQ and the IEEE488.2 Status Structures On-going usage of the XMPMask registers Event enable registersStatus registers Event registersResponding to SRQ events Main status byteMain controller events Output message QueuePrimary engine status structure Summary of power modules statusPower modules status structure Remote communication time outEvents Register What happens when power is turned onError Code Faults RegisterUsage Guidelines Output Setup Basic setup and usageOverview of output setup parameters Power Module output ratingGlobally enabling the outputs Output settingsOutput control Output activationPolarity and disconnect relays Voltage / current modeCurrent limiting schemes FoldbackLinear foldback Reprogramming DelayRetry Shutdown on current limitBasic Programming Enabling the window thresholds Setting the window thresholdsWorkpoint window warning Usage guidelinesChecking the status Using the events mechanismUsing the warnings Voltage mode exampleOVP Protection using the workpoint windowLoad protection Additional usagesToggle the output state on/off Arm, trigger, sync and rampTrigger mechanism Set output to stored valuesSync output Output ramping What is output ramping?Simultaneous operations Output ramping setupSynchronization of operations Output ramping initiationSequential Operations Using hardware Trig and Sync to serialize operationsOutput on/off Other operationsController notification of Operation Complete Using software OPC mechanism to serialize operationsDifferent shutdown grouping of modules Commands to program shutdown groupingSelective shutdown Shutdown grouping single, group, globalShutdown on non-fault events Responding to communication time out eventsComm. time out Time out events as reflected in the status structure Turn-on and reset behaviorIeee 488.1 BUS Commands System Commands QueriesCategories Gpib ResetGlbl GLBL?Settings Commands Queries Output Control Protection Commands Queries Trigger Sync Commands QueriesRead-Back Queries Status Reporting Commands Queries Synch Mnemonic Alphabetical referenceParameters None Category System Type Sequential PRE Stores settings of all the Power Modules same as STO command Result register Syntax Return two decimal numbers, in the range 0 to 255. Each bit Cmask Close relay and a value of 1 is returned for an open relay Remove a user message from the XMP 2600 front panel display Set-up the operating mode of the XMP 2600. Re-calculate rqs Response is a series of values one for each installed Power Return output Current measurement of the Power Module. Return the state of the XMP 2600 Local Lock Flag. a value Ocrst Decimal value in the range 0 to Syntax Presence of the Polarity Reversal Relay Option Parameters None Category Settings Type Sequential Master mainframe. For the XMP 2600 this value is String in the following format mssnnn where m=minutes Result is two decimal numbers the first being the level 0t o SN? = Goto = OFF= Stop Module. Result is a decimal number in the range 0 to Shut-down when a remote communication time out occurs. Time out feature Syntax Minus sigh Syntax VLIM? Vset Commands and Queries Reference Events Register Ieee 488.2 compatible Status StructuresOutput Register Faults RegisterError Code Events Enable RegisterEvents Filtering Negative Mask Register Events Filtering Positive Mask RegisterPON CME EXE DDE QYE OPC Standard Event Status Register read with *ESR?Primary Event Status Register read with PER? Primary Status Register read with PSR?Primerr Status Byte Register read with *STB?Self Test Results Power ModulesMain Controller ByteMain Power Modules Communications errors Error Codes summaryPower Modules Errors Reported by the Power Module Errors Detected by the Main ControllerRS232 Communications errors Gpib Communications errorsParser and Execution errors Status reporting Xantrex Technology Inc