Balluff Inc BISC6XX Manual De Usuario

Descargar
Página de 43
33
33
english
Mixed Data Access
(cont.)
The following shows the structure of a program:
Program structure
Subaddress
Value
Range
Command designator
01
Hex
06
Hex
1. Program record
Program number
02
Hex
01
Hex
01
Hex
 to 0A
Hex
1st data record:
Start address Low Byte
03
Hex
Start address High Byte
04
Hex
Number of bytes Low Byte
05
Hex
Number of bytes High Byte
06
Hex
2nd data record:
...
25th data record:
Start address Low Byte
03
Hex
Start address High Byte
04
Hex
Number of bytes Low Byte
05
Hex
Number of bytes High Byte
06
Hex
Terminator
FF
Hex 
FF
Hex
To store a second program, repeat this process.
The procedure for writing these settings to the EEPROM is described in the 10th example
on 
 48...50.
Replacing the EEPROM is described on   69 for BIS C-6002 and on   81 for BIS C-6022.
Function Description
Processing data carriers
C60_2-019_818217_0806-e.p65
34
english
34
Function Description
Processing data carriers
Read from data
carrier, with program
Mixed Data Access
Write to data carrier,
with program Mixed
Data Access
The command identifier 21
Hex
 can be used to read out the program records stored in the pro-
gram from the data carrier. 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 11 on   51).
The command identifier 22
Hex
 can be used to write the program records stored in the pro-
gram to the data carrier. 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 12 on   52).
Copying from
Head 1 to Head 2
For a copy command there must be a data carrier in front of both read/write heads (even if
dynamic mode is configured). Simultaneous data transmission is used to read (even if si-
multaneous data transmission is not configured). The total process is controlled with the
bit header(s) for Head 1. The start address and number of bytes applies both to reading at
Head 1 and to writing at Head 2. The copy command is in principle the same as reading
with simultaneous data transmission. In addition, the data which are placed in the input
buffer are written at the same time to the data carrier at Head 2.
The AE bit is not set until the write procedure at Head 2 has finished successfully. If the
GR bit is set during a started copy command, both read/write heads are placed in the
base state and the pending job is aborted (see example 8 on   45).