C-18
Model 0254
Section C Serial Communications Protocol
Installation and Operation Manual
X-SE-0254-eng
Part Number: 541B129AAG
September, 2010
BLOCK DELIMITER
<dle><etx>
Block end
C-5 Serial Value Programming
This sub-section is organized into reading and programming values. The
<index> value is a numeric designator unique to each programmable
value, except Port Type.
C-5-1 Read a Programmed Value
The command below is used to read a single parameter. The parameter is
identified by the index number (zz), see Sections C-4-3, C-4-4 and C-4-5
for a list of index values.
HOST SEND
AZ[.xx]P[zz]?<cr>
Non-Network
AZ[yyyyy.xx]P[zz]?<cr>
Network
RESPONSE
AZ,yyyyy.xx,4,Pzz,<present value>,<sum><cr><If>
A received response indicates that no error was detected.
Response parameters
Parameter
Number
Value in
Example
Descrip tion
1
AZ
respons e pre delimiter
3
xx
port number
4
4
respons e type
7
<sum>
check sum
8
<cr>
carriage return character
9
<lf>
line feed character
5
Pzz
zz is the index i ndicating
which parameter is retrieved
6
<present
value>
value of retrieved
parameter
2
yyyyy
network address of 0254
Read Out devi ce
The example below retrieves the setpoint, i.e. 20.00, for output port 8
channel 4
Request
AZ.08P01?<cr>
Response
AZ,00909.08,4,P01,20.00,DF<cr><if>