ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
MM04590135180
2
0,065536,0
3
04020x430018505x422033225x420047875x425062550x4310
4
454200x1862518510x1871033225x1863047860x1862062570x18700
5
904300x3320018520x3325033250x3315047880x3310062590x33110
6
1354150x4787518515x4788033224x4785047865x4786062560x47850
7
1804050x6250018500x6240033210x6249547870x6253062540x62520
8
65,53665536x65536
9
10
With the above, the 0,45,90,135,180 are the physical position in MM, and the 4020x4300, etc are logical positions.
11
I need a way to go from the physical position to the logical position.
12
13
If we wanted to go to 45,45 our numbers would be 18510,18710
14
If we wanted to go to 135,45 our numbers would be 47880,33100
15
If we wanted to go to 67.5,67.5, we'd be somewere in the middle of the bold ones.
16
If we wanted to go to 170,170, we'd be close to 180,180, but not entirely.
17
18
Assume each of the points above were X1,Y1 instead of the numbers, such that I need a formula to translate from the Xmm, Ymm to X,Y coordinates.
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100