Sei sulla pagina 1di 13

Protocol description FCP FAT

.1 Introduction:

Interface settings :
Baudrate : 9600
Start bits: 1
Data bits: 8
Parity : none
Stop bits : 1
Checksum : 1 Byte Addition of all bytes

Addresses from FCP 0x01 0x3F Device address


0xC0 Broadcast address
Reply address from device = own address

Message transport :
- message to single device with reply
- broadcast message to all devices without reply

Message format:
Byte number function range
0 address 0x01-0x3F, 0xC0
1 length N max. 60 bytes
2 Command / Bit 60 : command
direction Bit 7 : direction
1 = from FCP
0 = from device
3N-2 Data
N-1 Checksum Addition of bytes

NSC Sicherheitstechnik GmbH Seite 1 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.2 Commands

Function Length direction comand data 1 data 2 data 3 data 4 data 5 data 6 data 7 data 8 data
Broadcast
messages
CPU -> Zone 0 bis 40
Send message 1252 SLAVE 0xC1 Class ID Zone High Low Detect. Org. Type FCP no. byte text
CPU ->
Date & time 12 SLAVE 0xC0 Class ID Day Month Year Hour Minute Second
CPU > Class ID TAB. FAT
Configuration 9 SLAVE 0xC2 Language Config. Config.
Class ID 0 to 40
Installer Logo CPU > Byte Text
line 1 646 SLAVE 0xC3
Class ID 0 to 40
Installer Logo CPU > Byte Text
line 2 646 SLAVE 0xC4
CPU > Class ID Delay
delay 9 SLAVE 0xC5 Status Time in seconds

Single message
Type & CPU ->
softwareversion 4 SLAVE 0x81 -
Type & SLAVE -> 10 Byte
softwareversion 15 CPU 0x01 Dev. type Softwareversion
CPU -> FBF-
Status request 5 SLAVE 0x91 LED's
SLAVE -> Broadcast FAT FBF
Send status 7 CPU 0x11 ID Status Status
SLAVE ->
Status Interrupt 4 CPU 0x33
Send single CPU -> Zone 0 bis 40
message 1252 SLAVE 0xC1 Class ID Zone High Low Detect. Org. Type FCP no. byte text
SLAVE -> Zone
Command 12 CPU 0x41 Class ID Zone High Low Detect. Org. Type FCP no.
NSC Sicherheitstechnik GmbH Seite 2 von 2
/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
Device typecodes (for command 0x01):

//61=FAT
//62=LCD repeater panel
//63=FAT with FBF
//81= PC management system

Description of special data bytes


Function Bit 7 Bit 6 Bit 5 Bit4 Bit3 Bit 2 Bit 1 Bit 0
Extinguish Fire outputs Transmission Sounders Transmission
FBF - LEDs - - system actic disabled device active disabled Alarm device disabled
Test Disable
Fire outputs Transmission Transmission Disable
FBF push buttons - - - disabled device device sounders Reset FCP
FAT - Status Reset/Restart Buzzer off Checksum FBF 24V input 2 24V input 1 - -
Language Num. Value: 0 = german 2 = french 4 = Slovenian 6 = Serbian
1 = english 3 = dutch 5 = czech
TAB/FAT config - - - - - - Recieve buzzer Send buzzer
Delay Status - - - - - 0 = off, 1 = reaction time, 2 = inspection time

NSC Sicherheitstechnik GmbH Seite 3 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.3 Timing

.3.1 Normal mode (no message)

FCP ->0x91 Dev1 -> 0x11 FCP ->0x91 Dev2 -> 0x11 FCP ->0x91 Dev3 -> 0x11 ..
Status request 30ms Status to FCP 1000ms Status request 30ms Status to FCP 1000ms Status request 30 ms Status to FCP
Dev1 or Dev2 or Dev3 or

Dev1 -> 0x41 Dev2 -> 0x41 Dev3 -> 0x41


Command Command Command
to FCP to FCP to FCP

NSC Sicherheitstechnik GmbH Seite 4 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.3.2 New event

FCP ->0xC1 FCP -> 0x91


Broadcast Status request
all devices 20-1000ms device x

All devieces have to response to the "status request" with the last received broadcast ID. If a deviec ddidn't receive a message correctly this message will be repeated as a
single message with a single message ID to the address of the device. The answer to this single message has to be a status message with the received ID.

FCP ->0xC1 30ms Dev x -> 0x11


single message Status to FCP
device x

.3.3 Status Interrupt


If a device wants to send a command/status preferentially it can generate a "Status Interrupt". To avoid collision with other messages special care has to be taken of the
timing.
After a status response of a device any other device has 10 ms time to send a "Status Interrupt". The it will be interrogated in the next cycle.

FCP ->0x91 Dev1 -> 0x11 DevX->0x33


Status request 30ms Status to FCP 10ms Status Interrupt
Gert 1 max. 8ms

Dev x -> 0x41


Command
To FCP

NSC Sicherheitstechnik GmbH Seite 5 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.3.4 Timeout

If a slave device doesn't respond correct for 3 following status requests, a fault message will be displayed.
If a slave doesn't respond with the correct ID of the last broadcast message, a single device message will
be repeated until the dvice responds with the correct ID.

.3.5 Date&Time
One time per minute the date&time comand 0xc0 will be send.

NSC Sicherheitstechnik GmbH Seite 6 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.4 Broadcast message
Byte number function description
0 Addr. = 0xc0
1 Length
2 Command
3 Message class Bit 72 not used
Bit 1 = remote panel
Bit 0 = FAT
4 message ID 1255
5 zone high byte zone = 0-1024
6 zone low byte
7 detector Detector = 1-254
8 message origin see table message origins
9 message type see table message types
10 FCP no. for networked systems
11 N-2 detector text 40 carachters

N-1 checksum

.4.1 message types


// 01H = alarm
// 02H = 2. alarm conventional detectors
// 03H = testalarm (Revision, Testalarm)
// 04H = prealarm
// 05H = fault "technical alarm"
// 06H = fault
// 0AH = activation
// 0BH = activation reset
// 0EH = information
// 0FH = confirm Information

NSC Sicherheitstechnik GmbH Seite 7 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
// 10H = switch on
// 20H = switch off
// 30H = revision
// 80H = call fire brigade
// 81H = fire brigade alarmed
// 82H = main alarm
// 90H = reset FCP
// 91H = initialize detectors
// C0H = send time/date
// FFH = fault reset

.4.2 message origins


//0 = detector
//1 = zone
//2 = output
//3 = relay
//4 = power output
//5 = input
//6 = hardware
//7 = 24V voltage
//8 = loop card
//9 = network
//0AH = Loop
//0BH = exting. system
//0CH = key deposite box
//0DH = interface
//0EH = sounder/strobe
//0FH = transmission device
//10H = delay
//11H = alarm outputs
//12H = buzzer
//13H = maintenance

NSC Sicherheitstechnik GmbH Seite 8 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
//14H = detector configuration
//15H = shielding
//16H = earth fault
//17H = checksum data memory
//18H = FCP restart
//19H = PC communication
//1AH = RS485 interface
//1BH = timer program on/off
//1CH = Network message
//1DH = Network configuration
//1EH = Network deviec error
//1FH = Special key

