FX
3U
/FX
3UC
Series PLC User's Manual - Analog Control Edition
PID Instruction (FNC 88)
G-9
3 Parameter
3.2 Details of Parameters
A
Common Items
B
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3U
-4DA-ADP
E
FX
3U
-4AD-PT
-ADP
F
FX
3U
-4AD-TC
-ADP
G
PID Instruction
(FNC 88)
3.2 Details of Parameters
3.2.1 Sampling time (TS): (S3)
Setting range: 1 to 32767 [ms]
Set the cycle time (ms) for the PID operation.
• In the PID control
Set the sampling time longer than the operation cycle of the PLC.
• In the auto tuning
Set the sampling time to 1,000 ms (= 1 second) or more.
1. Maximum error
The maximum error of the sampling time (TS) is from "-(one operation cycle + 1 ms)" to "+(one operation
cycle)."
1) When the sampling time (T
S) is a small value
Fluctuation of the maximum error described above may cause a problem.
In such a case, execute PID instruction in the constant scan mode, or program it in a timer interrupt
routine.
2) When the sampling time is shorter than one operation cycle of the PLC
A PID operation error (K6740) occurs, but the PID operation is executed while the sampling time (T
S) is
equal to the operation cycle of the PLC.
In such a case, use PID instruction in a timer interrupt (I6 to I8), and clear +7 just before
executing PID instruction.
→ For a detailed description, refer to FX
3U/FX3UC Series Programming Manual - Basic & Applied
Instruction Edition
S
3
X000
FNC 12
MOVP
K 0 D107
FNC 88
PID
D 0 D 1 D100 D150
+7 is reset.
(When the interrupt routine is executed for the
first time,the register for internal processing is
cleared by the pulse generation command.)
S
3
I610
The PID operation is
executed.