KurtSchoedel (Customer) asked a question.

On the Productivity PLC development environment, there is an instruction called "access system parameters" where you can programmatically read or write system parameters such as baud rate and what not for a serial link.

 In my software, this instruction is grayed out such that I cannot use it. I am using the P1-540 CPU. How do I enable this instruction so I can use it in my code?


  • PouchesInc (Customer)

    AFAIK only available on P2-622 CPU, which uses a different processor platform than the rest of the Productivity lineup and is supposed to eventually gain additional instruction possibilities available only to the newest CPUs.

    Selected as Best
  • PouchesInc (Customer)

    AFAIK only available on P2-622 CPU, which uses a different processor platform than the rest of the Productivity lineup and is supposed to eventually gain additional instruction possibilities available only to the newest CPUs.

    Selected as Best
  • ADC_AutomationControls_PE03 (AutomationDirect)

    PouchesInc is correct, the Access System Parameters (ASP) instruction is only available for the P2-622 CPU. If the instruction is grayed out, that indicates the CPU configured in the project does not support it.

    • PouchesInc (Customer)

      Perhaps an improvement to the user interface could be to provide an indication next to greyed out instructions for which line of CPUs it requires? Might get hard if more CPUs release from the new architecture, but for now with only a single it would work out. Such as:

       

      ProductivityImprovement 

      Edit:

       

      Or, have an option in the software that defaults to being turned on that is "Hide incompatible instructions in the ladder instruction list"

      Expand Post
      • kewakl (Customer)

        Either could work.

        1.the mouseover tooltip might be a place for this compatibility message to live

        2.seems even better

  • KurtSchoedel (Customer)

    That's what I suspected, even though nothing of the sort is suggested on the website looking at the various Productivity CPU offerings.

     

    Thanks.

  • Tamudopt (Customer)

    If you’re tweaking system parameters on the fly, I’ve had luck wrapping those calls in a small diagnostic routine so I can safely flip baud rates without kicking the whole process offline. I once had something similar built for a project through bespoke software development london, which made it easier to validate changes and log them cleanly. That kind of tooling saved me a bunch of head-scratching later.