Herunterladen Inhalt Inhalt Diese Seite drucken

Programrnbearbeitung - Siemens SIMATIC S5 CPU 946R Handbuch

Automatisierungsgerät ag s5-155u
Inhaltsverzeichnis

Werbung

Kapitel 3
Programrnbearbeitung
Umwandlungsoperationen
DEF:
Operation
KEW
KZW
KZD
DEF
DUF
DED
DUD
FDG
GFD
Der im AKKU-1-L (Bit 0 bis Bit 15) stehende Wert wird als BCD-codierte Zahl interpretiert. Nach
der Umwandlung steht im AKKU-1 -L eine 16-bit-Festpunktzahl.
Beschreibung
Bildung des 1 er-Komplements von AKKU 1 (1 6 bit)
Bildung des 2er-Komplements von AKKU 1 (16 bit)
Bildung des 2er-Komplements von AKKU 1 (32 bit)
Festpunktwandlung (1 6 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-
punktzaH (32 bit);
Wandlung einer Gleitpunktzahl (32 bit) in eine Festpunktzahl (32 bit)
DUF:
Der im AKKU-1-L (Bit 0 bis Bit 15) stehende Wert wird als 16-bit-Festpunktzahl interpretiert. Nach
der Umwandlung steht im AKKU-1-L eine BCD-codierte Zahl.
V (Vorzeichen): 0
=
positiv
1
=
negativ
16-bit-Festpunktzahl
15
0
Darstellung im
V 214
...
...*'
1
Per-Komplement
15
I I
0
v v v v
BCD-codiert

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Simatic s5 cpu 947Simatic s5 cpu 947rSimatic s5 cpu 946

Inhaltsverzeichnis