Difference between revisions of "GROUP MEMBERSHIP"
From Zenitel Wiki
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{AI}} |
{| border="1" | {| border="1" | ||
|- | |- | ||
− | !style="background:#ffdead;" width="90pt | + | ! colspan="2" style="background:#ffdead;" width="90pt" |GROUP_MEMBERSHIP |
− | !style="background:#ffdead; | + | ! style="background:#ffdead; " |0x0081 |
− | !style="background:#ffdead; | + | ! style="background:#ffdead; " |129 |
− | !style="background:#ffdead;" |AMC 08.20 | + | ! style="background:#ffdead; " |AMC 08.20 |
|- | |- | ||
− | |colspan="2"|'''$GRM L101 L85 U1'''<br>'''$GRM L101 NG3 U0'''<br>'''$GRM N4 NG5 U2''' | + | | colspan="2" |'''$GRM L101 L85 U1'''<br>'''$GRM L101 NG3 U0'''<br>'''$GRM N4 NG5 U2'''<br>'''$GRM NG4 NG6 U1'''<br>'''$GRM LV NG7 U3''' |
− | |colspan="3" |''Put station 101 into group 85'' <br> ''Remove station 101 from group number 3'' <br> ''Toggle physical number 4 in or out of group number 5'' | + | | colspan="3" |''Put station 101 into the group with directory number 85'' <br> ''Remove station 101 from the group with index number 3'' <br> ''Toggle physical number 4 in or out of group number 5''<br>''Add all members of group number 4 to group number 6 '''(From 13.0.3.0)''''' <br> ''Empty group number 7'' '''(From 13.0.3.0)''' |
|- | |- | ||
− | |colspan="5"|Set group membership | + | | colspan="5" |Set group membership for a station.<br>(Note that any changes in group membership by $GRM will be overwritten by a SendAll operation from AlphaPro)! |
|- | |- | ||
− | |align=center|1||[[NET_OBJ_REF]]<br>{[[LOCAL_DIRNO]], <br>[[LOCAL_ENTITY]]}||colspan="3"| | + | | align="center" |1||[[NET_OBJ_REF]]<br>{[[LOCAL_DIRNO]], <br>[[LOCAL_ENTITY]]}|| colspan="3" |Single station or station group to be added/removed/toggled from group in parameter 2. |
+ | '''Group as parameter supported from 13.0.3.0''' | ||
|- | |- | ||
− | |align=center|2||[[NET_OBJ_REF]]<br>{[[LOCAL_DIRNO]]} | + | | align="center" |2||[[NET_OBJ_REF]]<br>{[[LOCAL_DIRNO]], |
+ | [[LOCAL_ENTITY]]} | ||
+ | | colspan="3" |Group of stations. | ||
|- | |- | ||
− | |align=center|3||[[UINT1]]||colspan="3"|Operation on group:<br>0=Take station out of group<br>1=Put station into group<br>2=Toggle station in/out of group depending on previous state | + | | align="center" |3||[[UINT1]]|| colspan="3" |Operation on group:<br>0=Take station out of group<br>1=Put station into group<br>2=Toggle station in/out of group depending on previous state.<br> |
+ | *For group toggle in group, | ||
+ | **one or more station overlap will toggle out | ||
+ | **zero station overlap will toggle in.<br> | ||
+ | 3=Empty the group for all stations, param 1 must be a legal net_obj_ref. (LV) '''(From 13.0.3.0)''' | ||
|- | |- | ||
− | |colspan="2"|Response:||colspan="3"|[[COMMAND_RESPONSE]] | + | | colspan="2" |Response:|| colspan="3" |[[COMMAND_RESPONSE]] |
+ | Param 3 of Command Response indicate status of change '''(From 13.0.3.0)'''<br> | ||
+ | 0 = Station/group of parameter 1 is removed from group of parameter 2. <br> | ||
+ | 1 = Station/group of parameter 1 is added to group of parameter 2.<br> | ||
+ | GRM Operation 3 :Empty, will return status 0<br> | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | |||
+ | ===== Dummy example of usage from a Group/Zone select PC application. ===== | ||
+ | {| class="wikitable" | ||
+ | !Group | ||
+ | !Description | ||
+ | |- | ||
+ | |10 | ||
+ | |Dynamic group | ||
+ | |- | ||
+ | |101 | ||
+ | |Stations of Zone 1 | ||
+ | |- | ||
+ | |102 | ||
+ | |Stations of Zone 2 | ||
+ | |- | ||
+ | |103 | ||
+ | |Stations of Zone 3 | ||
+ | |} | ||
+ | |||
+ | Application with touch display with 4 buttons. | ||
+ | |||
+ | Program startup: | ||
+ | * '''$GRM LV NG10 U3''' : Empty dynamic group | ||
+ | * Set all buttons to white background color | ||
+ | {| class="wikitable" | ||
+ | !Button | ||
+ | !$DP message | ||
+ | !Description | ||
+ | !Reply from AlphaCom | ||
+ | |- | ||
+ | |Zone 1 | ||
+ | |'''R0001 $GRM NG101 NG10 U2''' | ||
+ | |Toggle group "Zone 1" in/out of the dynamic group 10 | ||
+ | | rowspan="3" |COMMAND_RESPONSE <br> | ||
+ | The msg reference indicate button number (R0001,2,3) <br> | ||
+ | Param 3:<br> | ||
+ | 0 = set white background color of button. <br> | ||
+ | 1 = set green background color of button. <br> | ||
+ | |- | ||
+ | |Zone 2 | ||
+ | |'''R0002 $GRM NG102 NG10 U2''' | ||
+ | |Toggle group "Zone 2" in/out of the dynamic group 10 | ||
+ | |- | ||
+ | |Zone 3 | ||
+ | |'''R0003 $GRM NG103 NG10 U2''' | ||
+ | |Toggle group "Zone 3" in/out of the dynamic group 10 | ||
+ | |- | ||
+ | |PTT | ||
+ | |'''$GM NG10 L101 / $C L101''' | ||
+ | |Start / cancel group call from station 101 to zones selected | ||
+ | | | ||
+ | |} | ||
+ | [[AlphaNet_Data_Protocol#Station_Features_and_Status|Back to AlphaNet message list]] | ||
[[Category: ACDP messages]] | [[Category: ACDP messages]] | ||
− | [[ | + | [[Category: DP Commands]] |
Latest revision as of 23:41, 20 November 2023
GROUP_MEMBERSHIP | 0x0081 | 129 | AMC 08.20 | |
---|---|---|---|---|
$GRM L101 L85 U1 $GRM L101 NG3 U0 $GRM N4 NG5 U2 $GRM NG4 NG6 U1 $GRM LV NG7 U3 |
Put station 101 into the group with directory number 85 Remove station 101 from the group with index number 3 Toggle physical number 4 in or out of group number 5 Add all members of group number 4 to group number 6 (From 13.0.3.0) Empty group number 7 (From 13.0.3.0) | |||
Set group membership for a station. (Note that any changes in group membership by $GRM will be overwritten by a SendAll operation from AlphaPro)! | ||||
1 | NET_OBJ_REF {LOCAL_DIRNO, LOCAL_ENTITY} |
Single station or station group to be added/removed/toggled from group in parameter 2.
Group as parameter supported from 13.0.3.0 | ||
2 | NET_OBJ_REF {LOCAL_DIRNO, |
Group of stations. | ||
3 | UINT1 | Operation on group: 0=Take station out of group 1=Put station into group 2=Toggle station in/out of group depending on previous state.
3=Empty the group for all stations, param 1 must be a legal net_obj_ref. (LV) (From 13.0.3.0) | ||
Response: | COMMAND_RESPONSE
Param 3 of Command Response indicate status of change (From 13.0.3.0) |
Dummy example of usage from a Group/Zone select PC application.
Group | Description |
---|---|
10 | Dynamic group |
101 | Stations of Zone 1 |
102 | Stations of Zone 2 |
103 | Stations of Zone 3 |
Application with touch display with 4 buttons.
Program startup:
- $GRM LV NG10 U3 : Empty dynamic group
- Set all buttons to white background color
Button | $DP message | Description | Reply from AlphaCom |
---|---|---|---|
Zone 1 | R0001 $GRM NG101 NG10 U2 | Toggle group "Zone 1" in/out of the dynamic group 10 | COMMAND_RESPONSE The msg reference indicate button number (R0001,2,3) |
Zone 2 | R0002 $GRM NG102 NG10 U2 | Toggle group "Zone 2" in/out of the dynamic group 10 | |
Zone 3 | R0003 $GRM NG103 NG10 U2 | Toggle group "Zone 3" in/out of the dynamic group 10 | |
PTT | $GM NG10 L101 / $C L101 | Start / cancel group call from station 101 to zones selected |