{"searchBar":{"inputPlaceholder":"Search by keyword or ask a question","searchBtn":"Search","error":"Please enter a keyword to search"}}
{}
{}
Search FAQs

Differences of PID Instructions

A control block variable of the PID instruction will be converted to a PID variable. The name of array will be replaced, but its function will not change.

Converting PID Instruction
If you set a control block variable with the PID instruction on GP-PRO/PB3 C-Package...



It will be registered as a PID variable in the [Edit Symbol Variables] settings on GP-Pro EX.

If you used an integer array, which was assigned to a control block of the PID instruction, in other logic parts, a PID variable will be assigned with no change after conversion.




PID variables corresponding to element numbers of GP-PRO/PB3 C-Package are as follows.

GP-PRO/PB3 C-Package's arrays (element number)GP-Pro EX's PID variablesDescription
Temperature[0].X[1]Temperature.QPID processing complete flag
Temperature[0].X[2]Temperature.PFPID processing invalidity range flag
Temperature[0].X[3]Temperature.TOExceeding maximum scaled value
Temperature[0].X[4]Temperature.UOExceeding minimum scaled value
Temperature[0].X[5]Temperature.IFIntegral range processing flag
Temperature[1]Temperature.KPConstant proportion
Temperature[2]Temperature.TRIntegral time
Temperature[3]Temperature.TDDifferential time
Temperature[4]Temperature.PAPID processing invalidity range
Temperature[5]Temperature.BABias (offset)
Temperature[6]Temperature.STSampling cycle

NOTE
*If you have specified a bit other than the 1st to 5th bit of the 0th element of a PID variable, the variable assigned to the operand will be converted to "?."

Did this answer your question?