
B
asi
s
Chapter 6 Built-in PID Function
6-33
6.6.4 Auto-tuning Flags
The parameters set in the XGB series auto-tuning function are saved to the flash memory of basic unit. Such
parameters are moved to K area for auto-tuning function as soon as PLC enters to RUN mode from STOP. Auto-
tuning operation using auto-tuning command is achieved by data in K area. At the moment, if PLC is changed to
RUN again after being changed to STOP, it takes the parameters in flash memory to K area, so the data changed
in K area is lost. Therefore, to continuously apply the parameters adjusted in K area, it is necessary to write the
parameters set in K area into flash memory by using WRT command. (In case of IEC type, APM_WRT function
block)
(1) Auto-tuning flag configuration
The K area flags of XGB series auto-tuning function are summarized in Table 6.12.
Loops
K area
IEC type
Symbol
Data type
Default
Description
Common
K18560~F
%KX29696
~%KX29711
_AT_REV
Bit
Forward
Auto-tuning direction(0:forward,
1:reverse)
K18570~F
%KX29712
~%KX29727
_AT_PWM_EN
Bit
Disable
PWM output enable(0:disable,
1:enable)
K18580~F
%KX29728
~%KX29743
_AT_ERROR
Bit
-
Auto-tuning error(0:normal,1:error)
K1859
%KW1859
Reserved
WORD
-
Reserved area
Loop0
K1860
%KW1860
_AT00_SV
INT
0
AT SV – loop 00
K1861
%KW1861
_AT00_T_s
WORD
100
AT operation cycle
(T_s)[0.1msec]
K1862
%KW1862
_AT00_MV_max
INT
4000
AT MV max. value limit
K1863
%KW1863
_AT00_MV_min
INT
0
AT MV min. value limit
K1864
%KW1864
_AT00_PWM
WORD
0
AT PWM junction setting
K1865
%KW1865
_AT00_PWM_Prd
WORD
0
AT PWM output cycle
K1866
%KW1866
_AT00_HYS_val
WORD
0
AT hysteresis setting
K1867
%KW1867
_AT00_STATUS
WORD
0
AT auto-tuning status indication
K1868
%KW1868
_AT00_ERR_CODE
WORD
0
AT error code
K1869
%KD
_AT00_K_p
REAL
0
AT result proportional coefficient
K1871
-
_AT00_T_i
REAL
0
AT result integral time
K1873
-
_AT00_T_d
REAL
0
AT result differential time
K1875
-
_AT00_PV
INT
0
AT PV
K1876
-
_AT00_MV
INT
0
AT MV
K1877~1879
%KW1877
~%KW1879
Reserved
Word
0
Reserved area
[Table 6.12 K area flags for auto-tuning]
K1856 ~ K1859 areas (In case of IEC type, %KW1856~%KW1859) are the common bit areas for auto-tuning and each bit
represents auto-tuning loop status respectively. K1860~K1879 areas save the setting and status of loop 0 as the K area for
auto-tuning loop 0. In the area, the parameters such as PV, operation cycle and etc set in the built-in parameter window are
saved and the XGB built-in auto-tuning function executes auto-tuning by the device values and saves the results into the K
areas.
Summary of Contents for XBE-DC08A
Page 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Page 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Page 644: ...Positioning Chapter 8 Functions 8 91 ...
Page 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Page 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Page 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Page 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...