Ne215, Open interface description – Baumer NE215 User Manual
Page 28

28
NE215
7.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.
7.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
7.6.2 Printout of the XP values
The protocol addressed to the counter is as follows:
Counter address=35, Line=01, Count XP=000223.68
PC Command:
TT: Tag
MM: Monat
JJ: Jahr
hh: Stunden mm: Minuten
ss: Sekunden
TT:Day
MM: Month
JJ: Year
hh: Hour
mm: Minutes
ss: Seconds
All values must be 2-digit values and the punctuation must be
observed. (The characters < bzw. > / < and/or > only serve the
purpose of indexing and should not be transmitted.)
:
Up to 11 data at choice may additionally be sent to the counter,
which will then also be printed. The sign * should not occur,
otherwise it will be ignored by the counter, i.e. it will not be sent to
the printer.
Date and time serve the purpose of clearly allocating the printed
length measurement to the data of the PC. After printing, the
counter will automatically trigger a carriage return so that the length
indication will always stand on a separate line.
Example:
Data_Time=29.08.94 10:32:20
PC Command:
Printout:
29.08.94 10:32:20
LENGTH*000223.68m
The counter will only respond to the PC when all characters have
been sent to the printer. The protocol then returned will contain the
value emitted to the printer:
Answer:
7.6.3 Error message
If the PC does not send the date and the time as described above,
i.e. date/time are not complete or the punctuation is wrong, there
will be no printout and the counter sends an error message to the
PC.
Open interface description