Hello, I have encountered a problem. Maybe someone can help me solve it.
I want to have a PID controller in a function block and send the settings from the main program. Everything seems fine, but when I created the function block, the S3 input variable of the PID block is incorrect. The same issue occurs with the S2 input of the GPWM block.
Which variable type should I use, since Word is not suitable?
I want to have a PID controller in a function block and send the settings from the main program. Everything seems fine, but when I created the function block, the S3 input variable of the PID block is incorrect. The same issue occurs with the S2 input of the GPWM block.
Which variable type should I use, since Word is not suitable?