Herunterladen Inhalt Inhalt Diese Seite drucken

I_Di : Ganzzahl (16 Bit) In Ganzzahl (32 Bit) Wandeln - Siemens S7-series Referenzhandbuch

Inhaltsverzeichnis

Werbung

3.5

I_DI : Ganzzahl (16 Bit) in Ganzzahl (32 Bit) wandeln

Symbol
I_DI
EN OUT
IN ENO
Parameter
EN
IN
OUT
ENO
Beschreibung
Die Operation Ganzzahl (16 Bit) in Ganzzahl (32 Bit) wandeln liest den Inhalt des
Eingangsparameters IN als Ganzzahl (16 Bit) und wandelt diese in eine Ganzzahl (32 Bit) um. Das
Ergebnis kann an Ausgang OUT abgefragt werden. ENO hat immer den gleichen Signalzustand
wie EN.
Statuswort
schreibt:
Beispiel
E 0.0
EN OUT
MW10
IN ENO
Die Umwandlung wird ausgeführt, wenn E 0.0 = 1 ist. Der Inhalt von Merkerwort MW10 wird als
Ganzzahl (16 Bit) gelesen und in eine Ganzzahl (32 Bit) umgewandelt. Das Ergebnis wird in MD12
gespeichert. Wird die Operation ausgeführt, ist A 4.0 = 1 (ENO = EN).
Funktionsplan (FUP) für S7-300/400
Referenzhandbuch, 04/2017, A5E41654587-AA
Datentyp
BOOL
INT
DINT
BOOL
BIE
A1
A0
1
-
-
I_DI
MD12
A 4.0
=
3.5 I_DI : Ganzzahl (16 Bit) in Ganzzahl (32 Bit) wandeln
Speicherbereich
E, A, M, D, L, T, Z
E, A, M, D, L
oder Konstante
E, A, M, D, L
E, A, M, D, L
OV
OS
OR
-
-
0
Beschreibung
Freigabeeingang
Wert, der umgewandelt wird
Ergebnis
Freigabeausgang
STA
VKE
1
1
Umwandler
/ER
1
47

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

S7-300S7-400

Inhaltsverzeichnis