Data Record
The DMC-41x3 can provide a binary block of status information with the use of the QR and DR commands. These
commands, along with the QZ command can be very useful for accessing complete controller status. The QR
command will return 4 bytes of header information and specific blocks of information as specified by the
command arguments:
QR ABCDEFGHST
Each argument corresponds to a block of information according to the Data Record Map below. If no argument is
given, the entire data record map will be returned. Note that the data record size will depend on the number of
axes.
The following is the byte map for the binary data.
Data Record Map Key
Acronym Meaning
UB Unsigned byte
UW Unsigned word
SW Signed word
SL Signed long
UL Unsigned long
General Controller Information and Status
general input block 0 (inputs 1-8)
general input block 1 (inputs 9-16)
general input block 2 (inputs 17-24)
general input block 3 (inputs 25-32)
general input block 4 (inputs 33-40)
general input block 5 (inputs 41-48)
general input block 6 (inputs 49-56)
general input block 7 (inputs 57-64)
general input block 8 (inputs 65-72)
general input block 9 (inputs 73-80)
general output block 0 (outputs 1-8)
thread status – see bit field map below
general output block 1 (outputs 9-16)
general output block 2 (outputs 17-24)
Segment Count for Contour Mode
general output block 3 (outputs 25-32)
Buffer space remaining – Contour Mode
20 UB general output block 4 (outputs 33-40) 62-63 UW segment count of coordinated move for S plane
21 UB general output block 5 (outputs 41-48) 64-65 UW coordinated move status for S plane – see bit field map
below
22 UB general output block 6 (outputs 49-56) 66-69 SL distance traveled in coordinated move for S plane
general output block 7 (outputs 57-64)
Buffer space remaining – S Plane
24 UB general output block 8 (outputs 65-72) 72-73 UW segment count of coordinated move for T plane
25 UB general output block 9 (outputs 73-80) 74-75 UW Coordinated move status for T plane – see bit field map
below
26-27 SW Reserved 76-79 SL distance traveled in coordinated move for T plane
Buffer space remaining – T Plane
Chapter 4 Software Tools and Communication ▫ 47 DMC-41x3 User Manual