beautypg.com

3 parameter commands and their significance, 1 read / write bit parameters „a“ (61h), Parameter significance – Baumer N 155 User Manual

Page 10

background image

N 155

www.baumer.com

10

4.3 Parameter commands and their significance

4.3.1 Read / write bit parameters „a“ (61h)

To exploit the maximum storage capacity, several parameters are put together and transferred as “pack”.
Parameter codes as follows:

Data1: 1 0 X X 0 0 0 0

┬ ──┬── ───┬───

│ │ └───── reserved

│ └──────────── arrows 0/1/2/3 (UP/DOWN/UNI/OFF)

└──────────────── 1

Data2: 1 0 0 X 0 X 0 0

┬ ┬ ─┬─ ─┬─ ─┬─

│ │ │ │ └─── reserved

│ │ │ └─────── turn display 0/1 (OFF/ON)

│ │ └─────────── offset 0/1 (OFF/ON)

│ └────────────── reserved

└──────────────── 1

Data3: 1 0 X X X 0 X X

┬ ┬ ──┬── ┬ ─┬─

│ │ │ │ └─── hide target 0/1/2 (ON/OFF/EVER)

│ │ │ └────── resolution 0/1 (1/100 or 1/10)

│ │ └────────── decimal point 0/1/2/3/4/5 (AUTO/OFF/0.0/0.00

│ │ 0.000/0.0000)

│ └────────────── reserved

└──────────────── 1

Data4/5: 0 0 1 1 X X X X

───┬───

└───── reserved


Important: Only bits marked ‘X’ may be altered. The fix values „1“ and „0“ must not be altered since thereby a
control token (tokens < 20h) might be created what is not allowed in ASCII protocol.

Example 1: Read bit-parameters (Data1 to Data3 = 80h; Data4 to Data5 = 30h)

SOH

Adr

Cmd

EOT

CRC

Send

01h

20h

61h

04h

4E

Bit parameter default


Example 2: Write bit parameters (positioning direction = Down; turn display = On)

SOH

Adr

Cmd Data1 Data2 Data3 Data4 Data5

EOT

CRC

Send

01h

20h

61h

81h

84h

80h

30h

30h

04h

91h

SOH

Adr

Cmd Data1 Data2 Data3 Data4 Data5

EOT

CRC

Response

01h

20h

61h

81h

84h

80h

30h

30h

04h

91h


Parameter significance

Arrows
This parameter is for displaying arrows intended as support for the editing engineer. They indicate the direction for
the new setting (clockwise or counter clockwise, up or down). The following settings are possible

00 = Up

If current value < target: arrow at the right; current value > target: arrow at the left

01 = Down

Similar to „Up“, but direction of the arrows the other way round

10 = Uni

If current value ≠ target: always indicate both arrows

11 = Off

Arrows always hidden




SOH

Adr

Cmd Data1 Data2 Data3 Data4 Data5

EOT

CRC

Response

01h

20h

61h

80h

80h

80h

30h

30h

04h

F1