Vous êtes sur la page 1sur 10

Protocol description OPC Server

.1 General

The FCP always is MODBUS slave. The slave address will be set in installer menu under "Options" -"Modbus".
The serial interface protocol and the baudrate also have to be set in installer menu under "interface". The standard
baudrate is 9600.
To select the MODBUS protocol the option has to be unlocked.

.2 Messages

On every request the FCP sends a message out of its memory buffer. If ther isn't any actual message to send just
the FCP status with time stamp will be returned. All other bytes are 0.

.3 Item list

The following items will be transferred. The item list is available as an Excel list in the file "Solution F1.csv".

L1.HR1 M_BMZ_Kennung VT_UI2 Read


L1.HR2 M_Org_Melder VT_UI2 Read
L1.HR3 M_Gruppe VT_UI2 Read
L1.HR4 M_Kanal_Wert VT_UI2 Read
L1.HR5 M_Ring_Adresse VT_UI2 Read
L1.HR6 M_Typ VT_UI2 Read
L1.HR7 M_Melderstatus VT_UI2 Read
L1.HR8 M_BMZstatus VT_UI2 Read
L1.HR9 M_Tag_Monat VT_UI2 Read
L1.HR10 M_Jahr_Stunde VT_UI2 Read
L1.HR11 M_Minute_Sekunde VT_UI2 Read
L1.HR12 K_BMZ_Kennung VT_UI2 Write
L1.HR13 K_Org_Kanal VT_UI2 Write
L1.HR14 K_Von_Gruppe VT_UI2 Write
L1.HR15 K_Bis_Gruppe VT_UI2 Write
L1.HR16 K_vMelder_bMelder VT_UI2 Write

.4 Messages from FCP to OPC Server

The messages will be read by function code 3 (Read Holding Register).


The number of data words to be read is 11.

.4.1 M_BMZ_Kennung

Message FCP no. and message code


// High Byte = Number of FCP
//Low Byte = Code of message type

Item No. Name Data type Address Access Value


1 high M_BMZ Byte 0 Read 1-255

Item No. Name Data type Address Access Value


1 low M_Kennung Byte 0 Read 1-255
// 01H = Alarm
// 02H = 2nd alarm conventional detector
// 03H = Testalarm (Revision, detector test)
// 04H = Prealarm
// 05H = Technical alarm
// 06H = Fault
// 0AH = Activation
// 0BH = Activation reset
// 0EH = Information
// 0FH = Information acknowledgement
// 10H = Switch on
// 20H = Switch off
// 30H = Revision
// 40H = Detector value
// 80h = Main alarm
// 81h = Fire brigade alarmed
// 82h = Call fire brigade
// 90h = FCP reset
// 91h = Scan detectors
// C0H = Read date/time
// FFH = Quiescent after fault

.4.2 M_Org_Melder

Message origin and detector no.


//High Byte = message origin
//Low Byte = detector no.

Item No. Name Data type Address Access Value


2 high M_Org Byte 1 Read 0-255

//0 = detector
//1 = zone
//2 = output
//3 = relay
//4 = power output
//5 = input
//6 = hardware
//7 = 24V volts
//8 = loop card
//9 = Network ARCNET PCB RAM or communication
//0AH = loop
//0BH = extinguishing system
//0CH = key deposit box
//0DH = -
//0EH = sounder
//0FH = transmission device
//10H = delay
//11H = fire outputs
//12H = buzzer
//13H = maintenance
//14H = detector configuration
//15H = shielding
//16H = earth fault
//17H = checksum data flash
//18H = Restart
//19H = interface
//1AH = RS485 interface
//1BH = timer program
//1CH = network message
//1DH = network configuration
//1EH = network device
//1FH = special key
//20H = reaction time (on)
//21H = MODBUS slave address
//22H = MODBUS communication
//23H = transmission device activated

Item No. Name Data type Address Access Value


2 low M_Melder Byte 1 Read 0-255

The meaning is dependent of "org" byte:

Org Meaning
0 = detector detector number
2 = output output number
3 = relay relay number
4 = power output power output number
5 = input input number
6 = hardware 1 = Mains voltage
2 = Battery
3 = Flash
4 = Data-Flash
5 = main processor
6 = A/D converter
7 = IIC-Bus
8 = Telephone server
7 = 24V number of fuse
fuse FBC
channel of ext. supply
8 = loop card number of loop card
9 = Network number of network device
10 = loop loop number
11 = extinguishing system number of. ext. system
12 = key deposit box 1 = alarm
2 = unlocked
21 = shielding loop number
23 = Checksum data flash page number of data flash
25 = interface 1 = send configuration
2 = send event memory
16 = data error on receive
17 = protocol error on receive
18 = loss of data
19 = LED Tableau
26 = RS485 interface cable number (1 or 2)
if device no = 0
33 = MODBUS 0 = communication
1 = device

