Jump to content

Having trouble producing any output on a PID programme


Recommended Posts

I'm a student studying at De Montfort University and currently trying to design a PID autotune programme to heat an element. 

The programme is designed using Visilogic and is for a V350-J-TRA22 controller. 

I have managed to display the temperature detected by a thermocouple on the HMI and the programme is almost exactly the same as the one shown in the 'PID' tutorials video on the Unitronics main site but when the controller is wired to an oscilloscope there is no output of any kind. Various combinations and checks have been carried out but nothing so far has worked.

Does the autotune have to be carried out whilst the device is still connected to the PC and then the PID values entered manually or is this all done once the device has powered up automatically as it would suggest? 

I am new to Visilogic so if anyone could check over the programme (attached) to see if i have missed anything or direct me to someone who would, it would be much appreciated

Joss

test 25-30.vlp

Link to comment
Share on other sites

  • MVP 2023

I have successfully autotuned and run a PID loop without any I/O attached by varying the analog input by hand. The resulting PID values would not work in the real world, but I was able to test to make sure the PID loop was set up correctly.

The PID values can be calculated by the autotune process or you can enter them manually. You have either or both options available to you.

You don't need an oscilloscope to see analog output. Just go online and look at the MI operand attached to the analog output.

By the way, there are example projects that came with your VisiLogic installation that include an example for PID loops. Take a look at that and see if your PID is set up correctly.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.