Alvin2826

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Alvin2826

  • Rank
    Hi, I am New!

Profile Information

  • Country Canada
  1. PIDAT in Sysmac Studio

    Thanks for the responses, I will definitely try it out!
  2. Hello all, I am currently working on my first automation project and I have approach a problem when simulating my PIDAT function in Sysmac Studio. I found this forum in search for an solution, so I thought I would post my problem here in hopes of someone with more experience could help me out. For this part of the project, I need to automate a modulating valve such that it allows or restricts the flow rate of water to a pool. Of course, this would all be dependent on the measured flow rate through the pipe and the desired setpoint of the flowrate. Both the flow meter and the modulating valve will be operating on a 4-20 mA signal connected to the NX1P2. Now, the problem that I am currently dealing with would be when I start the simulation, the PIDAT function immediately begins in an error state, outputting an ErrorID of #0400. From the manual, it states that the input value is outside of the valid range; however, I believe that I have set the correct range. Again, I am new to this, so there is a high chance that I am wrong. Below are images of my current ladder logic, with the set parameters for the OrpSetParams and InitSetParams inputs. The first rung converts the flow meter signal from INT to REAL and then to the processed flow meter units (still undecided). The second rung contains the PIDAT function. Finally, the third rung converts the outputted REAL data from the PIDAT to INT, and then sends that signal to the modulating valve.  If anything seems wrong with the ladder logic or the parameters, please let me know! Thanks!