Panasonic FP7 Series Command Reference Manual page 499

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

R0
DF
( (
R1
EZPID WR1
● Set the set point value (SP) to the operand [S3] area, using an instruction or a display.
● Using an instruction or a display, set bit 0 (auto-tuning request flag) of [S1]. Subsequently,
switch the execution condition for the EZPID instruction to ON to initiate the auto-tuning
operation.
● Once auto-tuning is completed correctly, parameters Kp, Ti and Td are set to the operand
[S3+1] through [S3+3] areas. At this time, bit 0 (auto-tuning request flag) of the operand [S1]
is reset to OFF, and bit 1 (auto-tuning completion flag) of the operand [S1] is switched ON.
● If the execution condition for the EZPID instruction is ON, PID control and PWM output are
initiated in the following scan.
● The value (K0 to K10000) of the manipulated value (MV) of the operand [S4] is converted
into a duty ratio from 0 to 100%, and PWM output is performed.
● The operand [S4] through [S4+29] areas are preset to default when the execution condition
for the EZPID instruction is switched on. If the [S4] manipulated value (MV) should not be
cleared, set 1 to bit 2 of [S1] before executing the EZPID instruction.
● If the execution condition of the EZPID instruction is switched OFF during PID control, PWM
output Y180 is also turned OFF. At this time, the value of the manipulated value (MV) of
operand [S4] is retained.
Interval and duty ratio of PWM output
● The duty of PWM is determined by the ratio of the manipulated value (MV), stored in [S4], to
K0 through K10000.
● If the manipulated value (MV) is K0, PWM output is always OFF. If the MV is K10000, PWM
output is always ON.
● The PWM output interval is determined by the control interval value specified by the operand
[S4+4]. By default, the interval is set at 1 second.
Sample program (change of control conditions)
● By default, the following control conditions are used for operation: 1) Operation interval Ts: 1
second; 2) Control method: derivative-first, reverse operation (heating)
● In order to modify the control conditions, change values of the operands [S4+1] through
[S4+9] using the MV instruction, etc.
● Carry out modifications between two executions of the EZPID instruction.
WUME-FP7CPUPGR-12
10.12 EZPID (PID Operation: PWM Output Available)
) )
WX10 DT100
R10
SET
Y180
DT0
[S1] WR1 bit1
Request auto-tuning
EZPID instruction
execution
10-49

Advertisement

Table of Contents
loading

Table of Contents