Cause:
The two speed parameter values in the AOSyncOn statement are identical;
Troubleshooting:
Check whether the two speed parameter values of the AOSyncOn statement reporting the error are equal.
Solution:
Modify the speed parameter values of the AOSyncOn statement, namely its 2nd and 3rd parameters, so that the two values are different.
Case sharing:
AOSyncOn(ao1,real0,real1,int0,int1)
If real0 and real1 in this statement have the same value, error 154 is reported when the statement runs.