.4.3 M_Gruppe

Message zone
// zone number (2 bytes)

Item No. Name Data type Address Access Value


3 M_Gruppe word 2 Read 0-99999

The meaning is dependent of "org" byte:

Org meaning
0 = message from detector zone
1 = zone zone
7 = 24V 1= power supply fuse
2 = FBC fuse
3 = 24V input
10 = loop detector address
26 = RS485 interface device number
33 = MODBUS device number

.4.4 M_Kanal_Wert

Message channel and value


//High Byte = input channel of modules
//Low Byte = value

Item No. Name Data type Address Access Value


4 High M_Kanal Byte 3 Read 0-255

The meaning is dependent of "org" byte:

Org meaning
0 = message from detector channel of I/O module
0=detector/module with 1 channel
1-8=input channel 1-8
9-16=output channel 1-8
9 = Network fault type
0=communication
1=RAM network PCB

Item No. Name Data type Address Access Value


4 Low M_Wert Byte 3 Read 0-255
.4.5 M_Ring_Adresse

Message loop and address


//High Byte = loop
//Low Byte = detector address

Item No. Name Data type Address Access Value


5 High M_Ring Byte 4 Read 0-18

Item Nr. Bezeichnung Datentyp Adresse Zugriff Wertebereich


5 Low M_Adresse Byte 4 Read 0-254

.4.6 M_Typ

Message detector type


//High Byte = 0
// Low Byte = detector type

Item No. Name Data type Address Access Value


6 M_Typ word 5 Read 0-255

Defined type codes for FCP Solution F1:

Hochiki

CHQ_B 0x78 //sounder module - 2 outputs, 1 input


CHQ_BS 0x5E //sounder module (base) - 1 output
CHQ_CP 0x00 //Manual call point
CHQ_S 0x39 //input module - 2 inputs
ALG_E 0x88 //optical smoke detector
ACA_E 0xD8 //Multisensor
ATG_E 0x98 //heat detector
ACB_E 0xF0 //Multisensor heat
AIE_E 0xA8 //Ionisation smoke detector
YCA_RL3H2 0x12 //addressable base
YCA_RL5H2 0x14 //addressable Master base
CHQ_MZ 0x15 //conventional module - 1 zone
CHQ_Z 0x19 //conventional module - 2 zones
CHQ_R 0x7C //input -/ output module _ 2 relays, 1 input
CHQ_SIO 0x7D //input -/ output module - 1 relay, 1 input
CHQ_FIO 0x7A //input -/ output module - 8 input (3 Analogue), 8 outputs
CHQ_AB 0x41 //addressable strobe
CHQ_ARI 0x42 //addressable indicator

Apollo XPlorer
XPLO_O 0x45 //optical smoke detector
XPLO_H 0x46 //heat detector
XPLO_HH 0x4e //heat detector High temperature

Apollo XP95
XP95_I 0x03 //Ionisation smoke detector
XP95_O 0x05 //optical smoke detector
XP95_H 0x06 //heat detector
XP95_RB 0x0d //Reflective Beam
XP95_HH 0x0e //heat detector High temperature
XP95_M 0x1D //Multisensor
XP95_MCP 0x1F //Manual call point
XP95_IR 0xFB //flame detector (original type code = 0x15)
XP95_B 0x25 //Beam detector

Apollo Discovery
DISC_I 0x83 //Ionisation smoke detector
DISC_O 0x85 //optical smoke detector
DISC_H 0x86 //heat detector
DISC_M 0x9D //Multisensor
DISC_C 0x8B //CO
DISC_MCP 0x9F // Manual call point

Apollo S90
S90_SCU 0x61 //sounder module
S90_IO 0x62 //input -/ output module
S90_I 0x63 //Ionisation smoke detector
S90_ZMU 0x64 //conventional module
S90_O 0x65 //optical smoke detector
S90_H 0x66 //heat detector
S90_MCP 0x67 //Manual call point

Apollo Module
SMU 0x0C //input module
ZMU 0x04 //conventional module
IO 0x02 //input -/ output module
SCU 0x01 //sounder module

Andere Hersteller
SEC15 0xfc //heat sensor cable SEC15
VIRTUELL 0xfd //Virtual detector
GRENZWERT 0xfe //conventional detector
KEIN_MELDER 0xff

