Error messages during data transfer – Baumer NE215 Benutzerhandbuch

Seite 16

Advertising
background image

NE215

16 www.baumer.com

Counter address=35, Line=03, P2=10.00
Further data=29.08.94 10:33:29
PC Command:
<STX>3503D29.08.94 10:33:29<ETX>

Printout:

29.08.94

10:33:29

P2

10.00m

Answer: <STX>3503D00001000<ETX><CR>

6.5. Printout of line 05: totalizer

Σ


The value of the totalizer is printed with the sign *. Similarly Date/Time will have to be sent along as with the XP
value, otherwise the same error message will be returned.

Example:

Counter address=35, Line=05,

Totalizer count

Σ

=001223.68,

Date_Time=29.08.94 10:34:52
PC Command:
<STX>3505D29.08.94 10:34:52<ETX>

Printout:

29.08.94

10:34:52

SUM

*001223.68m

Answer: <STX>3505D00122368<ETX><CR>

6.6. Printing via Key [Print] / [Druck]


If you press the key [Druck] during operation and if the value of the preselection counter XP, the preselection P1,
the preselection P2 or the totalizer

Σ are displayed, then the value will be indexed with the sign * as with the PC

command for the counter XP (line 01) and for the totalizer (line 05). There is no printout of any additional data.


7. Error messages during data transfer


If the PC sends a wrong data protocol to the NE215 (e.g.: line that does not exist or letter instead of digit), then
the counter will return a corresponding error message to the counter.
In order to still receive an error message after an error, the control character <STX> and the address must at
least be correct. If this is not the case, the data block received by the NE215 will not be considered, and the
counter will not respond to the PC.
If the PC does not receive a response after a request has been sent, i.e. not even an error message, then a fatal
error has occurred. This may be the case if the control character <STX> or the address are missing and if the
interface parameter of PC and NE215 are not congruent. Should these be correct, however, then it can only be a
matter of a failure of the hardware or of the data line.

General structure of the error messages:

<STX> Address Line Status <CAN> Error number <ETX> <CR>

Example: Address=35, Line=09 (non-valid line), Error number=2
<STX>3509R<CAN>2<ETX><CR>


The two positions "Line" and "Status" will not occur with the special commands.
Error description in particular:

Error 1 : Format error (<ETX> not in the correct position)

This error may occur for example if the data format has not been
observed when programming (e.g.: when programming the
preselection, only 5 digits instead of 6 are transmitted).


Advertising