Download - Ccn Jbus Gateway

Transcript
Page 1: Ccn Jbus Gateway

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

JBUS

CCN

Page 2: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!The CCN/JBUS Gateway is a microprocessorThe CCN/JBUS Gateway is a microprocessor--based gateway that interfaces data exchange based gateway that interfaces data exchange between one Carrier Comfort Network controller between one Carrier Comfort Network controller and an offand an off--network using JBUS protocol. network using JBUS protocol.

!!The term The term offoff-- networknetwork is used in this manual to is used in this manual to refer to the JBUS Supervisor or PLC (automaton) refer to the JBUS Supervisor or PLC (automaton) connected to the Gateway.connected to the Gateway.

Page 3: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!A CCN/JBUS Gateway acts as a master/slave on A CCN/JBUS Gateway acts as a master/slave on the CCN network and acts as a slave on the JBUS the CCN network and acts as a slave on the JBUS network.network.

!!Each Gateway can interface one and only one Each Gateway can interface one and only one CCN controller. CCN controller.

!!Several Gateways can be located on the same Several Gateways can be located on the same CCN network, each one polling one CCN device. CCN network, each one polling one CCN device.

Page 4: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!However, on larger CCN network a high amount However, on larger CCN network a high amount of activity on the CCN bus can cause traffic of activity on the CCN bus can cause traffic conflicts. This can particularly occur when the conflicts. This can particularly occur when the Gateway polling rates have been set at a high Gateway polling rates have been set at a high level. In this case, level. In this case, "" increase the Gateway rates so as to reduce its increase the Gateway rates so as to reduce its

activity on the network. activity on the network. ""An other option could be to use one or more An other option could be to use one or more

secondary buses (through CCN bridges) as to secondary buses (through CCN bridges) as to reduce communications on the same bus.reduce communications on the same bus.

Page 5: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAYCCN Bus JBUS Bus

CCN Supervisor JBUS Supervisor

Page 6: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

CCN BusCCN BusCCN BusCCN Bus

JbusJbusJbusJbus BusBusBusBus

The CCN/JBUS Gateway consists of a microprocessor-based controller containing specialized software for its functions. The module includes two RS-485 communication ports, the first one used for CCN communications, the second one used for JBUS communications.

Page 7: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

J2

J3

1

1

2

2

3

3

J112

+ JBUS- JBUS

- CCN

+ CCN

RS-4 8 5

RS-4 8 5

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

GroundGroundGroundGround

GroundGroundGroundGround

24Vac 24Vac 24Vac 24Vac floating floating floating floating

CCN BusCCN BusCCN BusCCN Bus

JbusJbusJbusJbus BusBusBusBus

Page 8: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

CCN communication LEDs CCN communication LEDs CCN communication LEDs CCN communication LEDs

Diagnostic LEDDiagnostic LEDDiagnostic LEDDiagnostic LED

JBUS communicationJBUS communicationJBUS communicationJBUS communicationLEDsLEDsLEDsLEDs

Page 9: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

Page 10: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

## All data that are exchanged between the JBUS All data that are exchanged between the JBUS master and its slave CCN controller are put into an master and its slave CCN controller are put into an allocation table, hereafter referred as the allocation table, hereafter referred as the Gateway Gateway BufferBuffer. The structure of this buffer, made up of 114 . The structure of this buffer, made up of 114 registers of 2 bytes each, is fixed and cannot be registers of 2 bytes each, is fixed and cannot be modified. However, its content depends on the modified. However, its content depends on the controller that the Gateway interfaces and on controller that the Gateway interfaces and on Gateway configuration.Gateway configuration.

Page 11: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

## The Gateway can be configured to allow the following functions The Gateway can be configured to allow the following functions into the interfaced CCN controller:into the interfaced CCN controller:

$$Reading of up to 40 points containedReading of up to 40 points contained$$Reading of up to 15 alarm statusReading of up to 15 alarm status$$Reading of up to 5 current alarm codesReading of up to 5 current alarm codes$$Writing of up to 10 Writing of up to 10 setpointssetpoints$$Forcing of up to 5 variables (e.g. unit start/stop)Forcing of up to 5 variables (e.g. unit start/stop)$$Releasing of up to 5 variables.Releasing of up to 5 variables.

## Gateway configuration must be done through the CCN network, Gateway configuration must be done through the CCN network, using either the using either the ComfortView ComfortView or or ComfortWorksComfortWorks, the Network , the Network Service Tool or the S.A.M.Service Tool or the S.A.M.

Page 12: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

