Bosch PIN8 N1 Guía para resolver problemas Pagina 640

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 728
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 639
10-58 Handling, Diagnostic and Service Functions MPH-02, MPB-02, MPD-02
DOK-INDRV*-MP*-02VRS**-FK01-EN-P
P-0-0480, Patch function 1, source pointer
P-0-0481, Patch function 1, attribute
P-0-0482, Patch function 1, bit mask
P-0-0483, Patch function 1, exponent
P-0-0485, Patch function 1, display
P-0-0486, Patch function 2, source pointer
P-0-0487, Patch function 2, attribute
P-0-0488, Patch function 2, bit mask
P-0-0489, Patch function 2, exponent
P-0-0491, Patch function 2, display
Functional Description
Read Access (Displaying Internal Storage Locations/Signals)
The patch function allows transforming any storage location into a data
object that can be read via the master communication. To do this, a
storage location is preset via the parameters P-0-0480, Patch function 1,
source pointer and P-0-0486, Patch function 2, source pointer. The
access to this address is configured via bits 0 to 2 of the parameters
P-0-0481, Patch function 1, attribute and P0487, Patch function 2,
attribute. INT4 reads a 4-byte integer value starting from the source
pointer, INT2/INT1 read 2 bytes or 1 byte accordingly. FLOAT8 reads an
8-byte floating-point value (DOUBLE), FLOAT4 reads 4 bytes accordingly
(FLOAT).
Due to the processor architecture the possible memory accesses are
subject to certain restrictions. A 4-byte access, for example, is only
allowed for storage locations the address of which can be divided by 4.
The table below contains a complete overview of the allowed and
prohibited memory accesses.
Note: If you want to change the access mode via bits 0 to 2 of the
patch attribute parameters (P-0-0481/P-0-0487), this is only
possible if the patch source pointer that has just been set
(P-0-0480/P-0-0486) allows the new access mode (see table).
possible access to source addresses that ...
access as...
can be divided
by 4
(DWORD-aligned)
can be divided by 2,
but not by 4
(WORD-aligned)
do not have any
particular alignment
(BYTE-aligned)
INT4
á
XX
INT2
áá
X
INT1
áá á
FLOAT8
á
XX
FLOAT4
á
XX
á: access allowed
X: access prohibited
Fig. 10-24: Possible access modes
The desired display format is set via bits 4 to 7 of the patch attribute
parameters (P-0-0481/P-0-0487). This allows interpreting the value read
as a decimal number with or without sign, as a hexadecimal number or as
Pertinent Parameters
Vista de pagina 639
1 2 ... 635 636 637 638 639 640 641 642 643 644 645 ... 727 728

Comentarios a estos manuales

Sin comentarios