beautypg.com

Methods for getting data, Methods for setting data – Watlow ANAWIN 3 User Manual

Page 15

background image

OLE Reference

AnaWin3 Quickstart Guide

12

Watlow Anafaze

Doc.# 22852-10

Methods for Getting Data

-*%.( / 0 + / 0

/ / 0 +. 0 . . )
-/%.( / 0 + /#

0 / / 0 +. 0 . . #

)
-%%.( / 0 + / 0

/ / 0 +. 0 . . )
-%.( / 0 + /#

0 / / 0 +. 0 .

. )
-1/ .( / 0 + / 0

/ / 0 +. 0 . . )
-'.( / 0 + /#

0 / / 0 +. 0 . . #

)
--2%.( / 0 + / 0

. . )

Used to obtain data values for 1 or more items from a single
controller on the bus. Global data items have variable numbers
of items. GetGlobalDataValues returns all the values for the
given global parameter and thus has no StartIndex or Num-
Values argument.

- The modbus address of the desired controller.

+

- The parameter number of the requested data.

/

- The first Item (e.g. Channel) for which data is re-

quested.

+.

- The number of items for which data is requested

.

- An array of values containing the requested data is re-

turned in this variant. The data type of the value is dependent
on the ParmNum passed

The list of valid parameter numbers for each parameter type is
given later in this document.

Methods for Setting Data

*%.( / 0 + / 0

* / 0 . 0 " . 0

%/% )

Used to set channel data values on a single controller. Note
that only Setpoint, Control Mode, Heat (Primary) Output and
Cool (Secondary) Output are accepted for ParmNum. All pa-
rameters are as above except that the caller fills Values with
an array of values prior to calling the method. If the argu-
ments and data passed in are valid, AWOK(0) is returned and