
Diamond 10kW Manual
Dynatronix, Inc.
198-1603-03 Rev 01
Page 127 of 150
B.1.14 State
Command “a”:
@AA.a Sync character (@) and unit address, AA = Unit ID (0 to 99; 0 is a global ID), a
= Channel ID (0 to NUM_CHANNELS, 0 is the global channel)
a0
Command character and Type
– 0=read, 1=set, 2=activate (n/a), 3=ack, 4=nak
#2,
Number of fields character and number of fields after the comma, excluding
CRC
1,
operate state
– 0=standby, 1=operate, 2=pause
opr
0,
simulation state
– 0=normal operation, 1=simulation
sim
CRC
CRC value in ascii decimal
crlf
Carriage return and Line feed (0x0D 0x0A)
Examples of State Command:
read state.
@01.1a0#0,54321
state ack command with delimiter text.
@01.1a3#2,1opr,0sim,54321
state ack command with comma delimiters.
@01.1a3#2,1,0,54321
go to operate (all channels
– global channel 0).
@01.0a1#1,1,54321
Notes:
1. Blank fields are ignored so whatever setting is currently active for that field will still be active
after a command with a blank field.
2. The simulation state is not channel dependent. The simulation state is always the same for all
channels. A set state command that changes the simulation state changes the state for all
channels.
3. If simulation mode is active the supply output is disabled. In operate mode the read backs are
simulated based on the settings and a simulated load. The simulated load size is computed to
allow maximum supply output. The supply will simulate current and voltage regulation as well
as cross over points. Simulation mode is
indicated in the readings “d” command.
4. The simulation state cannot be changed if the operate state is set to (1) operate. If the current
operate state is (1) operate, then the state command must be used to change the operate state
to standby and then a separate instance of the state command can be sent to change the
simulation state.
5.
Set the operate state to ‘pause’ to temporarily stop a cycle and then set the operate state to
‘operate’ to resume the cycle.
6.
Changing the operate state to ‘standby’ will end the current cycle (or clear the EOC message if
it was active). Changing the operate state to ‘operate’ will resume a paused cycle. Changing
the operate state to ‘operate’ will start a new cycle if the current cycle is not running and is not
paused.