FieldServer Envirotronics SystemsPlus FS-8700-88 User Manual
Page 11

FS-8700-88 Envirotronics SystemsPlus
Page 11 of 49
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: [email protected]
4.4.4.
Map Descriptor Example 1 - read event event_num
// Client Side Map Descriptors
Map Descriptors
Map_Descriptor_Name, Scan_Interval, Data_Array_Name,
Data_Array_Offset, Function, Node_Name,
SysPlus_Data_Type, Address, Length
Event_States_00,
0s,
Event_States,
0,
rdbc,
SYSPLUS_01, Event,
0,
1
The event_num is specified by the “Address” field. The state of the event will be stored as 1 for “ON” or 0 for “OFF”.
4.4.5.
Map Descriptor Example 2 - set event event_num = Boolean
// Client Side Map Descriptors
Map Descriptors
Map_Descriptor_Name,
Data_Array_Name,
Data_Array_Offset,
Function, Node_Name,
SysPlus_Data_Type,
Address,
Length
Event_States_00,
Event_States_0,
0,
awt,
SYSPLUS_01,
Event,
0,
1
The event_num is specified by the “Address” field. The Boolean state of the event is retrieved from the value written into
Data_Array_Name at Data_Array_Offset. Use a value of 1 for “ON” and a value of 0 for “OFF”.
4.4.6.
Map Descriptor Example 3 - read aux. aux_num
// Client Side Map Descriptors
Map Descriptor
Map_Descriptor_Name, Scan_Interval, Data_Array_Name, Data_Array_Offset, Function, Node_Name,
SysPlus_Data_Type,
Address, Length
Aux_States_00,
0s,
Aux_States,
0,
rdbc,
SYSPLUS_01, Aux,
0,
1
The aux_num is specified by the “Address” field. The state of the aux will be stored as 1 for “ON” or 0 for “OFF”.
4.4.7.
Map Descriptor Example 4 - set aux. aux_num = Boolean
// Client Side Map Descriptors
Map Descriptors
Map_Descriptor_Name,
Data_Array_Name,
Data_Array_Offset,
Function, Node_Name,
SysPlus_Data_Type,
Address,
Length
Aux_States_00,
Aux_States_0,
0,
awt,
SYSPLUS_01,
Aux,
0,
1
The aux_num is specified by the “Address” field. The Boolean state of the aux is retrieved from the value written into
Data_Array_Name at Data_Array_Offset. Use a value of 1 for “ON” and a value of 0 for “OFF”.