Herunterladen Inhalt Inhalt Diese Seite drucken

Negative Values; Begin- / End Of Safety Range - TR-Electronic LMRS_27 Interface-Box SSI Gesamt-Bedienungsanleitung

Inhaltsverzeichnis

Werbung

5.2.5 Negative values

Selection
value + sign
Complement
With negative numbers, the most significant position bit, which is used as the sign, is
set in both forms of representation. So that the number range isn't limited thereby, an
additional data bit is needed. The following table compares the complement
representation and signed representation for binary and BCD code with 16 bits:
Value
2
1
0
-1
-2
-3

5.2.6 Begin- / End of safety range

0 = below the
1 = below the
0 = above the
1 = above the
lower limit
upper limit
Printed in the Federal Republic of Germany
12/09/2019
Description
Sign=1 Max. value/2 – 1 to Sign=0 Max. value/2 – 1
–Max. value/2 to +Max. value/2 – 1
Binary +
Complement
0x0002
0x0001
0x0000
0xFFFF
0xFFFE
0xFFFD
safety range
safety range
safety range
safety range
measuring
start value
TR - ELA - BA - DGB - 0022 - 09
Binary +
BCD + Complement
Sign
0x0002
0x0001
0x0000
0x8001
0x8002
0x8003
Total capacity
Safety range
lower
Safety limit
measuring start value +1
measuring end value -2
BCD + Sign
0x0002
0x0002
0x0001
0x0001
0x0000
0x0000
0x9999
0x8001
0x9998
0x8002
0x9997
0x8003
measuring
end value
upper
 TR-Electronic GmbH 2014, All Rights Reserved
Page 49 of 55

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

341-20001

Inhaltsverzeichnis