Error messages during data transfer, Chart of the control characters applied – Baumer NE216 User Manual

Page 5

Advertising
background image

NE216

www.baumer.com

5

5. Error messages during data transfer

If receiving an invalid data protocol from the PC (for example line not existing or letters where there should
be numbers) the counter

– provided it is still accessible - will return a corresponding error message. To be

able to do so, at least control character <STX> and identifier must be correct. If not, NE216 is no longer ac-
cessible and therefore not in a position to reply any error message to the PC.
In case no reply neither error message is replied on the PC request, it is a fatal error which means control
character <STX> and identifier are missing. Furthermore, PC and NE216 interface parameters are not con-
gruent. However these being correct, the failure is due to hardware or a defect in the data transmission line.


Standard structure in error messages:

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

Example: Identifier =35, Line =09 (invalid line), error number =2
<STX>3509R<CAN>2<ETX><CR>

The error message replied will come without „line“ and „status“ information.

Detailed error description:


Error 1: Format error (incorrect <ETX> position. This signal is given in case

the data format was not kept during programming (for example during
parameterization of a limit only 4 digits instead of 5 have been
transferred).)


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

Error 3: Parameter error (invalid protocol data). Example: Scaling factor not

only comprising numbers but also of other characters not permitted, or
parameter beyond the permitted range.


6. Chart of the control characters applied

Control character

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