XT2640OperatingManual 13July2016 Page152of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELD
DATA
RANGE
DESCRIPTION
TEMPSAVECFG ‐ ‐ ‐
SavesthepresentcompleteconfigurationoftheXT2640intoaninternal
temporarystorage.
TEMPLOADCFG ‐ ‐ ‐
ReloadsthepreviouslysavedconfigurationfromaTEMPSAVECFGcommand.If
therewasnopreviousTEMPSAVECFGcommandthenthiscommandraisesan
error.ThiscommandcanonlybeusedonceforeachTEMPSAVECFGcommand.
24.4.12 HARMONICS LIMITSCONFIGURATIONANDCONFIGURATIONQUERYCOMMANDS
AnychangesmadetoharmonicslimitstakeanimmediateeffectbutarevolatileuntiltheSAVEHLIMITScommandisused(i.e.will
notberetainedwhenpoweristurnedoff).
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CLRHLIMITS i KEYWORD VorA Removesallvoltage(i=V)orcurrent(i=A)harmoniclimits
HLIMIT
i KEYWORD VorA Setsvoltage(i=V)orcurrent(i=A)limitforharmonichaccordingtothe
remainingfieldsasfollows–
tsetsthetypeoflimit(ifany)toapply‐
t=0:nolimitapplied(furtherfieldsareoptionalandareignoredifpresent)
t=1:thelimitisthehighestofthepercentageandlevellimits
t=2:thelimitistheadditionofthepercentageandlevellimits
psetswhetherthepercentagelimitisapercentageofthefundamental
(p=0)orofthetotalsignal(p=1)
plimitandllimitarethepercentageandlevellimitsrespectively
Note:settingalimitwithbothplimitandllimit=0.0willneverpass
h NR1 1to500
t NR1 0to2
p NR1 0or1
plimit NR3 ≥0.0
llimit NR3 ≥0.0
HLIMIT?
i KEYWORD VorA
RespondswiththeHLIMITcommandSTRINGneededtoreproducethe
voltage(i=V)orcurrent(i=A)limitforharmonich
h NR1 1to500
SAVEHLIMITS
KEYWORD VorA Savesallvoltage(
=V)orcurrent(i=A)harmoniclimits
24.4.13 DCZEROCONTROLANDQUERYCOMMANDS
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELD
DATA
RANGE
DESCRIPTION
DCZERO ‐ ‐ ‐
InitiatesanINTDCZEROactivityonallconfiguredchannels(sameastheSYS
CONFIG‐>INTDCZERObutton)
SetsDCZregisterasneededandclearsDCZERRregister
SuspendsnormalmeasurementactionsoftheXT2640untilENDDCZEROisreceived
DCZ? ‐ ‐ ‐
RespondswiththeNR1DCZregister
b0through3:setifCH1through4resp.areperforminganINTDCZeroactivity
EachbitclearswhentheactivityissuccessfullycompletedorENDDCZERO
commanded
DCZERR? ‐ ‐ ‐
RespondswiththeNR1DCZERRregister
b0through3:setifCH1through4resp.havefoundanerrorduringanINTDCZero
activity
ENDDCZERO ‐ ‐ ‐
TerminatesanINTDCZEROactivityonallchannels(abortsifstillinprogress)
ClearsDCZandDCZERRregisters
ReturnstonormalmeasurementactionsoftheXT2640
EXTDCZERO o NR1 0or1
PerformsanexternalDCZero.Ifo is0thenallchannelshavetheirDCzeroes
adjustedtothepresentDCmeasurements,otherwiseifois1thenonlythose
channelswhicharescaledhavetheirDCzeroesadjustedtothepresentDC
measurements.
24.4.14 CUSTOMSCREENCONFIGURATION ANDCONFIGURATIONQUERYCOMMANDS
TheactualcustomscreenisnotupdatedwiththeresultsofanychangesuntiltheSAVECUSTOMcommandisactioned.Theuseofthe
CLRCUSTOMcommandisrecommendedpriortostartingtogenerateacustomscreenviatheinterfacetoensurethatnoexisting
contentsofacustomscreenareincludedinanewlygeneratedscreen.FollowingaSAVECUSTOMcommandnofurthercustom
screencommandscanbeexecutedforupto300msandattemptingtodosoraisesanerror.
NotethattheCUSTOMcommandmusteitherbetheonlycommandorthelastcommandinasetofcommands(i.e.itmustbe
terminatedbyacommandterminatorcharacter).
Acustomscreeniscomposedof57cellsarrangedin15rowswithrow0(thetopmostrow)onlyhavingasinglecolumnandrows1
through14having4columns(theleftmostcolumnis0).Forcellsotherthantherow0cell,fortextsizesotherthan12pixor16pix
thenthetargetcellisexpandedtoincludesurroundingcellsasfollows–
22pixtextsize:includesthecelltotherightofthetargetcell.
28pixand36pixtextsizes:includesthecelltotherightofthetargetcellandalsothecellsimmediatelybelowboththe
targetcellandthattotherightofit.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CLRCUSTOM ‐ ‐ ‐ Setsthecustomscreentotallyblank
CUSTOM
r NR1 0to14
Setcustomscreencellrow(r),column(c)accordingtotheremainingfields‐
c NR1 0to3