FS-8700-105_National_Time_and_Signal_FACP Manual Page 1 of 25
1. National Time & Signal FACP Driver Description
Fire Alarm Control Panels (FACPs) are manufactured by the National Time and Signal Corp.
The series 900 and 902 FACP’s can be purchased with a ‘BACnet’ interface option. When
suitably equipped and when this interface is enabled, the FACPs can transmit data to a
FieldServer which can, in turn, make this data available to other devices including devices which
are capable of communicating using the BACnet and other protocols.
This driver is a passive client driver. This means that the driver does not actively poll for data but
listens passively for data to be sent by the FACP’s that it is connected to. Messages sent by the
panel are either ignored stored by the FieldServer based on panel status. How these messages
are processed is dependent on the configuration.
No automatic panel data synchronization technique exists. The data in the FieldServer and the
panel status have to be synchronized manually.
This is a serial driver. Data is transferred using RS-232 or RS-485 (with converter).
The driver provides both client and server emulation. The server side of the driver is intended to
support FieldServer’s Quality Assurance program and is not intended to provide complete
emulation of a FACP. Thus the server side is not fully documented. However, at a customer’s
request the server side functionality can be documented and enhanced. If you are interested in
this functionality, then please contact FieldServer’s sales group.
Max Nodes Supported
FieldServer Mode Nodes Comments
Client 1 One such connection can be made per FieldServer port.
Server
Server emulation provided for QA purposes only. Not
supported or documented except at customer request.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 3 of 25
3. Hardware Connections
The FieldServer is connected to the ‘BACnet’ port of the FACP as shown in connection drawing.
TD
GND
CH1 -
GND
CH2 +
CH2 -
CH1 +
RD
Pin 1 = RX - Brown
Pin 8 = TX - Orange/White
Pin 5 = GND - Blue/White
1.02 Connection Notes
A FACP network consists of up to 32 panels. One of those panels acts as the network
interface by means of its ‘BACnet’ interface port. This interface serves data to the
FieldServer by means of a serial connection. Each one of these connections requires
exclusive use of a FieldServer port. Thus, only one network of FACP’s can be connected to
one FieldServer serial port.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 4 of 25
4. Configuring the FieldServer as a National Time & Signal FACP Client
For a detailed discussion on FieldServer configuration, please refer to the FieldServer
Configuration Manual. The information that follows describes how to expand upon the factory
defaults provided in the configuration files included with the FieldServer (See “.csv” sample files
provided with the FS).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with a National Time & Signal FACP Server.
1.03 Data Arrays/Descriptors
The configuration file tells the FieldServer about its interfaces, and the routing of data
required. In order to enable the FieldServer for National Time & Signal FACP driver
communications, the driver independent FieldServer buffers need to be declared in the “Data
Arrays” section, the destination device addresses need to be declared in the “Client Side
Nodes” section, and the data required from the servers needs to be mapped in the “Client
Side Map Descriptors” section. Details on how to do this can be found below.
Note that in the tables, * indicates an optional parameter, with the bold legal value being the
default.
Section Title
Data_Arrays
Column Title Function Legal Values
Data_Array_Name Provide name for Data Array
Up to 15 alphanumeric
characters
Float, Bit, UInt16, SInt16,
Data_Array_Format
Provide data format. Each Data
Array can only take on one format.
Packed_Bit, Byte,
Packed_Byte,
Swapped_Byte
Number of Data Objects. Must be
Data_Array_Length
larger than the data storage area
required by the Map Descriptors for
Specify a time in seconds. The
driver reports the connection as
being offline when a new valid
NATSfacp_Timeout*
message has not been received on
the connection during this interval.
Each time one is received the
0-600 seconds.
Default = 180Secs.
interval is restarted. If this parameter
is omitted then the driver assumes a
period of 180 seconds.
Use this parameter to specify a Data
Array. The Data Array need only
contain one element as only the 1st
element is used for the connection
status. If the connection is ‘online’
st
element is set to 1. If the
Up to 15 alphanumeric
characters
NATSfacp_Status_DA*
then the 1
connection is offline then the 1st
element is set to zero.
We recommend that the Length of
the DA be set to 33. One element for
the connection status and the other
32 elements for Node / Panel Status.
Further information is provided in
Appendix A.7
1
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for
details of the ports available on specific hardware.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 7 of 25
1.06 Client Side Map Descriptors
4.1.1. FieldServer Related Map Descriptor Parameters
Column Title Function Legal Values
Map_Descriptor_Name
Data_Array_Name
Data_Array_Offset
Function
Name of this Map
Descriptor
Name of Data Array where
data is to be stored in the
FieldServer
Starting location in Data
Array
Function of Client Map
Descriptor
Up to 32 alphanumeric
characters
One of the Data Array names
from “Data Array” section
above
0 to maximum specified in
“Data Array” section above
RDBC, WRBC, WRBX
4.1.2. Driver Related Map Descriptor Parameters
Column
Title
Function Legal Values
Node_Name Name of Node to fetch data from
You must specify one of the 4 choices.
If the ‘Any’ type is used then all messages will be
stored using the MD irrespective of the Data
Data_Type
Type.
Do not create two MD’s with all parameters the
same except that one has a specific Data Type and
the other has ‘Any’. The driver can only store data
in one MD.
Board
Loop
The Board Number. One set of Map Descriptors
required for each board.
The Loop number on the Board. One set of Map
Descriptors required for each loop.
Use one of the 4 permitted values shown on the
Port-Type
right. You can abbreviate the port-types to use the
st
1
character.
The address and length are used to specify a range
Address
of Port Numbers. Think of the Address as a
synonym for port.
Starting address of read block
One of the node
names specified in
“Client Node
Descriptor” above
Alarm
Trouble
Supervisory
Other
Any
1, 2, 3 etc...
1,2,3 etc
Input; Output;
Fault; P(Other)
1,2, 3 … etc
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 9 of 25
4.1.4. Map Descriptor Example 1 – Port has no Sub-Ports.
This Map Descriptor is used to store messages from ‘Panel2’ if they meet the following criteria
Panel
= Node ‘Panel2’‘s Node_ID
Number
Board = 1
Loop = 2
Port-Type = Inputs
Port = 1 to 100 (Address and length
parameters)
Data_Type = Alarms
Typically you will create one MD for each of the 4 data types for each Panel/Board/Loop/Port-Type/Port combination. Only messages
which report trouble allocated to the ‘Alarm’ category will update the DA below. Appendix A.4 provides more information on which
messages are allocated to each data type.
If any of the Port’s has a sub-port then additional MD’s must be created because the Sub-Port_Type = None.
FS-8700-105_National_Time_and_Signal_FACP Manual Page 11 of 25
5. Configuring the FieldServer as a National Time & Signal FACP Server
Server side emulation has been developed and is functional. (FST use this functionality to
complete the QA requirements and to ensure that the driver is compatible with firmware changes
not directly related to this driver.)This has, however, not been documented and is not supported.
If you require the server side of this driver for one of your projects then contact the sales group at
FST.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 12 of 25
Appendix A. Advanced Topics
Appendix A.1. Modifying the Trouble String Table
The trouble string table can be modified/extended using the configuration file.
In the example below, the keyword ‘Broken’ is added and allocated an index value of 1 and a
trouble type of 1. When this message is received it will not be used to clear the Data Arrays
The following are permitted Trouble_Types
1 – Alarms
2 – Troubles
3 – Supervisories
4 – Others
Use the same system to modify existing entries in the table. If the Trouble string exists then
the driver updates the other values. If the string doesn’t exist then a new entry is added. The
table has space for 100 strings.
Driver_Table
Trouble_String, Index_Value, Trouble_Type, Is_Reset, Protocol
Broken, 1, 1, No, National_Time_Fire
Fixed, 0, 1, No, National_Time_Fire
DigiFail, 99, 2, No, National_Time_Fire
Appendix A.2. Controlling which arrays get cleared when a Reset is received.
When a reset message is received on a port then all Data Arrays being used by the Map
Descriptors on that port will have their values set to zero. Specifically: each Map Descriptor
is associated with a section of a Data Array based on the ‘Data Array Offset’ parameter and
the ‘Length’ parameter specified on the Map Descriptor. It is these sections that get reset
when a reset message is received. It is possible to modify this behavior by poking the value
1 into offset 5 in the stats Data Array. You can do this on a temporary basis using the Ruinet
utility or on a permanent basis by including the following in your configuration. Only the
Data Arrays associated with Map Descriptors with panel numbers matching the panel number
of the incoming message are reset.3
Appendix A.3. Controlling case sensitivity in Trouble String Matching
When a message is processed the driver extracts the 8 character trouble string from the
message and compares it against the contents of the table provided in Appendix A.4. The
comparison is case sensitive by default. It is possible to modify this behavior by poking the
value 1 into offset 1 in the stats Data Array.
You can do this on a temporary basis by using the Ruinet utility or on a permanent basis by
including the following in your configuration.
The table below outlines the various messages which are reported by a National Time &
Signal FACP. Each message is allocated to a data type. The data type can be changed – refer
to Appendix A.1.for more information.
If a message is processed with a trouble string corresponding to a row in the table indicating
that the string is used for a reset then the Data Arrays used for that connection will be
cleared.
FS-8700-105_National_Time_and_Signal_FACP Manual Page 15 of 25
Trouble String
Index
value
Data_Type Used to Reset Data Arrays
Call In 53 Troubles 0
MicSwitch 54 Troubles 0
PnlSil G 55 Troubles 0
Unknown 56 Troubles 0
Appendix A.5. Panel / Driver Synchronization
There is no automatic system of synchronizing the Fire Alarm Panels and the data in the
FieldServer. This is because the FieldServer cannot poll for status information from the panel
but has to rely on the panel sending messages with changes in status.
To synchronize the panel to the FieldServer you should push the reset button on the Fire
Alarm Panel. When this is done the driver clears all the Data Arrays associated with the
connections. In this case ‘associated’ means those DA’s used by the Map Descriptors
logically connected to the serial port on which the message was received. This is the default
behavior of the driver – however it is possible to limit the Data Arrays which get cleared so
that only those DA’s associated with the panel which sent the message get cleared. Further
information is provided in Appendix A.2
Appendix A.6. Connection Status
This is a passive client driver connected to a Fire Alarm Panel. Normally there are no alarms
and thus there would be no way for the FieldServer to know if it was still connected to the
FACP network. The National Time & Signal panel, however, sends a message at a regular
interval of approximately one minute. This driver uses this message to monitor and report the
status of the connection.
A connection timeout may be specified. Read about the NATSfacp_Timeout and NATSfacp_Status_DA connection parameters in section 1.04.
If the driver doesn’t receive a ‘valid’ message within this timeout period then the driver
considers the connection as lost. It reports this providing a connection status bit which can be
monitored by the upstream node. The bit is set to 1 when the connection is good and set to
zero when the connection is lost.
A ‘valid’ message is one that does not fail parsing.
Appendix A.7. Node Status
If the FACP sends a message that one of its networked panels has a communications failure
by sending a message with the Trouble String = “CommFail” then the driver reports that
panel/Node as offline. If the event is restored to normal then the driver reports the node as
being online. Furthermore, if a valid message is received from a panel in an offline state then
the driver sets the node status to online.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
FS-8700-105_National_Time_and_Signal_FACP Manual Page 16 of 25
Thus: A Comms Fail message puts the node offline and the node is put online when either a
valid message is received from the panel or the Comms Fail event is restored.
The driver reports the node status by updating the Data Array specified by the
NATSfacp_Status_DA parameter specified on the connection. If this parameter is not
specified then the node status cannot be reported. Ensure the Data Array is at least 33 items
long. The 1st element is used for the connection status. The remaining 32 elements are used
for node status. One element for each node and the offset corresponds to the Node_ID/Panel
number.
This is the only way that an upstream node can monitor if the node is online/offline. The
data obtained by this driver will always be made available to other drivers even if the node
associated with the driver is offline.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
The driver makes some of its operating statistics available in a Data Array where they can be
read by an upstream device. The lines from the example below can be cut and pasted into a
configuration file.
FS-8700-105_National_Time_and_Signal_FACP Manual Page 18 of 25
Relative
Offset4
Description
6 Increments each time a port 'Alive' message is received
7 Increments each time a message is received and is sent to the parsing routine
8
Increments by message length each time a message is received and is sent to the
parsing routine
9 Increments each time a message is received and is sent to the parsing routine
10 Increments each time a message is received and is sent to the store routine
11
Increments each time a message is received and is sent to the store routine and
results in a store
12 Increments each time a message is received and is sent to the reset routine
13
Increments each time a message is received and is sent to the reset routine and
at least one DA was reset
14 Panel Number: Most recent message (after parse, prior to store)
15 Board Number: Most recent message (after parse, prior to store)
16 Loop Number: Most recent message (after parse, prior to store)
17
Port Type: Most recent message (after parse, prior to store). ASCII value
shown. ASCII value shown.
28 Port Number: Most recent message (after parse, prior to store)
19
Sub Port Type: Most recent message (after parse, prior to store). ASCII value
shown.
20 Sub Port: Most recent message (after parse, prior to store)
21 Trouble String Index: Most recent message (after parse, prior to store)
22
Trouble Level: Most recent message (after parse, prior to store). Ascii value
FS-8700-105_National_Time_and_Signal_FACP Manual Page 21 of 25
Message Interpretation and Corrective Action
When the driver was parsing a message it found that it
NATS:#19 Err. Parse: Found a
'%c' instead of a 'P' for Panel.
could not correctly extract some data. It is possible that
new versions of FACP firmware support new values that
this driver does not know.
If this error is printed on rare occasions then it could be
NATS:#20 Err. Parse: Found a
'%c' instead of a 'B' for Board.
attributed to a corrupted message. You can choose to
ignore the problem, or you could resynchronize the panel
to the FieldServer. Appendix A.5 in this manual provides
information on how to do this.
NATS:#21 Err. Parse: Found a
'%c' instead of a '%s' for
PortType.
If it is printed often then assume that there is new
permitted value. Confirm with the equipment vendor and
then take a log and call tech support.
NATS:#22a FYI. Port(=%d)
Supervision Timeout set to %d
Secs
NATS:#22b FYI. Port(=%d)
Supervision Timeout reset to
%d Secs
When the driver starts up it prints this message to alert
you to the default ‘timeout’ value. You can safely ignore
this message if you are satisfied with the setting. If you
want to change the setting then read about the
‘NATSfacp_Timeout’ parameter in section 1.04
NATS:#23 Err. Parse: Found a
'%c' instead of a '%s' for
Please read and apply the same notes as with message 19.
SubPort.
The driver needs a Data Array to store the status of the
connection. A different DA is required for each
NATS:#24 FYI. Can’t store
connection status. DA
required.
connection. Only the 1st element of the DA is used.
Create the DA (See section 1.03) and then use that name
when specifying the ‘NATSfacp_Status_DA’ parameter
on the connection. More information is provided in
section 1.04
If no valid message has been received in the connection
timeout period then this message is printed. The
connection status is updated too, if a
NATS:#25 Err. Going offline.
No msgs in last %ld Secs.
(%d)
NATSfacp_Status_DA’ parameter is specified on the
connection. More information is provided in section 1.04.
If the loss of the connection corresponds to your
expectations then ignore the message. If not, then
investigate why the panel lost its connection to the
FieldServer.
When a valid message is received on a connection then
this message is printed. No corrective action is required.
NATS:#26 FYI. Going online.
New msg rcvd. (%d)
However, if the message was unexpected then it may
indicate that the connection between the Panel and
FieldServer was lost for a period of time and recovered.
You may wish to investigate the loss of the connection.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com