##All data exchanged between the JBUS master and its All data exchanged between the JBUS master and its slave CCN controller is done through a Gateway slave CCN controller is done through a Gateway buffer. The Gateway buffer contains 114 registers of buffer. The Gateway buffer contains 114 registers of 2 bytes each. These are referred as Register #i with i 2 bytes each. These are referred as Register #i with i ranging from 0 to 113.ranging from 0 to 113.

Page 13: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

##Gateway buffer is split into two parts:Gateway buffer is split into two parts:$$Part 1, ranges from register #0 to register #86. These Part 1, ranges from register #0 to register #86. These

registers are used for the storage of all values that are registers are used for the storage of all values that are collected by the Gateway from its attached controller collected by the Gateway from its attached controller and which are provided for reading to the JBUS and which are provided for reading to the JBUS master. The JBUS offmaster. The JBUS off--network have no write access network have no write access into this area.into this area.

$$Part 2, ranges from register #87 to register #113. These Part 2, ranges from register #87 to register #113. These registers are read and write accessible by the JBUS registers are read and write accessible by the JBUS offoff--network. When a JBUS writing operation is network. When a JBUS writing operation is detected into one of these registers, the Gateway detected into one of these registers, the Gateway operates, through the CCN network, a write, force or operates, through the CCN network, a write, force or auto command into the controller it interfaces.auto command into the controller it interfaces.

Page 14: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

## The Gateway collects points from the CCN The Gateway collects points from the CCN controller.It interfaces at the time intervals (Reading controller.It interfaces at the time intervals (Reading Update Rate) defined in the CCNCONF configuration Update Rate) defined in the CCNCONF configuration table. Collected values are stored in the Gateway table. Collected values are stored in the Gateway buffer registers where they are at the JBUS offbuffer registers where they are at the JBUS off--network reading disposal.network reading disposal.

## Points to be collected have to be configured in Points to be collected have to be configured in RPOINT1, RPOINT2, RPOINT3 or RPOINT4 CCN RPOINT1, RPOINT2, RPOINT3 or RPOINT4 CCN configuration tables. Each point to be collected is configuration tables. Each point to be collected is linked to one register of the Gateway buffer where it linked to one register of the Gateway buffer where it is stored.is stored.

Page 15: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

##Depending on the type of the value, the following Depending on the type of the value, the following operations are applied:operations are applied:

$$If the value is an integer then it is stored the same in its If the value is an integer then it is stored the same in its attached register.attached register.

$$If the value is a float then it is multiplied by ten before If the value is a float then it is multiplied by ten before being stored in its attached register.being stored in its attached register.

$$If the value is a float that has been forced to integer If the value is a float that has been forced to integer (through RPOINT configuration table by using the "!" (through RPOINT configuration table by using the "!" command, then the point decimal digit is removed and command, then the point decimal digit is removed and the value is stored in its attached register. Negative the value is stored in its attached register. Negative values are stored as 0.values are stored as 0.

$$If the value is an ASCII then its code relation is If the value is an ASCII then its code relation is searched in the ASCII to code database and this code is searched in the ASCII to code database and this code is then stored into its attached register.then stored into its attached register.

Page 16: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

## The collected value type can be verified through the The collected value type can be verified through the CCN Maintenance table REG_STAT. CCN Maintenance table REG_STAT.

##Access to points contained in table having multiple Access to points contained in table having multiple instance is not allowed.instance is not allowed.

Page 17: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

## The Gateway can be configured to collect alarms The Gateway can be configured to collect alarms from the controller it interfaces. Two alarms from the controller it interfaces. Two alarms collecting methods are available: Periodically collect collecting methods are available: Periodically collect and Event Triggered collect. and Event Triggered collect.

Page 18: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

##Collected alarms are ranged in 3 sets of registersCollected alarms are ranged in 3 sets of registers::$$One provides the total number of active alarms (integer One provides the total number of active alarms (integer

value).value).$$A stack of 5 registers provides a code (integer value) of A stack of 5 registers provides a code (integer value) of

alarms active in the controller interfaced by the alarms active in the controller interfaced by the Gateway. Codes are stored in arrival order. Generally, Gateway. Codes are stored in arrival order. Generally, alarm codes displayed in these registers fit the codes alarm codes displayed in these registers fit the codes displayed through the unit local interface. displayed through the unit local interface.

$$15 registers containing binary values are available for 15 registers containing binary values are available for configured alarms control. Each one of these registers configured alarms control. Each one of these registers can be configured to be linked to one alarm code. If the can be configured to be linked to one alarm code. If the alarm code is active then the register is set to 1. alarm code is active then the register is set to 1. Otherwise it set to 0. This configuration is done Otherwise it set to 0. This configuration is done through the Gateway R_ALARM CCN configuration through the Gateway R_ALARM CCN configuration table.table.

