Xantrex Technology RS232-XPD Example, 1 Command Parameters, 2 Floating Point Numbers, Operation

Models: RS232-XPD

1 60
Download 60 pages 29.02 Kb
Page 37
Image 37
Operation

 

 

Operation

 

 

Command Syntax

Table 3.1 Command Parameters

 

 

Parameter

Description

Form

 

 

 

 

<current>, <Ihi>, <Ilo>

The current in amps or milliamps. If no unit is

<float>

 

given, the default unit is amps.

<float>A

 

 

<float>mA

 

<time>

The time in seconds or milliseconds. If no unit

<float>

 

is given, the default unit is seconds.

<float>s

 

 

<float>ms

 

<voltage>, <Vlo>, <Vhi>

The voltage in volts or millivolts. If no unit is

<float>

 

given, the default unit is volts.

<float>V

 

 

<float>mV

 

<mnemonics>

A combination of CV, CC, CV, OV, OT, SD,

See registers

 

FOLD, ERR, PON, REM, ACF, OPF, and

on page 47.

 

SNSP. See MASK and UNMASK commands

 

 

 

in the command reference for use of the ALL

 

 

 

and NONE parameters.

 

 

<state>

The state of a binary condition.

<1/ON,

 

 

0/OFF>

 

Floating Point Number <float> Variables sent with command parameters are floating point numbers. Table 3.2 defines the structure of floating point numbers for use with the software commands.

Table 3.2 Floating Point Numbers

Floating Number Definition

Example

The floating point number has four significant figures.

1.234

It can be of either sign, positive or negative.

-1.234

 

+1.234

A floating point number can have one decimal point.

0.123

 

1.2

 

123.4

Scientific Notation

123.0E-1

Use E or e after the number for a base ten exponent.

1.2E-1

An integer of either sign must follow an exponent.

10.00E+1

Command If you send more than one command line, separate the commands with a semicolon. Strings The semicolon may be preceded or followed by spaces.

Example:

ISET 2.0A; VSET 5V

ISET 2.0A; VSET 5V

Release 1.2

35

Page 37
Image 37
Xantrex Technology RS232-XPD manual Example, 1 Command Parameters, 2 Floating Point Numbers, ISET 2.0A VSET ISET 2.0A VSET