Actions

PUT STRING

From Zenitel Wiki

(Redirected from PUT)
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