Read / write spindle pitch (scaling) „c“ (63h), N 143 – Baumer N 143 User Manual
Page 20

N 143
20 www.baumer.com
4.3.3. Read / write backlash compensation and tolerance window „b“ (62h)
This command reads or writes the backlash compensation and tolerance window.
Example 1: Read parameter (backlash compensation = 0.15; tolerance window = 0.25)
SOH
Adr
Cmd
EOT
CRC
Transmission
01h
20h
62h
04h
48h
SOH
Adr
Cmd
backlash compensation=0.5
tolerance window=0.25
EOT
CRC
Response
01h
20h
62h
30h
30h
35h
30h
30h
30h
32h
35h
04h
0Bh
Example 2: Write parameter (backlash compensation = 1.30; tolerance window = 0.75)
SOH
Adr
Cmd backlash compensation =1.30
tolerance window =0.75
EOT
CRC
Transmission
01h
20h
62h
30h
31h
33h
30h
30h
30h
37h
35h
04h
1Eh
SOH
Adr
Cmd backlash compensation =1.30
tolerance window =0.75
EOT
CRC
Response
01h
20h
62h
30h
31h
33h
30h
30h
30h
37h
35h
04h
1Eh
4.3.4. Read / write spindle pitch (scaling) „c“ (63h)
This command reads or writes the scaling factor related to the spindle pitch within the range from
0.0000001...9.9999999. Transmission is without decimal point.
Resolution per turn is 2304 steps. A scaling factor of 1.000000 will increase respectively decrease the indicated
value by 23.04 mm.
How to calculate the scaling factor:
Resolution per turn: 23,04 mm (corresponding to length with scaling factor 1.0000000)
Spindle pitch:
4.00 mm
Spindle pitch 4.00
scaling = ───────────────── = ───── = 0,1736111
resolution per revolution 23.04
Example 1: Read out scaling factor (scaling factor = 1.000000)
SOH Adr Cmd EOT CRC
Transmission
01h 20h 63h 04h 4Ah
SOH Adr Cmd
Scaling factor = 1,0000000
EOT CRC
Response
01h 20h 63h 31h 30h 30h 30h 30h 30h 30h 30h
04h
4B
Example 2: Write scaling factor (scaling factor = 0.1736111)
SOH Adr Cmd
scaling factor= 0.1736111
EOT CRC
Transmission
01h 20h 63h 30h 31h 37h 33h 36h 31h 31h 31h
04h
05h
SOH Adr Cmd
Scaling factor = 0.1736111
EOT CRC
Response
01h 20h 63h 30h 31h 37h 33h 36h 31h 31h 31h
04h
05h