AC450 online inserting Local Data 0%
During inserting statements via Online Bulider Local Data space decreased to 0%.
Schould I worry?
Information from DIMDB and DIMPC:
Free space in system 6083 kb
Allocated data base area: 840 kb
Spare area in data base 11 kb
Allocated PC area 1300 kb
Available PC area 343 kb
Allocated interpreter area 4 kb
The most likely your PC program is too big.
The problem is that each PC program has limited Local Data space. The memory space of PC program you are trying to insert is full.
Note that PC elements inserted in online take more memory than the same PC elements inserted with TRPCS command on loading the new PC program from AA source code.
The explanation is the new PC element inserted online is stored in the end of memory stack of particular PC program plus there are 2 additional hidden jumps. One from the point of insertion to end of program and after new PC element execution is returned back to the next proceeding PC element after new PC element. And these 2 additional jumps take more memory.
How to fix the issue:
1.) if you cant stop your program, continue with your logic in next new PC program
2.) try to DUPCS your program to AA file. And then delete program and backtranslate from AA back by TRPCS command. That should release some memory space of PC program.
3.) If that does not help, you will need to backup the whole AC450 by means of DUDBS *with values* and DUPCS commands, write down setting in APP,DIMDB, DIMPC.
Erase AC450 by RECONFIG and configure APP, DIMDB, DIMPC from the scratch, then load database by TRDBS and PC programs by TRPCS.
Point 3. means serious undertaking and must be carefully prepared. It will take possibly longer than 1 day. Probably you will need to reconfigure TTDVARS in AS500 if you are using AS500 still. If you are using 800xA HMI you will need to run MB300 uploader.
I have experience with situation like that it was not possible to insert any new PC element in any way. Only one fix was the procedure described in point 3.