226
Via setting SFD331, users can switch betweensingle loop mode or continuous loop mode. The
detailed assignment is show below:
(Note: the settings will be effective after setting OFF and ON the driving condition again)
100 segments HSC interruption cycle (HSC0)
0: single loop
1: continuous loop
100 segments HSC interruption cycle (HSC2)
100 segments HSC interruption cycle (HSC4)
100 segments HSC interruption cycle (HSC6)
100 segments HSC interruption cycle (HSC8)
100 segments HSC interruption cycle (HSC10)
100 segments HSC interruption cycle (HSC12)
100 segments HSC interruption cycle (HSC14)
100 segments HSC interruption cycle (HSC16)
100 segments HSC interruption cycle (HSC18)
5-9-7 CAM function of high speed counter interruption
High-speed counting cam: After setting all interruption set value, the high-speed counting
cam function is selected. When the high-speed counting value is equal to any of the
interruption set value, the corresponding high-speed counting interruption (the same as the
100-segment high-speed counting interruption marker) is executed immediately. When the
high-speed counting value changes repeatedly, the same high-speed interruption of the cam
can be executed repeatedly.
High-speed counting cam not only can fully realize the cyclic sequence interruption function
of ordinary electronic cam, but also can generate multiple times of positive and negative
single point interruption in single cycle. It is widely used in control systems of high-speed
winding machine and packaging machine.
Note: CAM function is only fit for absolute counting mode.
Cam function can be set by configuration panel in XINJE PLC software, or by special Flash
register SFD332: (Note: Drive condition must be set OFF and ON again to make
configuration effective)
0: No cam function enabled
1: Enable Cam Function
Example:
Four values are stored in four consecutive double-word registers starting with register HD0.
When HSC0 starts to count, if the HSC0 count value equals any of the four registers, the
corresponding interrupt signal will be generated immediately. As shown in the following
figure:
tudonghoatoancau.com