DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming 
 
API 
Mnemonic  Operands  Function 
 
145  FTC 
   
Fuzzy Temperature Control 
 
Type 
OP 
Bit Devices  Word devices  Program Steps 
X  Y  M  S  K  H  KnX
KnY
KnM
KnS
T  C  D  E  F 
FTC: 7 steps 
 
SS2
SX2
SS2
SX2
SS2
SX2
Operands: 
S
1
: Set value (SV)    S
2
: Present value (PV)    S
3
: Parameter (sampling time)    D: Output 
value (MV) 
 
Explanations: 
1.  Range of S
1 
: 1 ~ 5000 (shown as 0.1°C ~ 500°C). Unit: 0.1°. If (S
3
 +1) is set as K0, the range 
will be 0.1°C ~ 500°C. 
2.  Settings of parameter S
3
 +1: bit0 = 0 ->°C; bit1 = 0 ->°F; bit1 = 0 -> no filter function; bit1 = 1 -> 
with filter function; bit2 ~ bit5 -> 4 kinds of heating environments; bit6 ~ bit15 -> reserved. See 
remarks for more information. 
3.  D is the value between 0 ~ sampling time × 100. When using this instruction, the user has to 
adopt other instructions according to the types of the heater. For example, FTC can be used 
with GPWM for output pulse control. “Sampling time × 100” is the cycle of GPWM pulse output; 
MV is the width of GPWM pulse. See program example 1. 
4.  There is no limit on the times of using FTC instruction, but Do not repeatedly use a designated 
operand in case an error may occur. 
5.  The models which are supported are DVP-ES2/EX2 v. 3.22, DVP-SA2/SX2 v. 2.66, and 
DVP-SE v. 1.60 (and above). 
 
Program Example: 
1.  Set up the parameter before executing FTC instruction. 
2.  When X0 = On, the instruction will be executed and and result will be stored in D150. When X0 
= Off, the instruction will not be executed and the previous data remain unchanged.