Actions

Difference between revisions of "EXECUTE COMMAND"

From Zenitel Wiki

 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{AI}}
 
{| border="1"
 
{| border="1"
 
|-
 
|-
Line 6: Line 7:
 
!style="background:#ffdead;" |AMC 07.60
 
!style="background:#ffdead;" |AMC 07.60
 
|-
 
|-
|colspan="5"|'''$X "ASCII Command string"'''<br\>  
+
|colspan="2"|'''$X "ASCII Command string"'''<br>'''@4 $X "RCO 2 ON"'''<br>'''@3 $X 'MPP 2 0 "Alarm"'||colspan="3"|  <br><br>''Turn on RCO 2 in node 4''<br>''Send 'Alarm' to pocket pager 2 in node 3.'' <br> (The @ node number is in HEX format.)
'''$X 'MPP 2 0 "Displaytext"'
 
 
|-
 
|-
 
|colspan="5"|Send a command string to the exchange to be executed there.  The command string can either be a [[AlphaNet Data Protocol#Message Formats - Grouped by Function|DP message]] ($something), or an [[AMC]] built-in action ([[MPP]]).   
 
|colspan="5"|Send a command string to the exchange to be executed there.  The command string can either be a [[AlphaNet Data Protocol#Message Formats - Grouped by Function|DP message]] ($something), or an [[AMC]] built-in action ([[MPP]]).   
  
Application:<br\>- Activate [[Event Handler#built-in commands|built-in command]]s via AlphaNet, e.g. start paging in another node<br\>- A PC-based [[Control Handler|Call Handler]] can have user-configurable “scripts” in [[Data link layer#Stentofon Simple Link Layer|Simple Link Layer]] ([[ASCII]]) format which can be sent to the exchange using a reliable binary protocol.<br\>- “Super-RIO”:  An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events.  Just send them to the exchange for execution
+
Application:<br>- Activate [[Event Handler#built-in commands|built-in command]]s via AlphaNet, e.g. start paging in another node<br>- A PC-based Call Handler can have user-configurable “scripts” in [[Data link layer#Stentofon Simple Link Layer|Simple Link Layer]] (ASCII) format which can be sent to the exchange using a reliable binary protocol.<br>- “Super-RIO”:  An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events.  Just send them to the exchange for execution
 
|-
 
|-
|1||[[UINT1]][0...n]||colspan="3"|String to be executed. Delimited by end of message. <br\>$X:  If the string contains double quotes (“) they can be replaced by single (‘)
+
|1||[[UINT1]][0...n]||colspan="3"|String to be executed. Delimited by end of message. <br>$X:  If the string contains double quotes (“) they can be replaced by single (‘)
 
|-
 
|-
 
|}
 
|}
  
 
[[Category: ACDP messages]]
 
[[Category: ACDP messages]]
 +
[[Category: DP Commands]]
 
[[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]]
 
[[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]]

Latest revision as of 13:16, 6 July 2022

AI.png
EXECUTE_COMMAND 0x004F 79 AMC 07.60
$X "ASCII Command string"
@4 $X "RCO 2 ON"
@3 $X 'MPP 2 0 "Alarm"'


Turn on RCO 2 in node 4
Send 'Alarm' to pocket pager 2 in node 3.
(The @ node number is in HEX format.)
Send a command string to the exchange to be executed there. The command string can either be a DP message ($something), or an AMC built-in action (MPP).

Application:
- Activate built-in commands via AlphaNet, e.g. start paging in another node
- A PC-based Call Handler can have user-configurable “scripts” in Simple Link Layer (ASCII) format which can be sent to the exchange using a reliable binary protocol.
- “Super-RIO”: An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events. Just send them to the exchange for execution

1 UINT1[0...n] String to be executed. Delimited by end of message.
$X: If the string contains double quotes (“) they can be replaced by single (‘)

Back to AlphaNet message list