FieldServer FS-8700-41 instruction manual Appendix A.4. Simplex Point Status Data Format

Models: FS-8700-41

1 58
Download 58 pages 34.3 Kb
Page 25
Image 25
Appendix A.4. Simplex Point Status Data Format

FS-8700-41 Simplex 4100 Driver Manual

Page 25 of 58

Appendix A.3. How to use Data Arrays to map to/from Card-Point-Sub addresses

Somecommandsderiveacardpointsubaddressbyin spectingaFieldServerDataArray. Othersreceivedatafromadevicewithacardpoint subaddressandmodifythedatainan

array based on the cardpointsub address. This se ction explains how to make the connectionbetweenanindexintoaDataArrayanda cardpointsubaddress.

InasimpleworldtheDataArrayindexwouldbe

 

 

 

 

Index=card*maxpointpercard*maxsubpointp

erpoint+point*maxsubpointperpoint

+sub

 

 

 

 

 

 

 

Wheremaxpointpercardandmaxsubpointperpoin

tcouldbelargenumbers.

AsyoucanimaginethiswouldrequirehugesparseD

ataArrays.ToreducetheDataArray

size the FieldServer uses a mapping algorithm which

can be optimized based on the

addresses of the Simplex devices. The map

is

manipu

lated by using the

sim4100_card/point/subparametervalues.

 

 

 

 

Example:

 

 

 

 

 

 

ConsiderthefollowingMapDescriptorfragment.

 

 

 

 

…,

sim4100_func,

sim4100_card,

sim4100_point,

sim4100_sub,

data_array_offset

 

Xpoint,

10,

5,

 

10,

 

0

Ifdataisreceivedforpoint<c><p><s>= 900 ThisdatawillNOTbeprocessedbecausethecardnu mberdoesnotmatchthevalueofthe sim4100card

Ifdataisreceivedforpoint<c><p><s>= 10200,however,thedatawillbeprocessed. Thearraylocationisderivedusingthefollowingf ormula(sim4100_subistobereadasthe “numberofsubpointsperpoint”;sim4100_card’sva luewillbeignored.)

Location =data_array_offset+<p>*sim4100_sub +<s> =0+20*10+0=200

Appendix A.4. Simplex Point Status Data Format

WhenapointstatusisobtainedtheFieldServerwil

lwriteonebyteofdatatoaDataArray.

Thebytewillcontainthefollowinginformation. B

ecauseeachpointcanreportanumberit

onlymakessensetouseDataArraysthatarenotbi

tarrays.

 

 

 

 

 

 

 

Bit

 

Identifier

 

Description

 

0(FirstBit)

F

FireAlarm

 

 

1

 

P

Priority2

 

 

2

 

S

Supervisory

 

 

3

 

T

Trouble

 

 

4

 

U

Utility

 

 

5

 

C

Control

 

 

6

 

D

Disable

 

 

7

 

A

Primarystate(basedonpointtypeFifsmoke

detector,Cifsignal

 

 

 

circuit,etc.)

 

 

FieldServer Technologies1991TarobCourtMilpitas,California95035USA

Web:www.fieldserver.com

Tel:(408)2622299

Fax:(408)2622296

Toll_Free:8885091970

email:support@fieldserver.com

Page 25
Image 25
FieldServer FS-8700-41 instruction manual Appendix A.4. Simplex Point Status Data Format