NSC Sicherheitstechnik GmbH Seite 9 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
.5 message overview
zone high customer
message origin byte zone low byte detector message type FCP no. text
0 = single detector Zone Zone Detector 0x01 = Alarm FCP no. YES
1 = Zone Zone Zone - 0x02 = 2. Alarm conventional YES
0x03 = Testalarm YES
0x04 = Prealarm YES
0x05 = Activation "technical alarm" YES
0x06 = Fault YES
0x10 = Switch on YES
0x20 = Switch off YES
0x30 = Revision YES
0xFF = Reset Fault YES
2= Output - Nr. 1 = Open circuit 0x06 = Fault FCP no. YES
3= Relay - Nr. 2 = Short circuit 0x10 = Switch on YES
4= Power output - Nr. 0x20 = Switch off YES
5= Input - Nr. 0xFF = Reset Fault NO
6= Hardware - 0 1 = mains voltage 0x06 = Fault FCP no. NO
2 = batterie 0xFF = Reset Fault NO
3 = Flash NO
4 = Data-Flash NO
5 = main processor NO
6 = A/D converter NO
7 = IC Bus NO
7 = 24V voltage - Nr. 1 = mains fuse 0x06 = Fault FCP no. NO
2 = FBF fuse 0xFF = Reset Fault NO
3 = ext. power supply NO
0x01 = shielding
8 = Loopcard - Nr. SHORT CIRCUIT - 0x06 = Fault FCP no. NO
0x02 = shielding SHORT
CIRCUIT + 0xFF = Reset Fault NO
0x04 = transm. buffer overflow NO
0x08 = restart NO
0x10 = EEPROM NO
0x20 = Processor. configuration NO
NSC Sicherheitstechnik GmbH Seite 10 von 2
/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
0x40 = Softw. Update NO
0x80 = Checksumme NO
9 = network - Adr. ? 0x06 = Fault FCP no. NO
0xFF = Reset Fault NO
10 = Loop - Nr. 0x01 = short circuit ML2468 0x06 = Fault FCP no. NO
0x02 = short circuit ML1357 0xFF = Reset Fault NO
0x04 = Open circuit ML- NO
0x08 = Open circuit ML+ NO
0x10 = Open circuit
Shielding NO
11 = exting. System - Nr. - - FCP no. NO
12 = key deposite box - - 1 = Alarm 0x01 = Alarm FCP no. NO
2 = unlocked NO
13 = interface Nr. - 0x06 = Fault FCP no. NO
0xFF = Reset Fault NO
14 = sounder/strobe - - - 0x10 = Switch on FCP no. NO
15 = transm. Device - 0x20 = Switch off NO
16 = delay - NO
17 = fire outputs - NO
18 = buzzer - - - 0x20 = Switch off FCP no. NO
19 = maintenance - - - 0x06 = Fault FCP no. NO
0xFF = Reset Fault NO
20 = initialize detectors - - - 0x0E = Info FCP no. NO
21 = shielding - - - - FCP no. NO
22 = earth fault - - - - FCP no. NO
23 = checksum data - NO
24 = FCP restart - NO
25 = PC communication - - 0 = read - FCP no. NO
1 = write NO

NSC Sicherheitstechnik GmbH Seite 11 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
26 = RS485 interface - 0 1,2 = interface 0x06 = Fault FCP no. NO
Adr. 0x01 = communication 0xFF = Reset Fault NO
0x04 = 24V input 1 NO
0x08 = 24V input 2 NO
0x10 = FBF NO
0x20 = CHECKSUMME NO
0x80 = Reset / Restart
28=network configuration - 0= network configuration 0 0x06 = fault FCP no.
1=network ID-x
Doppeladresse chanel 1 or 2 0xFF = Reset Fault
2=Netzwerk ID-x
Programmierung chanel 1 or 2
29=network device - device ID chanel 1 or 2 0x06 = fault FCP no.
0xFF = Reset Fault NO
0xFF - - 0x90 = FCP reset FCP no. NO
0x91 = initialize detectors NO
0x80 = main alarm
0x81 = fire brigade alarmed
0x82 = call fire brigade

.6 Controlling of FCP from external device

Function Length direction comand data 1 data 2 data 3 data 4 data 5 data 6 data 7 data 8 checksum
Single command
Org. Type
See 4.2 See 4.1
Send single SLAVE -> Zone Zone message message
command 12 CPU 0x41 Class ID High Low Detect. origins types FCP no. checksum

"Class" and "ID" have to be returned with same values as received in last message from FCP.
After sending a command FCP will send the appropriate message back within 5 seconds. If there isn't a message within 5 seconds the command should be repeated.

Examples:
NSC Sicherheitstechnik GmbH Seite 12 von 2
/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.
Disable zone 5 detector 1 of FCP 1
Addr (i.e. 0x01), 0x12, 0x41, class (0x03), last received ID (i.e. 0x0a), 0x00, 0x05, 0x01, 0x00, 0x20, 0x01, checksum ( 0x88)

Disable zone 510 of FCP 1


Addr (i.e. 0x01), 0x12, 0x41, class (0x03), last received ID (i.e. 0x25), 0x01, 0xfe, 0x00, 0x01, 0x20, 0x01, checksum ( 0x9D)

Reset FCP 1
Addr (i.e. 0x01), 0x12, 0x41, class (0x03), last received ID (i.e. 0xc1), 0x00, 0x00, 0x00, 0xff, 0x90, 0x01, checksum ( 0xA8)

.7 Synchronisation

To receive all actual messages from FCP, it is possible to set bit 7 "Reset/Neustart" of FAT-Status (see chapter 2 "Commands") to 1 in the answer to a status request. After
having received all messages you have to reset the bit to 0.

NSC Sicherheitstechnik GmbH Seite 13 von 2


/conversion/tmp/scratch/372104360.doc Erstelldatum 30.08.2005 1:52 nachm.

Potrebbero piacerti anche