IEC 62591 Wireless Interface Instruction Manual (for ControlWave Micro)
3-14
Configuration and Commissioning
Revised October-2019
Notes:
▪
The Commission List structure in the IEC62591 V1
20_Example.zwt project uses the COMMISSION_ARRAY_V1_20
datatype, the CommishList POU worksheet, and the
CommissionList array. (Use with ControlWave Micro firmware 5.80
or newer)
▪
The Commission List structure in the IEC62591_DIO_Example.zwt
project uses the COMMISSION_ARRAY_DISCRETE datatype, the
the CommishList POU worksheet, and the CommissionListDiscrete
array. (Use with ControlWave Micro firmware 5.70 or newer)
▪
The Commission List structure in the IEC62591_Example.zwt
project uses the COMMISSION_ARRAY datatype, the Clist POU
worksheet, and the CommissionList array. (Use with ControlWave
Micro firmware 5.60 or earlier)
You must create an entry in the Commission List that includes the long
tag name for the device and decommission flag (set to FALSE) for each
and every device you want the IEC 62591 module to access.
To do this, double-click the CommisList (or Clist) worksheet to open it,
then add or modify Commission List definitions to include a valid long
tag name for each iostrTagName and specify FALSE for the
ibDecommission flag for each device you want to commission. Specify
TRUE for the ibDecommission flag only if you don’t want to
commission the device – for example, if it’s not ready to be added to
your system yet.
In the code below, devices DEV_0001, DEV_0002, DEV_0003 and
DEV_0004 all have their ibDecommission flag set to FALSE, so they
all can be commissioned and have process variable data collected over
the network; DEV_0005 has a decommission flag set to TRUE, so it
cannot be commissioned, and its process data won’t be collected unless
that decommission flag is changed to FALSE.
IF (bInitCommList = TRUE) THEN
bInitCommList := FALSE;
commissionList[1].iostrTagName := 'DEV_0001';
(* Tagname in wireless transmitter. *)
commissionList[1].ibDecommission := FALSE; (* Commission the device when found. *)
commissionList[2].iostrTagName := 'DEV_0002';
commissionList[2].ibDecommission := FALSE;
commissionList[3].iostrTagName := 'DEV_0003';
commissionList[3].ibDecommission := FALSE;
c
commissionList[4].iostrTagName := 'DEV_0004';
commissionList[4].ibDecommission := FALSE;
commissionList[5].iostrTagName := 'DEV_0005';
commissionList[5].ibDecommission := TRUE; (* Device is commissioned only after
* this is changed to FALSE. *)
END_IF;
There are other parameters in the Commission List that populate
automatically when the program sees a match between the long tag