.4.7 M_Melderstatus

Message detector status (2 bytes)

Item No. Name Data type Address Access Value


7 M_Melderstatus word 6 Read 0-0xffff

Detector status has following meaning

.4.7.1 Detector status low byte


Each status is specified by 1 bit:

bit meaning
0 alarm
1 pre alarm
2 test alarm
3 fault
4 switch off
5 revision
6 active
7 technical alarm

.4.7.2 Detector status high byte


in bit 8-11 the status will be specified more detailed:

value (bit 8-11) Analogue detector base sounder conventional detector


1 fault optical part internal fault 1st alarm
2 fault heat part fault protocol 2nd alarm
3 fault opt. und heat part fault missing
4 fault voltage open circuit
5 -
6 - short circuit
7 internal fault
8 -
9 fault function execution
10 fault calibration
11 fault protocol
12 fault double address
13 fault type code
14 new
15 fault missing

The bits 12-15 have the following meaning:

bit meaning
12 pollution
13 calibration request
14 input/output fault
15 initialised

.4.8 M_BMZstatus

Message FCP status (2 bytes)

Item No. Name Data type Address Access Value


8 M_BMZstatus word 7 Read 0-0xffff

//16 bit FCP status

bit meaning
0 main alarm
1 alarm
2 pre alarm
3 call fire brigade
4 fire brigade alarmed
5 fault
6 fault power supply
7 system fault
8 fault transmission device
9 fault sounders
10 switch off
11 transmission device disabled
12 sounders disabled
13 test mode
14 delay active
15 not used

.4.9 Time stamp

3 words for date and time. Data will be transferred in BCD format

day and month


Item No. Name Data type Address Access Value
9 M_TagMonat word 8 Read ttmm

Year and hour


Item No. Name Data type Address Access Value
10 M_JahrStunde word 9 Read jjhh

Minute and second


Item No. Name Data type Address Access Value
11 M_MinuteSekund word 0xa Read mmss
e

.5 Commands from OPC Server to FCP

Commands will be written by function code 6 (Write Single Register).


The number of data words to be written is 5. The data words will be collected by the FCP. Just if data word
K_BMZ_Kennung with FCP no. !=0 will be transmitted, the command will be executed by the FCP. For that
reason K_BMZ_Kennung always should be transmitted as last word..

.5.1 K_BMZ_Kennung

Command FCP no. and code


// High Byte = number of FCP
//Low Byte = code for command type

Item No. Name Data type Address Access Value


12 high M_BMZ Byte 0xb Write 1-255

Item No. Name Data type Address Access Value


12 low M_Kennung Byte 0xb Write 1-255

// 0AH = activation
// 0BH = reset activation
// 10H = switch on
// 20H = switch off
// 90h = reset FCP

.5.2 K_Org_Kanal

Command origin and channel


//High Byte = origin (addressee) of command
//Low Byte = no. of channel

Item No. Name Data type Address Access Value


13 high K_Org Byte 0xc Write 0-255

//0 = detector
//1 = zone
//2 = output
//3 = relay
//4 = power output
//0EH = sounder
//0FH = transmission device
//10H = delay
//11H = fire output
//12H = buzzer

Item No. Name Data type Address Access Value


13 Low K_Kanal Byte 0xc Write 0-255

//0=detector/module with 1 channel


//1-8=input channel 1-8
//9-16=output channel 1-8

.5.3 K_Von_Gruppe

Kommando "from zone"


// zone (2 bytes)

Item No. Name Data type Address Access Value


14 K_Von_Gruppe word 0xd Write 0-99999

The meaning is dependent of "org" byte:

Org meaning
0 = detector from zone
1 = zone from zone
2 = output from output
3 = relay from relay
4 = power output from power output

.5.4 K_Bis_Gruppe

Command "until zone"


//zone (2 bytes)

Item No. Name Data type Address Access Value


14 K_Bis_Gruppe word 0xe Write 0-99999

The meaning is dependent of "org" byte:

Org meaning
0 = detector until zone
1 = zone until zone
2 = output until output
3 = relay until relay
4 = power output until power output

.5.5 K_vMelder_bMelder

Command "from detector/ until detector" to switch off several detectors of one zone
"from zone" and "until zone" then have to have the same value.
//High Byte = from detector
//Low Byte = until detector

Item No. Name Data type Address Access Value


15 K_vMelder_bMelde word 0xf Write 0-99999
r

Vous aimerez peut-être aussi