FieldServer FS-8700-128 Server User Manual


 
FS-8700-128 Safetran SCS-128 Manual Page 10 of 15
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
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
the Data Arrays
defined in
Data_Array
section. This
Data Array
holds control
statuses to be
written to other
devices.
Starting offset
in the Data
Array which
holds the 1
st
control status.
One of the
Nodes declared
in the Node
Section.
Indications will
read from the
station address
belonging to
this Node
Number of
consecutive locations
in the Data array to
use when issuing the
Write command.
Wrbx: send write
command to the Server
when the associated
Controls updates or
changes.
To write continuously use
Wrbc as function and add
a Scan_Interval parameter
to configure how often to
write.