Set scanner control – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual
Page 111

Interface
Chapter 7
Host Commands Using RS-232 or RS-422
7–19
Command:
SCldcsprrrrttttm
Function:
Specifies operating parameters of the scan head.
Response:
=rr
Comments:
SC = Scanner control command.
l = laser-on mode:
0 = Continuous
1 = Triggered
d = trigger mode:
0 = Package Detect
1 = Host Command
2 = Internal Timer
3 = Continuous
c = capture count. Count must be a value from 1 through 8.
s = number of bar code fields per scan. This entry must be a
value from 0 through 4. A value of 0 = ANY 1, 2, 3, or 4).
p = number of bar code fields per package. Must be a value
1 through 8.
rrrr
= no-read timer value in milliseconds. Must be value
from 0010 to 9999. A value of 0000 will disable the timer.
tttt = inter-scan timer value in milliseconds. Must be value
from 0010 to 9999. A value of 0000 will disable the timer.
m = match complete count. Must be value from 1 through 8.
Note: Refer to Chapter 4 for a description of scanner control
parameters.
rr = response code, refer to Table 7.B.
Example:
Command:
SC01211005500601
Response:
=00CR
Comments:
0 = Continuous scanning
1 = Host command.
2 = Capture count of 2 set.
1 = one bar code field per scan.
1 = one bar code field per package.
0055 = No-read 55 millisecond timer.
0060 = Inter-scan timer value of 60 milliseconds.1 = match
complete count of one.
00 = “command complete” response code.
CR = end of message code for carriage return.
23. Set Scanner Control