SYSPARAM
From Zenitel Wiki
SYSPARAM (read and write system parameters) | 0x00B5 | 181 | AMC 11.03 | |
---|---|---|---|---|
$SYSPARAM 'block_reset' 1 $SYSPARAM 'block_reset' |
Set block_reset parameter to 1 <br\> Read state of block_reset parameter. | |||
SYSPARAM read and set system parameters, the parameters are used both in AMC and from other process on the AMC boards. | ||||
1 | TEXT16 | Name of parameter | ||
2 | UINT1 | Value of parameter (0/1) | ||
Response | $SYSPARAM |
The %syspar macro is used in the Event Handler to read and write the state of a global system parameter (currently only flags true/false 0/1)
Syntax Read
%syspar(parameter)
- parameter is the name of the parameter
Return 1/0 dependent of the current state
Examples
IF %syspar(block_reset) LOG "Node is in blocked reset state" ENDIF