CDS-3310
Chapter
4 Communication
i
29
Data Record
The CDS-3310 can provide a block of status information with the use of a single command, QR. This
command, 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. See dmcwin/include/dmcdrc.h.
Data Record Map
DATA TYPE
ITEM
BLOCK
UB 1
st
byte of header
Header
UB 2
nd
byte of header
Header
UB 3
rd
byte of header
Header
UB 4
rth
byte of header
Header
UW
sample number
I block
UB
general input 0
I block
UB
general input 1
I block
UB
general input 2
I block
UB
general input 3
I block
UB
general input 4
I block
UB
general input 5
I block
UB
general input 6
I block
UB
general input 7
I block
UB
general input 8
I block
UB
general input 9
I block
UB
general output 0
I block
UB
general output 1
I block
UB
general output 2
I block
UB
general output 3
I block
UB
general output 4
I block
UB
general output 5
I block
UB
general output 6
I block
UB
general output 7
I block
UB
general output 8
I block
UB
general output 9
I block
UB
error code
I block
UB
general status
I block
UW reserved
S
block
UW reserved
S
block
SL reserved
S
block
UW reserved
T
block
Содержание CDS-3310
Страница 26: ...18 i Chapter 2 Getting Started CDS 3310 THIS PAGE LEFT PLANK INTENTIONALLY...
Страница 32: ...24 i Chapter 3 Connecting I O CDS 3310 THIS PAGE LEFT PLANK INTENTIONALLY...
Страница 124: ...CDS 3310 Chapter 8 Hardware Software Protection i 63 THIS PAGE LEFT PLANK INTENTIONALLY...
Страница 138: ...CDS 3310 Chapter 10 Theory of Operation i 77 THIS PAGE LEFT BLANK INTENTIONALLY...