Page 57 of 69
Proton Products InteliSENS DG2030 Diameter Gauge Instruction Manual (Issue 1a)
W
RITING INPUT PARAMETERS
Writing a single input parameter
Use the following request format to write a single input parameter value:
Request
format
&[Input parameter number][Space][Input parameter value]<CR><LF>
Response
format
[Input parameter value]<CR><LF>
The response is the post-write value of the input parameter; therefore a successful write is indicated
by a response value that is identical to write request value.
R
EADING OUTPUT PARAMETERS
If a PC-based terminal program (such as MS Windows HyperTerminal) and keyboard is being used
for RS-232 communication with the gauge, then the carriage return followed by line feed (<CR><LF>)
sequence of commands can be replaced by a single press of the ‘Enter
’ key.
Reading a single output parameter
Use the following request format to read a single output parameter value:
Request
format
~[Output parameter number][Space][Number of parameters]<CR><LF>
Response
format
[Output parameter value]<CR><LF>
Reading a block of output parameters
Use the following request format to read a contiguous block of output parameter values:
Request
format
~[Output parameter number][Space][Number of parameters] <CR><LF>
Response
format
[Output parameter value]<CR><LF>
Only consecutive parameter values may be requested in a block parameter request.
Reading a continuous stream of a single output parameter
Use the following request format to read a single output parameter value as a continuous stream:
Request
format
#[Output parameter number]<CR><LF>
Response
format
[Output parameter value]<CR><LF>
The update rate for streaming output parameter values depends on both the data transfer rate and
the data length. For a data transfer rate of 1200 bit / s and a data length of seven 8-bit characters per
parameter value, approximately 10 individual parameter values can be transferred per second.