77.7.3
SET: Modifying Memory Contents
In order to help avoid typing errors, the number of new values entered must correspond to the number of memory units to be changed. In addition the length of the new values must exactly correspond to the memory output option selected (e.g. a 2-digit hexadecimal number if BYTE was selected).
Command Syntax
The number of memory units to be changed must be entered in decimal form.
The new values must be entered as hexadecimal numbers and separated by hyphens.
The input can be made in BYTE-, WORD- oder DWORD-format.
•
Modification using an Address Symbol
SET,ADR,name,input_style,number,values;
•
Modification using a Direct Address
SET,DA,selector-offset,input_style,number,values;
The selector and offset must be entered as hexadecimal numbers and separated by hyphens.
•
Modification using a logical Memory Definition
SET,LOGNAME,name,input_style,number,values,indices,offset;
The indices of the array elements concerned must be entered in decimal form; either linked single values or index ranges are permitted.
The offset of the memory area to be changed must be entered in decimal form; it is the displacement of the pointer relative to the beginning of the array element.
Example
For the purpose of this example we will assume that the device type for the terminal task is to be changed from 02 to 05.
The address of the Static Task Table is entered as 0F38:0265 in the linkage listing of the ADS database. In the Prolib listing, the element length is defined as 7 and the offset of the device type relative to the beginning of the element is 6.
In most cases the element 3 is the element for the terminal task.
Input:
*def,adr,tt_elem,adr,0f38-0273;
Output:
DISPLAYER-INPUT IN A1 PLEASE:
Input:
*lst,adr,tt_elem,byte,7;
Output:
TABLE: TT_ELEM
ADDRESS: 0F38H:0273H
CONTENTS HEX (ASCII)
0( 0) 01545420010102 .TT ...
DISPLAYER-INPUT IN A1 PLEASE:
Input:
*set,adr,tt_elem,byte,7,01-54-54-20-01-01-05;
Output:
DISPLAYER-INPUT IN A1 PLEASE:
Input:
*lst,adr,tt_elem,byte,7;
Output:
TABLE: TT_ELEM
ADDRESS: 3E20H:00FBH
CONTENTS HEX (ASCII)
0( 0) 01545420010105 .TT ...
DISPLAYER-INPUT IN A1 PLEASE:
${DocTitle}
, ID:
${DocID}
©
02/2025
Mitel Networks Corporation. - All rights reserved.
Mitel and the Mitel logo are trademarks of Mitel Networks Corporation. Unify and associated marks are trademarks of Unify Software and Solutions GmbH&Co. KG.
All other trademarks herein are the property of their respective owners.