Difference between revisions of "EDO - External Data Output"
From Zenitel Wiki
(→Syntax) |
|||
Line 21: | Line 21: | ||
The $PUT command is useful when the EDO data should be routed in AlphaNet: | The $PUT command is useful when the EDO data should be routed in AlphaNet: | ||
− | @2 $PUT 5 "my | + | @2 $PUT 5 "my text" - sends '''''my text''''' on EDO port 3 in node 2 |
== See also == | == See also == |
Revision as of 14:26, 21 October 2008
EDO (External Data Output) is an user definable ASCII HEX protocol intended for CCTV control, making customised logs etc.
EDO ports can be configured as RS232 serial ports or TCP/IP ports. Up to four EDO ports can be defined. The EDO ports are configured from AlphaPro: Exchange & System -> Serial Ports.
EDO is controlled from the Event Handler where it can be configured to send free text merged with parameters for the active stations.
Syntax
EDO "free text" - sends free text on the EDO port 1 EDO 1 "free text" - sends free text on the EDO port 1 EDO 2 "Door A2 open\x0D\x0A" - sends Door A2 open including CR + LF on the EDO port 2 EDO 3 "Door A2 opened by %1.dir\r\n" - sends Door A2 opened by 101 including CR + LF on the EDO port 3 when station 101 presses "6" and activates the door opening event EDO 4 "\x02free text\x03" - sends <STX> + free text + <ETX> on the EDO port 4 (STX = ASCII hex 02 and ETX = ASCII hex 03)
The data protocol message $PUT can also be used to output data on EDO ports:
$PUT 3 "free text" - sends free text on the EDO port 1 $PUT 4 "free text" - sends free text on the EDO port 2 $PUT 5 "free text" - sends free text on the EDO port 3 $PUT 6 "free text" - sends free text on the EDO port 4
The $PUT command is useful when the EDO data should be routed in AlphaNet:
@2 $PUT 5 "my text" - sends my text on EDO port 3 in node 2