Parameter commands – Baumer N 143 User Manual
Page 16
N 143
16 www.baumer.com
4.3. Parameter commands
Command
code
Data length
in bytes
read
write
Broad-
cast
Saved in
EEPROM
Significance
a (61h)
5
X
X
-
X
Read/write general parameters
b (62h)
8
X
X
-
X
Parameter: backlash compensation, tolerance
window
c (63h)
8
X
X
-
X
Parameter: Pitch scaling
g (67h)
12
X
X
-
X
Parameter: MIN, MAX limits
h (68h)
12
X
X
-
X
Parameter: Motor speed switching points
i (69h)
1
X
X
X
X
Parameter: mm / inch
j (69h)
3
X
X
X
X
Parameter: Timeout reply for bus error
k (6Bh)
9
X
X
-
X
Parameter: Motor system times
m (6Dh)
5
X
X
-
X
Read/write general parameters
x (78h)
5
X
X
-
X
Read/write specific parameters
4.3.1. Read/ write bit parameter standard „a“ (61h)
To make best use of the memory capacity, several parameters are compiled for packed transmission. Parame-
ter encoding is as follows:
Data1: 1 0 X X 0 X 0 X
┬ ──┬── ─┬─ ─┬─
│ │ │ └─── Positioning direction 0/1 (UP/DOWN)
│ │ └─────── Counting direction 0/1 (UP/DOWN)
│ └──────────── Arrows 0/1/2/3 (UP/DOWN/UNI/OFF)
└──────────────── 1
Data2: 1 0 0 X 0 X 0 X
┬ ┬ ─┬─ ─┬─ ─┬─
│ │ │ │ └─── Rounding of current value 0/1 (OFF/ON)
│ │ │ └─────── Turn display 0/1 (OFF/ON)
│ │ └─────────── Offset 0/1 (OFF/ON)
│ └────────────── reserved
└──────────────── 1
Data3: 1 0 0 0 0 0 X X
┬ ────┬──── ─┬─
│ │ └─── Hide target 0/1/2 (ON/OFF/EVER)
│ └────────── reserved
└──────────────── 1
Data4/5: 0 0 1 1 0 0 0 0
───┬───
└───── reserved
Note: Only the bits marked ‘X’ permit alteration. The permanent values ‚1’ and ‚0’ must remain unchanged since
otherwise control characters (characters < 20h) might be created which are not allowed in ASCII.
Exampe 1: Read out bit parameters (data 1 to data 3 = 80h; data 4 to data 5 = 30h)
SOH Adr Cmd EOT CRC
Transmission
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
Transmission
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
SOH Adr Cmd Data1 Data2 Data3 Data4 Data5 EOT CRC
Response
01h 20h 61h 80h 80h 80h 30h 30h
04h
F1