Read / write bit parameter motor „m“ (6dh) – Baumer N 153 User Manual
Page 17
N 153
www.baumer.com
17
4.3.2. Read / write bit parameter motor „m“ (6Dh)
To exploit maximum memory capacity, several parameters are put together and transferred as “data pack” un-
der the following parameter codes:
Data1: 1 0 0 0 0 X 0 X
┬ ──┬── ─┬─ ─┬─
│ │ │ └─── TASTE key assignment 0/1 (UP/DOWN)
│ │ └─────── RICHTG motor direction
0/1 (UP/DOWN)
│ └──────────── reserved
└──────────────── 1
Data2: 1 0 X X 0 0 0 0
┬ ──┬── ┬ ──┬──
│ │ │ └──── reserved
│ │ └──────── reserved
│ └──────────── shaft
type
0/1
(R/A)
└──────────────── 1
Data3: 1 0 0 0 0 X X X
┬ ┬ ─┬─ ┬ ──┬──
│ │ │ │ └──── GROUP
0 – 7 (group1/group2/…/group8)
│ │ │ └──────── reserved
│ │ └─────────── reserved
│ └────────────── reserved
└──────────────── 1
Data4/5: 0 0 1 1 X X X X 0 0 1 1 X X X X
───────┬─────── ───────┬───────
│ └──────── reserved
└─────────────────────────── reserved
Important: Only bits marked ‘X’ may be altered. The permanent values „1“ and „0“ must not be altered since
thereby a control token ( tokens < 20h) might be created what is not permitted in ASCII.
Example 1: read bit parameter (data 1 to data 3 = 80h; data 4 to data 5 = 30h)
SOH Adr Cmd EOT CRC
Transmission
01h 20h 6Dh 04h 56h
Bit parameter default
Example 2: write bit parameter (key assignment = down; motor direction = Down)
SOH Adr Cmd Data1 Data2 Data3 Data4 Data5 EOT CRC
Transmission
01h 20h 6Dh 81h 84h 80h 30h 30h
04h
92h
SOH Adr Cmd Data1 Data2 Data3 Data4 Data5 EOT CRC
Response
01h 20h 6Dh 81h 84h 80h 30h 30h
04h
92h
SOH Adr Cmd Data1 Data2 Data3 Data4 Data5 EOT CRC
Response
01h 20h 6Dh 80h 80h 80h 30h 30h
04h
F2h