![background image](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026372.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
372
ARRAY_TO_WORD
3434
Unit type = function block (FB)
Contained in the library:
ifm_PDM_FILE_Vxxyyzz.LIB
Available for the following devices:
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
3536
ARRAY_TO_WORD is a help function for other units.
The FB combines the contents of 2 bytes into a word as follows:
Word
WORD
Bit
15 14 13 12
11 10 9 8 7 6 5 4 3 2 1 0
Byte
BYTE 1
BYTE 0
Parameters of the inputs
3537
Parameter
Data type
Description
BYTE_0
BYTE
LSB in output word
BYTE_1
BYTE
HSB in output word
Parameters of the outputs
3538
Parameter
Data type
Description
WORD_OUT WORD
output
word