IEC 62591 Wireless Interface Instruction Manual (for ControlWave Micro)
Revised October-2019
Configuration and Commissioning
3-11
For example, if you decided that you didn’t want the Slot3Var, and
instead you wanted the serial number of the device you would do the
following:
Change the ianyElement10 entry in the LIST structure to reference
SerialNum instead of slot3Var. (To see the exact names of the different
items you can choose for entries in the LIST structure, click on the
IEC62591_STRUCTS worksheet and review the
COMMISSION_POINT_DISCRETE or COMMISSION_POINT
structure definitions.)
LIST010_1(iiListNumber:=
inputListNum,
ianyElement1:=
TagName,
ianyElement2:=
bActive,
ianyElement3:=
PV,
ianyElement4:=
SV,
ianyElement5:=
TV,
ianyElement6:=
QV,
ianyElement7:=
slot0Var,
ianyElement8:=
slot1Var,
ianyElement9:=
slot2Var,
ianyElement10:=
SerialNum
);
listStatus:=LIST010_1.odiStatus;
Now change the DEMUX function call for the tenth item to reference
the serial number parameter of the COMMISSION_POINT structure
instead of the iorSlot3 parameter:
DEMUX_10(ianyInput := commissionList[inputDevNum].
odiSerialNumber,
iiSelect := 10,
iiOutlist := inputListNum);
demuxStat := DEMUX_10.odiStatus;
Now, instead of the slot3var value, the device serial number is copied.
Another possible modification you could make, if you wanted to copy
more than ten items, would be to use a larger size LIST definition, say
LIST30 or LIST100. Remember that if you do this, you must define the
destination list to be the same type.
You may also choose to replace these LIST function blocks with the
lists defined using ControlWave Designer’s Variable Extension Wizard
and its resulting _LIST.INI file.
3.2.6 Modifying the ACT_LIST Function Block (OPTIONAL)
The Active List is a list maintained by the IEC62591 function block of
all wireless devices detected by the Field Link. The purpose of the
ACT_LIST function block is to copy the contents of the Active List to
another LIST that can be collected by external software such as
DataView.
Note:
In the IEC62591_V1_20_Example.zwt and the
IEC62591_DIO_Example.zwt projects, the ACT_LIST function
block is called ActiveList.
The only thing you might modify for this is the LIST function block that
is part of the ACT_LIST function block. By default, it uses a LIST020
function block which can have up to 20 elements – this allows a