Specifications

sigmadue - IEC 61131-3 Function Block Library
136
5-3-7 MODBUS MASTER ARRAY TO 16WORD
FB Prototype
MB_ARRAY_TO_16WORD
Input parameters
Output parameters
Description
The main goal of this function block is to unpack an array of 16 word elements into 16
single words. The first element of the array will be copied to the first output word, the
second element to the second output word and so on. This function block can be par-
ticularly powerful if used in conjunction with the function block
MB_MST_RD_WORD
because it allows to split the array generated by its output RD_REG.
Label Type Description
RD_REG
ARRAY [1..16]
OF WORD
Array including each single word to be unpacked
Label Type Description Range
WORD_1 WORD
1
st
word to be unpacked [num]
0... 65535
WORD_2 WORD
2
nd
word to be unpacked [num]
0... 65535
WORD_3 WORD
3
rd
word to be unpacked [num]
0... 65535
WORD_4 WORD
4
th
word to be unpacked [num]
0... 65535
WORD_5 WORD
5
th
word to be unpacked [num]
0... 65535
WORD_6 WORD
6
th
word to be unpacked [num]
0... 65535
WORD_7 WORD
7
th
word to be unpacked [num]
0... 65535
WORD_8 WORD
8
th
word to be unpacked [num]
0... 65535
WORD_9 WORD
9
th
word to be unpacked [num]
0... 65535
WORD_10 WORD
10
th
word to be unpacked [num]
0... 65535
WORD_11 WORD
11
th
word to be unpacked [num]
0... 65535
WORD_12 WORD
12
th
word to be unpacked [num]
0... 65535
WORD_13 WORD
13
th
word to be unpacked [num]
0... 65535
WORD_14 WORD
14
th
word to be unpacked [num]
0... 65535
WORD_15 WORD
15
th
word to be unpacked [num]
0... 65535
WORD_16 WORD
16
th
word to be unpacked [num]
0... 65535
RD_REG ARRAY [1..16] OF WORD
¡
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD
WORD_1
WORD_2
WORD_3
WORD_4
WORD_5
WORD_6
WORD_7
WORD_8
WORD_9
WORD_10
WORD_11
WORD_12
WORD_13
WORD_14
WORD_15
WORD_16
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