EZT-570S User Manual
129
9.2.1
GPIB Command Structure
There are six basic commands that are required to configure and operate the GPIB controller in order
to communicate with the EZT-570S controller. These commands are listed in the table below. All
commands are generated using standard ASCII text characters.
Command Use
SYST:COMM:GPIB:ADDR addr
GPIB Address Command
Sets the GPIB controller’s device address for subsequent commands.
Value for
addr
is 1 to 31. This is the address you will use to
communicate with the EZT-570S over the GPIB bus.
*SAV 0
Save Configuration Command
Saves current 4899 configuration in nonvolatile memory so that on
next power-up, settings such as the GPIB address will remain intact.
R[?] reg, num
Read Register Command (reads EZT-570S data values)
Reads one or multiple EZT-570S registers. User specifies starting
register
reg
and number of registers to be read
num
. The [?] is an
optional symbol so programs like ICS's GPIBKybd program can
recognize the command as a query and automatically read the
response. Responses are returned as 16-bit decimal values
separated by commas.
R? 61,1 reads EZT-570S loop 1 process value. Example response
is 527 for 52.7 degrees.
R? 60,3 reads three successive registers for loop 1 SP, PV and
%Out. Example response is 550,527,10000 for SP of 55.0, PV of
52.7 and %Out of 100.00.
W[?] reg, w
Write Register Command (writes EZT-570S data values)
Writes one 16-bit word,
w
to one EZT-570S register,
reg
.
W 60, 550 writes a set point of 55.0 to loop 1.
WB reg, num, w(0).w(n)
Write Block Command (writes EZT-570S program steps)
Writes multiple 16-bit words,
w(i
) to multiple registers. Starting
register,
reg
. Number,
num
specifies how many words are to be
written.
E?
Read Error Command.
Reads and clears the Modbus Error Register and bit 6 in the Event
Status Register. Returns an error code whose value is 0 to 255.
0 No errors present
1 Exception Code 1
2 Exception Code 2
3 Exception Code 3
100 CRC Error
101 Timeout Error indicates no characters received
2nn Partial or corrupted message, nn is number of received bytes.
Summary of Contents for EZT-570S
Page 150: ......