Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BIS U-6127-081-1 4-06-ST36 Betriebsanleitung Seite 286

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

BIS U-6127-081-1_4-06-ST36
Processor unit
8
007 protocol (continued)
Command identifier 'I': Read data carrier, bulk
Read user data from several data carriers located in the
detection range of the specified antenna. Via the
, all data carriers in the detection range can
caRRieR Selection
be read out or only a subset previously selected with the
Select command
The memory area to be read is defined via
and
. The following boundary conditions
numBeR of ByteS
apply:
Maximum data quantity: 65536 bytes/data carrier
Maximum number of data carriers: 255
Initially, the command reports only the number of data
carriers that have been detected. Then the requested data
is read out and transmitted in fragmented form in one or
more packets.
If detected data carriers are removed from the detection
range of the antenna before they are read out or if they
cannot be read out successfully, the data are marked as
invalid by a check byte.
Byte
Length
Command
element
00
1
Command
identifier (ASCII)
01
1
Antenna number
(ASCII)
02...07 6
Start address
(ASCII)
08...13 6
Number of bytes/
data carrier
(ASCII)
14
1
Data carrier
selection
15...17 3
Max. number of
data carriers
(ASCII)
18
1
BCC
If the command cannot be executed properly, a negative
status message follows.
Byte
Length
Command
element
00
1
Status
01
1
Status code
If the command is executed successfully, a positive status
message follows. This contains the number of detected
data carriers and the number of data bytes transferred per
data carrier.
110
english
Byte
data
00
01
StaRt addReSS
02...04
05...10
11
The total number of bytes transferred is calculated
according to the following formula:
Total number of bytes = ((Number of bytes/data carrier)
+ 1) × (Number of data carriers found)
Value range
If the status message is positive, data is requested with
<STX>.
'I'
Byte
'0': All active
00
antennas
'1'...'4': Single
If the data cannot be provided, a negative status message
antenna
follows.
"000000"...
Byte
"999999"
"000001"...
00
"065536"
01
'0': All
'1': Selected
"000"..."999"
If the command is executed successfully, a positive status
message follows. This contains the first data packet and is
transmitted in the following format:
00
...FF
Byte
hex
hex
00
Value range
01
<NAK>
See table Status
02...04
codes on page
94
05...07
08...11
12...
Last byte
Length
Command
element
1
Status
1
Antenna number
(ASCII) (0 = all
active antennas)
3
Number of data
carriers found
(ASCII)
6
Number of bytes/
data carrier (ASCII)
1
BCC
Length
Command
element
1
Control command <STX>
Length
Command
element
1
Status
1
Status code
Length
Command
element
1
Status
1
Antenna number
(ASCII) (0 = all
active antennas)
3
Number of
packets (ASCII)
3
Packet number
(ASCII)
3
Data block:
Number of bytes
(ASCII)
No. of
Data block
bytes
1
BCC
Value range
<ACK>
'0'...'4'
"000"..."999"
"000001"...
"065536"
00
...FF
hex
hex
Value range
Value range
<NAK>
See table
Status codes
on page 94
Value range
<ACK> or
<EOT>
'0'...'4'
"000"..."999"
"000"..."999"
"000"..."999"
Byte:
00
...FF
hex
hex
00
...FF
hex
hex

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis0193

Inhaltsverzeichnis