put of the HSL-4XMO. An image of the moving object is easily
obtained.
Working Spec: 34000 triggering points per stroke, trigger
speed is 6000 pts/sec )
Program Settings:
Table starts moving from 0 to 36000
Compare points are on 1001 35000, total 34000 pts,
points to points interval=1pulse
Moving Speed is 6000 pps
Compare condition is "="
Program codes:
HSL_M_set_trigger_comparator(0, 1, 1, 1001);
HSL_M_build_compare_function(0, 1001, 35000, 1,
1);
HSL_M_set_auto_compare(0, 1);
HSL_M_start_tr_move(0,
0.01);
Monitoring or Check the current compare data:
HSL_M_check_compare_data(0, 5, *CurrentData);
Users can use this function to check if auto-trigger is running.
The "Value" block in this figure is the position where the compari-
son occurs, and where the data can be checked by using
HSL_M_check_compare_data().
Note that at the final compared point will still load an "After-final"
point into the "Value" block. Fill a dummy point into the comparison
table array at the final position. This value must be far enough
from the table's stroke.
If using _build_compare_function(), a dummy "after-final" point is
automatically loaded. This value is equal to (End point + Interval x
Total counts) x moving ratio.
Relative Functions:
HSL_M_set_trigger_comparator(),
HSL_M_build_comp_function()
HSL_M_build_comp_table()
HSL_M_set_auto_compare()
HSL_M_check_compare_data()
Operation Theory
36000,
0,
6000,
0.01,
81
Need help?
Do you have a question about the HSL-4XMO and is the answer not in the manual?