WRITE USER DEF DATA: Difference between revisions
From Zenitel Wiki
No edit summary |
No edit summary |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 6: | Line 6: | ||
!style="background:#ffdead;" |AMC 08.20 | !style="background:#ffdead;" |AMC 08.20 | ||
|- | |- | ||
|colspan="5"|'''$WUDD | |colspan="5"|'''$WUDD W2 W20''' ''Write 20 to variable 2'' <br> '''$WUDD W2 Q100000''' ''Write 100000 to variable 2'' | ||
|- | |- | ||
|colspan="5"|Write User Defined Data. Store data for your own purpose. An array of 600 variables (6000 AMC 9.01), each 16 bit (32 bit AMC 9.03), survives exchange reset. Read variable in Event Handler with [[%udd]](''index''). | |colspan="5"|Write User Defined Data. Store data for your own purpose. An array of 600 variables (6000 AMC 9.01), each 16 bit (32 bit AMC 9.03), survives exchange reset. Read variable in Event Handler with [[%udd]](''index''). | ||
| Line 12: | Line 12: | ||
|align=center|1||[[UINT2]]||colspan="3"|Index to variable , 0 – 600, ( 0 - 6000 AMC 9.01) | |align=center|1||[[UINT2]]||colspan="3"|Index to variable , 0 – 600, ( 0 - 6000 AMC 9.01) | ||
|- | |- | ||
|align=center|2||[[UINT2]],<br | |align=center|2||[[UINT2]],<br />[[UINT4]](AMC 9.03)||colspan="3"|Value to put in variable, 0 - 65535.<br />(from [[AMC]] 9.03 both [[UINT2]] and [[UINT4]] are supported) | ||
|- | |- | ||
|colspan="2"|Response: | |colspan="2"|Response: | ||
| Line 19: | Line 19: | ||
|} | |} | ||
Note | {{Note|When used from the EventHandler, the '''data is written after the event handler action is completed'''. The event hander built in statement [[WUDD]] on the other hand, takes effect immediately, before the next statement is executed. However, only DP message $WUDD can write a value in a remote exchange.}} | ||
[[Category: ACDP messages]] | |||
[[Category: DP Commands]] | |||
[[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]] | [[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]] | ||
Latest revision as of 10:33, 14 October 2025
| WRITE_USER_DEF_DATA | 0x008A | 138 | AMC 08.20 | |
|---|---|---|---|---|
| $WUDD W2 W20 Write 20 to variable 2 $WUDD W2 Q100000 Write 100000 to variable 2 | ||||
| Write User Defined Data. Store data for your own purpose. An array of 600 variables (6000 AMC 9.01), each 16 bit (32 bit AMC 9.03), survives exchange reset. Read variable in Event Handler with %udd(index). | ||||
| 1 | UINT2 | Index to variable , 0 – 600, ( 0 - 6000 AMC 9.01) | ||
| 2 | UINT2, UINT4(AMC 9.03) |
Value to put in variable, 0 - 65535. (from AMC 9.03 both UINT2 and UINT4 are supported) | ||
| Response: | COMMAND_RESPONSE(138,1,0) when success | |||
| When used from the EventHandler, the data is written after the event handler action is completed. The event hander built in statement WUDD on the other hand, takes effect immediately, before the next statement is executed. However, only DP message $WUDD can write a value in a remote exchange. |
