Executing AUTO TUNING in the Sequence Program

Writing a Scan Program

image-20240326-082157.png

 

When writing a scan program, the conditional equation D2000 > D100 (direct action) must be satisfied.
BSET D16 5 activates the 5th bit of the device D16.
What information is contained in the 5th bit of D16?
The 5th bit is a flag used to start the Auto Tuning as the AUTO-TUNE CMD bit.
(Refer to 1.4.3 PIDINIT Instruction – Setting Data for Each Loop – Flags)

MOV D2000 D100 transfers the value of D2000 to D100.
Why use D100? SV (Set Value) is written on the device D100.

 

image-20240326-082406.png

 

 

When you enter the desired value in D2000, the value of 350 will be written in the SV (D100).
D2000 has been randomly assigned in this test and can be designated by the user as desired.
However, it should be configured to avoid overlapping with other PIDCAL, PIDINIT addresses.