SoftPLC 20.9.2 Startup Sequence for the External PID 20.9.2.1 Start-up (External PID) See below the required steps to put the external PID controller function of the Resident application into operation. NOTE! The output of the external PID controller is an analog output, and therefore, the CFW501 frequency inverter operation mode does not interfere with its operation. The external PID controller application will be configured according to the example shown below, where: „ Digital input DI4 will be used to select the external PID to Manual (0) and Automatic (1).
„ The external PID controller process variable (PV) will be connected to analog input AI2 in the scale of 0-10 V, where 0 V is equal to 0.0 % and 10 V is equal to 100.0 % „ The external PID controller control setpoint (SP) will be via HMI (keys). Table 20.15: Programming sequence of the external PID controller 20 20-32 | CFW501 Seq. Action / Result Indication on the Display 1 SPLC Group. Loads the Resident Applicative to the SoftPLC function of the CFW501 P1003 = 1 2 HMI Group. Selects the parameter of the HMI main display to show the value of the process variable of the external PID Controller.
This setting is optional P0205 = 1046 3 Selects the parameter of the HMI secondary display to show the value of the control setpoint of the external PID Controller. This setting is optional P0206 = 1044 4 Scale factor of the HMI main display 1800 (1500) 5 Engineering unit of the HMI main display. 10 = % P0209 = 10 6 Indication form of the HMI main display. 1 = wxy.z P0210 = 1 7 Function of the Signal AI2. 18 = External PID Feedback P0236 = 18 8 AI2 Gain P0237 = 1.000 9 AI2 Signal. 0 = 0 to 10 V. Please, set switch S2.1 to OFF P0238 = 0 10 AI2 Offset P0239 = 0.00 % 11 AI2 Filter P0240 = 0.25 s 12 DI4 is used to set PID to Manual or Automatic.
48 = External PID Man / Auto P0266 = 48 13 SPLC Group. SoftPLC 2 Engineering unit. 10 = %. The sensor of the process variable is in %. P0512 = 10 14 Form of Indication of SoftPLC 1 Engineering Unit. 1 = wxy.z P0511 = 1 15 Selects the control action of the external PID Controller enabling thus its operation. 1 = Direct P1047 = 1 16 Selects the operation mode of the external PID Controller. 4 = manual/automatic via DI and with bumpless P1048 = 4 17 The range of the sensor connected to AI2 is 0 to 100.0 %. Program this parameter for the minimum sensor value which is the maximum of the analog input 4 mA P1053 = 0.0 18 The range of the sensor connected to AI2 is 0 to 100.0 %.
Program this parameter for the maximum sensor value which is the maximum of the analog input 20 mA P1054 = 100.0 19 Setting of the Automatic control setpoint via HMI P1044 = 85.0 20 Setting of the Manual control setpoint via HMI P1045 = 0.0 % 21 Sampling period of external PID controller P1049 = 0.10 s 22 Proportional gain of the external PID controller P1050 = 1.000 23 Integral gain of the external PID controller P1051 = 0.430 24 Derivative gain of the external PID controller P1052 = 0.000 25 Enables the execution of the CFW501 Resident application P1001 = 1