CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:knowledge-base:brand-knowledge-base:global-cache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:knowledge-base:brand-knowledge-base:global-cache [2013/05/07 05:27]
aaron [Global Cache]
software:knowledge-base:brand-knowledge-base:global-cache [2015/01/07 02:51] (current)
jarrod [Relay Commands]
Line 1: Line 1:
 ====== Global Cache ====== ====== Global Cache ======
- 
-<WRAP center round important 60%> 
-The following information is under construction and not completed 
-</​WRAP>​ 
 The following is a basic guide to using Global Cache products with iViewer & guiDesigner. The following is a basic guide to using Global Cache products with iViewer & guiDesigner.
  
Line 15: Line 11:
 {{:​software:​knowledge-base:​brand-knowledge-base:​guidesigner_global_cache_system_properties.png?​nolink|}} {{:​software:​knowledge-base:​brand-knowledge-base:​guidesigner_global_cache_system_properties.png?​nolink|}}
   - System Name - Enter an appropriate system name here   - System Name - Enter an appropriate system name here
-  - Protocol - This must be set to TCP+  - Protocol - This must be set to TCP Client
   - IP Address/​Host Name - Set this as the IP address of your Global Cache hardware   - IP Address/​Host Name - Set this as the IP address of your Global Cache hardware
   - Port - Communication with the hardware is accomplished by opening a TCP socket on Port 4998. All commands and data, with the exception of serial (RS232) data, are communicated through Port 4998. Port 4998 is used for such things as iTach status, IR data, relay operation, and reading digital input states. erial data is communicated via Ports 4999 and above. The serial connection in module 1 will communicate over Port 4999. Serial connections in the next lowest module will communicate over Port 5000, and so on (i.e. 1:4999, 2:5000, 3:5001, etc.). ((From Global Cache API Documents http://​www.globalcache.com/​files/​docs/​API-iTach.pdf))   - Port - Communication with the hardware is accomplished by opening a TCP socket on Port 4998. All commands and data, with the exception of serial (RS232) data, are communicated through Port 4998. Port 4998 is used for such things as iTach status, IR data, relay operation, and reading digital input states. erial data is communicated via Ports 4999 and above. The serial connection in module 1 will communicate over Port 4999. Serial connections in the next lowest module will communicate over Port 5000, and so on (i.e. 1:4999, 2:5000, 3:5001, etc.). ((From Global Cache API Documents http://​www.globalcache.com/​files/​docs/​API-iTach.pdf))
Line 25: Line 21:
 ==== Infrared (IR) Commands ==== ==== Infrared (IR) Commands ====
 IR commands send to Global Cache hardware must be in a specific format as shown below IR commands send to Global Cache hardware must be in a specific format as shown below
-^sendir,<​connectoraddress>,<​ID>,<​frequency>,<​repeat>,<​offset>,<​on1>,<​off1>,<​on2>,<​off2>,​….,<​onN>,<​offN>​^ (where N is less than 260 or a total of 520 numbers)+^sendir,<​connectoraddress>,<​ID>,<​frequency>,<​repeat>,<​offset>,<​on1>,<​off1>,<​on2>,<​off2>,​….,<​onN>,<​offN>​\x0D^ (where N is less than 260 or a total of 520 numbers)
  
 where; where;
Line 36: Line 32:
 **<​on1>​** is |1|2|…|65635| (4) (number of pulses)\\ **<​on1>​** is |1|2|…|65635| (4) (number of pulses)\\
 **<​off1>​** is |1|2|…|65635| (4) (absence of pulse periods of the carrier frequency)\\ **<​off1>​** is |1|2|…|65635| (4) (absence of pulse periods of the carrier frequency)\\
- +**\x0D** is a carriage return which must be appended to all commands sent to Global Cache units from iViewer. 
-An example of an IR Command in Globacl ​Cache Format looks like this:\\ +An example of an IR Command in Global ​Cache Format looks like this:\\ 
-^sendir,​1:​1,​1,​38109,​1,​1,​171,​171,​21,​64,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​21,​21,​21,​21,​64,​21,​64,​21,​64,​21,​64,​21,​64,​21,​3810 ^+^sendir,​1:​1,​1,​38109,​1,​1,​171,​171,​21,​64,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​64,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​21,​64,​21,​21,​21,​21,​21,​64,​21,​64,​21,​64,​21,​64,​21,​64,​21,​3810\x0D ^
  
 To learn your IR code in Global Cache format, you will need to use their [[http://​www.globalcache.com/​downloads/​|iLearn software]] (if you have a Global Cache IR Learner). Or use their [[http://​www.globalcache.com/​downloads/​|iConvert software]] to convert hex (CCF) to Global Cache IR format. ​ To learn your IR code in Global Cache format, you will need to use their [[http://​www.globalcache.com/​downloads/​|iLearn software]] (if you have a Global Cache IR Learner). Or use their [[http://​www.globalcache.com/​downloads/​|iConvert software]] to convert hex (CCF) to Global Cache IR format. ​
 +
 +==== Serial Commands ====
 +All serial data is passed through without interpretation or conversion via an assigned, unique IP port. The Global Cache serial connector is assigned an IP Port starting at 4999.
 +
 +==== Relay Commands ====
 +Relay commands send to Global Cache hardware must be in a specific format as shown below.
 +
 +Relay state is set as follows:\\
 +setstate,​1:​1,<​outputstate>​\x0D for the 1st relay output\\
 +setstate,​1:​2,<​outputstate>​\x0D for the 2nd relay output\\
 +setstate,​1:​3,<​outputstate>​\x0D for the 3rd relay output\\
 +
 +
 +where;
 +
 +**<​outputstate>​** is |0|1| (<0> is open, <1> is closed)
 +
 +===== More Commands & Feedback =====
 +For more info and commands you should see the [[http://​www.commandfusion.com|Global Cache Website.]]
 +===== Other Information =====
 +One of our users Barry Gordon has written up a helpful post on our Google Groups re using Global Cache products and iViewer together.[[https://​groups.google.com/​d/​msg/​commandfusion/​d_nXt0sW2sw/​-Aok8AH7ykAJ|. This post can be viewed here]]
 +
 +This topic has been discussed a number of times in the Google Groups.\\
 +[[https://​groups.google.com/​forum/?​hl=en&​fromgroups#​!searchin/​commandfusion/​global$20cache|Click here to do a search on Global Cache in the CommandFusion Google Groups.]]
software/knowledge-base/brand-knowledge-base/global-cache.1367904424.txt.gz · Last modified: 2013/05/07 05:27 by aaron