25 - 66
021341/07/11
7.1 General telegram format
A fixed telegram format is used for the serial communication (<CR> means Carriage Return
(enter key)):
•
Data request:
„<id>BB<CR>“
<CR> means carriage return (enter key)
•
Change of parameters:
„<id>BBppppp<CR>“
<CR> means carriage return (enter key)
The single letters have the following meaning:
id:
Device address number (00…99, initial value 00)
BB:
two-digit command code (case-insensitive)
ppppp:
A new parameter is set by entering a 5-digit value. The parameter is right-
aligned, and must be completed with zeros from the left.
Example for a Change of Parameters:
The baud rate is to be set to 4 (corresponds to 4800 baud 8, N, 1) with the device address “00”.
The respective command is:
„00BR00004<CR>“
Example data request:
The set record for the baud rate is returned with the command
„00BR<CR>“
Reply:
„!00BR00004“
The reply from the sensor is marked by an exclamation mark at the beginning of the return.
NOTE:
The receiving buffer of sensor can be cleared by sending a carriage return <CR>.
In case the sensor has invalid or unintentional characters in the receiving buffer, it
is advisable to send a <CR> at the beginning of the command, e.g.
“<CR>00BR<CR>”
Error messages from the sensor (ID: “00”):
“00CI00002” Unknown
command
“00CI00004”
Parameter out of allowed range
“00CI00008”
Incorrect command mode (see command “KY”, CH.
7.2.1
)
Содержание 5.4110 00 Series
Страница 65: ...65 66 021341 07 11...