EasyManua.ls Logo

Inovance H3U Series - Page 728

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
727
Appendix
Appendix C Customized Function - DHSTP Instruction
Uniformly-spaced Mode Non-uniformly-spaced Mode
S1: Comparison position
[S1]: Comparison start position
[S1+2]: Comparison end position
[S1]: Comparison position 1
[S1 + 2 x (n – 1)]: Comparison position n
2n elements are occupied.
n
indicates the
number of comparisons set for [S2].
S2: Position spacing/
number
[S2]: Comparison spacing [S2]: Number of comparisons (n)
[S2+2]: Number of nished comparisons
S3: Compared object
[S3]: High-speed counter C235 to C255, or current position value of Y0-Y4 high-speed output
corresponding to K0 to K4 D8340/D8360/D8380/D8400/D8420
S4: Comparison result
output
[S4]: High-speed output ports Y0 to Y7
S5: Output width [S5]: Output width, in the unit of 0.1 ms, maximum value 50,000
S6: Comparison mode [S6] = 1: Uniformly-spaced mode [S6] = 2: Non-uniformly-spaced mode
Note
Objects can be compared in uniformly-spaced and non-uniformly-spaced modes.
a) Uniformly-spaced mode
0
1 2
Comparison start
position
N
[S1]
[S2]
[S2]
Comparison end
position
N+[S2]
……
……
……
[S2]
……
[S1+2]
K
……
……
M
Comparison
position
Compared
object
Comparison
result output
[S5]
[S5]
[S5]
[S5]
You need to set the comparison start position, comparison end position, and comparison spacing. The
comparison object count is compared with objects between the start position and end position in ascending
order by the uniform spacing.
b) Non-uniformly-spaced mode
0 1 2
Position 1
N
[S1]
[S1+
2]
N1
…………
……
……
N
3
……
……
N2
Comparison
position
Compared
object
Comparison
result output
[S5]
[S5] [S5] [S5]
Position n
[S1+4]
Position 2 Position 3
[S1+2*(n-1)]
You need to set each comparison position and the number of comparisons. The comparison object count
starts from position 1. If the value equals the object, it will be compared with position 2 until all comparisons
are nished.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals