beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 607

background image


7-146

TNC 407/TNC 415/TNC 425

4 PLC Modules

01.98

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

9041

Error status after call: M3171 =

0: Data were read
1: Faulty call data

Module 9042: PLC reads spindle coordinates

The coordinates for actual value, nominal value, actual value in reference system, trailing error and
distance-to-go of the spindle are filed in 5 consecutive doublewords starting from the specified
target address. The data for actual, nominal and reference values are standardized to 0..+360.000
degrees, the data for trailing error and distance to go are displayed between -2879.912 degrees and
+2879.912 degrees. The display is in 1/1000th degree format.

Constraints:
- All coordinates are read as 0 when MP3010 < 6 (not a controlled spindle).
- During operation as an analogue spindle (M3/M4 active or M5 and spindle control not active) the

nominal value equals the actual value. Trailing error and distance to go are 0.

Possible errors:
- 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

B/W/D/K

CM

9042

Error status after call: M3171 =

0: Spindle coordinates were read
1: Faulty call data