
[Description]
Reads the contents of data displayed in the diagnostics screen of CNC
within the specified range.
The attribute of diagnosis depends on the type and axis, and it is
different for each diagnosis.
Diagnosis type Use Byte size
-----------------------+-------------------------------+---------
Byte type data To display 1-byte data 1
Word type data To display 2-byte data 2
2-word type data To display 4-byte data 4
The data that is displayed in bit form on the CNC diagnostic screen is
of byte type.
Axis type data can be read either for individual axes separately or for
all axes at a time.
Refer "MAINTENANCE MANUAL" of CNC for details of each diagnostics
data.
Specify the start diagnostic number in "s_number" and the end one in
"e_number" with binary format. The new diagnostics data will may be
added according to updating CNC software, addition of the new
functions, etc. If the new diagnostics data will be added within
reading range, ERROR 2 (Incorrect data block length) will be returned
or the application program will not work correctly. To avoid these
mistakes, specify the continuous numbers of existing diagnostics data
as the reading range.
Specify one of following values corresponding with each diagnostic
data as axis number in "axis".
axis Diagnostics data type
-----------------------+---------------------------------
0 Ordinary (none axis type) data
-1 All axes data of axis type data
1,..,amount of One specified axis data
controlled axis of axis type data
Any values are allowed for "axis" to read none axis type diagnostics
data. In case that any axis type diagnostics data exists in the
specified range, error will be returned by specifying "axis=0".