Baumer NE230 Benutzerhandbuch

Seite 10

Advertising
background image

NE230

10 www.baumer.com

3. Memory location readout

All memory locations provided with a line number in the programming plan allow readout (except for the
separating lines which are marked by dashes).
The protocol: <STX> identification line <ETX> [<CR>] may be applied to each line.
However, the counter’s reply may differ in length of the protocol from line to line depending on the data capacity
of the respective memory location.
NE230 enables readout in both RUN and PGM mode. The only difference is in the replied mode parameter “R”
or “P”, as described below:

Reply to a read command (standard):

<STX> identification line mode [VZ] data <ETX> <CR>

Mode

P=NE230 is in programming mode

R=NE230 is in RUN mode
VZ Pre-sign. Only transmitted if negative
data max. digit number, with leading zeroes w/o decimal point
(exception: line 23 – with decimal point)

3.1. Examples for reading memory locations

For the example below the following settings do apply:
Device ID (identification) = 35 counter mode = R (RUN-mode)

Read main counter value XP (line=01, counter value=1500)

Query: <STX>3501<ETX>

Reply:

<STX>3501R001500<ETX><CR>


Read counter mode (line=25, setting = Pos. 3)
Query: <STX>3525<ETX>
Reply: <STX>3525R3<ETX><CR>

(3 corresponds to track A90ºB single evaluation)


Read scaling factor SF (line=07, setting=01,0000)
Query: <STX>3507<ETX>

Reply: <STX>3507R01.0000<ETX><CR>


Read device identification (line=54, device ID=35)
Query: <STX>3554<ETX>
Reply: <STX>3554R35<ETX><CR>

4. Programming memory locations

All memory locations (programming lines) provided with a number in the programming plan allow programming,
except for the separating lines (marked by dashes) and lines 1, 5 and 6.
The protocol: <STX> identification line P [VZ] data <ETX> [<CR>] may be applied to each line.
The counter reply upon each individual programming step is the same as for readout of the respective line.
All memory locations allow programming both in RUN and PGM mode.

Programming in RUN mode:
Parameters of the lines 22,23,25-29,31,41/1,44,51-54 and 56 will only be memorized after having switched
from PGM mode to RUN mode.
Switching to PGM mode please refer to 5.2. Parameters of the remaining lines
will become active immediately after programming.
All data programmed in RUN mode are only entered into the non-volatile memory after having switched
from PGM to RUN mode. If there is no switchover PGM/RUN, prior data will become active anew in case
of power loss.

Write command (standard):

<STX> identification line P [VZ] data <ETX> [<CR>]

Advertising