/
11.4 Converting Machine Coordinates to Sensor Coordinates
11.4 Converting Machine Coordinates to Sensor Coordinates
You will need the mounting values R, X and Angle of the individual sensor.
x = MachineX - X
y = MachineY - R
// rotation matrix from machine coordinates (centre of die holder) to sensor coordinates
SensorX = cos(Angle) * x + sin(Angle) * y
SensorY = -sin(Angle) * x + cos(Angle) * y
Example Values (rectangle ROI):
P = Machine Coordinate Points
S = Sensor Coordinate Points
See chapter 11.5 for calculation.
Back: DieHeight=65.00 DieWidth=80.00 LML=30.00 NMZ=3.00 X=110.00 R=-40.00 Angle=23.40
→ P0x=75.96 P0y=65.00 P1x=12.47 P1y=136.18 S0x=10.46 S0y=109.88 S1x=-19.54 S1y=200.42
Front: DieHeight=65.00 DieWidth=80.00 LML=30.00 NMZ=3.00 X=-105.00 R=-40.00 Angle=-22.40
→ P0x=-75.69 P0y=65.00 P1x=-12.26 P1y=140.17 S0x=-12.92 S0y=108.25 S1x=17.08 S1y=201.91
, multiple selections available,