FS-8700-128 Safetran SCS-128 Manual

Page 10 of 15

4.6.Map Descriptor Example: Write Controls

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

//Client Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name

Data_Type

Length

SCS128_Poll_Type

CMD_DO1,

DA_DO_01,

0,

Wrbx,

Node_A,

Flag,

256,

Controls

CMD_DO2,

DA_8O_01,

0,

Wrbx,

Node_A,

Byte,

32,

Controls

CMD_DO3,

DA_16O_01,

0,

Wrbx,

Node_A,

Register,

16,

Controls

CMD_DO4,

DA_32O_01,

0,

Wrbx,

Node_A,

32-Bit_Reg,

8,

Controls

 

 

 

 

 

 

 

 

Name of one of

Starting

offset

the Data Arrays

in the

Data

defined

in

Array

which

Data_Array

holds the 1st

section.

This

Data

Array

control status.

 

 

holds

control

 

 

statuses

to be

 

 

written to other devices.

Wrbx:

send

write

One

of

the

Number

of

command

to

the Server

Nodes declared

consecutive locations

when the

associated

in

the

Node

in the Data array to

Controls

updates

or

Section.

 

use when issuing

the

changes.

 

 

 

Indications

will

Write command.

 

 

 

 

 

read

from

the

 

 

To write continuously use

station

address

 

 

Wrbc as function and add

belonging

to

 

 

a Scan_Interval parameter

this Node

 

 

 

to configure how often to

 

 

 

 

 

 

write.

 

 

 

 

 

 

 

 

 

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

Page 10
Image 10
FieldServer FS-8700-128 instruction manual Map Descriptor Example Write Controls, CMDDO4