Umwandlungsfunktionen
Operation
I
Bedeutung
KZW
KZD
DEF
DUF
DED
DUD
FDG
GFD
Bildung des ler-Komplements von Akku 1 (16 Bit)
Bildung des Per-Komplements von Akku 1 (16 Bit)
Bildung des Per-Komplements von Akku 1 (32 Bit)
Festpunktwandlung (16 Bit) von BCD in dual
Festpunktwandlung (16 Bit) von dual in BCD
Doppelwortwandlung (32 Bit) von BCD in dual
Doppelwortwandlung (32 Bit) von dual in BCD
Wandlung einer Festpunktzahl (32 Bit) in eine Gleit-
punktzahl (32 Bit)
Wandlung einer Gleitpunktzahl in eine Festpunktzahl
(32 Bit)
Beispiele
Der Inhalt des Datenwortes 64 soll Bit für Bit invertiert werden und
in Datenwort 78 abgelegt werden.
STEP-5-Programm:
Belegung der Datenwörter:
:L
DU64
BM
=
0011111001011011
:
KEW
T
DU78
BM
=
1100000110100100
Der Inhalt des Datenwortes 207 ist als Festpunktzahl zu interpretieren
und mit umgekehrtem Vorzeichen im Datenwort 51 abzulegen.
STEP-5-Programm:
Belegung der Datenwörter:
:L
DW207
F:
+
51
:
KZW
:T
DW51
F:
-
51