Trend, HMI - KTP basic - TIA portal

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2023
  • Kurs stacjonarny: home.agh.edu.pl/~flaga_st/kur....
    Example of the use of the "Trend" control. An example of displaying a waveform generated with the "LGF_SinusCI" function block of the LGF library is shown. It is shown how to select the number of samples and the sampling time (cyclic interrupt) so that the entire timeline is used.
    1:06 Add the LGF library to the project. The library will be used to generate the signal shown in HMI-Trend.
    1:53 We will add a cyclic interrupt block in which we will call FB "LGF_SinusCI" with LGF.
    2:10 We will generate a sin waveform with an amplitude of 5 and an offset of 5.
    2:39 To the formal parameter "callOB " assign cyclic interrupt OB number
    3:24 Observe variable "V". realToTrend - it is the amplitude of the generated signal
    3:40 Add a trend control to the main HMI screen
    3:52 Add a variable to the trend
    3:59 Set the refresh time of the variable
    4:15 Set the time interval that covers the time axis (x)
    4:47 Go to HMItags and change the variable acquisition time
    5:18 In KTP basic we can remember a maximum of 999 samples
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น •