Difference between revisions of "EXECUTE COMMAND"
From Zenitel Wiki
Line 6: | Line 6: | ||
!style="background:#ffdead;" |AMC 07.60 | !style="background:#ffdead;" |AMC 07.60 | ||
|- | |- | ||
− | |colspan="2"|'''$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.) |
|- | |- | ||
|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 | + | 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 |
|- | |- | ||
− | |1||[[UINT1]][0...n]||colspan="3"|String to be executed. Delimited by end of message. <br | + | |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 (‘) |
|- | |- | ||
|} | |} |
Revision as of 13:11, 7 March 2016
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: | ||||
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 (‘) |