Operationsliste
A.35
Datentyp-Umwandlungsoperationen
Ergebnis
Die Ergebnisse der Wandlung stehen im AKKU1.
Bei der Wandlung von Realzahlen ist die Ausführungszeit abhängig vom Wert.
Opera-
Ope-
tion
rand
BTI
–
Konvertiere AKKU1 von BCD nach Ganz-
zahl (16 Bit) (BCD To Int)
BTD
–
Konvertiere AKKU1 von BCD nach Ganz-
zahl (32 Bit) (BCD To Doubleint)
DTR
–
Konvertiere AKKU1 von Ganzzahl (32 Bit)
nach Real (32 Bit) (Doubleint To Real)
ITD
–
Konvertiere AKKU1 von Ganzzahl (16 Bit)
nach Ganzzahl (32 Bit) (Int To Doubleint)
Statuswort für:
BTI, BTD, DTR, ITD
Operation hängt ab von:
Operation beeinflusst:
ITB
–
Konvertiere AKKU1 von Ganzzahl (16 Bit)
nach BCD (Int To BCD)
DTB
–
Konvertiere AKKU1 von Ganzzahl (32 Bit)
nach BCD (Doubleint To BCD)
Statuswort für:
ITB, DTB
Operation hängt ab von:
Operation beeinflusst:
RND
–
Wandle Realzahl in 32-Bit-Ganzzahl um.
RND–
–
Wandle Realzahl in 32-Bit-Ganzzahl um.
Es wird gerundet zur nächsten ganzen
Zahl.
RND+
–
Wandle Realzahl in 32-Bit-Integerzahl um.
Es wird gerundet zur nächsten ganzen
Zahl.
TRUNC –
Wandle Realzahl in 32-Bit-Integerzahl um.
Es werden die Nachkommazahlen abge-
schnitten.
Statuswort für:
RND, RND–, RND+,
TRUNC
Operation hängt ab von:
Operation beeinflusst:
A-42
Bedeutung
BIE
A1
A0
–
–
–
–
–
–
BIE
A1
A0
–
–
–
–
–
–
BIE
A1
A0
–
–
–
–
–
–
Länge
in
typische Ausführungszeit
in ms
Wor-
ten
1
1,9
1
4,1
1
3,1
1
0,1
OV
OS
OR
STA
–
–
–
–
–
–
–
–
1
2,1
1
4,8
OV
OS
OR
STA
–
–
–
–
ja
ja
–
–
1
3,4
1
3,5
1
3,5
1
3,3
OV
OS
OR
STA
–
–
–
–
ja
ja
–
–
ET 200S Interfacemodul IM 151-7 CPU
A5E00058779-02
VKE
/ER
–
–
–
–
VKE
/ER
–
–
–
–
VKE
/ER
–
–
–
–