beautypg.com

Map descriptor example: read indications – FieldServer Genisys FS-8700-133 User Manual

Page 9

background image

FS-8700-133 Genisys Manual

Page 9 of 13

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com

Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]

5.4

Map Descriptor Example: Read Indic ations

The following Map Descriptors will read indication words from physical Server Genisys_01 and Genisys_02 (described in Client Side Node Descriptors section).

The Cos_Poller Map Descriptor polls VHLC for any indication word changes and returned data is stored on the Data Array under the COS_READ Map Descriptor
for the same Node. The rate of polling is determined by the Scan_Interval.

The Cos_Read Map Descriptor also polls VHLC for all indication words irrespective of data change. The rate of polling is determined by the Scan_Interval.

If Data_Type is Byte, any location in Data Array will hold one indication word from VHLC.

If Data_Type is Bit, eight consecutive locations in Data Array will hold one indication word from VHLC. Also see Appendix A.1.

// Client Side Map Descriptors

//

Map_Descriptors

Map_Descriptor_Name , Scan_Interval , Data_Array_Name , Data_Array_Offset , Function

, Node_Name , Data_Type , Address , Length

CMD_01

, 1.00s

, DA_COS_01

, 0

, COS_Poller , Genisys_01

, Byte

, 0

, 1

CMD_01a

, 50s

, DA_8I_01

, 0

, COS_Read , Genisys_01

, Byte

, 0

, 32

CMD_02

, 1.00s

, DA_COS_02

, 0

, COS_Poller , Genisys_02

, Bit

, 0

, 1

CMD_02a

, 50s

, DA_DI_01

, 0

, COS_Read , Genisys_02

, Bit

, 0

, 256

Name of one of the Data
Arrays defined in the
Data_Array section.
Indication statuses will be
stored in this Data Array

Starting offset
in Data Array to
hold 1

st

indication
status

One of the Nodes
declared in Node
Section. Indications
will be read from the
station address
belonging to this Node

Frequency (in
seconds) to read
Indication Statuses

Number of consecutive
locations in the Data array
to be used for storing data
from the Server.