Herunterladen Inhalt Inhalt Diese Seite drucken

Data Types And Bit Positions Of A Measured Value - HBM QUANTUM X Bedienungsanleitung

Vorschau ausblenden Andere Handbücher für QUANTUM X:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

CANBus
imagine a decimal point at the third position of the integer
value and multiply the source signal by 1000. ("1.2345"
becomes "1234").
Scaling is carried out with double precision (REAL64), i.e.
the resulting integer value will be rounded in the lower
bits.
Selection of the UINT64 data type guarantees one-to-one
transfer of all bits, with no scaling being performed. The
values in <Factor> and <Offset> will be ignored.
6.5.4
Data types and bit positions of a measured
value
Measured values usually occur in the system as REAL32
(float). If the measured values are also to be transmitted
as a floating point value, the data format <DataFormat>
must be chosen accordingly. The number of bits to be
transmitted is defined in <SignalLength> as 32 (float) or
64 (double).
Type conversion is also possible, so that the data in the
CAN message will be sent as integers, with any length
between 1 and 64 bits. The resolution of the measured
value is therefore variable. This achieves a differenzierte
Datentyp-Umwandlung.
First the measured value is scaled as a floating point
value. If the transmit data format <DataFormat> is
selected as an integer value, the conversion to a 32-bit or
64-bit integer takes place now. Then, starting with the
MSB of the resultant integer value, the number of bits
defined in <SignalLength> are mapped into the CAN
message. This means that the most significant bits of a
measured value are always transmitted.
A4461-2.0 HBM: public
Functional description
41

Quicklinks ausblenden:

Werbung

Kapitel

Inhaltsverzeichnis
loading

Verwandte Produkte für HBM QUANTUM X

Diese Anleitung auch für:

Somat xr

Inhaltsverzeichnis