FATEK PLC WINPRO LADDER [ HSCTW ] PROGRAMMING
Автор: PLC AND HMI CENTER
Загружено: 2025-11-25
Просмотров: 20
Please refer first to FUN92 for the relation between the CV or PV value of HSC0~HSC3 and HSTA within ASIC and their corresponding CV and PV registers in CPU.
● When write control “EN”=1 or from 0→1( P instruction) , it writes the content of CV or PV register of high speed counter designed by CN of CPU, to the corresponding CV or PV of HSC within ASIC.
● It is quit often to set the PV value for most application program, When the count value reaches the preset value, the counter will send out interrupt signal immediately. By way of the interrupt service program, you can implement different kinds of precision counting or positioning control.
● When there is an interrupt of power supply for FBs-PLC, the values of current value registers CV of HSC0~HSC3 within ASIC will be read out and wrote into the HSC0~HSC3 CV registers (with power retentive function) of CPU automatically. When power comes up, these CV values will be restored to ASIC. However, if your application demands that when power is on, the values should be cleared to 0 or begin counting from a certain value, then you have to use this instruction to write in the CV value for HSC in ASIC.
● When write a non-zero value into the PV register of HSTA will cause the HSTAI interrupt subroutine to be executed for every PV30.1ms.
● For detailed applications, please refer to Advanced Application Manual Chapter_10 “The high speed counter and high speed timer of FBs-PLC”.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: