Page 52 of 79
Technical Documentation and
User Instructions
Laser Mirror Scanner LMS-Q280i
6.3.5.3 Scan Related Commands
Command
Meaning
.SC_STATUS <Cr>
Reading the status from the scanning module. Reading this value
is necessary to get additional error information for the error
“mERROR:SCAN_STATUS”. For correct operation the value is 0.
The bits of returned value (starting with bit index 0) have the
following meaning:
Bit 2:
1=Scanner supply voltage currently out of range
Bit 3:
1= Scan movement not full speed
Bit 4:
1= Scanner movement off
Bit 6:
1= Encoder missing marker pulse
Bit 11: 1= Scan No Motion Error
Bit 12: 1= Line Scanner PLL locked Error
Bit 13: 1= Scanner Supply Voltage out of range Error
Bit 14: 1= Scanner FPGA Boot Error
Bit 15: 1= Scanner FPGA Download Error
.SC_STATUS_LIST <Cr>
Reading and interpreting bits of SC_STATUS, displaying a list of
message lines for each bit set in SC_STATUS, each message line
starting with “\”. SC_STATUS = 0 is displayed as
line “\ MOTION_OK”.
Example:
Command
Reply:
.SC_STATUS_LIST
\ MOTION_OK
=SC_SATUS_LIST
.SC_ERROR <Cr>
Reading this value is necessary to get additional error information
for the error “mERROR:SCAN_COMMUNICATION”.
The bits of returned value (starting with bit index 0) have the
following meaning:
Bit 0:
1= No PDR Error
Bit 1:
1= Bad Frame Ctrl Byte Error
Bit 2:
1= Bad Checksum at last R/W Error
Bit 3:
1= Bad Echo at last R/W Error
Bit 4:
1= PDR at wrong position Error
Bit 8:
1= Bad command or answer Error
Bit 9:
1= Unknown command Error
Bit 10: 1= PDR2 timeout Error
Bit 12: 1= Error in Scanner, to be found in SC_STATUS
With Error acknowledge command “ERRACK” the value is set
to 0.
.SC_ERROR_LIST <Cr>
Interpreting bits of SC_ERROR, displaying a list of message lines
for each bit set in SC_ERROR, each message line starting with “\”