beautypg.com

Baumer NE216 User Manual

Page 2

background image

NE216

2

www.baumer.com

2. Reading of memory locations


All memory locations indexed with a line number in the programming scheme enable read out (except the
separating lines that are indexed by dashes).
The protocol: Address Line [] can be used for each line.
The counter response may vary in protocol length from one line to the other, since it depends on the data
length of the respective memory location.
NE216 allows for read out both in RUN and PGM mode. The only difference lies in the counter response
which will come with an "R" or a "P" in the mode parameter, as described in the following.

Response to a Read instruction (general):

identifier line mode data

Mode P= NE216 is in programming (PGM) mode

R= NE216 is in RUN mode

VZ Negative sign, only transferred with negative values

Data max. total of digits, with preceding zeroes w/o decimal point

(Exception: line 6 – with decimal point)

2.1. Examples for reading memory locations

The following applies to the examples below:
Counter address (Identifier) = 35; Counter mode = R (RUN-mode)

Read main counter PC (line=01, displayed value =1500)

Request: 3501

Reply: 3501R001500

Read scaling factor SF (line=07, parameter =1.0000)

Request: 3507

Reply: 3507R01.0000


Read count mode (line =30, parameter = Pos. 3)

Request: 3530

Reply: 3530R3

(3 meaning track A90ºB single evaluation)


Read device address (line=54, device address=35)

Request: 3554

Reply: 3554R35