Ne215 open interface description – Baumer NE215 User Manual

Page 27

Advertising
background image

27

NE215

Open interface description

7.5.2 Switch counter to PGM mode or RUN mode

This command allows you to switch the counter upon every call
between the PGM mode and the RUN mode.
The current line, as with the reading command on this line, will be
returned as an answer.

General:

<STX> Address <DC1> <ETX>

Example:

Address=35, Status=RUN mode, Current line = 1, Count=0.15

Command:

<STX>35<DC1><ETX> <DC1> = 11Hex

Answer:

<STX>3501P00000015<ETX><CR>

If the instruction is repeated, the program switches back to the RUN
mode.

Command:

<STX>35<DC1><ETX>

Answer:

<STX>3501R00000015<ETX><CR>

7.5.3 Read out 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.

Readout device type and programming number:

Address=35, Type=NE215, Programming number=03

Command:

<STX>35IT<ETX>

Answer:

<STX>35NE215 03<ETX><CR>

Readout date and version number:

Address=35, Date=16.02.95, Versions number=01

Command:

<STX>35ID<ETX>

Answer:

<STX>35160295 1<ETX><CR>

7.5.4 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 program-
ming number) or „D“ (date and version) for the different
identification data.

General:

<STX> Address E <ETX>

Example:

Address=35, Status=Error mode, Error=7

Command:

<STX>35E<ETX>

Answer:

<STX>35Error 7<ETX><CR>

7.5.5 Clearing the error message

This command allows to clear error messages appearing on the
counter 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>

Advertising