Addi-Data APCI-8001 Handmatig - Pagina 8
Blader online of download pdf Handmatig voor {categorie_naam} Addi-Data APCI-8001. Addi-Data APCI-8001 9 pagina's. Positioning and contouring control system, canbus interface
8
The size of the data block in a scan is always fixed. The number of lines in this data structure (zn) is
specified in the object descriptor element "Index" in the less significant 16 bits. The number of
columns (an) is specified in the object descriptor element "SubIndex". The content of "Index" and
"SubIndex" is described in more detail below.
The number of elements containing valid measuring values may vary from scan element to scan
element and is specified in the first element of the data structure ("Number").
The second element in the data block ("Status") is bit-coded and shows, for example, a possible data
overrun. The meaning of this register is described in Table 5.
The "Lines" element specifies how many lines have been written on with measuring values in the
current block. The "Columns" element specifies how many columns have been written on with
measuring values in the current block. The table with the measuring value follows this. A table
element always has a word length of 32 bits. The content of the table elements is derived from the
ML71 settings and is not specified by RWMOS.ELF. Here, the data formats 32-bit floating point
number,
32-bit integer and 16-bit integer are possible.
Table 5: Bit-coding status word in the "ML71MeasureDataBlock"
Bit No.
Name
0
1
Data
2
Overrun
3
Size
Change
LineErr
4
5
ColErr
3.4.1 The "index" element of the resource "ML71MeasureDataBlock"
Information on the size of the measuring value data block is specified in this element. "Index" must
contain the number of measuring values to be recorded in one line as a numerical value (128 max.).
This is the number of columns in the measuring value table.
3.4.2 The "SubIndex" element of the resource "ML71MeasureDataBlock"
The number of lines with measuring value data in the data structure described above is specified in
the "Subindex" element (16 max). The number of lines actually written on by RWMOS.ELF is
displayed in the 3rd element of the "Lines" data structure.
The size of the scan record is specified by the values entered in "Index" and "SubIndex". To avoid
unnecessary memory requirements in the scanner record and unnecessary data transfer, these
values should not be set any higher than necessary.
Function
Currently not used
Currently not used
A data overrun has taken place; not all data
received could be read.
The number of measuring values in one measuring
value line has changed.
The number of data lines in DataBlock is not
sufficient.
The number of measuring values in one data line
in DataBlock is not sufficient (too few columns
defined).
C
B
I
AN
US
NTERFACE