Announcement

Collapse
No announcement yet.

Cannot Compile - Tag missing in instruction

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts


  • Cannot Compile - Tag missing in instruction

    Consider this an FYI and a bug report as I do not require help with this issue.
    Issue: STA fails to compile if array type and statistical operation/parameter are changed.
    I have tested several versions of PAC Suite and found that they exhibit this issue: Versions 1.4.1(1),1.5.1(2), 1.6.1(6) and 1.7.0(18)
    Error Message:
    Cannot compile 'Run Every Scan' task '#taskname#'
    Location: Rung nn, Column nn
    Reason: Tag missing in instruction
    Reproducible: Yes
    Steps to reproduce:
    1. ensure that you have at least 1 integer array and 1 boolean array
    2. ensure that you have at least 2 integer tags
    (for the purpose of this post, I named the tags Integer1, Integer2, IntArray1 and BoolArray1 and set all array columns to 5)
    3. Populate an STA instruction with the following:
    Code:
       Array [IntArray1]
       Output [Integer1]
       Start [Column 1]
       End [Column 5]
       Select the 'Number of Elements Greater Than' operation and fill with [Integer2]
       -------OR-------
       Select the 'Number of Elements Less Than' operation and fill with [Integer2]
    4. Click OK.
    This will compile ok.
    5. Now edit your STA instruction:
    6. Delete the Integer2 tag from the Greater/Less Than operation's parameter.
    7. Select the 'Sum' operation.
    8. Change the Array to [BoolArray1]
    9. Click OK.

    This will NOT compile - for the reason provided.
    If you leave the Greater/Less Than operation's parameter filled with Integer2, then it will be grayed out and the instruction will compile.
    Last edited by kewakl; 12-12-2012, 08:14 PM. Reason: Added note for FYI


  • #2
    Continuing...
    When attempting to remedy the 'issue' NO hints are provided to the problem.
    The error message says that a Tag Is Missing.
    With the New STA configuration, there is NO missing tag.

    - If you perform the edit a bit differently, the issue is avoided altogether.

    Refer to the previous post...
    6. Delete the Integer2 tag from the Greater/Less Than operation's parameter.
    7. Select the 'Sum' operation.
    8. Click OK
    9. Edit the STA instruction
    10. Change the Array to [BoolArray1]
    11. Click OK.
    Now compile. It will.

    Comment



    • #3
      Thanks for reporting this issue, I have reported this to our software development team, it will be fixed in the next release.
      If you have an urgent issue, please contact AutomationDirect's Technical Support team.

      AutomationDirect.com Technical Support: 1(800) 633-0405 or (770) 844-4200 Email Tech Support

      Comment



      • #4
        Fixed in 1.8.2(1)

        Comment

        Working...
        X