Readout counter identification, Read error alarm, Clear error alarm – Baumer NE230 Benutzerhandbuch

Seite 12

Advertising
background image

NE230

12 www.baumer.com

5.3. Readout counter identification

Identification data are read only. The counter identification is followed by two parameters. The command
parameter “I” (identification) as well as the selective parameters “T” (type and program number) or “D” (date and
hardware version) for the several identification data.

Read device type and program number:

Identification =35, type=NE230, program number=01
Command: <STX>35IT<ETX>
Reply :

<STX>35NE230

01<ETX><CR>



Read version number:

Identification =35, date=05.05.97, version number=1.00
Command: <STX>35IV<ETX>
Reply:

<STX>35 1.00<ETX><CR>



Read date and hardware version number:

Identification =35, date=04.04.01, hardware version no.=1
Command: <STX>35ID<ETX>
Reply:

<STX>35040401 1<ETX><CR>

5.4. Read error alarm

In case of an error alarm during NE230 operation (display is showing „error“ together with a number), the mode
byte (normally „R“ or „P“) is heading the ASCII- sign „E“ in data transmission, thus informing the PC about an
error having curred at the counter. Operating function will only remain in case of “Err07”. All other error alarms
mean a fatal error with interface failure.
The special command “E” is for reading the error number as follows:

General: <STX> identification E <ETX>

Example: identification=35, status = error mode, Error=7
Command: <STX>35E<ETX>
Reply:

<STX>35E7<ETX><CR>

5.5. Clear error alarm

This command is for clearing the error alarm in the NE230 display.
Clearing is only possible with error alarms that also might be cleared by the counter’s C-key (example: neither
error 1 nor 2). Replied is the content of the actual line.

identification=35,status=error mode, error=7, line=01, counter value=2500

Command:

<STX>35<ACK><ETX> <ACK> = 06H

Reply:

<STX>3501R002500<ETX><CR>


Note: If it is an empty line without any data (i.e. line 10) the error alarm "<CAN><NUL>" will be replied.


Advertising