Ne215 open interface description – Baumer NE215 User Manual

Page 29

Advertising
background image

29

NE215

Open interface description

Answer:

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

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

Example:

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

Answer:

<STX>3502D00000100<ETX><CR>

Counter address=35, Line=03, P2=10.00

Further data=29.08.94 10:33:29

PC Command: <STX>3503D29.08.94 10:33:29<ETX

Printout:

29.08.94 10:33:29
P2

10.00m

Answer:

<STX>3503D00001000<ETX><CR>

7.6.5 Printout of Line 05: totalizer

Σ

The value of the totalizer is printed with the sign *. Similarly Date/
Time will have to be sent along as with the XP value, otherwise the
same error message will be returned.

Example:

Counter address=35, Line=05,

Totalizer count

Σ

=001223.68,

Data_Time=29.08.94 10:34:52

PC Command: <STX>3505D29.08.94 10:34:52<ETX>

Printout:

29.08.94 10:34:52
SUM *001223.68m

Answer:

<STX>3505D00122368<ETX><CR>

7.6.6 Printing via key [Print] / [Druck]

If you press the key [Druck] during operation and if the value of the
preselection counter XP, the preselection P1, the preselection P2 or
the totalizer

Σ

are displayed, then the value will be indexed with the

sign * as with the PC command for the counter XP (line 01) and for
the totalizer (line 05). There is no printout of any additional data.

7.7

Error messages during data transfer

If the PC sends a wrong data protocol to the counter (e.g.: line that
does not exist or letter instead of digit), then the counter will return a
corresponding error message to the counter. In order to still receive
an error message after an error, the control character <STX> and the
address must at least be correct. If this is not the case, the data
block received by the counter will not be considered, and the
counter will not respond to the PC. If the PC does not receive a
response after a request has been sent, i.e. not even an error
message, then a fatal error has occurred. This may be the case if the
control character <STX> or the address are missing and if the
interface parameter of PC and counter are not congruent. Should
these be correct, however, then it can only be a matter of a failure of
the hardware or of the data line.

Advertising