July 2015 Newsletter

In This Issue

 

Need to Remote Control and Monitor Barrington Lanstar and Microstar?

Barrington Lanstar and Microstar are HVAC systems used in many buildings around the world.
 
Chipkin Automation Systems Inc has three solutions to remotely control and monitor these systems by exposing the Barrington data using the protocol of your choice such as Modbus, BACnet, Rockwell, XML, Web and dozens more. By talking directly to the LanStar we can read and write points in the MicroStar’s (including Set Points and virtual DO’s associated with a MicroStar). This communication does not interfere with any existing connections to the LanStar as it has 4x ports for connections of this type. Thus you can retain any SCADA or software already talking to the LanStar. One gateway can talk to one LanStar and all its MicroStar’s.
 
This system has been well tested at an major computer chip manufacturing facility located in California. Choose the solution above if you want to retain the LanStar because you don’t want to re-write the logic and scheduling programmed into the LanStar. If you don’t need to retain the LanStar OR if your LanStar has failed then CAS have a solution that can talk directly to the MicroStar’s. One gateway can connect to one / two trunks of MicroStar’s and read/write data. This solution allows you to read write the ai,ao,bi,bo and counter data.
 
Finally, what happens if you have a system with LanStar’s and you cannot ‘interfere’ with the system. CAS has a snoop solution. We connect to the trunk that connects the LanStar’s to the MicroStar’s and listen. We never transmit. Thus we do not interfere with the communications in any way – adding no load to the bandwidth. Since the LanStar continuously reads data from each MicroStar, our gateway will see all the data from each MicroStar on a regular basis. This data can be mapped onto other protocols so you can use it to animate graphics, keep logs and trends and monitor the MicroStar data. These solutions have been deployed successfully by customers as well as being tested by CAS engineers using Lanstar and Microstars in CAS’s offices.
 
barringtonlanstermicrostar
 

Subsidies For Energy-Efficient Commercial Projects in the U.S.

Do you know that system integrators in the U.S.A can get State incentives for their energy reduction projects?
 
Eligible Renewables include Equipment Insulation, Water Heaters, Lighting, Lighting Controls/Sensors, Chillers, Furnaces, Boilers, Heat pumps, Air conditioners and many more.
 
Click the map below to find policies and incentives by State.
Subsidies For Energy-Efficient Commercial Buildings

 

Gray Code – Reflected Binary Code – Use In FieldServers

Gray Code is one of the most important codes. It is a non-weighted code which belongs to a class of codes called minimum change codes. In this codes while traversing from one step to another step only one bit in the code group changes. In case of Gray Code two adjacent code numbers differs from each other by only one bit. The idea of it can be cleared from the table given below.  As this code it is not applicable in any types of arithmetical operations but it has some applications in analog to digital converters and in some input/output devices.

 

Decimal Binary Gray Code
0 0000 0000
1 0001 0001
2 0010 0011
3 0011 0010
4 0100 0110
5 0101 0111
6 0110 0101
7 0111 0100
8 1000 1100
9 1001 1101
10 1010 1111
11 1011 1110
12 1100 1010
13 1101 1011
14 1110 1001
15 1111 1000

Using Gray Codes in FieldServer Gateways

In the configuration below:

Reads 6 Binary inputs from each of 2 BACnet devices, convert to a Binary (Decimal) Number and then converts those numbers to Gray Codes which are served using MSTP

Data_Arrays

Data_Array_Name , Data_Format , Data_Array_Length

DA_BitsA        , Bit         , 100

DA_BitsB        , Bit         , 100

DA_Float        , Float       , 100

//================================================================================

//

//    Server Side Connections

//

Adapters

Adapter , Protocol

N1      , Bacnet_IP

//================================================================================

//

//    Server Side Nodes

//

Nodes

Node_Name    , Node_ID , Protocol  ,Node_Option  ,Adapter

SouceNodeA   , 37306   , Bacnet_IP ,COV_disable  ,N1

SouceNodeB   , 37307   , Bacnet_IP ,COV_disable  ,N1

//================================================================================

//

//    Server Side Map Descriptors

//

Map_Descriptors

Data_Type , Object_ID , Map_Descriptor_Name         , Units    , Data_Array_Name , Data_Array_Offset , Node_Name    , Property      , Function

BI        , 0         , Bit 0                       , No_Units , DA_BitsA        , 0                 , SouceNodeA   , Present_Value , rdbc

BI        , 1         , Bit 1                       , No_Units , DA_BitsA        , 1                 , SouceNodeA   , Present_Value , rdbc

BI        , 2         , Bit 2                       , No_Units , DA_BitsA        , 2                 , SouceNodeA   , Present_Value , rdbc

BI        , 3         , Bit 3                       , No_Units , DA_BitsA        , 3                 , SouceNodeA   , Present_Value , rdbc

BI        , 4         , Bit 4                       , No_Units , DA_BitsA        , 4                 , SouceNodeA   , Present_Value , rdbc

BI        , 5         , Bit 5                       , No_Units , DA_BitsA        , 5                 , SouceNodeA   , Present_Value , rdbc

BI        , 6         , Bit 6                       , No_Units , DA_BitsA        , 6                 , SouceNodeA   , Present_Value , rdbc

