Good afternoon all,
I'm having trouble converting PID functions from PLC-5 Enhanced to ControlLogix.
The error says:
Error: Rung 29, PID, Operand 0: Invalid data type. Argument must match parameter data type.
This error is flagging a mismatch in the PID structure data type.
From what I have read in the instruction help in Logix5000, the PID field needs to be DINT. After translating my program, I've noticed that the translated control word is in fact DINT but the error still exists.
Do I need to set up new arrays to hold this information and manually perform move functions between the new arrays and the translated ones whenever dealing with PID functions?
Any help would be much appreciated.
Cheers
Nick D
I'm having trouble converting PID functions from PLC-5 Enhanced to ControlLogix.
The error says:
Error: Rung 29, PID, Operand 0: Invalid data type. Argument must match parameter data type.
This error is flagging a mismatch in the PID structure data type.
From what I have read in the instruction help in Logix5000, the PID field needs to be DINT. After translating my program, I've noticed that the translated control word is in fact DINT but the error still exists.
Do I need to set up new arrays to hold this information and manually perform move functions between the new arrays and the translated ones whenever dealing with PID functions?
Any help would be much appreciated.
Cheers
Nick D