35 CPU MODULE BUILT-IN ANALOG FUNCTION
35.6 Function (PID Control Via Parameter)
641
35
■Programming
Data other than the data set using parameters is set using a program. The program example is common to setting example 1
and setting example 4.
Set use permission for the FX5-4AD-TC-ADP(CH1), which was set as the process value (SD6300) when the state was
changed from STOP to RUN.
■Operation
1. Write the created project to the CPU module.
2. To use auto tuning, turn on the item Auto tuning used/not used. (This item is not using in this example.)
3. Set the CPU module to the STOP state and to the RUN state, and turn the X0 (PID control execution command) on.
Heating-cooling PID setting parameter
The following tables show the details of the heating-cooling PID settings configured with GX Works3 CPU parameters.
When the operating status of the CPU module is changed from STOP to RUN, for the parameters for which
both the setting value and device indirect specification are set, the set values are stored in the devices.
Basic settings
: Supported, : Not supported
Item Device indirect specification Description
A/D conversion enable/disable setting
(CH1)
SM6301 FX5-4AD-TC-ADP(CH1) A/D conversion enable/disable setting
•0: Enable
• 1: Disable
Setting item Setting range Control mode Device
type
R/W
Standard
PID control
Heating-
cooling
PID control
User System
To Use or Not to Use PID Control Function • Not use (default)
•Use
WR
Control Mode Selection • Standard PID Control (default)
• Heating-cooling PID Control
WR
Direct Action/Reverse Action Selection • Direct Action
• Reverse Action (default)
WR
Target Value (SV) -32760 to 32760 D, R W R
Process Value (PV) -32768 to 32767 SD, D, R W R
Output Value (MV) 0 to 1000[0.1%] D, R R/W R/W
Heating Output Value (MVh) 0 to 1000[0.1%] D, R R R/W
Cooling Output Value (MVc) 0 to 1000[0.1%] D, R R R/W
Control Parameter Proportional Gain
(KP)
0 to 32767[%] D, R R/W R/W
Heating Proportional
Gain (KPh)
0 to 32767[%] D, R R/W R/W
Cooling Proportional
Gain (KPc)
1 to 32767[%] D, R R/W R/W
Integral Time (TI) 0 to 32767[100ms] D, R R/W R/W
Derivative Time (TD) 0 to 32767[100ms] D, R R/W R/W
Sampling Time (Ts) 1 to 3000[10ms]
(Default: 100)
D, R W R