Actions

SET TIMER

From Zenitel Wiki

Revision as of 13:50, 4 July 2007 by Asle (talk)
SET_TIMER 0x008F 143 AMC 08.20
$ST L102 W 50<br\>$ST L102 <br\> $ST L102 W 50 L(2)101 ‘my name’ U0<br\>$ST L102 W 0 L(2)101 Set 5 second timer on station 102<br\>Stop all timers on station 102<br\>Set 5 sec, on station 102, from 101<br\>Stop timer on station 102, from 101
Start a timer or stop timer. When the timer expires, an EVENT_REPORT is generated, event type EVH_EVENT_TIMEOUT = 21. The timer can be stopped before expiry by setting a zero timeout value.

A station must be specified as owner of the timer. It is also possible to specify the “related-to” parameters to be used in the timeout EVENT_REPORT. A SET_TIMER will replace an existing running timer if both the owner station and related-to stations are identical. If none of the running timers are matching, a new independent timer is started. Omitting the related-to station has a special meaning for the stop operation: All timers with the specified owner station will be stopped.

1 NET_OBJ_REF {ECL_STATION} Station to receive timeout event (event owner). (NRF_LOCAL_DIRNO and NRF_LOCAL_ENTITY allowed.)
2 UINT2 <br\>(optional) Timeout value, measured in 100 ms ticks. Default value is zero, which means stop timer. Max value will give a 1 hour 49 minute timeout.
3 NET_OBJ_REF<br\> {ECL_STATION}<br\> (optional) Station to be used as related-to parameter in timeout event. Null value allowed. (Only NRF_LOCAL_DIRNO allowed.)
4 TEXT16<br\>(optional) Name of related-to parameter in timeout event (16 character). <br\>Default value: Sending station’s name if specified.
5 UINT1<br\>(optional) User Defined Properties (UDP) of related-to parameter in timeout event.

Default value: 0.

Response: None