Chapter 7. Usage of Various Functions
7-26
3) Function block
For the PID operation of GM7U, following 2 instructions are included in the GMWIN software.
No. Name Description
1 PID7CAL Perform the PID operation
2 PID7AT Perform the auto tuning operation
1) Array is not supported for GM7U PID function block.
2) For details, refer to the GMWIN user’s manual.
(1) The function block for PID operation (PID7CAL)
Function block Description
Input
EN: enables PID7CAL function block (Level operation)
LOOP: sets execution loop (0~7)
Output
DONE: On when the execution is finished without an error. Off when an
error occurred or there is not execution request
SV: outputs current SV (set value) (range: 0~4000)
MV: outputs MV (manipulation value) ( range: 0 ~ 4000 )
STAT: outputs error code
a) Usage
• When the condition of the execution is On, PID operation is executed following the set values of the parameter.
(The PID operation does not operate at the edge, it operates while the execution condition is On.)
• LOOP No. (LOOP) designates the PID operation LOOP no. (0~7)
• Stat disignates the area where the PID Operation loop’s status is saved.
b) Program example
REMARK
• When the input codition %IX0.0.0 turns On, the PID
operation starts following the parameters.
• The satus during the PID operation is saved
in %MB100, and the PID control output value (MV) is
saved in %MW2.
• For SV Ramp function, the changing SV is save
in %MW0.