211
3)Suitable Soft Components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS. M includes M,HM,SM;S includes S,HS;
T includes T,HT;C includes C, HC.
When M0 is on, HSC0 counts X0 signal in single phase mode, compares the high-speed
counting value with the value set in register D20. When the high-speed counting value is
equal to the set value, HSC0 coil is set on immediately, and the counting value is
accumulated in HSCD0 (double words).
If countings complete and the driving condition M0 is not disconnected, HSC0 will
remain ON state and continue counting, and the counting value in HSCD0 will continue
to accumulate.
If countings complete and the driving condition M0 is disconnected, HSC0 will remain on
state and the counting value in HSCD0 will remain unchanged.
During the counting process, if M0 is disconnected and connected again, the values in
HSCD0 will continue to accumulate after the last counting value.
In the counting process, if the setting value in D20 changes and the current counting value
is less than the new setting value, then the new setting value is compared.
The edge mode of single-phase high-speed counting can be set using SFD310 to SFD313
(corresponding to HSC0 to HSC6 respectively). Take HSC0 as an example, SFD310 is 0:
rising edge count; 1: indicates falling edge counting; 2: indicates that both rising and
falling edges count.
Note: This function is supported only by PLC firmware version V3.4.6 and later.
5-7-2 AB phase HSC [CNT_AB]
1)Instruction Summary
AB phase HSC instruction.
tudonghoatoancau.com