Error signals in data transfer, Chart of control tokens applied, Read tacho identifier – Baumer TA134 Benutzerhandbuch

Seite 11

Advertising
background image

TA134

www.baumer.com

11

5.4. Read tacho identifier

Identification data are read only.The identifier is followed by two parameters: Command parameter „I“
(identification) and either parameter „T“ (type and software version), or “D“ (date and hardware version).

Read device type and software version:

Identifier=35, Typ=TA134, software version=01

Command: <STX>35IT<ETX>

Response: <STX>35TA134 01<ETX><CR>


Read data and version number:

Identifier=35, data=02.10.97, version number=1

Command: <STX>35ID<ETX>

Response: <STX>35021097 1<ETX><CR>


6. Error signals in data transfer

In case the tachometer receives a void data protocol by PC (for example not existing line or letters instead of
numbers) the tachometer gives a corresponding error signal, provided it is still in operating status. To get an
error signal in case of error, at least control token <STX> and identifier have to be correct. If not, TA134 is not in
operating status anymore and therefore not in a position to return an error signal to the PC.
If no reply neither an error signal is received upon PC request it is a fatal error. As previously mentioned, either
control sign <STX> or identifier are missing or there is no data congruence of PC and TA 134 interface
parameters. Should these however be correct it is a hardware or data line error.

Standard error signal structure:

<STX> identifier line mode <CAN> error number <ETX> <CR>

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

Detailed error explanations:

Error 1:

Format error (incorrect <ETX> position. This signal is given in case the

data format was not kept during programming (for example during parame

terization of a limit only 5 digits instead of 6 were transferred).


Error 2:

Line (position) not existing or separating line


Error 3:

Parameter error (void data in protocol). Example: Limit value not only

consisting of numbers but also of void tokens, or a parameter is beyond

the permitted range.


7. Chart of control tokens applied

Control token

Hex

decimal

<STX> 02

02

<ETX> 03

03

<LF> 0A

10

<CR> 0D

13

<DC1> 11

17

<CAN> 18

24

<DEL> 7F

127






Advertising