Baumer N 150 Panduan Petunjuk Pengoperasian - Halaman 11

Jelajahi secara online atau unduh pdf Panduan Petunjuk Pengoperasian untuk Peralatan Industri Baumer N 150. Baumer N 150 21 halaman.

4.3. Parameter commands

Command
Data amount
code
in bytes
a (61h)
5
b (62h)
8
c (63h)
8
i (69h)
1
4.3.1. Read / write bit parameter „a" (61h)
To exploit maximum memory capacity, several parameters are put together and transferred as "data pack"
under the following parameter codes:
Data1:
1 0 X X 0 X 0 X
┬ ──┬── ─┬─ ─┬─
└────────────
└────────────────
Data2:
1 0 0 X 0 X 0 X
┬ ┬ ─┬─ ─┬─ ─┬─
│ │
│ │
│ │
└───────────
│ └──────────────
└────────────────
Data3:
1 0 0 0 0 X X X
┬ ───┬─── ┬ ─┬─
└───────────
└────────────────
Data4/5:
0 0 1 1 0 0 0 0
Important: Only the bits marked 'X' may be altered. The permanent parameters „1" and „0" must not be altered
since this might create a control token ( tokens < 20h) what is not permitted in ASCII protocol.
Example 1: read bit parameter (data1 to data3 = 80h; data4 to data5 = 30h)
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Example 2: write bit parameter (positioning direction = down; turn display = On)
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
read
write
Broad-
cast
X
X
X
X
X
X
X
X
X
└───
positioning direction 0/1
└───────
counting direction
arrows
1
└───
round actual value
└───────
turn display
offset
reserved
1
└───
suppress target
└──────
resolution
reserved
1
───┬───
└─────
reserved
Cmd
EOT
CRC
61h
04h
4E
Cmd
Data1 Data2 Data3 Data4 Data5
61h
80h
80h
80h
Cmd
Data1 Data2 Data3 Data4 Data5
61h
81h
84h
80h
Cmd
Data1 Data2 Data3 Data4 Data5
61h
81h
84h
80h
www.baumer.com
Save in
Significance
EEPROM
-
X
Read/write general parameters
-
X
Parameter: Tolerance compensation, window
-
X
Parameter: scaling of spindle pitch
X
Parameter: mm / inch
0/1
0/1/2/3
0/1
0/1
0/1
0/1/2
0/1
EOT
CRC
04h
F1
30h
30h
EOT
CRC
04h
91h
30h
30h
EOT
CRC
04h
91h
30h
30h
(UP/DOWN)
(UP/DOWN)
(UP/DOWN/UNI/OFF)
(OFF/ON)
(OFF/ON)
(OFF/ON)
(ON/OFF/EVER)
(1/100;1/10)
b
it parameter default
N 150
11