IEC 62591 Wireless Interface Instruction Manual (for ControlWave Micro)
3-12
Configuration and Commissioning
Revised October-2019
maximum of ten devices (defined by two elements for the tag name and
device ID) in the active list. You can change this if you need to.
To do this, double-click the Act_List worksheet to open it.
LIST020_1(
iiListNumber :=
inputListNum,
ianyElement1 :=
Tag_1,
ianyElement2 :=
DevId_1,
ianyElement3 :=
Tag_2,
ianyElement4 :=
DevId_2,
ianyElement5 :=
Tag_3,
ianyElement6 :=
DevId_3,
ianyElement7 :=
Tag_4,
ianyElement8 :=
DevId_4,
ianyElement9 :=
Tag_5,
ianyElement10 :=
DevId_5,
ianyElement11 :=
Tag_6,
ianyElement12 :=
DevId_6,
ianyElement13 :=
Tag_7,
ianyElement14 :=
DevId_7,
ianyElement15 :=
Tag_8,
ianyElement16 :=
DevId_8,
ianyElement17 :=
Tag_9,
ianyElement18 :=
DevId_9,
ianyElement19 :=
Tag_10,
ianyElement20 :=
DevId_10);
listStatus := LIST020_1.odiStatus;
Suppose, for example, that you needed to allow up to 50 devices in the
active list?
ControlWave Designer supports LIST010, LIST020, LIST030,
LIST050, and LIST100 function blocks. The easiest way to
accommodate 50 devices is to replace the LIST020 function block with
a single LIST100 function block. In the code, below, we don’t show
devices 11 through 45 for space reasons:
LIST100_1(
iiListNumber :=
inputListNum,
ianyElement1 :=
Tag_1,
ianyElement2 :=
DevId_1,
ianyElement3 :=
Tag_2,
ianyElement4 :=
DevId_2,
ianyElement5 :=
Tag_3,
ianyElement6 :=
DevId_3,
ianyElement7 :=
Tag_4,
ianyElement8 :=
DevId_4,
ianyElement9 :=
Tag_5,
ianyElement10 :=
DevId_5,
ianyElement11 :=
Tag_6,
ianyElement12 :=
DevId_6,
ianyElement13 :=
Tag_7,
ianyElement14 :=
DevId_7,
ianyElement15 :=
Tag_8,
ianyElement16 :=
DevId_8,
ianyElement17 :=
Tag_9,
ianyElement18 :=
DevId_9,
ianyElement19 :=
Tag_10,
ianyElement20 :=
DevId_10
:
:
ianyElement91 :=
Tag_46,
ianyElement92 :=
DevId_46,
ianyElement93 :=
Tag_47,
ianyElement94 :=
DevId_47,
ianyElement95 :=
Tag_48,
ianyElement96 :=
DevId_48,
ianyElement97 :=
Tag_49,
ianyElement98 :=
DevId_49,
ianyElement99 :=
Tag_50,
ianyElement100 := DevId_50);