Herunterladen Diese Seite drucken

Pack2Byte_To_Word - ifm ecomatDisplay Programmierhandbuch

Vorschau ausblenden Andere Handbücher für ecomatDisplay:

Werbung

ecomatDisplay
9.5.16

Pack2Byte_To_Word

Baustein-Typ:
Funktion (FUN)
Verhaltensmodell:
--
Bibliothek:
ifmFileUtil.library
Symbol in CODESYS:
>
Beschreibung
Die Funktion konvertiert ein Array aus 2 Bytes zu einem Wort.
Beispiel:
aInData[0] = 0x00
aInData[1] = 0xAA
Pack2Byte_To_Word = 0xAA00
>
Eingangsparameter
Parameter
Datentyp
abyInData
ARRAY
[0...1] OF
BYTE
>
Ausgangsparameter
Parameter
Datentyp

Pack2Byte_To_Word

WORD
286
Bedeutung
Array mit Eingangsdaten
Bedeutung
Rückgabewert der Funktion
Mögliche Werte
pro Byte:
0x00 ... 0xFF
Mögliche Werte
0x0000 ... 0xFFFF
21591
21592
21593
21595

Werbung

loading