Error messages during data transfer, Read out tachometer identification – Baumer PCD41 Benutzerhandbuch
Seite 11

PCD41
www.baumer.com
11
5.4. Read out tachometer identification
The identification data can only be read. The address is followed by two parameters: the instruction parameter
"I" (for identification) and the type parameter "T" (Type and programming number) or "D" (Date and hardware
version) for the different identification data.
Read out device type and programming number:
Address=35, Type=PCD41, Programming number=01
Command: <STX>35IT<ETX>
Answer: <STX>35PCD41 01<ETX><CR>
Read out date and version number:
Address=35, Date=05.05.98, Version number=1
Command: <STX>35ID<ETX>
Answer: <STX>35050598 1<ETX><CR>
6. Error messages during data transfer
If a wrong data protocol was sent by the PC to the tachometer (e.g. line that doesn’t exit or letter instead of
digit), then the tachometer – if it can still be reached – will return a corresponding error message. To still receive
an error message in case of an error, the control character <STX> as well as the address must at least be
correct. If this is not the case, the PCD41 can no longer be reached and is thus unable to respond to the PC.
If there is no response from the PC after polling, i.e. not even an error message, then a fatal error has occurred.
This might be the case if the control character <STX> or the address is missing – as already described above –
and if the interface parameters from the PC to the PCD41 do not match. Should these be correct however, then
it can only be a mistake in the hardware or on the data line.
General structure of the error messages:
<STX> Address Line Status <CAN> Error number <ETX> <CR>
Example: Address=35, Line=09 (invalid line), Error number=2
<STX>3509R<CAN>2<ETX><CR>
The two positions "Line" and "Status" are not applicable for error messages.
Particular error descriptions:
Error 1: Format error (<ETX> not at the right place). This error might happen, for
example, if the data format was not observed when programming (e.g.: when
programming the limit value, only 5 instead of 6 data positions are
transmitted)
Error 2: Line (position) not available or separating line
Error 3: Parameter error (inadmissible values in the protocol). This means, for
example, that the limit value consists not only of digits but also of
other inadmissible characters, or that a value given lies outside the
admissible
range.