beautypg.com

3 read coordinates (module 9040/9041/9042) 7-145 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 606

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-145

4.3.3 Read Coordinates (Module 9040/9041/9042)

Module 9040: PLC reads axis coordinates ( Format: 0.001 mm)

Module 9040 downloads axis coordinates for all NC axes from the control loop. The values are filed
in 5 doublewords in the format 1/1000 mm starting with the specified target address.

Constraints:
- The values for all axes are always downloaded irrespective of whether individual axes are disabled

by machine parameter MP10. The values for disabled axes are undefined.

- Before the reference point is traversed on an axis the coordinate value of that axis is undefined.

Possible errors:
- The argument for the coordinate type is outside the permitted range.
- The specified target address is not a doubleword address (i.e. not divisible by 4).
- 5 doublewords cannot be written at the specified target address (target address too big).

Call:

PS

K/B/W/D

PS

K/B/W/D


0 = Actual value
1 = Nominal value
2 = Actual value in reference system
3 = Trailing error
4 = Distance to go
5 = Deflection (measuring touch probe)
6 = Actual values in the shifted datum system (datum shift)

CM

9040

Error status after call: M3171 =

0: Data was read
1: Faulty call data

Module 9041: PLC reads axis coordinates (Format: 0.0001 mm)

Module 9041 downloads axis coordinates for all NC axes from the control loop. The values are filed
in 5 doublewords in the format 1/10000 mm starting with the specified target address.

Constraints:
- The values for all axes are always downloaded irrespective of whether individual axes are disabled

by machine parameter MP10. The values for disabled axes are undefined.

- Before the reference point is traversed on an axis the coordinate value of that axis is undefined.