beautypg.com

System scpi commands – AMETEK ReFlex Programming Manual User Manual

Page 112

background image

ReFlex Power™ Programming Manual

AC Module Remote Programming

108

M380056-03 Rev L

4.11

SYSTEM SCPI COMMANDS

4.11.1

SYSTEM

SCPI

C

OMMAND

S

UMMARY

SYSTem

:ERRor?

4.11.2

SYSTEM

SCPI

C

OMMAND

R

EFERENCE

Command

Description

SYSTem

SYSTEM subset of SCPI command sets

:ERRor?

Returns the last error logged in the Error/Event Queue. If there are no errors,
0, No error is returned.

4.12

EXAMPLE SCPI COMMANDS TO SET PHASE AND

PARALLEL GROUPS

4.12.1

E

XAMPLES

C

REATING A

P

HASE

G

ROUP

EXAMPLE 1: Set the group using 3 AC module (units at slot 4, 8,12)

Slot 4, Module will become master of the phase group and the slot 8 and 12 units will be the
slaves of the phase group. Default phase angle for the slot 4 = 0 degrees, slot 8 = 120
degrees and slot 12 = 240 degrees.

SYSTem:GROup:DEFine:PHASe 4,8,12

// Command to form the phase group.

SYSTem:GROup:CAT:PHASe?

// Query the group

OUTP1004:STATE 1

// Turn on all the units as a group

*OPC1004?

// Send next command after a ‘1’ is returned

SOUR1004:VOLT 125

// Set the group to 125 volts

*OPC1004?

// Send next command after a ‘1’ is returned

SOUR1004:CURR 3

// Set all the modules to 3 Amps

*OPC1004?

// Send next command after a ‘1’ is returned

SOUR12:PHASE 220

// Set the slot 12 AC module to 220 degree phase

SOUR8:PHASE 100

// Set the slot 8 AC module to 100 degree phase

*OPC12?

// Send next command after a ‘0’ is returned

*OPC8?

// Send next command after a ‘0’ is returned

SOUR4:PHASE -20

// Set the phase of slot 4 unit to -20 degree and
execute a synchronous phase change on all three
units.

*OPC4?

// Send next command after a ‘1’ is returned