3 read-out of counter identification, 4 indexing lines at the counter, 5 read-out of error messages – Baumer NE213 Benutzerhandbuch
Seite 12: 6 cancellation of error messages

NE212 / NE213
12 www.baumer.com
5.3 Read-out of counter identification
Identification data are read-only. Following the address are two parameters. The command parameter „I“ (for
identification) and the selection parameter T (type and program number) or D (date and version) for the various
identification data.
Read-out of counter type and program number:
Address=35 type=NE212, program number=01
Command <STX>35IT<ETX>
Response <STX>35NE212 01<ETX><CR>
Read-out of date and version number:
Address=35 date=16/06/92, version number = 02
Command <STX>35ID<ETX>
Response <STX>35160692 1<ETX><CR>
5.4 Indexing lines at the counter
The command indexes the counter on the next line. If the counter is in the RUN mode or PGM mode, only the
lines in the RUN mode or PGM mode can be addressed. The command has the same function as actuating the
key ➨at the counter.
Address=35 line=01, status=RUN mode; presel. value P1=123
Command <STX>35<LF><ETX> <LF> = 0AH
Response <STX>3502R000123<ETX><CR>
In this example, the counter has been indexed from line 1 to line 2. As a response, the contents of
the second line (here preselection value P1) are fed back.
5.5 Read-out of error messages
If an error message occurs during operation of the NE 212 (the display reads „Error“ and the number), the mode
byte (normally „R“ or „P“) is replaced by the ASCII character „E“, so signaling to the PC that an error has
occurred at the counter. The error itself can now be read out using the special command „E“
General: <STX> address E <ETX>
Example: Address=35 status=error mode; error
Command <STX>35E<ETX>
Response <STX>35Error 7<ETX><CR>
5.6 Cancellation of error messages
Using this command, error messages occurring in the display of the NE 212 can be cancelled., i.e.
acknowledged. Only those error messages can be cancelled which can also be cancelled using the key ➨ at the
device itself. (e.g.: error 1 or 2). The contents of the current line are feedback as a response.
Address=35 status=error m.; error=7, line=01, counter stat.=2500
Command <STX>35<ACK><ETX> <ACK> = 06H
Response <STX>3501R002500<ETX><CR>