Baumer NE215 Benutzerhandbuch

Seite 15

Advertising
background image

NE215

www.baumer.com

15

6.2. Printout of the XP value


The protocol addressed to the NE215 is as follows:

Counter address=35, Line=01, Count XP=000223.68
PC Command:
<STX>3501D<Date_Time><Data><ETX>


<Date_Time> must be given in the following format: <TT.MM.JJ hh:mm:ss> / <DD.MM.YY hh:mm:ss>

TT:

Tag MM:

Monat JJ:

Jahr

hh:

Stunden mm:

Minuten ss:

Sekunden


DD:

Day MM:

Month YY:

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.)

<Data>:

Up to 11 data at choice may additionally be sent to the NE215, which will then also be printed. The
sign * should not occur, otherwise it will be ignored by the NE215, 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 NE215 will automatically trigger a carriage return so that the length indication will always stand on a
separate line.

Example:

Date_Time=29.08.94 10:32:20
PC Command:
<STX>3501D29.08.94 10:32:20<ETX>


Printout:

29.08.94

10:32:20

LENGTH*000223.68m


The NE215 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:

<STX>3501D00022368<ETX><CR>

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 NE215 sends an error message to the PC.

Answer: <STX>3501D<CAN>4<ETX><CR>

6.4. Printout of the lines 02, 03: preselections P1 and P2


As these are not length measurements that need to be calibrated, the value of the preselections P1 and P2 is
not printed with the sign *, and it is also not necessary that the PC sends Date/Time along.

Examples:

Counter address =35, Line=02, P1=1.00
Further data=29.08.94 10:33:18
PC Command:
<STX>3502D29.08.94 10:33:18<ETX>

Printout:

29.08.94

10:33:18

P1

1.00m

Answer: <STX>3502D00000100<ETX><CR>

Advertising