Jump to content
OMRON Forums

#31: too many labels


Omron Forums Support
 Share

Recommended Posts

Product: Power PMAC-NC

Parser Options: MacroSupport=Parametric

 

Error occurs during download "#31: too many labels". This happens when downloading large files which contain GOTO statements with parametric arguments.

 

For Example: GOTO #100

 

In order to support GOTO statements with arguments all original "Nxxx" line numbers must be retained during download. This is necessary because the value of #100 will be evaluated at a later time and we cannot pre-evaluate the value during parsing.

 

As a result very large programs will encounter this error. The default allowable jump label maximum is 1024.

 

Solution: Modify the .ini file to allow more jump labels. The below line will increase the allowable jump labels to 2048:

 

; Optional open prog/subprog parameters (buffer number or *, local variable stack offset, max jump labels).

SubprogOpenParams=*,256,2048

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...