Denso BHT-200QW Especificaciones Pagina 121

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 587
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 120
Chapter 8. Files
113
8.2.3 Structure of Data Files
Rec
RecRec
Record
ordord
ord
A data file is made up of a maximum of 32767 records. A record is a set of data in a data file
and its format is defined by the FIELD statement. The maximum length of a record is 255
bytes including the number of the character count bytes* (= the number of the fields).
* When transferring data files, the BHT-protocol/BHT-Ir protocol automatically prefixes a
character count byte in binary format to each data field.
Field
FieldField
Field
A record is made up of 1 to 16 fields. Data within the fields will be treated as character (ASCII)
data.
Each field precedes a character count byte in binary format, as described above. Including
that one byte, the maximum length of a field is 255 bytes.
The following FIELD statement defines a record which occupies a 28-byte memory area (13 +
5 + 10 bytes) for data and a 3-byte memory area for three character count bytes.
Totally, this record occupies not a 28-byte area but a 31-byte area in the memory.
FIELD #2,13 AS bardat$,5 AS keydat$,10 AS dt$
'1+13+1+5+1+10=31 bytes
When a data file is transmitted according to the BHT-protocol, the following conditions should
be also satisfied:
The maximum length of a field is 254 bytes excluding a character count byte.
Vista de pagina 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 586 587

Comentarios a estos manuales

Sin comentarios