Download MPE720 Version 6 - Support

Transcript
Chapter 5 Variables
5.3.1 Variables that can be Referred from Any Program
2.
Set the following items as described.
Variable Name
Enter the group name with up to eight alphanumeric characters. "C_" will be automatically displayed at the
beginning of the variable name.
Œ Enter a letter of the alphabet for the leading character of the variable name. An error will occur if a number is
entered first.
Size of Use
Enter, the number of Words to be used beginning from the leading address set in the Register Field.
Click the Search Empty Register Button. Available registers of the size to be used will be found, and the
leading address will be automatically entered in the Register Field.
Register
Enter, in WORD type, the leading address of the C register group to be assigned.
Comment
Enter a comment for this group. A maximum of 255 alphanumeric characters can be entered.
Œ Carriage returns and line feeds cannot be used.
3.
Click OK.
The global constant group will be created, and it will be displayed under the Constant Variable Folder.
[ b ] Assigning Global Constants
Use the following procedure to assign a constant variable to a group.
1.
In the Variable Subwindow, right-click the global constant group to which the variable is to be assigned
and select Add from the pop-up menu.
The Constant Variable Registration Dialog Box will be displayed.
5-18