Actions

SYSPARAM

From Zenitel Wiki

Revision as of 12:40, 15 August 2016 by Aksel (talk) (Created page with "{| border="1" |- !style="background:#ffdead;" width="90pt" colspan="2"|SYSPARAM (read and write system parameters) !style="background:#ffdead;" width="100pt"|0x00B5 !style="ba...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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



Back to Event_Handler#List_of_context_parameters.