Sensoray 7429 Manuel d'utilisateur Page 21

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 48
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 20
Read Data
This command returns the most recently measured sensor data from the specified chan-
nel. The returned value is scaled according to the declared sensor type. Regardless of
sensor type, the returned value is always represented in 16-bit two's complement form.
Refer to the sensor tables near the end of this manual for a description of the data format
used by each sensor type.
COMMAND: (CHAN)
RESPONSE: (HIGH DATA),(LOW DATA)
Example: Channel 6 is configured for the 5 Volt measurement range. This se-
quence will read and display the channel 6 voltage:
CALL SendByte (6)'opcode + channel
PRINT ReadWord% * .0002; " volts"
Example: Channel 0 is configured as a 350¾ strain gage rated at 2.7 mV/V at 150
PSI. Data scaling is programmed to 0.1 psi/bit. A suitable program segment to read
and display channel 0 data:
CALL SendByte (0)'opcode + channel
PRINT ReadWord% * .1; " PSI"
Vue de la page 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 47 48

Commentaires sur ces manuels

Pas de commentaire