January 2012 6.6 Reading and Writing Axis Information 675
Module 9041 Reading of axis coordinates by the PLC in the format
1/10000 (0.0001) mm
Module 9041 loads the axis coordinates from the control loop for all NC axes.
The actual values in the reference system, the servo lag, the distance-to-go
and the deflection of a triggering touch probe can be loaded.
The values are saved in 10 double words in the format 1/10000 mm, beginning
at the given target address.
Possible errors:
The argument for the type of coordinate is outside the permitted range (2).
The specified target address is not a double word address (4).
The double word block cannot be written to the specified target address (4).
Call:
PS K/B/W/D <>Target address Dxxxx>
PS K/B/W/D <>Type of coordinate>
2: Actual values in the reference system
3: Following error
4: Distance-to-go
5: Deflection (measuring touch probe)
6: Actual values in the datum system
7: Actual values in the reference system with backlash
8: Temperature compensation
9: Distance counter
CM 9041
Error recognition:
Reading the actual
spindle values
Read the spindle coordinates with Module 9411.
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Data was read
1 Faulty call data
You can use this module only if you are working with the new symbolic API,
see "The API 3.0 symbolic memory interface" on page 1482.