Output to the printer – Baumer NE215 Benutzerhandbuch
Seite 14

NE215
14 www.baumer.com
5.3. Readout of counter identification
It is only possible to read the identification data.
Two parameters follow the address: the command parameter "I" (for identification) and the selection parameter
"T" (Type and programming number) or "D" (date and version) for the different identification data.
Type of counter and readout of programming number:
Address=35, Type=NE215, Programming number=03
Command: <STX>35IT<ETX>
Answer: <STX>35NE215 03<ETX><CR>
Readout of date and version number:
Address=35, Date=16.02.95, Version number =01
Command: <STX>35ID<ETX>
Answer: <STX>35160295 1<ETX><CR>
5.4. Readout of error message
If an error message occurs during operation of the NE215 ("Error" and a digit are displayed), the mode byte
(usually "R" or "P") will be indexed by the ASCII character "E", thus signalizing to the PC that an error has
occurred at the counter.
The error itself can now be read out via the special command "E".
General: <STX> Address E <ETX>
Example: Address=35, Status=Error mode, Error=7
Command: <STX>35E<ETX>
Answer: <STX>35Error 7<ETX><CR>
5.5. Clearing the error message
This command allows to clear error messages appearing on the NE215 display. It is only possible to clear the
error message that can be cleared via the C key on the device itself (e.g.: not Error 1 or 2). The contents of the
current line will be returned as an answer.
Address=35, Status=Error mode, Error=7, Line=01, Count=25.00
Command: <STX>35<ACK><ETX> <ACK> = 06H
Answer:
<STX>3501R00002500<ETX><CR>
6. Output to the printer
The command parameter "D" allows the initiation of the output of the lines 01, 02, 03 and 05 to the printer.
6.1. Appearance of the printout
The printout comprises
− date and time that need to be sent along by the PC upon a print command
− optionally further data, which the PC may send along
− the length measurement needing to be calibrated, indexed by the sign *.
Example:
29.08.94
10:30:45
LENGTH*000123.45m