Error signals in data transfer, Readout of tacho identification, Readout of error message – Baumer TA202 Benutzerhandbuch

Seite 12: Deletion of error messages

Advertising
background image

TA202

12 www.baumer.com

5.3. Readout of tacho identification

Identification data are read only. The address is followed by two parameters. Command parameter „I„ (for
identification) and selective parameters „T„ (type and program number) or „D„ (date and hardware version) for
the several identification data.

Readout of type and program number:

Address=35, Type=TA202, Program number=01
Command: <STX>35IT<ETX>
Reply: <STX>35TA202 01<ETX><CR>

Readout of date and version number:

Address=35, Date=30.03.93, Version number=1
Command: <STX>35ID<ETX>
Reply: <STX>35300393 1<ETX><CR>

5.4. Readout of error message

If an error message („Error„ followed by a number ) appears on the display during operation of TA202, with each
data transfer the mode Byte (normally „R„ or „P„) will lead the ASCII sign „E„, thus signalizing the PC that an
error occured at the tachometer. The tachometer only remains in function with error message „Err 07„. All other
errors are fatal ones disabling any interface activity.
The special command „E„ is releasing readout of the error number.

General: <STX> Address E <ETX>

Example: Address=35, Status=Error mode, Error=7
Command: <STX>35E<ETX>
Reply: <STX>35E7<ETX><CR>

5.5. Deletion of error messages

This command allows deletion of error messages appearing on the display of TA202. Only those error
messages allowing also deletion by C-key on the device itself can be deleted (for example not Error 1 or 2).
Replied is the content of the current line.

Example: Address=35, Status=Error mode, Error=7, line=01, value displayed=2500
Command: <STX>35<ACK><ETX> <ACK> = 06H
Reply: <STX>3501R002500<ETX><CR>

Note: In case the tachometer is located on a blind line that does not contain any data (for example line 10), the
error message replied is "<CAN><NUL>".

6. Error signals in data transfer

Should the tacho receive a wrong data protocol by the PC (for example: not existing line or letters instead of
numbers) the tacho will reply by a corresponding error message, provided it still remains in responsive status. In
order to receive an error message in case of error, at least the control sign <STX> and address have to be
correct. If not, the tacho is no longer capable of responding and thus will not return any reply to the PC.
If there is no reply obtained upon request by PC, neither any error message, the error is a fatal one. This might
happen as already mentioned above if the control sign <STX> or address are missing and as soon as the
interface parameters of PC and tacho are not compatible. In case these are correct, however, the error is
resulting from the hardware or data line.

General structure of error messages:

<STX> address line status <CAN> error number <ETX> <CR>

Example: address=35, line=09 (void line), error number=2
<STX>3509R<CAN>2<ETX><CR>

In the error message both „line„ and „status„ are being omitted.


Error description in detail:

Advertising