BI        , 7         , Bit 7                       , No_Units , DA_BitsA        , 7                 , SouceNodeA   , Present_Value , rdbc

Map_Descriptors

Data_Type , Object_ID , Map_Descriptor_Name         , Units    , Data_Array_Name , Data_Array_Offset , Node_Name    , Property      , Function

BI        , 0         , Bit 0                       , No_Units , DA_BitsB        , 0                 , SouceNodeB   , Present_Value , rdbc

BI        , 1         , Bit 1                       , No_Units , DA_BitsB        , 1                 , SouceNodeB   , Present_Value , rdbc

BI        , 2         , Bit 2                       , No_Units , DA_BitsB        , 2                 , SouceNodeB   , Present_Value , rdbc

BI        , 3         , Bit 3                       , No_Units , DA_BitsB        , 3                 , SouceNodeB   , Present_Value , rdbc

BI        , 4         , Bit 4                       , No_Units , DA_BitsB        , 4                 , SouceNodeB   , Present_Value , rdbc

BI        , 5         , Bit 5                       , No_Units , DA_BitsB        , 5                 , SouceNodeB   , Present_Value , rdbc

BI        , 6         , Bit 6                       , No_Units , DA_BitsB        , 6                 , SouceNodeB   , Present_Value , rdbc

BI        , 7         , Bit 7                       , No_Units , DA_BitsB        , 7                 , SouceNodeB   , Present_Value , rdbc

Moves

Source_Data_Array , Source_offset , Target_Data_Array , Target_Offset , Length ,Function

DA_BitsA          , 0             , DA_Float          , 0             , 8      ,Bit_pack

DA_BitsB          , 0             , DA_Float          , 1             , 8      ,Bit_pack

//================================================================================

//

// COnnection

//

adapters,

Adapter, Protocol  ,

N1     , CAS_TOOLN1 ,

//================================================================================

//

//    Client Side Nodes

//

Nodes,

Node_Name, Node , Protocol   ,Adapter

CASUTIL  , 1    , CAS_TOOLN1  ,N1

//================================================================================

//

//    Client Side Map Descriptors

//

//

//

Map_Descriptors

Map_Descriptor_Name ,Scan_Interval ,Data_Array_Name ,Data_Array_Offset ,CAS_TOOLS_Array_Name ,CAS_TOOLS_Array_Offset ,Function ,Node_Name ,CAS_TOOLS_Function_Name       ,Length ,Address

toGray              ,1.0s          ,DA_FLOAT        ,0                 ,DA_FLOAT             ,10                     ,wrbc     ,CASUTIL   ,TO_GRAYCODE                   ,1      ,00

toGray              ,1.0s          ,DA_FLOAT        ,1                 ,DA_FLOAT             ,11                     ,wrbc     ,CASUTIL   ,TO_GRAYCODE                   ,1      ,00

//fromGray            ,1.0s          ,DA_GRAY         ,0                 ,DA_BIN               ,1                      ,wrbc     ,CASUTIL   ,FROM_GRAYCODE                 ,1      ,00

//================================================================================

//

//    Server Side Connections

//

connections

Port, Baud , Parity, Data_Bits, Stop_Bits, Protocol   , Timeout, Connection_Type ,

R2  , 38400, None  , 8        , 1        , Bacnet_MSTP, 30     , MSTP_Master_Node,

//===============================================================================

//

//    Server Side Nodes

//

Nodes

Node_Name        , Node_ID , Protocol    , Node_Option

ServerNode       , 31      , Bacnet_MSTP , COV_Disable

Map_Descriptors

Data_Type , Object_ID , Map_Descriptor_Name         , Units    , Data_Array_Name , Data_Array_Offset , Node_Name    , Property      , Function , Data_Array_Low_Scale , Data_Array_High_Scale , Node_Low_Scale , Node_High_Scale

AI        , 1         , AnalogValue_converted_A     , No_Units , DA_Float        , 0                 , ServerNode   , Present_Value , Server   , 0                    , 100                   , 0              , 100

AI        , 2         , AnalogValue_converted_B     , No_Units , DA_Float        , 1                 , ServerNode   , Present_Value , Server   , 0                    , 100                   , 0              , 100

Sample c++ code

unsigned int bin2Gray(unsigned int num)

{

return (num >> 1) ^ num;

}

unsigned int gray2Bin(unsigned int num)

{

unsigned int mask;

for (mask = num >> 1; mask != 0; mask = mask >> 1)

{

num = num ^ mask;

}

return num;

}

Online Gray Code Converter

http://www.miniwebtool.com/binary-to-gray-code-converter/

http://www.miniwebtool.com/gray-code-to-binary-converter/

 

New Vice President of CAS – Amos Vivancos Leon

Amos Vivancos Leon has been promoted to Vice President of CAS!
 

Amos has worked hard and productively to bring much needed reform to the operations of our business. His abilities are confirmed by his actions. Amos is the tactical commander and my level of trust and confidence in his decisions is high.” Peter Chipkin, the President of the company said.
 
Congratulations on your achievement, Amos! Wishing you all the best with your new role.

 

Amos Vivancoz Leon

Amos Vivancos Leon

 

Next Page

If you liked this post;
  • Please consider subscribing to our RSS feed