Error alarms in data transmission, Chart of control signs applied – Baumer NE230 Benutzerhandbuch

Seite 13

Advertising
background image

NE230

www.baumer.com

13

6. Error alarms in data transmission


Upon receiving a wrong data protocol by PC (for example: not existing line or letters instead of numbers) the
counter will reply by a corresponding error alarm, provided the counter is still capable of responding. To enable
an error alarm in case of error, at least control sign <STX> and counter identification have to be correct. If not,
NE230 is no longer capable of responding and will not reply.
If there is no reply upon a PC query neither an error message, the error is a fatal one. As mentioned, this might
happen if control sign <STX> or counter identification are missing and as soon as the interface parameters of
PC and NE230 are not congruent. Otherwise the error is resulting from hardware or data line.



General structure of error messages:

<STX> identification line status <CAN> error number <ETX> <CR>

Example:

identification=35, line=09 (void line), error number=2

<STX>3509R<CAN>2<ETX><CR>

The error alarm will omit both „line“ and „status“.

Error description in detail:

Error 1: Format error (incorrect location of(<ETX>).This error will occur in case

the data format was not kept during programming (example: upon
programming the start count only 5 data digits instead of 6 are being
transmitted


Error 2: line (position) not existing or separating line

Error 3: Parameter error (void values in the protocol). Example: the scaling

factor is not composed by numbers but of void signs, or a value is beyond
the permitted range.


7. Chart of control signs applied

Control sign

Hex

Decimal

<STX> 02

02

<ETX> 03

03

<ACK> 06

06

<LF> 0A

10

<CR> 0D

13

<DC1> 11

17

<CAN> 18

24

<DEL> 7F

127















Advertising