Elmomc SimplIQ Software Manual Manual de usuario Pagina 108

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 226
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 107
SimplIQ Software Manual Development Aids
MAN-SIMSW (Ver. 1.4)
7-12
The SR (status register) command details the status of the recorder. SR returns a bit field, in
which bits 16 and 17 may have the following values:
Bit 16 Bit 17 Recorder Status
0 0 Recorder inactive, no valid recorded data
0 1 Recorder armed, waiting for trigger event
1 0 Recorder finished, valid data ready for use
1 1 Recording now
Table 7-5: SR Recorder Status Reports
7.4.7 Uploading Recorded Data
The following commands are used to upload recorded data from the drive to a host:
Parameter Description
RR If zero, indicates that the recorder is ready for data upload
WI[21] Indicates how much data is actually recorded
RP[8], RP[9] Defines the part of the signal to be uploaded next
BH Uploads recorded data command
Table 7-6: Parameters for Uploading Recorded Data
The BH command is used to upload to the host the values recorded by the SimplIQ drive
recorder. BH optimizes the data transfer, assuming that the host has the computing power
to analyze the
SimplIQ drive message.
To execute a BH command, valid data must be stored in the recorder. If the data is valid, the
fields of the RC variable define the variables that have been recorded.
The BH=n command uploads the recorded variable defined by RC&n, where & is the bit-
wise AND operator. For example, if RC=7, the command BH=2 will transfer the variable to
be recorded by setting RC=2, because 7&2=2. If the binary representation of RC&BH
includes more than one “1”, the variable with the lowest value will be uploaded and BH will
not return an error.
Example:
If
RC=7
and
BH=3, BH
will upload the recorder variable defined by
RC=2
.
BH=16
will return
an error because
BH&RC=0
.
It is convenient to use hexadecimal notation for the BH command; for example, BH=0x4000
appears more understandable than BH=32768.
The BH command can load an entire recorded signal, or a part of one. If RP[8]=0 and
RP[9]=0, BH=n will upload an entire signal. Otherwise, BH will upload the recorded signal
from index RP[8] until index RP[9]. RP[9] must always be less than or equal to the length of
the recorded signal.
Vista de pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 225 226

Comentarios a estos manuales

Sin comentarios