FieldServer FS-8700-41 Computer Drive User Manual


 
FS-8700-41 Simplex 4100 Driver Manual Page 37 of 58
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldserver.com
Appendix A.17. Advanced Map Descriptor Example 8 - ClearAll
As the Xpoint messages (unsolicited message from the panel reporting c-p-s status changes) only report when a c-p-s goes to a non-
normal state you may require a way of synchronizing the FieldServer data to the Panel when everything is normal. This function is
provided as an aid. Typically it is used in conjunction with a pseudo-point programmed into your panel.
The idea behind this function assumes that there is some point(s) which when they report a state of U1 trigger the driver to clear
sections of one or more Data Arrays.
When you create Map Descriptor’s with the ClearAll function the driver makes a note of the c-p-s. If an Xpoint message is received
from the Panel for the specified c-p-s or you use clist to poll for the state of the c-p-s and the state is U1 then this triggers this
ClearAll action. When the action is triggered the driver sets all array point covered by all Map Descriptor’s with the clearall function to
zero, without consideration of the c-p-s associated with the Map Descriptor.
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, sim4100_func, sim4100_card, sim4100_point, sim4100_Sub, Length
Clear_Mapdesc1, DA_AI, 0, passive, Node_A, ClearAll, 1, 2, 3, 100
Clear_Mapdesc1, DA_2, 50, passive, Node_A, ClearAll, 1, 2, 3, 50
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, sim4100_func, sim4100_card, sim4100_point, sim4100_Sub, Length
Clear_Mapdesc1, DA_I, 0, passive, Node_A, Ack, 1, 2, 3, 100
Clear_Mapdesc1, DA_2, 0, passive, Node_A, Ack, 1, 2, 3, 100
Two different arrays, starting at
two different locations and with
two different lengths will get set
to zero when c-p-s=1-2-3 goes
to state U1.
The sim400_func must be
ClearAll.
Two different arrays, starting at two
different locations and with two
different lengths will get set to zero
when c-p-s=1-2-3 goes to state U1.
If 1-2-3 or 1-2-4 go to state U1 then
the dara array regions associated
with both MapDesc’s’ are set to
zero.
An xpoint mapdesc must be
created for any clear all c-p-s.
The clear all logic never gets
called until an xpoint store is
done for the c-p-s configured to
do clearall.