Sensoray 118 Instrukcja Użytkownika Strona 29

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 38
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 28
Sensoray Model 118 Smart A/D™ Instruction Manual 27 Commands: Pressure/Strain Gage
6.4.3 SetGageSpan
Sets the effective gain of a strain gage channel. Many
applications have the ability to simulate gage loads by
applying simulated zero and full-scale load conditions to
the gage channel.
To utilize this command, apply the zero-load signal onto
the channel and issue the SetGageZero command.
Next, switch the full-load signal onto the channel and
issue the SetGageSpan command.
Driver
// Issue a Set Gage Span command for the specified channel.
VOID SetGageSpan( USHORT BasePort, UCHAR Channel, SHORT LoadValue )
{
SendByte( BasePort, Channel | CMD_SET_GAGESPAN); // send chan & command
SendWord( BasePort, LoadValue ); // send load value
}
Example
// Calibrate the load cell connected to channel 2. Full-load is
// 40,000 pounds, and the Smart A/D output units are to be scaled to 10
// lbs/bit. At full-load, therefore, Smart A/D output will be 4,000.
// ... Wait until zero load is applied to the gage ...
SetGageZero( MyBasePort, 2 ); // Set the gage zero
// ... Wait until full-scale load is applied to the gage ...
SetGageSpan( MyBasePort, 2, 4000 ); // Set the gage span
Command: (208 + Chan),(DataMSB),(DataLSB)
Response: None
Przeglądanie stron 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 37 38

Komentarze do niniejszej Instrukcji

Brak uwag