Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SIMATIC S5 CPU 922 Handbuch Seite 507

Ag s5-135u automatisierungsgerät
Vorschau ausblenden Andere Handbücher für SIMATIC S5 CPU 922:
Inhaltsverzeichnis

Werbung

Beispiele
STEP-5-Programm:
Inhalt der Datenwörter:
:L
EDO
:
SLW
4
:
SRW
4
:
SLD
4
:
SVW
4
:
SVD
4
:
RLD
4
:
RRD
4
:
BE
AKKU-1-Inhalt (hexadezimal):
2348 ABCD
2348 BCDO
2348 OBCD
3480 BCDO
3480 FBCD
0348 OFBC
3480 FBCO
0348 OFBC
Umwandlungsfunktionen
Operation
I
Bedeutung
KEW
KZW
KZD
DEF
DUF
DED
DUD
FDG
GFD
Bildung des ler-Komplements von Akku 1 (16 Bit)
Bildung des 2er-Komplements von Akku 1 (16 Bit)
Bildung des 2er-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 Gleitpunktpunktzahl in eine Festpunkt-
zahl (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
DW64
BM
=
0011111001011011
:
KEW
T
DW78
BM
=
1100000110100100

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Simatic s5 cpu 928bSimatic s5 cpu 928

Inhaltsverzeichnis