Address on bad boundry error in praviously compiled citect project

Hello All,

We have citect project compiled and running in version 5.42.

We do a small change in graphics screen, no additional variable were added, then on compilation we are receiving errors like "Äddress on bad boundry".

Communication driver is S7 NT and in ini file settings to avoid above error keys is already configured.

 [GENERAL]
CheckAddressBoundary=0

We pack project, then do a full compilation but still citect copiler keep on giving same error.

Kindly advice.

regards

Hemant JADHAV

  • In your version of Citect, it kept citect.ini in c:\windows. Make sure you are editing the correct file.

    I noticed that if you go to the Citect Explorer | View menu | Configuration File, it may display the citect.ini from your project instead of the one in the Windows folder.

    There were also issues in Citect v5 where it could use some parameters from citect.ini in your project folder and some from c:\windows\citect.ini. Make sure to delete citect.ini from your project folder.

    When you make project backups using the 'Save System Files' option, it copies c:\windows\citect.ini into the project backup, and when you restore the backup, you end up with an old copy of citect.ini in the project. In newer versions of Citect that doesn't hurt anything, but in v5 it can be a problem.

  • Thanks Eric for your reply...

    I remove the file from project folder and keep citect.ini in C:\windows folder but still receving same errors...

    Any other suggestion?

    thanks in advance

    Hemant

  • It's possible there's a typo or format error in the ini file. Make sure you don't have 2 or more [General] sections. You could try moving the general section to the top of the file in case there's a problem above it.

    There's a citect.ini editor in newer versions of Citect (v6 and above) that helps eliminate problems like that.

  • I checked for typo error found everything clear ..following is section from that ini. file 

    [GENERAL]
    CheckAddressBoundary=0
    StartDelay=60
    ScreenShotPrinter=HP Deskjet 6940 series - Landscape
    TrnPrinter=HP LaserJet P3010 Series PCL 6
    ReportPrinter=HP Deskjet 6940 series
    ShareFiles=1
    ExportFile=

    Anyways is there any other settings in citect V5 by which we are linking ini file in windows folder to a specific project in user folder? if it is so i will try to regenerate that link so that citect can read ini file settings for my project in user folder..

    Warm regards

  • You might want to inspect the command that is used to start your runtime (might be a shortcut icon).

    It is possible to point to a specific ini file with command line option -i, so please look for any references to citect32.exe that use the -i command line option.

  • ok....thnaks ....will check for this.