5.13 Predefined CCP blocks
5.13.6 CCP Miscellaneous section
5.13.6.1 AlarmLimitRoR
Sets the Alarm limit and the rate of rise derivation on some specific detectors.
Function block name: AlarmLimitRoR
Input parameter: UINT: Zone
Input parameter: UINT: AdrFr
Input parameter: UINT: AdrTo
Input parameter: UINT: Type
Input parameter: UINT: Alim
Input parameter: UINT: RoR
Input parameter: UINT: Cond
Output parameter: BOOL: Q
Description
Rate of Rise functionallity allows for setting of a different alarm threshold and temperature rise threshold for heat detectors. By using AlarmLimitRoR blocks it is possible to vary the temperature threshold between 30 - 84 deg Celcius and set the alarm to trigger when the temperature rise is between 3 to 7 deg Celcius per minute.
CAUTION!
Maximum limit to be set for heat rise is 7 degree Celsius per minute.
Detector Support
The following detectors are supported by this function:
• CN/EV-H
• CN/EV-PH
• NS-AH
• NS-AOHS
Input parameters
Alim - Heat alarm threshold in tenths of degrees Celcius (300 – 840).
RoR - Heat rise alarm threshold in tenths of degrees Celcius (30 – 70).
Block function
The new parameters are loaded on “Cond” positive flank. The old parameters are loaded back again on “Cond” negative flank.
NOTE!
Change of input values are only allowed when “Cond” is false.
NOTE!
Take care not to define overlapping intervals between different AlarmLimitRoR blocks. If this is done, the system may become choked by setting and clearing Rate of Rise rules each PLC run. This will result in chaotic/unpredictable system behaviour.
Related command:
---5.13.6.2 BuzzerLocalOff
NOTE!This function is not implemented name is only reserved for future use.
Table 43.
Function block name: BuzzerLocalOff
Input parameter: UINT: Cent
Input parameter: UINT: Board
Input parameter: BOOL: Cond
Output parameter: BOOL: Q
NOTE!
This function is not implemented name is only reserved for future use.
Related command:BuzzerOff, page 145
5.13.6.3 BuzzerOff
NOTE!
This function is not implemented name is only reserved for future use.
Function name: BuzzerOff
Input parameter: UINT: Cent
Input parameter: BOOL: Cond
Output parameter: BOOL: Q
NOTE!
This function is not implemented name is only reserved for future use.
Related command:BuzzerLocalOff, page 145
5.13.6.4 CcpStatus
This block is only used in combination with customer specific protocols.
Function name: CcpStatus
Input parameter: UINT: RegNr
Input parameter: UINT: BitNr
Input parameter: BOOL: BitSt
Output parameter: BOOL: Q
Please refer to separate train protocols documentation for usage of this block.
Related command:CcpStatusByte, page 146
5.13.6.5 CcpStatusByte
This block is only used in combination with customer specific protocols.
Function name: CcpStatusByte
Input parameter: UINT: RegNr
Input parameter: UINT: RegVal
Output parameter: BOOL: Q
Please refer to separate train protocols documentation for usage of this block.
Related command:CcpStatus, page 145
5.13.6.6 GetAdTimes
Gets the changeable alarm delay times from a central.
Function block name: GetAdTimes
Input parameter: UINT: Cent
Input/Output parameter: TIME: Mute Input/Output parameter: TIME: Reset
Output parameter: BOOL: Q
Output always returns true.
NOTE!
The Mute and Reset parameters must be connected to a variable before connected to any other block.
Related command:DisaCentType, page 129
5.13.6.7 IsCentralBooted
NOTE!
This function is not implemented name is only reserved for future use.
Function block name: IsCentralBooted
Input parameter: UINT: Cent
Output parameter: BOOL: Q
Output returns true if all boards in configuration within central are up and running (booted) else false.
NOTE!
This function is not implemented name is only reserved for future use.
Related command:
---5.13.6.8 IsMaster
Check if the running board is master.
Function name: IsMaster
Output parameter: BOOL: Q
Output parameter returns true if the running board (Control M) is master.
NOTE!
One and only one Control M board within a central is master at a time.
NOTE!
This function is mainly to check if the board you have connected to is the master.
Related command:ThisCentral, page 149andThisBoard, page 149
5.13.6.9 MiniRepeater
Handles the MiniRepeaters of type RepeaterM. Often used in combination with the alarm delay function.
Function name: MiniRepeater
Input parameter: UINT: Cent
Input parameter: BOOL: Block
Input parameter: BOOL: Spare
Output parameter: BOOL: MutBut
At a fire alarm the mini-repeaters will display the alarm and sound the buzzer.
When the user mutes the alarm, the output “MutBut” will be activated. At any time it is possible to block the mini-repeater by activating the “Block” input. When the
“Block” input is activated it is no longer possible to reset any alarms from the RepeaterM and the Larmorg Transfer button lights up. Spare is not used.
Related command:
---5.13.6.10 MiniRepeaterMN
Handle the MiniRepeaters of type MN30X0. Often used in combination with the alarm delay function.
Function name: MiniRepeaterMN
Input parameter: UINT: Cent
Input parameter: BOOL: Block
Input parameter: BOOL: Spare
Output parameter: BOOL: MutBut
At a fire alarm the mini-repeaters will display the alarm. When the user mutes the alarm the output “MutBut” will be activated.
At any time it is possible to block the mini-repeater by activating the “Block”
input. When the “Block” input is activated it is no longer possible to reset any alarms from the MN30X0.
For the MN30X0 most outputs have to be set by the PLC specifically as follows;
Output MN3000 MN3010
x.y.1 Operational Operational
--- More alarms More alarms
x.y.3 Muted
---x.y.4 Fire brigade called
---x.y.5 Out 1 Out 1
x.y.6 Out 2 Out 2
x.y.7 Out 3 + internal buzzer (1 Hz) Out 3 + internal buzzer (1 Hz)
Related command:
---5.13.6.11 NewCmProfile
Changes the show/control privileges on a specific control module.
Function name: NewCmProfile
Input parameter: UINT: Cent
Input parameter: UINT: Board
Input parameter: UDINT: Show
Input parameter: UDINT: Cont
Input parameter: BOOL: Cond
Output parameter: BOOL: Q
The system changes the default show and control masks of the control module (CM) with address [Cent] and [Board]. The address [Cent] and [Board] must be an address of a configured CM.
The [Show] and [Cont] are numbers in either decimal or hexadecimal. For hexadecimal numbering use the prefix '0x' (i.e.. 0xABCDEF). The [Show] and [Cont] numbers are used as bitmasks, where a bit identifies a group specified in the CCP Conf program. A set bit indicates that the mask includes the group.
There are a maximum of 32 groups in the system. The group number from CCP Conf identifies the bit position representing the group.
To create a mask including groups 1, 7, 8, 20 and 27 use the approach below:
Group number Corresponding 32 bit binary value
Group 1: 0000 0000 0000 0000 0000 0000 0000 0001
Group 7: 0000 0000 0000 0000 0000 0000 0100 0000
Group 8: 0000 0000 0000 0000 0000 0000 1000 0000
Group 20: 0000 0000 0000 1000 0000 0000 0000 0000
Group 27: 0000 0100 0000 0000 0000 0000 0000 0000
Sum: 0000 0100 0000 1000 0000 0000 1101 0001
Hex: 0 4 0 8 0 0 D 1
Use value [Show = 0x040800D1] and [Cont = 0x040800D1] for making the CM with address [Cent] and [Board] have show and control privileges in groups 1, 7, 8, 20 and 27.
The new show and control masks are in use when "Cond" is true. When the “Cond”
is false the show and control masks defined in configuration are set.
5.13.6.12 TcmsStatus
This block is only used in combination with customer specific protocols.
Function name: TcmsStatus
Input parameter: UINT: RegNr
Input parameter: UINT: BitNr
Output parameter: UINT: BitSt
Please refer to separate train protocols documentation for usage of this block.
Related command:TcmsStatusByte, page 149
5.13.6.13 TcmsStatusByte
This block is only used in combination with customer specific protocols.
Function name: TcmsStatusByte
Input parameter: UINT: RegNr
Output parameter: UINT: RegVal
Please refer to separate train protocols documentation for usage of this block.
Related command:TcmsStatus, page 149
5.13.6.14 ThisBoard
Get the running boards address.
Function name: ThisBoard
Output parameter: UINT: Board
Output parameter returns the board address for the board running the PLC.
Related command:ThisCentral, page 149
5.13.6.15 ThisCentral
Get the central address where the CM board is running the PLC.
Output parameter returns the central adress where the PLC runs.
Function name: ThisCentral
Output parameter: UINT: Cent
Related command:ThisBoard, page 149