Page 19: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Alarms Periodically CollectionAlarms Periodically CollectionWhen this option is selected, collection of alarms When this option is selected, collection of alarms is done sequentially at the time interval (Alarms is done sequentially at the time interval (Alarms Update Rate) defined in the CCNCONF Update Rate) defined in the CCNCONF configuration table.configuration table.

Page 20: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Alarms Event Triggered CollectionAlarms Event Triggered Collection"" When this option is selected, collection of When this option is selected, collection of alarms is done based on the value of a trigger alarms is done based on the value of a trigger point defined in the CCNCONF configuration point defined in the CCNCONF configuration table. table. "" Value of this trigger point is collected at the Value of this trigger point is collected at the configured reading update rate. This triggering configured reading update rate. This triggering point is compared to a configured triggering point is compared to a configured triggering parameter defined as "parameter defined as "No Alarms Trigger ValueNo Alarms Trigger Value". ".

Page 21: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Alarms Event Triggered CollectionAlarms Event Triggered Collection""Until the collected triggering point value is Until the collected triggering point value is equal to the triggering parameter, no alarm equal to the triggering parameter, no alarm collection is done. If the comparison produces a collection is done. If the comparison produces a result of true then the alarm collection begins and result of true then the alarm collection begins and will be repeated each time the configured Alarms will be repeated each time the configured Alarms Update Rate interval has elapsed. Update Rate interval has elapsed. ""An alarm event triggered collection runs until An alarm event triggered collection runs until the collected triggering point value is different the collected triggering point value is different from the triggering parameter.from the triggering parameter.

Page 22: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Writing/Forcing SequenceWriting/Forcing Sequence""At the rate (Writing Update Rate) defined in the At the rate (Writing Update Rate) defined in the CCNCONF configuration table, the Gateway CCNCONF configuration table, the Gateway verifies that it has received a write command verifies that it has received a write command issued from the JBUS offissued from the JBUS off--network. If yes, and if network. If yes, and if the consistency of the write command is correct, the consistency of the write command is correct, the Gateway sends the value to the CCN the Gateway sends the value to the CCN controller it interfaces. controller it interfaces.

Page 23: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Writing/Forcing SequenceWriting/Forcing Sequence""Three types of writing operation can be Three types of writing operation can be executed with the Gateway.executed with the Gateway.## Changing the value of anyChanging the value of any setpointsetpoint contained in acontained in a SetpointSetpoint CCN CCN

table.table.## Forcing (overriding the value or the status of) any specified Forcing (overriding the value or the status of) any specified

CCN variable contained in a Point Display table CCN variable contained in a Point Display table ## The force priority level for the Gateway is 5 (Monitor). The The force priority level for the Gateway is 5 (Monitor). The

Gateway can only override forces that are less or equal to 5.Gateway can only override forces that are less or equal to 5.## RemovingsRemovings (auto) the current force on a CCN variable and (auto) the current force on a CCN variable and

return it to its actual value. The Gateway can auto any force return it to its actual value. The Gateway can auto any force level.level.

Page 24: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

""SetpointsSetpoints to be written have to be configured in to be written have to be configured in WDEC CCN configuration table and variables to WDEC CCN configuration table and variables to be forced orbe forced or autoedautoed have to be configured in have to be configured in FVAR CCN configuration tableFVAR CCN configuration table

Page 25: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

""Three Gateway registers are attached to eachThree Gateway registers are attached to eachsetpointsetpoint configured for writing and to each configured for writing and to each variable configured for forcing or releasing:variable configured for forcing or releasing:## First is loaded with theFirst is loaded with the setpointsetpoint or forcing valueor forcing value received after a received after a

write command has been issued by the JBUS offwrite command has been issued by the JBUS off--network.network.

## Second contains the Second contains the writing or forcing flagwriting or forcing flag. This flag is . This flag is automatically set to 1 when a write command is issued by the automatically set to 1 when a write command is issued by the JBUS offJBUS off--network to the register described above. This flag set network to the register described above. This flag set to 1 causes the Gateway to change the value of theto 1 causes the Gateway to change the value of the setpointsetpoint in in the CCN controller it interfaces. When the operation is achievedthe CCN controller it interfaces. When the operation is achievedthis flag returns to 0.this flag returns to 0.

Page 26: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

##Third contains the Third contains the writing or forcing operation statuswriting or forcing operation status::$$0 means that the writing or forcing operation has been 0 means that the writing or forcing operation has been

correctly executed.correctly executed.

$$1 means that the writing or the forcing access is denied on 1 means that the writing or the forcing access is denied on this point. Writing or Forcing function cannot be this point. Writing or Forcing function cannot be implementedimplemented

