Baumer N 150 Panduan Petunjuk Pengoperasian - Halaman 18

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

4.5.3. Read version, type or serial number „X" (58h)
This command is utilized to read version number, device type or serial number. The following sub-commands
are available:
Data = V (56h) = read version
Data = T (54h) = read device type
Data = S (53h) = read serial number
Example 1: Read version number
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Example 2: Read device type (device type = N 150; software version = 01)
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Code configuration of the transmitted device type:
1 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1
┬ ──────┬──────
┬ ───────┬─────
└──────────────── permanent 1
└────────────────────────── device type 10h = N 150
└────────────────────────────────── permanent 1
Example 3: Read serial number
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Code configuration of the transmitted serial number:
The Low-Nibble (lower 4 bits of a byte) of the 8 data bits received equal together a 4 byte value comprising the
serial number.
The serial number is composed by date and time of production. Since also the seconds are coded and by
assigning only one number per second the serial number is unique.
Example: serial number for 01.06.2005 16:58:36 = 15 83 0E A4 hex
X X X X X X X X
X X X X X X X X
J J J J J J M M
M M T T T T T h
0 0 0 1 0 1 0 1
1 0 0 0 0 0 1 1
─────┬───── ────┬──── ────┬──── ─────┬───── ──────┬────── ─────┬─────
└────────────────────────────────────────────────────── month
└───────────────────────────────────────────────────────────────── year 00 0101 = 05h = 05d
Cmd
Data
EOT
CRC
58h
56h
04h
D8h
Cmd
Data
Version number = 2.00
58h
56h
20h
32h
Cmd
Data
EOT
CRC
58h
04h
DCh
54h
Cmd
Data
Type
58h
54h
90h
81h
=
90 81 hex
└─────── software number 01h = software. 01
Cmd
Data
EOT
CRC
58h
04h
D2h
53h
Cmd
Data
Kodierte Seriennummer = 07090EA4
58h
53h
30h
37h
X X X X X X X X
h h h h m m m m
0 0 0 0 1 1 1 0
└───────────────────────────────── hours
└──────────────────────────────────────────── day
www.baumer.com
EOT
CRC
04h
FAh
30h
30h
EOT
CRC
04h
26h
30h
39h
30h
3Eh
X X X X X X X X
m m s s s s s s
1 0 1 0 0 1 0 0
└─────── seconds 10 0100 = 24h = 36d
└──────────────────── minutes 11 1010 = 3Ah = 58d
EOT
CRC
04h
20h
3Ah
34h
bit position
content
example = 15 83 0E A4 hex
1 0000 = 10h = 16d
0 0001 = 01h = 01d
0110 = 06h = 06d
16:58:36 <──────┘
01.06.05
N 150
18