Baumer TA202 Benutzerhandbuch

Seite 10

Advertising
background image

TA202

10 www.baumer.com

3. Reading memory location

All data storage places provided with a line number in the programming plan (except the separating lines which
are marked by dashes) allow read out.
The protocol:<STX> address line <ETX>[<CR>] may be applied to each line.
However, the tacho’s reply may differ in length of the protocol from line to line depending on the data volume of
the respective data storage place.
TA202 allows data readout both in RUN and PGM mode. The only difference lies in mode parameter „R„ or „P„,
that is replied by the tacho as described in the following.

Answer to a Read command (general):

<STX> address line mode data <ETX> <CR>

mode P=TA202 is in programming mode
R=TA202 is in RUN mode
data max. digit number, with preceding zero digits w/o decimal point

3.1. Examples for readout of storage data

For the example below he following settings do apply:
Device address = 35; tacho mode = R (RUN mode)

Readout of tacho value F1 (line=01, display value=1500)
Question: <STX>3501<ETX>
Reply:

<STX>3501R001500<ETX><CR>


Readout of operation mode (line=21, Setting=Pos. 2)
Question: <STX>3521<ETX>
Reply: <STX>3521R2<ETX><CR> (2 corresponds to stretching)

Readout of evaluation factor BF1 (line=25, setting=01,0000)
Question: <STX>3525<ETX>
Reply: <STX>3525R01.0000<ETX><CR>

Readout of device address (line=54, device address=35)
Question: <STX>3554<ETX>
Reply: <STX>3554R35<ETX><CR>

4. Writing memory locations

All data storage places provided with a line number in the programming plan can be programmed, except for the
separating lines (marked by dashes) and lines 1..4.
The protocol: <STX> address line P data <ETX> [<CR>) may be applied to each line.
The reply returned by the tachometer after each individual programming process is the same as for readout of
the respective line.
All data storage places can be programmed both in RUN and PGM mode.

Programmation in RUN mode:
All parameters except lines 51-54 (interface parameters) are active immediately after being programmed.
Internal storage of interface data is not effected before the PGM mode is not changed into RUN mode,
thus allowing a data traffic without any problems. For switching the device to PGM mode please refer to chapter
5.2.
All parameters programmed in RUN mode, except the limit values P1, P2 (lines 5, 6) are only stored in a
non-volatile way after having changed the mode from PGM to RUN. If there is no switchover PGM/RUN,
the former data become active anew in case of power loss.

Command Write (general):

<STX> address line P data <ETX> [<CR>]

Advertising