Introduction
In some circumstances, a user may need to adjust the number of variables allocated on the controller. For example, your controller may be set up to allow the use of 128 position variables and your programs require 150. This document explains the procedure to adjust the number of different variable types you can use on the controller.
The reference of 100 and 128 is how the controller comes as default from YEC. Controllers are shipped from YAI with variable allocation of 250. Increasing variable allocation results in a decrease of job memory allocation. This tradeoff is the reason why YAI doesn’t increase variable allocation more than our standard.
Note: Changing allocation initializes the JOB LIST, VAR.DAT, VAR NAMES, and all USER FRAMES! Carefully follow the entire procedure to backup all files before completing the adjustment. Afterwards, you can load the backed up files.
Procedure
- Backup all Individual Files (Reference this article if you need assistance: Controller Backup Overview)
- Boot the System into Maintenance Mode by holding the Main Menu key when powering on the system.
- Change the security level to SAFETY
- Select SYSTEM / SETUP
- Move the cursor to OPTION FUNCTION and press SELECT.
- Move the Cursor to VARIABLE ALLOCATION and press SELECT
- Selecting the ++ & -- fields on the screen will adjust Byte, Integer, Double Real, & String allocation 50 per selection. Position, Base & Station will adjust 64 per selection. The range values may change as allocation changes. The controller has a finite amount of memory for variables.
- You also have the option of directly inputting values by moving the cursor to the number column.
- After allocation is complete, press ENTER. You will then be given a series of confirmation windows.
- Select YES in the MODIFY window.
- Select YES on the next three confirmation windows.
- Reboot the controller.
- Load all JOBS, VAR.DAT, VARNAME.DAT, and UFRAME.CND files.
Comments
0 comments
Please sign in to leave a comment.