Command Header F0H - Write Command - Ladybug LB5900 Series Interface Manual

Power sensor, spi & i2c interface
Hide thumbs Also See for LB5900 Series:
Table of Contents

Advertisement

Command Header F0h – Write Command
Figure 25 details the communications for Command Header F0h with an LB5900 sensor. This
Command Header is used to issue any command or query, such as FETCh?' FREQ etc. The
command does not implement reading back Query results, it simply issues the command. Results
of any Query are read with Header 0Ch described later.
Figure 25 - Command Header
F0h●
The length of Command Header F0h is dependent on the command being sent, however the
minimum is 5 bytes, including the message terminator. The minimum 5 bytes including the
terminator, is only the header itself, no command is included. This can be utilized to read the busy
byte.
●Write Command Example:
Note: In this example, a prior communication indicated that the sensor was ready.
To Sensor: F000000ESYST:PRES DEF00
Returned Data: 00E000000000000000000000000000000000
Note the only usable data in the return is the Busy byte (00); the Previous communication status
(E0), the balance of the zeros are don't cares
DOC: SPII2CHDWBrief - V2.71 07/25/2017
PAGE 27

Advertisement

Table of Contents
loading

Table of Contents