Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens S7-400 Listenhandbuch Seite 51

Operationsliste s7-400 v7.0
Vorschau ausblenden Andere Handbücher für S7-400:
Inhaltsverzeichnis

Werbung

Festpunktarithmetik (32 Bit)
Arithmetische Operationen zweier 32-Bit-Zahlen. Das Ergebnis wird in AKKU1 geschrieben.
Danach werden AKKU3 und AKKU4 nach AKKU2 und AKKU3 übertragen.
Ope-
Ope-
Bedeutung
ration
rand
+D
Addiere 2 Integerzahlen (32-Bit)
(AKKU1)=(AKKU2)+(AKKU1)
-D
Subtrahiere 2 Integerzahlen (32-
Bit)
(AKKU1)=(AKKU2)-(AKKU1)
*D
Multipliziere 2 Integerzahlen (32-
Bit)
(AKKU1)=(AKKU2)*(AKKU1)
Statuswort für: +D, -D, *D,
Operation wertet aus:
Operation beeinflusst:
Ope-
Ope-
Bedeutung
ration
rand
/D
Dividiere 2 Integerzahlen (32-Bit)
(AKKU1)=(AKKU2):(AKKU1)
MOD
Dividiere 2 Integerzahlen (32-Bit)
und lade den Rest der Division in
AKKU1:
(AKKU1)=Rest von
[(AKKU2):(AKKU1)]
Statuswort für: /D, MOD,
Operation wertet aus:
Operation beeinflusst:
Operationsliste S7-400 V7.0
Listenhandbuch, 10/2015, A5E36670208-AA
3.13 Festpunktarithmetik (16/32 Bit)/Gleitpunktarithmetik (32 Bit)
Länge in
Worten
412-2 PN
1
31,25
1
31,25
1
31,25
BIE
A1
A0
OV
-
-
-
-
-
ja
ja
ja
Länge in
Worten
412-2 PN
1
187,5
1
187,5
BIE
A1
A0
-
-
-
-
ja
ja
Ausführungszeit in ns
414-3
416-3
PN/DP
PN/DP
18,75
12,5
18,75
12,5
18,75
12,5
OS
OR
STA
-
-
-
ja
-
-
Ausführungszeit in ns
414-3
416-3
PN/DP
PN/DP
112,5
75
112,5
75
OV
OS
OR
STA
-
-
-
-
ja
ja
-
-
Operationsliste
417-4
7,5
7,5
7,5
VKE
/ER
-
-
-
-
417-4
45
45
VKE
/ER
-
-
-
-
51

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis