Difference between revisions of "Group Action"

From OpenMotics
Jump to navigation Jump to search
(Created page with "A Group Action is a list of maximum 16 Basic Actions. When a Group Action is executed, up to 16 Basic Actions can be executed (including other Group Actions). Group ...")
 
Line 1: Line 1:
 
A Group Action is a list of maximum 16 [[Basic Action]]s. When a Group Action is executed, up to 16 [[Basic Action]]s can be executed (including other Group Actions).  
 
A Group Action is a list of maximum 16 [[Basic Action]]s. When a Group Action is executed, up to 16 [[Basic Action]]s can be executed (including other Group Actions).  
 +
 +
The Master controller can contain 160 (0-159) Group Actions.
  
 
Group Actions are very often used and it is a good practice to put each sub function in a group action. An example is switching on the lights of the living room, make a group action with all the [[Basic Action]]s to switch ON the lights of the living room. Afterwards, this Group Action can be used in different [[Basic Action]]s.
 
Group Actions are very often used and it is a good practice to put each sub function in a group action. An example is switching on the lights of the living room, make a group action with all the [[Basic Action]]s to switch ON the lights of the living room. Afterwards, this Group Action can be used in different [[Basic Action]]s.
 
 
Every group action consists of 16x2 bytes. Each group action can contain 16 basic actions (Simple action, group action, simple decision). Each Basic action is defined in 2 bytes. In total 160 (0-159) group actions can be defined with each 16 Basic Actions. Cascade of intelligent functions is allowed with the limitation that no more than 200 actions per main routine cycle can be performed. The group action number (0-159) will be used to call the group action.
 
Definition of the 2 bytes used (for each group action, max 16x2 bytes are possible):
 
1. Byte 0,2,4,6,8,10,12,14 … 30: See “action type byte” on the input page section
 
2. Byte 1,3,5,7,9,11,13,15 … 31: Action number -> this is the number of the simple action or group action or simple decision or group decision to be called (depending on action type byte)
 

Revision as of 12:31, 11 May 2014

A Group Action is a list of maximum 16 Basic Actions. When a Group Action is executed, up to 16 Basic Actions can be executed (including other Group Actions).

The Master controller can contain 160 (0-159) Group Actions.

Group Actions are very often used and it is a good practice to put each sub function in a group action. An example is switching on the lights of the living room, make a group action with all the Basic Actions to switch ON the lights of the living room. Afterwards, this Group Action can be used in different Basic Actions.