Chapter 10 Built-in PID Functions
10 - 9
10.5 PID Flag Configuration
The table below shows the PID flag configuration for use of the built-in PID function.
KDevice Zone
Symbol
Data Type
Content
m
_PIDn_MAN
Bit
PID Output Select (0:Auto, 1:Manual)
m
_PIDn_PAUSE
Bit
PID Pause (0: STOP/RUN 1:PAUSE)
m
_PIDn_REV
Bit
PID Operation Select (0:Fwd, 1:Rev)
m
_PIDn_AW2D
Bit
PID Anti Wind-up2 Prohibited (0:Operated, 1:Prohibited)
m
_PIDn_REM_RUN
Bit
PID Remote (HMI) Run bit (0:STOP, 1:RUN)
m _PIDn_P_on_PV
Bit
PID
Proportional
Calculation Source Select (0:ERR, 1:PV)
m
_PIDn_D_on_ERR
Bit
PID Derivative Calculation Source Select (0:PV, 1:ERR)
m _PIDn_AT_EN
Bit
PID
Auto-tuning Setting (0:Disable, 1:Enable)
m _PIDn_MV_BMPL
Bit
MV Non-impact Conversion for PID Mode Conversion (A/M)
(0:Disable, 1:Enable)
K1024+32n
_PIDn_SV
INT
PID Set Value (SV) - Loop n
K1025+32n
_PIDn_T_s
WORD
PID Operation Cycle (T_s)[0.1msec] - Loop n
K1026+32n
_PIDn_K_p
REAL
PID P - Constant (K_p) - Loop n
K1028+32n
_PIDn_T_i
REAL
PID I - Constant (T_i)[sec] - Loop n
K1030+32n
_PIDn_T_d
REAL
PID D - Constant (T_d)[sec] - Loop n
K1032+32n
_PIDn_d_PV_max
WORD
PID PV Variation Limit - Loop n
K1033+32n _PIDn_d_MV_max
WORD
PID
MV Variation Limit - Loop n
K1034+32n
_PIDn_MV_max
INT
PID MV Maximum Value Limit - Loop n
K1035+32n _PIDn_MV_min
INT
PID
MV Minimum Value Limit - Loop n
K1036+32n
_PIDn_MV_man
INT
PID Manual Output (MV_man) – Loop n
K1037+32n
_PIDn_STATE
WORD
PID State - Loop n
320n
_PIDn_ALARM0
Bit
PID Alarm 0 (1:T_s The setting is low) - Loop n
320n
_PIDn_ALARM1
Bit
PID Alarm 1 (1:K_p is 0) - Loop n
320n
_PIDn_ALARM2
Bit
PID Alarm 2 (1:PV Variation Limited) - Loop n
320n
_PIDn_ALARM3
Bit
PID Alarm 3 (1:MV Variation Limited) - Loop n
320n
_PIDn_ALARM4
Bit
PID Alarm 4 (1:MV Maximum Value Limited) - Loop n
320n
_PIDn_ALARM5
Bit
PID Alarm 5 (1:MV Manimum Value Limited) - Loop n
320n
_PIDn_ALARM6
Bit
PID Alarm 6 (1:AT Abnormal Cancel)- Loop n
320n
_PIDn_ALARM7
Bit
PID Alarm 7 - Loop n
320n
_PIDn_STATE0
Bit
PID State 0 (0:PID_STOP, 1:PID_RUN) - Loop n
320n
_PIDn_STATE1
Bit
PID State 1 (0:AT_STOP, 1:AT_RUN) - Loop n
320n
_PIDn_STATE2
Bit
PID State 2 (0:AT_UNDONE, 1:DONE) - Loop n
320n
_PIDn_STATE3
Bit
PID State 3 (0:REM_STOP, 1:REM_RUN) - Loop n
320n
_PIDn_STATE4
Bit
PID State 4 (0:AUTO_OUT, 1:MAN_OUT) - Loop n
320n
_PIDn_STATE5
Bit
PID State 5 (0:CAS_STOP, CAS_RUN) - Loop n
320n
_PIDn_STATE6
Bit
PID State 6 (0:SLV/SINGLE, 1:CAS_MST) - Loop n
320n
_PIDn_STATE7
Bit
PID State 7 (0:AW_STOP, 1:AW_ACT) - Loop n
K1038+32n
_PIDn_PV
INT
PID Current Value (PV) - Loop n
K1039+32n
_PIDn_PV_old
INT
PID Previoius Current Value (PV_old) - Loop n
K1040+32n
_PIDn_MV
INT
PID Output Value (MV) - Loop n
K1041+32n
_PIDn_MV_BMPL_val
WORD
PID Non-impact Operation Memory - Loop n
K1042+32n
_PIDn_ERR
DINT
PID Control Error Value - Loop n
K1044+32n
_PIDn_MV_p
REAL
PID Output Value P Component - Loop n
K1046+32n
_PIDn_MV_i
REAL
PID Output Value I Component - Loop n
K1048+32n
_PIDn_MV_d
REAL
PID Output Value D Component - Loop n
K1050+32n
_PIDn_DB_W
WORD
PID Dead Band Setting (Operation after Stabilization) – Loop n
K1051+32n _PIDn_Td_lag
WORD
PID
Differention Function Lag Filter – Loop n
K1052+32n
_PIDn_AT_HYS_val
WORD
PID Auto-tuning Hysteresis Setting - Loop n
K1053+32n
_PIDn_AT_SV
INT
PID SV Setting for Auto-tuning - Loop n
K1054+32n
_PIDn_AT_step
WORD
PID Auto-tuning Display (User Setting Prohibited) - Loop n
K1055+32n
_PIDn_INT_MEM
WORD
PID Internal Memory (User Setting Prohibited) – Loop n
* : User setting prohibited
* n : PID loop number in decimal form
* m : PID loop number in hexadecimal form