XPS-Q8 Controller Motion Tutorial
To activate XY mapping, the mapping files must be in the ..\admin\config directory of
the XPS controller and the following settings must be configured in the system.ini:
• XMappingFileName: Name of the mapping file.
• XMappingLineNumber: Total number of lines of that file.
• XMappingColumnNumber: Total number of columns of that file.
• XMappingMaxPositionError: Maximum absolute error in that file as shown in the
tables below.
• YMappingFileName: Name of the mapping file.
• YMappingLineNumber: Total number of lines of that file.
• YMappingColumnNumber: Total number of columns of that file.
• YMappingMaxPositionError: Maximum absolute error in that file must be larger
than any entry in the mapping file. To be read properly, the error entries must be in
index format, see example.
The X(Y)MappingLineNumber, X(Y)MappingColumnNumber and
X(Y)MappingMaxPositionError are only used to check for the correctness of the
mapping file.
Example
The following shows an example of the X and Y mapping files:
Matrix X: XYMapping_X.txt
0 -3.00 -2.00 -1.00 0.00 1.00 2.00 3.00
-3.00 -0.00192 -0.00534 -0.00254 0.00023 0.00254 0.00534 0.00192
-2.00 -0.00453 -0.00322 -0.00676 0.00049 0.00676 0.00322 0.00453
-1.00 -0.00331 -0.00845 -0.00769 0.00102 0.00769 0.00845 0.00331
0.00 -0.00787 -0.00228 -0.00787 0 0.00787 0.00228 0.00787
1.00 -0.00232 -0.00210 -0.00342 0.00089 0.00342 0.00210 0.00232
2.00 -0.00134 -0.00308 -0.00675 0.00101 0.00675 0.00308 0.00134
Matrix Y: XYMapping_Y.txt
0 -3.00 -2.00 -1.00 0.00 1.00 2.00 3.00
-3.00 -0.00172 -0.00434 -0.00154 0.00013 0.00204 0.00234 0.00122
-2.00 -0.00433 -0.00222 -0.00376 0.00029 0.00636 0.00222 0.00353
-1.00 -0.00311 -0.00635 -0.00569 0.00089 0.00739 0.00245 0.00231
0.00 -0.00737 -0.00128 -0.00387 0 0.00567 0.00128 0.00387
1.00 -0.00212 -0.00110 -0.00142 0.00079 0.00332 0.00310 0.00132
2.00 -0.00114 -0.00208 -0.00375 0.00089 0.00375 0.00348 0.00122
Verify in the stages.ini for both stages:
;--- Travels
MinimumTargetPosition =-3 ; unit
HomePreset =0; unit
MaximumTargetPosition =3 ; unit
117 XPSDocumentation V1.4.x (EDH0301En1060 — 10/17)