beautypg.com

Baumer BA Series09 US RS232 User Manual

Page 11

background image

Bedienungsanleitung_Series09-US_RS232_V1_e.doc

11/11

Baumer Electric AG

26.03.2013 14:43:00/tof

Frauenfeld, Switzerland

Teach-in of SDC

{0X}

{0XA01}

Teach-in successful, the
present object position is
stored as SDC

Teach-in of SDE

{0Y}

{0YB03}

Teach-in not successful,
Teach-in range as
defined in the factory
settings is downloaded

Get Configuration

{0V}

{0VBADC1A1218110
27010000ab53}

Configuration:
B: relative measurement
A: ASCII for periodical
measurements
D: highest sensitivity
C: 4 times averaged
1: Temperature
compensation ON.
A121: P-Code
811027:
SW doc no
010000: SW Version
ab: Identification
52: Check sum

Set configuration

{0UABAF0} {0UABAF047}

Configuration:
A: absolute
measurement
B: Binary for periodical
measurement
A: lowest sensitivity
F: 32 averagings
0: temperature
compensation OFF
47: Check sum

Write 2 Byte(Identification)

{0N01}

{0N0123}

01 written to the sensor

Read 2 Byte (Identification)

{0O}

{0O0124}

01 read from the sensor

Single measurement

{0M}

{0M11140121}

1: Object within range
1: Echo width big
1401: measured value

Start permanent periodical
data output

{0P}

{0P28}

This is the first answer,
data follows suit

Error messages (examples)

Error

Sent

Received

Explanation

Wrong address

{3M}

{0EA82}

A = Wrong address

Temperature compensation ON
sent with wrong parameter (3
instead of 1)

{0G3}

{0EP97}

P = impermissible
parameter

Wrong command

{0W}

{0EU02}

U = unknown command

EOF forgotten

{0M

{0ET01}

T = after SOF before
EOF more than 0.5s
distance between 2
characters

One ‚0’ too many

{0M0}

{0EF87}

F = Framing error =
wrong string length