adccommunitymod (AutomationDirect) asked a question.

Cmore 6.14 simulator bug?

Created Date: January 09,2016

Created By: bfitz

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I'm working on a project in 6.14 and am coming across a bug in the simulator, I think. I have configured DEV001 to be an AB SLC500 on the serial port. I created a few tags that reference some timer and counter (pre/acc) registers in the PLC. I have also created a few tags that reference some N registers. I have created a few Internal tags for holding results of calculations. I setup an Event in the Event Manager, tag based, SYS ClockSec ON. The action is Math. I have an Internal tag (signed 16) set as the result tag. If I put any timer or counter register in the math equation box, when I simulate the project (EA9-T15CL target), I get a math error for that event number. This can be done without an actual equation, just the tag (like a tag copy action, but in a math box). Putting an Internal tag in the math box does not cause this behavior. Nor does putting an N register tag in the math box. I don't have this screen connected to a PLC yet, so I can't test to see whether the screen itself will have an issue in production. For those wondering, I'm trying to calculate a time remaining (and counts remaining) by subtracting a .ACC from a .PRE and storing it in an Internal tag for display. Is this a bug? Or do I need to reinstall, etc.? Thanks, Brian


  • adccommunitymod (AutomationDirect)

    Created Date: January 09,2016

    Created by: mwdkmpr

    The C-more simulator will not read PLC tags. It is only for showing how screens will look and act when downloaded to a panel.

  • adccommunitymod (AutomationDirect)

    Created Date: January 11,2016

    Created by: bfitz

    I am aware that the simulator won't read PLC tags. My concern was that I was getting a math error from the simulator when I constructed a formula with T and C registers. This same error did not occur when using a formula that had N registers. This was unexpected behavior and I was just checking to see if this was a bug in the simulator.

    Brian

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: January 12,2016

    Created by: kewakl

    bfitz,

    I cannot offer a fix or an answer to the (is it a bug?) question.

    I can, however, confirm the same results here - with T and C!

    And R.

  • adccommunitymod (AutomationDirect)

    Created Date: January 12,2016

    Created by: bfitz

    Well, not just me then. That makes me feel a bit better. :)

  • adccommunitymod (AutomationDirect)

    Created Date: January 12,2016

    Created by: kewakl

    I don't have any EA9 projects.

    Considering some of the growing pains with this platform, I think I'll wait.

    HRMPH!!!!

    That made the decision easier.

  • adccommunitymod (AutomationDirect)

    Created Date: January 27,2016

    Created by: HMI Eng

    Thanks for posting. We will report it to the developers.

  • adccommunitymod (AutomationDirect)

    Created Date: March 01,2016

    Created by: bfitz

    Just to bump this, I have a screen attached to a PLC now.

    It looks like the screen is refusing to do math with C registers directly. As a work-around, I am copying the C registers I need into Internal tags and doing the math with those. This is working in the simulator, and I expect it will work when attached to the actual PLC. However, this is extremely clunky and should be considered a bug (IMHO).

    I haven't played with T or R registers, but I would expect them to be the same from kewakl's findings.

    Brian

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 20,2016

    Created by: MikeMc

    Time since post

    BFitz,

    It has been 3 months since you reported a major program (I define major problems as the inability to perform operations that should work - not minor appearance issues) to tech support.

    Have you received any fix for this issue other than we will report it to the programmers?

    What if you had not been able to figure out a work around, would you have been able to use the CMore?

    Mike McClanahan

    Global Production Solutions

    Senior Automation Engineer

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: January 09,2016

    Created by: bfitz

    I'm working on a project in 6.14 and am coming across a bug in the simulator, I think.

    I have configured DEV001 to be an AB SLC500 on the serial port. I created a few tags that reference some timer and counter (pre/acc) registers in the PLC. I have also created a few tags that reference some N registers.

    I have created a few Internal tags for holding results of calculations.

    I setup an Event in the Event Manager, tag based, SYS ClockSec ON. The action is Math. I have an Internal tag (signed 16) set as the result tag.

    If I put any timer or counter register in the math equation box, when I simulate the project (EA9-T15CL target), I get a math error for that event number. This can be done without an actual equation, just the tag (like a tag copy action, but in a math box). Putting an Internal tag in the math box does not cause this behavior. Nor does putting an N register tag in the math box.

    I don't have this screen connected to a PLC yet, so I can't test to see whether the screen itself will have an issue in production.

    For those wondering, I'm trying to calculate a time remaining (and counts remaining) by subtracting a .ACC from a .PRE and storing it in an Internal tag for display.

    Is this a bug? Or do I need to reinstall, etc.?

    Thanks,

    Brian

    Expand Post