Technical FAQs

Ask a Question

Why am I getting a "Syntax Error" when I attempt to compile a main project in Powerlogic Scada?

ISSUE:
Why am I getting a "Syntax Error" when I attempt to compile a main project in Powerlogic Scada?

Product Line:
Powerlogic Scada v7.10, PowerScada v7.20,7.30 and 8.0

Cause:
Syntax Error is usually associated with a Tag Name Syntax. PowerLogic SCADA tags (variable tags, alarm tags and trend tags) need to have the following syntax:

[ | '_'] *[ | | '\' | '_']

  That is, the tag name needs to begin with either an alpha character (A-Z or a-z) or the underscore character (_).  Any following characters needs to be either alpha (A-Z or a-z), digit (0-9), backslash (\)or underscore characters(_).  The use of any other characters will result in a compiler error. 

Resolution:
Ensure that tag names follow the approved format.

For example, '_MyTag123' and 'my\New\Tag' are both valid tag names, whereas '\NewTag\' is invalid.

Tag names that begin with a numeric character, such as '12TagName', are only valid if the INI parameter [General]TagStartDigit is set to 1 (the default value is zero).

Was this helpful?
What can we do to improve the information ?