Herunterladen Inhalt Inhalt Diese Seite drucken

Communication; Structure Of The Output Buffer For Various Commands - Balluff BIS U-6028-048-104-06-ST28 Betriebsanleitung

Vorschau ausblenden Andere Handbücher für BIS U-6028-048-104-06-ST28:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

BIS U-6028-048-1_4-06-ST28
Processor unit
8
Function of the device (continued)
8.1.6

Communication

Communication between the controlling system and
processor unit is defined by a sequence protocol.
Communication between the controlling system and
processor unit is implemented using control bit in the
output and input buffer.
Basic sequence
1. The controller sends a command designator to the
processor unit in the output buffer with the AV bit set.
The AV bit tells the processor unit that a job is
beginning and the transmitted data is valid.
2. The processor unit accepts the job and confirms the
job by setting the AA bit in the input buffer.
3. If additional data needs to be exchanged for the job,
readiness for additional data exchange is indicated by
inverting the TI and TO toggle bits.
4. The processor unit has correctly executed the job and
sets the AE bit in the input buffer.
5. The controller has accepted all data. The AV bit in the
output buffer is reset.
6. The processor unit resets all control bits set in the input
buffer during the job (AA bit, AE bit). The processor unit
is ready for the next job.
8.1.7
Structure of the output buffer for various
commands
Command designator 00
Sub-
Meaning
address
00
1st bit
hex
string
01
Command
00
hex
recognition
...
None
No meaning
Last
2nd bit
If first and second bit strings
byte
string
agree, there is valid data
present.
22
english
: No command present
hex
Functional description
: no command present.
hex
Command designator 81
hex
data carrier (USER data)
Sub-
Meaning
address
00
1st bit
hex
string
01
Command
81
hex
hex
recognition
data).
02
Start
Start address (Low Byte) from
hex
address 1
which reading is to start.
(Low Byte)
03
Start
Start address (Middle Byte) from
hex
address 2
which reading is to start.
(Middle
Byte)
Start
Start address (High Byte) from
04
hex
address 3
which reading is to start.
(High Byte)
05
Number of
The number of bytes (Low Byte)
hex
bytes 1
that are to be read starting from
(Low Byte)
the start address.
06
Number of
The number of bytes (Middle
hex
bytes 2
Byte) that are to be read starting
(Middle
from the start address.
Byte)
07
Number of
The number of bytes (High Byte)
hex
bytes 3
that are to be read starting from
(High Byte)
the start address.
...
None
No meaning
Last
2nd bit
If first and second bit strings
byte
string
agree, there is valid data
present.
If execution is successful, the response is passed to the
input buffer in the following format:
Sub-
Meaning
address
00
1st bit
hex
string
01
Data
Transmission of data that was
hex
read from the data carrier.
...
Data
Transmission of data that was
read from the data carrier.
... is continued, if necessary, in
further buffer transmissions until
the total number of bytes is
reached.
Last
2nd bit
If first and second bit strings
byte
string
agree, there is valid data
present.
or 01
: Read individual
hex
Functional description
: read data carrier (USER
Functional description

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis