FieldServer FS-8700-133 instruction manual Map Descriptor Example Write Controls

Page 10

FS-8700-133 Genisys Manual

Page 10 of 13

 

 

4.6Map Descriptor Example: Write Controls

The following Map Descriptor will write controls to physical Server Genisys_01 and Genisys_02 (described in Client Side Node Descriptors section) whenever any of the control statuses changes/updates. One such Map Descriptor is required per Node.

If Data_Type is Byte, 32 consecutive locations from the Data Array will be written to VHLC. Data at any location would be considered as one control word.

If Data_Type is Bit, 256 consecutive locations from the Data Array will be written to VHLC. Data at 8 consecutive locations would be considered as one control word.

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_01b

,-

,DA_8O_01

,0

,Wrbx

,Genisys_01

,Byte

,0

,32

CMD_02

,-

,DA_DO_01

,0

,Wrbx

,Genisys_02

,Bit

,0

,256

Name of one of

the Data Arrays

Starting offset

in the Data

defined in

Array which

Data_Array

holds the 1st

section. This

control status.

Data Array holds

 

control statuses

 

to be written to

 

other devices.

 

Wrbx: send write command to the Server when the associated Controls updates or changes. To write continuously use Wrbc as the function and add a Scan_Interval parameter to configure how often to write.

One of the

Number of consecutive

Nodes declared

locations in the Data

in the Node

array to use when

Section.

issuing the Write

Indications will

command.

read from the

 

station address

 

belonging to this

 

Node

 

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: support@fieldserver.com

Image 10
Contents Driver Manual FS-8700-133 Genisys Table of Contents Driver Scope of Supply Genisys DescriptionSupplied by FieldServer Technologies for this driver Hardware Connections Configuring the Fieldserver AS a Genisys Client Data Arrays/DescriptorsClient Side Connection Descriptions Client Side Node Descriptors OFF, onDriver Related Map Descriptor Parameters Timing ParametersMap Descriptor Example Read Indications Map Descriptor Example Write Controls Configuring the Fieldserver AS a Genisys Server Appendix A. Advanced Topics Appendix A.1. Storage Structure for Data Type Bit and ByteAppendix B. Error Messages