Herunterladen Diese Seite drucken

Pack4Byte_To_Dw - ifm ecomatDisplay Programmierhandbuch

Vorschau ausblenden Andere Handbücher für ecomatDisplay:

Werbung

ecomatDisplay
9.5.17

Pack4Byte_To_DW

Baustein-Typ:
Funktion (FUN)
Verhaltensmodell:
--
Bibliothek:
ifmFileUtil.library
Symbol in CODESYS:
>
Beschreibung
Die Funktion konvertiert ein Array aus 4 Bytes in ein Doppelwort.
Beispiel:
aInData[0] = 0x00
aInData[1] = 0x11
aInData[2] = 0xAA
aInData[3] = 0xFF
Pack4Byte = 0xFFAA1100
>
Eingangsparameter
Parameter
Datentyp
abyInData
ARRAY
[0...3] OF
BYTE
>
Ausgangsparameter
Parameter
Datentyp

Pack4Byte_To_DW

DWORD
Bedeutung
Array mit Eingangsdaten
Bedeutung
Rückgabewert der Funktion
Mögliche Werte
pro Byte:
0x00 ... 0xFF
Mögliche Werte
0x00000000 ... 0xFFFFFFFF
21614
21615
21616
21617
287

Werbung

loading