Actions

Difference between revisions of "PUT STRING"

From Zenitel Wiki

 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{AI}}
 
{| border="1"
 
{| border="1"
 
|-
 
|-
Line 6: Line 7:
 
!style="background:#ffdead;" |AMC 07.30
 
!style="background:#ffdead;" |AMC 07.30
 
|-
 
|-
|colspan="3"|'''$PUT 1 "Log port message"'''<br\> '''$PUT 2 "MPC port message”'''<br\>'''$PUT 3 "EDO port message"'''||colspan="2"|<br\>&nbsp;alternative: '''$MPC 2 "0201 F123 "'''<br\>&nbsp;
+
|colspan="3"|'''$PUT 1 "Log port message"'''<br /> '''$PUT 2 "MPC port message”'''<br />'''$PUT 3 "EDO port message"'''||colspan="2"|<br />&nbsp;alternative: '''$MPC 2 "0201 F123 "'''<br />&nbsp;
 
|-
 
|-
 
|colspan="5"|Output String to Exchange serial port after adding appropriate framing depending on selected port.  
 
|colspan="5"|Output String to Exchange serial port after adding appropriate framing depending on selected port.  
 
The source address in the net­layer header is used for logging instead of using a separate parameter.  
 
The source address in the net­layer header is used for logging instead of using a separate parameter.  
 
|-
 
|-
|align=center|1||[[UINT1]]||colspan="3"|Logical Port number:<br\>
+
|align=center|1||[[UINT1]]||colspan="3"|Logical Port number:<br />
0 = NULL Port.<br\>
+
0 = NULL Port.<br />
1 = System Log Port: ''Before payload: Date, time and node/device is added. After payload: <CR><LF> is added'' <br\>
+
1 = System Log Port: ''Before payload: Date, time and node/device is added. After payload: <CR><LF> is added'' <br />
2 = TouchLine Data: ''Before payload: <NULL> is added. After payload: <CR><LF> is added'' <br\>
+
2 = TouchLine Data: ''Before payload: <NULL> is added. After payload: <CR><LF> is added'' <br />
3 = External Data Out 1 ([[EDO]] 1)<br\>
+
3 = External Data Out 1 ([[EDO]] 1)<br />
4 = External Data Out 2 (EDO 2)<br\>
+
4 = External Data Out 2 (EDO 2)<br />
5 = External Data Out 3 (EDO 3)<br\>
+
5 = External Data Out 3 (EDO 3)<br />
6 = External Data Out 4 (EDO 4)<br\>
+
6 = External Data Out 4 (EDO 4)<br />
8 = Debug console output ([[TST]])<br\>No formatting of output at receiving end needed.<br\>
+
8 = Debug console output ([[TST]])<br />No formatting of output at receiving end needed.<br />
 
9 = Debug console input (TST)  
 
9 = Debug console input (TST)  
 +
<br>
 +
From AMC 11.2.3.3:<br>
 +
7  = External Data Out 5  (EDO 5)<br />
 +
8  = External Data Out 6  (EDO 6)<br />
 +
9  = External Data Out 7  (EDO 7)<br />
 +
10 = External Data Out 8  (EDO 8)<br />
 +
11 = External Data Out 9  (EDO 9)<br />
 +
12 = External Data Out 10 (EDO 10)<br />
 +
13 = Debug console output ([[TST]])<br />No formatting of output at receiving end needed.<br />
 +
14 = Debug console input (TST)
 
TST “rlogin”:  Requires that [[CONSOLE_REQ]] (126) has previously been sent from the same address. Several lines of commands can be sent in the same put message separated by Carriage Return (0x0D). The command “bye” is taken as disconnect and [[CONSOLE_DISC]] is returned. Example, list all SW errors and disconnect: '''$PUT 9 “err” 0D “a” 0D “bye”'''.
 
TST “rlogin”:  Requires that [[CONSOLE_REQ]] (126) has previously been sent from the same address. Several lines of commands can be sent in the same put message separated by Carriage Return (0x0D). The command “bye” is taken as disconnect and [[CONSOLE_DISC]] is returned. Example, list all SW errors and disconnect: '''$PUT 9 “err” 0D “a” 0D “bye”'''.
 
|-
 
|-
|align=center|2||[[UINT1]](o...n)||colspan="3"|“Payload” Bytes to be output to Port.  Delimited by end of message. <br\>Typically plain, readable text, but all character values (0...255) can be used.
+
|align=center|2||[[UINT1]](o...n)||colspan="3"|“Payload” Bytes to be output to Port.  Delimited by end of message. <br />Typically plain, readable text, but all character values (0...255) can be used.
 
|-
 
|-
 
|}
 
|}
  
 
[[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]]
 +
[[Category:Logging]]

Latest revision as of 12:06, 30 June 2022

AI.png
PUT_STRING 0x0073 115 AMC 07.30
$PUT 1 "Log port message"
$PUT 2 "MPC port message”
$PUT 3 "EDO port message"

 alternative: $MPC 2 "0201 F123 "
 
Output String to Exchange serial port after adding appropriate framing depending on selected port.

The source address in the net­layer header is used for logging instead of using a separate parameter.

1 UINT1 Logical Port number:

0 = NULL Port.
1 = System Log Port: Before payload: Date, time and node/device is added. After payload: <CR><LF> is added
2 = TouchLine Data: Before payload: <NULL> is added. After payload: <CR><LF> is added
3 = External Data Out 1 (EDO 1)
4 = External Data Out 2 (EDO 2)
5 = External Data Out 3 (EDO 3)
6 = External Data Out 4 (EDO 4)
8 = Debug console output (TST)
No formatting of output at receiving end needed.
9 = Debug console input (TST)
From AMC 11.2.3.3:
7 = External Data Out 5 (EDO 5)
8 = External Data Out 6 (EDO 6)
9 = External Data Out 7 (EDO 7)
10 = External Data Out 8 (EDO 8)
11 = External Data Out 9 (EDO 9)
12 = External Data Out 10 (EDO 10)
13 = Debug console output (TST)
No formatting of output at receiving end needed.
14 = Debug console input (TST) TST “rlogin”: Requires that CONSOLE_REQ (126) has previously been sent from the same address. Several lines of commands can be sent in the same put message separated by Carriage Return (0x0D). The command “bye” is taken as disconnect and CONSOLE_DISC is returned. Example, list all SW errors and disconnect: $PUT 9 “err” 0D “a” 0D “bye”.

2 UINT1(o...n) “Payload” Bytes to be output to Port. Delimited by end of message.
Typically plain, readable text, but all character values (0...255) can be used.

Back to AlphaNet message list