Actions

Difference between revisions of "EDO - External Data Output"

From Zenitel Wiki

Line 1: Line 1:
'''EDO (External Data Output)''' is an user definable, output-only, [http://en.wikipedia.org/wiki/ASCII ASCII] HEX protocol intended for CCTV control etc.
+
'''EDO (External Data Output)''' is an user definable [http://en.wikipedia.org/wiki/ASCII ASCII] HEX protocol intended for CCTV control etc.
  
EDO is controlled from the [[Event Handler]] where it can be configured to send free text merged with parameters for the active stations.
+
EDO is controlled from the [[Event Handler]] where it can be configured to send free text merged with parameters for the active stations. Up to four EDO ports can be defined.
  
 
Add EDO port number as an optional parameter before the text
 
Add EDO port number as an optional parameter before the text
Line 15: Line 15:
 
== Syntax ==
 
== Syntax ==
  
  EDO "free text"
+
  EDO "free text"                     - sends '''free text''' on the EDO port 1
  This will send ''free text'' out on the EDO port
+
  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 
  
 
== Example ==
 
== Example ==

Revision as of 20:44, 30 September 2008

EDO (External Data Output) is an user definable ASCII HEX protocol intended for CCTV control etc.

EDO is controlled from the Event Handler where it can be configured to send free text merged with parameters for the active stations. Up to four EDO ports can be defined.

Add EDO port number as an optional parameter before the text EDO 3 ”This goes to port 3” EDO 1 ”text” is equivalent to EDO ”text”

The $PUT DP message already have port parameter because $PUT 3 is EDO port 1. This is followed up by $PUT 4 (EDO port 2) $PUT 5 (EDO port 3) $PUT 6 (EDO port 4)


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   

Example

EDO 2 "Door A2 open \x0D\x0A" 
Output: Door A2 open +CR+LF

See also