awblade

Using PID values from Simulink in PLC (FX3GE-24M)

1 post in this topic

Hi

I have already posted this question in Matlab questions, but have yet to have an answer. I am having issues attaching images here, but this link contains the PID tuning window in Simulink and the relevant section of the PLC manual - https://uk.mathworks.com/matlabcentral/answers/1620110-using-pid-block-values-in-mitsubishi-plc

I am using a FX3GE-24MT PLC and GX works 2. After modelling the system in Simulink I obtained these PID parameters

Proportional = 2.5

Integral = 0.0058

Derivative = 0.1

Filter = 70

Sample Time = 0.1

Does anyone have experience of transferring these values from Matlab/Simulink to the PLC code? My main issues are that the PLC code wants two values for derivative (time and gain) but I am only given one value, and also that the PID registers will only accept INT datatype, but the integral time is (x100ms) with my required value appearing to be 58 ms (I think??).

Basically, does anyone know what I should use as my values for KP, TI, KD and TD from my Simulink output?

 

Share this post


Link to post
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