Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BIS C-60 Serie Handbuch Seite 54

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

C60_1-029_0108_en.p65
31
Reading and writing
in dynamic mode
Read from code tag,
with program
Mixed Data Access
Write to code tag,
with program
Mixed Data Access
32
Mixed Data Access
32
E
Function Description
Processing code tags, reading and writing
In normal operation a read/write job is rejected by the processor by setting the AF bit and an
error number if there is no code tag in the active zone of the read/write head. If dynamic mode
is configured, the processor accepts the read/write job and stores it. When a code tag is
recognized, the stored job is carried out.
The command identifier 21
can be used to read out the program records stored in the
Hex
program from the code tag. The user must document exactly which data are to be read from
where and with what number of bytes for the respective program (see example 8 on
The command identifier 22
can be used to write the program records stored in the program
Hex
to the code tag. The user must document exactly which data are to be written from where and
with what number of bytes for the respective program (see example 9 on
Function Description
Processing code tags, Mixed Data Access
Small read/write programs can be stored in the BIS C-60_1 processor's EEPROM.
The Mixed Data Access function is useful when the required information is stored on the code
tag at various addresses. This function makes it possible to read out this "mixed", i.e. non-
contiguously stored data from the code tag in a single procedure and using just one com-
mand.
Up to 10 programs with up to 25 instructions can be stored. Each program instruction con-
tains a "start address" and a "number of bytes" specification. The amount of data for reading
may not exceed 2 kB.
Storing a program:
The command identifier 06
is used to send the read/write program to the BIS C-60_1
Hex
processor. One program per command can be stored. All 25 program records plus an addi-
tional 2 bytes with FF
FF
as a terminator must always be sent. This means a total of
Hex
Hex
104 bytes of information per program must be sent (including the command identifier and
program number).
The individual program records must all be contiguous. They must be sent one after the other
and be terminated with FF
FF
as a terminator. It is recommended that the remaining, unused
H
H
EX
EX
memory sector be filled with FF
FF
H
EX
If an address range is selected twice, the data will also be output twice.
.
H
EX
43)
44)
E
31

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis c-6001Bis c-6021

Inhaltsverzeichnis