Actions

Difference between revisions of "PUT STRING"

From Zenitel Wiki

Line 11: Line 11:
 
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="2"|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\>
Line 22: Line 22:
 
9 = Debug console input (TST)  
 
9 = 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”'''.
|Before payload:<br\>-<br\>Date, time, node/device<br\><NULL><br\>-
 
<br\><br\>After payload<br\>-<br\><CR><LF><br\><CR><LF><br\>-
 
<br\><br\>AMC 08.00
 
 
|-
 
|-
 
|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.

Revision as of 11:45, 2 October 2008

PUT_STRING 0x0073 115 AMC 07.30
$PUT 1 “Log port message”<br\> $PUT 2 “MPC port message”<br\>$PUT 3 “EDO port message” <br\> alternative: $MPC 2 “0201 F123 ”<br\> 
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:<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\> 2 = TouchLine Data: Before payload: <NULL> is added. After payload: <CR><LF> is added <br\> 3 = External Data Out 1 (EDO 1)<br\> 4 = External Data Out 2 (EDO 2)<br\> 5 = External Data Out 3 (EDO 3)<br\> 6 = External Data Out 4 (EDO 4)<br\> 8 = Debug console output (TST)<br\>No formatting of output at receiving end needed.<br\> 9 = 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. <br\>Typically plain, readable text, but all character values (0...255) can be used.

Back to AlphaNet message list