Difference between revisions of "Wudd"
From Zenitel Wiki
(→Example) |
(→Example) |
||
Line 10: | Line 10: | ||
===Example=== | ===Example=== | ||
WUDD 8 4321 - ''Write value 4321 to variable 8'' | WUDD 8 4321 - ''Write value 4321 to variable 8'' | ||
− | WUDD %1.phy %2.dir - ''Write the directory number of the 'Related To' station to the location | + | WUDD %1.phy %2.dir - ''Write the directory number of the 'Related To' station to the location identified<br> by the physical number of the event 'Owner''' |
=== See also === | === See also === |
Revision as of 15:13, 4 April 2008
The WUDD command is used in the Event Handler to write a value to UDD (User Defined Data variable). The value is changed immediately, before the next statement is executed. The WUDD command can only be used to change values in local exchange. In order to write to an UDD in another exchange via AlphaNet, the data command $WUDD must be used.
Syntax
WUDD index value
Write value to UDD at the location index.
- index: 0 – 6000 ( 0 - 600 before AMC 9.01)
- value: 32 bit value (16 bit value before AMC 9.03)
Example
WUDD 8 4321 - Write value 4321 to variable 8 WUDD %1.phy %2.dir - Write the directory number of the 'Related To' station to the location identified
by the physical number of the event 'Owner'