IEC 62591 Wireless Interface Instruction Manual (for ControlWave Micro)
Revised October-2019
Configuration and Commissioning
3-17
bXMTRFrozen := (IEC62591Status <= DINT#-51120) AND
(IEC62591Status >= DINT#-51129);
(* Execute the ALARM FB when variable is TRUE/ON *)
ALARM_LOGICAL_ON_1
( :
iaAlarmVar:=bXMTRFrozen,
:
);
3.2.12 Additional Programming Notes
The IEC 62591 example program includes two required program type
POUs. One called “InitList” initializes the Commission List. The other
called “WiLess” uses the Wireless worksheet definitions and includes
the actual IEC62591 function block.
Both these program POUs reside within a CYCLIC task called
“WirLess.”
Figure 3-4. CYCLIC Task Running Wireless Program
Note:
The “Wirless” task in the example program executes once per
second to ensure processing of data from the wireless network.
Do
not
change the task
Interval
setting from 1000 ms (1
second).
Once programming is complete, compile and build the ControlWave
project and download it into the ControlWave Micro.
3.3 Commissioning Wireless Devices
Once you download the completed ControlWave project with the
configured IEC 62591 program, it begins to execute within the
ControlWave Micro and commissioning begins automatically.