$$2 means that the writing or forcing operation has not been 2 means that the writing or forcing operation has not been implemented because of a communication failure on the implemented because of a communication failure on the CCN network. Writing or forcing operation will be CCN network. Writing or forcing operation will be automatically retried at the Writing Update rate.automatically retried at the Writing Update rate.

Page 27: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

$$3 means that the writing or forcing operation is in 3 means that the writing or forcing operation is in progress: offprogress: off--network writing command has been detected network writing command has been detected and the Gateway is waiting for the next writing sequence and the Gateway is waiting for the next writing sequence (depending on the Writing Update Rate) to implement this (depending on the Writing Update Rate) to implement this command into the interfaced CCN controller.command into the interfaced CCN controller.

$$ --1 means that the point format is illegal. Writing or 1 means that the point format is illegal. Writing or Forcing function cannot be implementedForcing function cannot be implemented

Page 28: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Communication ParametersCommunication Parameters

""The CCN communication bus, which uses The CCN communication bus, which uses RSRS--485 signaling, operates at 1200, 2400, 485 signaling, operates at 1200, 2400, 4800 or 9600 bits per second. It typically 4800 or 9600 bits per second. It typically operates at 9600 bauds. The Gateway default operates at 9600 bauds. The Gateway default system numbers are Bus 0 and System system numbers are Bus 0 and System Element 135. The CCN operating rate and Element 135. The CCN operating rate and the system element number can be modified the system element number can be modified through the Network Service Tool.through the Network Service Tool.

Page 29: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!! InitialisationInitialisation

""The Gateway runs an initialization sequence The Gateway runs an initialization sequence each time the power is applied to the board each time the power is applied to the board or each time an initialization sequence is or each time an initialization sequence is required through the CCN table required through the CCN table GWY_INIT.GWY_INIT.

Page 30: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

"" InitialisationInitialisation operates the following steps:operates the following steps:

##During 1.5 minutes, after the initiation of theDuring 1.5 minutes, after the initiation of the initialisationinitialisationsequence, the Gateway is in standby. During this time no sequence, the Gateway is in standby. During this time no operation is done. Possibly, this allows the controller operation is done. Possibly, this allows the controller interfaced by the Gateway to achieve itsinterfaced by the Gateway to achieve its initialisationinitialisation before before the Gateway starts its own sequence.the Gateway starts its own sequence.

##The Gateway runs itsThe Gateway runs its initialisationinitialisation routine. During this routine. During this sequence, the Gateway configuration is verified, the type, unit sequence, the Gateway configuration is verified, the type, unit and range of points that have been configured are controlled.and range of points that have been configured are controlled.

Page 31: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

"" InitialisationInitialisation operates the following steps:operates the following steps:

## If theIf the initialisationinitialisation routine fails because of communication routine fails because of communication errors due to high traffic on the CCN network then it is errors due to high traffic on the CCN network then it is stopped for 3 minutes. When this delay is elapsed, thestopped for 3 minutes. When this delay is elapsed, theinitialisationinitialisation restarts automatically at the failed point. This restarts automatically at the failed point. This sequence can be repeated until the Gateway has achieved itssequence can be repeated until the Gateway has achieved itsinitialisationinitialisation..

Page 32: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

"" InitialisationInitialisation operates the following steps:operates the following steps:

##Note: the CCN Maintenance table UPDATE allows to follow Note: the CCN Maintenance table UPDATE allows to follow each step of aneach step of an initialisationinitialisation sequence.sequence.

Page 33: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

!!Gateway AlarmsGateway Alarms

""Two types of Gateway alarms are available:Two types of Gateway alarms are available:

## InitialisationInitialisation sequence alarms. These allow to detect all sequence alarms. These allow to detect all incorrect point name or table name that have been set up in the incorrect point name or table name that have been set up in the Gateway CCN configuration tables. Gateway CCN configuration tables. IncorrectIncorrect must be must be understood as wrongly spelt point or table name, or a point or understood as wrongly spelt point or table name, or a point or a table name that is unknown in the interfaced controller. a table name that is unknown in the interfaced controller. Alarm Gateway provides a code allowing to easily found the Alarm Gateway provides a code allowing to easily found the cause of the configuration mistake.cause of the configuration mistake.

Page 34: Ccn Jbus Gateway

Montluel - Quality DepartmentService Training

CCN/JBUS GATEWAYCCN/JBUS GATEWAY

. . ##Operation alarms. These allow to detect CCN communication Operation alarms. These allow to detect CCN communication

errors or incorrect JBUS commands.errors or incorrect JBUS commands.

##See in Appendix B of user’s guide the complete description of See in Appendix B of user’s guide the complete description of the Gateway alarmsthe Gateway alarms


Top Related