Like this presentation? Why not share!

No Downloads

Total Views

1,102

On Slideshare

0

From Embeds

0

Number of Embeds

1

Shares

0

Downloads

0

Comments

0

Likes

1

No embeds

No notes for slide

- 1. <ul><li>Programming </li></ul><ul><li>This module introduces you to the basics of programming ONYX Fire Alarm Systems. </li></ul>Programming
- 2. <ul><li>Introduction: </li></ul><ul><li>Through this course you will learn the concepts: </li></ul><ul><li>Type Codes </li></ul><ul><li>Boolean Logic </li></ul><ul><li>Software zones </li></ul>
- 3. <ul><li>Type IDs </li></ul><ul><li>Type Codes are software selections for SLC Loops devices (detectors and modules). Some Type Codes are self – explanatory and essentially serve to provide a device label for status changes. </li></ul><ul><li>Type Codes apply to the three basic categories of SLC devices – detectors, monitor (input) modules and control (output) modules. </li></ul>“ Smoke (photo)” “ Pull Station” “ Monitor ”
- 4. <ul><li>Type IDs </li></ul><ul><li>Types codes do not change the way in which a divice operates. The code just define how the control panel is to respond to the activation of an input device (detector or monitor module) or control de functioning or an output device (control module). </li></ul><ul><li>Type codes allow the control panel to assign a device to one of five basic categories: </li></ul><ul><ul><li>Alarm </li></ul></ul><ul><ul><li>Supervisory </li></ul></ul><ul><ul><li>Security </li></ul></ul><ul><ul><li>Trouble </li></ul></ul><ul><ul><li>Other Event (only for NFS2-3030) </li></ul></ul><ul><li>Also the codes define whether a device´s change in status should latch or be tracked by the contol panel. </li></ul>
- 5. <ul><li>Type IDs </li></ul><ul><li>These are some of the almost 40 types of Type Codes that can be assigned to a Monitor Module to define its specific operation. </li></ul>
- 6. <ul><li>Type IDs </li></ul><ul><li>The NFS-320 and NFS2-640 contain four onboard conventional Notification Appliance Circuits. As with addressable control modules, these NACs can be programmed with certain Software Codes to define their operation or just serve a more specific label for circuit. Some of these types are shown. </li></ul>
- 7. <ul><li>Type IDs </li></ul><ul><li>The NFS2-3030 Programing Manual contains the apendix Type Codes. This appendix describes the various codes for intelligent detectors and addressable modules. </li></ul><ul><li>Take a look to the Point Type, Latching setting and whether or not each type code activates CBE (Control by Event ). </li></ul>
- 8. <ul><li>Boolean Logics </li></ul><ul><li>Boolean Logic or also Boolean algebra is a logical calculus of true values. Boolean algebra is the algebra of two values, these values are logical rather than numerical. These are usually taken to be 0 and 1, although F and T (false and true), Off and On, are also in common use. </li></ul><ul><li>When Boolean logic is used in modern electrical circuit design, 0 and 1 are the two possible states of one bit in a digital circuit, tipically high and low voltage, and the state of each output is determined by the particular combination of logic gates employed. Basic logic gates are “AND”, “OR” and “NOT”. These gates may be used alone or in combinations to arrive at a specific result. </li></ul>
- 9. <ul><li>Boolean Logics </li></ul><ul><li>The AND gate , also called Conjunction is the closest of the three basic gates (AND, OR and NOT) to its numerical counterpart, in fact on 0 and 1 it is multiplication. As a logical operation the conjunction of two propositions is HIGH (1) when both propositions are HIGH (1), and otherwise is LOW (0). </li></ul><ul><li>See the true table, gate and diagram of the right. Realize that the two switches connected in Series with each other of the diagram represent the A and B inputs, and the light at the right of the diagram represents the Output, this circuit configuration is equivalent to an AND gate. </li></ul>True table AND gate Diagram
- 10. <ul><li>Boolean Logics </li></ul><ul><li>In a fire alarm system, the AND function is used when the activation of an output must result from the initiation of more than one input device. </li></ul><ul><li>In the figure of the right, there are three input devices: a detector, a pull station and a control module, the three input devices must be activated, in order to activate the output (a strobe), otherwise the output will not be activated (see true table). </li></ul><ul><li>Realize that the configuration with two AND gates shown below is equivalent to the multi-AND gate shown above. </li></ul>Detector Pull station Control Module Strobe Inputs: Multi-AND Tow AND gates True table
- 11. <ul><li>Boolean Logics </li></ul><ul><li>The OR gate (Disjunction), works almost like addition, with one exception: the disjunction of 1 and 1 is neither 2 nor 0 but 1. Thus the disjunction of two propositions is LOW (0) when both propositions are LOW (0), and otherwise is HIGH (1). </li></ul><ul><li>In the figure of the right, you can see the Or gate, its true table, and the equivalent diagram, realize that two inputs connected in parallel with each other performs the same function as two inputs of an Or gate. </li></ul>Or gate True table Diagram
- 12. <ul><li>Boolean Logics </li></ul><ul><li>The OR function is used when the activation of an output must result from the initiation of any of the input devices. </li></ul><ul><li>The diagrams below represent the configuration of three detectors as input devices and a Horn as the output device, realize that if any of the three detectors is initiated it will result in the activation of the horn. </li></ul><ul><li>The diagrams in the left and in middle are equivalent with each other, i.e. their true table (right diagram) is the same. </li></ul>Multi-OR gate Detector 1 Detector 2 Detector 3 Horn Detector 1 Detector 2 Detector 3 Horn Or gates equivalent configuration True table
- 13. <ul><li>Boolean Logics </li></ul><ul><li>The NOT gate or inverter is a digital logic gate that implements logical negation. Then if the input in A is HIGH (1), the output in B will be LOW (0), and if the input in A is LOW (0), the output in B will be HIGH (1). </li></ul><ul><li>The true table of a NOT gate is shown in the figure. </li></ul>NOT gate True table Input A Output B A B
- 14. <ul><li>Boolean Logics </li></ul><ul><li>Venn diagrams can be used to represent basic boolean operators like AND, OR and NOT. Each area of the diagram, shared or not can represent a boolean equation. </li></ul><ul><li>The Venn diagram of the figure shows the intersection of sets "A AND B" (in violet/dark shading), the union of sets "A OR B" (all the colored regions), and the “ exclusive OR “ case "set A XOR B" (all the colored regions except the violet/dark shading), the “exclusive OR” operator will be seen in the next issue. </li></ul>A AND B
- 15. <ul><li>Boolean Logics </li></ul><ul><li>The XOR ( exclusive Or) gate of two propositions is HIGH (1) just when exactly one of the propositions is HIGH (1), otherwise the output is LOW (0). </li></ul><ul><li>Logical XOR can be translated as "one, or the other, but not both". </li></ul>True table
- 16. <ul><li>Boolean Logics </li></ul><ul><li>As an example, see the figure below. The activation of the Releasing Device occurs when either the detector or the pull station has been activated (a certain period of time), but not both. </li></ul>Detector Pull station Releasing Device XOR gate
- 17. <ul><li>Software Equations </li></ul><ul><li>Software Equations are written to define the relationship between input and output devices in a fire system. </li></ul><ul><li>Let´s start with the following condition: </li></ul><ul><li>“ If the detector and the pull station is activated, then activate the strobes” </li></ul>Detector Pull station Control Module If the detector AND the pull station is activated Then activate the strobes
- 18. <ul><li>Software Equations </li></ul><ul><li>The first step to take is assigning an address to the devices. Remember that the address of a detector should not be repeated in other detector, and the address of a module should not be repeated in other module, since it would cause a trouble in the fire system, but it is allowed to use the same address of a detector in a module and vice versa. </li></ul><ul><li>After assigning an address to each addressable device; each device can be identified and used when making Software Equations. </li></ul>Detector Control Module L1 D 005 L1 M0 16 SLC Loop number Detector Address SLC Loop number Detector Address Pull station L1 M0 10 SLC Loop number Detector Address
- 19. <ul><li>Software Equations </li></ul><ul><li>The initial statement: </li></ul><ul><li>“ If the detector and the pull station is activated, then activate the strobes” </li></ul><ul><li>can be rewritten as follows: </li></ul><ul><li>“ If L1D005 and L1M010 is activated, then activate L1M016 ” </li></ul><ul><li>Realize that the strobes are referred to the address of the control module. </li></ul>Detector Pull station Control Module
- 20. <ul><li>Software Equations </li></ul><ul><li>In order to make an equation that can be understood by the ONYX fire alarm panel, the statement: </li></ul><ul><li>“ If L1D005 and L1M010 is activated, then activate L1M016 ” </li></ul><ul><li>has to be written as follows: </li></ul><ul><li>AND(L1D005,L1M010) </li></ul><ul><li>This equation has to be assigned to the control module (L1M016) in order to activate the strobes referred to this module. </li></ul>Detector Pull station Control Module
- 21. <ul><li>Software Equations </li></ul><ul><li>As we learnt with the AND equation, we can follow the same procedure to make an equation with the OR operator. The statement would be: </li></ul><ul><li>“ If the detector or the pull station is activated, then activate strobes” </li></ul><ul><li>Which can be rewritten with the device´s addresses as: </li></ul><ul><li>“ If L1D005 or L1M010 is activated, then activate L1M016 ” </li></ul><ul><li>Then, it should be entered in the panel as: </li></ul><ul><li>OR(L1D005,L1M010) </li></ul><ul><li>As we know, the equation has to be assigned to the control module (L1M016) in order to activate the strobes referred to this module. </li></ul>Detector Pull station Control Module
- 22. <ul><li>Control-By-Event </li></ul><ul><li>Control-By-Event (CBE) is a method of controlling outputs by the activation of specific inputs. </li></ul><ul><li>Consider a Voice Evacuation implemented in a building as that one shown in the figure. There are detectors installed on each floor of the buidling, but it is not required that all floors receive an evacuation alarm when just one detector has been activated, but just those floors closest to the floor in which the detector was activated; for example the corresponding area to a red colored group of floors in the building of the figure, to accomplish it, it is required to implement CBE in order to alarm just the specific area we requiere to alarm. </li></ul>
- 23. <ul><li>Control-By-Event </li></ul><ul><li>Take a look to the figure below. In this example, the activation of a detector will result in the activation of the control modules corresponding to the floor in which the detector is located and its adyacent floor(s). For example, the activation of a detector of the 3th floor would result in the activation of the control modules of the 3th, 2nd and 4th floors. The CBE equation is also shown below. </li></ul>FLOOR (LOOP) 4 3 2 1 Address -> 1 2 3 CBE equation: OR(L2D1, L2D2, L2D3, L3D1, L3D2, L3D3, L4D1, L4D2, L4D3)
- 24. <ul><li>Control-By-Event </li></ul><ul><li>In applications including a large number of detectors and modules, it is more efficient to employ Software Zones , consider the example of the previous slide, the Software Zones would be as follows: </li></ul>OR(L2D1, L2D2, L2D3, L3D1, L3D2, L3D3, L4D1, L4D2, L4D3) Z1 Z1 Z1 Z2 Z2 Z2 Z3 Z3 Z3 Z4 Z4 Z4 Z3 Z4 Z2 Z3 Z4 Z1 Z2 Z3 Z1 Z2 Each detector is programmed with a single Software Zone representing that floor. Each Control Module is programmed with the Software Zones corresponding to its floor and adjacent floors. NOTE: There is a maximum amount of characters that a CBE equation can contain: For NFS2-3030: 80 characters For NFS2-640 and NFS-320: 73 characters
- 25. <ul><li>Logic Zones </li></ul><ul><li>There are five different of zone types . In the CBE example it is employed the “General Zones”, which directly link input and output devices. </li></ul><ul><li>General Zones can be used as arguments in logic equations, implemented using Logic Zones, which employ the Boolean Logic Functions. </li></ul><ul><li>Besides the General and Logic Zones , there are Trouble Zones (NFS-3030 only), Releasing Zones and Special Zones . </li></ul>Zab = OR(Z15, L1D9) Equation Type of Zone (a) and zone number (b) Logic function General Zone number Device Address Arguments (inputs)
- 26. <ul><li>Logic Zones </li></ul><ul><li>Logic Zones are defined by a Logic Equation, which is any Control-By-Event equation that employs a Logic Function like AND, OR, NOT, etc. </li></ul><ul><li>The Logic Zone can be programmed into the Zone Map for each device it is intended to control. </li></ul><ul><li>In general, whenever a specific Equation (Logic, Trouble, General, Releasing or Special) become TRUE, all output points mapped to that specific Zone will activate. </li></ul><ul><ul><li>- The NFS-320 & NFS2-640 have the capability of 20 Logic Zones, numbered ZL1-ZL20. </li></ul></ul><ul><ul><li>- The NFS2-3030 has the capability of 1000 Logic Zones, numbered ZL1-ZL1000. </li></ul></ul>Zab = OR(Z15, L1D9) Equation Type of Zone (a) and zone number (b) Logic function General Zone number Device Address Arguments (inputs)
- 27. <ul><li>Trouble Zones </li></ul><ul><li>As with Logiz Zones, a Trouble Zone is defined by an equation with logic, but it is referred as Trouble Equation . </li></ul><ul><li>Trouble Zones are used to activate output devices or indicate on mapped annunciator points that one or more trouble conditions have occurred within the system. </li></ul><ul><li>The NFS-320 and NFS2-640 do not have Trouble Zone capability. </li></ul><ul><li>The NFS2-3030 has the capability of 100 Trouble Zones, numbered ZT1 – ZT1000. </li></ul>ZTa = AND(T208, T207) Equation Trouble Zone Logic function System Trouble Index Number
- 28. <ul><li>Releasing Zones </li></ul><ul><li>Releasing Zones are used to control releasing operations. </li></ul><ul><li>ONYX control panels can be used to perform two types of releasing functions – Agent Release and PreAction / Deluge control. </li></ul><ul><li>Agent Release </li></ul><ul><li>The process of controlling the release of agents designed to supress, extinguish and/or prevent the reignition of fires. </li></ul><ul><li>PreAction </li></ul><ul><li>The main sprinkler system control valve is opened by a Fire Alarm Control Panel, which allows water to flow to individual sprinkler heads. Only the sprinkler heads exposed to the heat of the fire will open and begin sprinkling the fire. This type of system is generally used in areas where piping systems are subject to mechanical damage and where it is important to prevent accidental discharge of water. </li></ul><ul><li>Delug Control </li></ul><ul><li>An automatic sprinkler heads where all the sprinkler are open and the water is held back at a main (deluge) valve. When the valve is triggered, water is discharged from all the sprinkler heads simultaneously. The triggering device is usually a heat or smoke detector. </li></ul>

Be the first to comment