Quantcast
Viewing latest article 2
Browse Latest Browse All 3

Simplex Point Addresses for FieldServer’s when the FACP’s are networked

 

 

Using the System Points Summary Report from the FACP configuration tool

Image may be NSFW.
Clik here to view.
CAS 1

 

To monitor this point passively:

Use the following Map Descriptor.  The length has been set to a large number to allow all the networked points to be collected. Other than that there is no difference between receiving events from a local FACP or a networked FACP.

 

Map_Descriptors

Map_Descriptor_Name ,Data_Array_Name ,Data_Array_Offset ,Function ,Node_Name  ,sim4100_func ,sim4100_card ,sim4100_point ,sim4100_sub ,protocol ,length ,da_byte_name ,da_float_name

Card_03_Points      ,DA_CARD3        ,0                 ,passive  ,Simplex_01 ,xpoint       ,3            ,0             ,256         ,sim4100  ,10000  ,DA_P         ,DA_F

 

To Serve this Point

To serve the point you need to know the offset into the data array where the example point can be found. Data is stored in array = DA_Card3

The point=Zone ZD1-1 is found at offset 13792 in the data array. At that location is a UINT with 16 bits. Each bit’s state represents the state of each possible event.

 

To read this point

You need to know the C-p-S Card-Point-Subpoint.

Card = 3 (Given)

Point = truncate ( Address / 256 ) – ie. Divide by 256 and use only the whole number result

SubPoint = Remainder ( Address / 256 ) * 256 – ie divide by 256 and use the remainder as the result.

Eg. 3-13792

Card = 3

Point = trunk( 13792 / 256)  = trunk(53.875) = 53

Sub Point = 256* Remainder (13792 / 256)  = 256 * Remainder (53.875) =  256 * 0.875 = 224


Viewing latest article 2
Browse Latest Browse All 3

Trending Articles