Set code 39, i 2 of 5 and codabar check characters, Clear output counter – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 97

Advertising
background image

Interface

Chapter 7
Host Commands Using RS-232 or RS-422

7–5

Command:

CCabcdef

Function: Enables or disables decoder generated code check characters.

Response:

=rr<end>

Comments: CC = Generate code check characters command.

a through f are the yes (1) and No (0) responses to the following parameters
(in sequence shown):

a = Code 39 check character?
b = Send Code 39 check character?
c = I 2-of-5 check character?
d = Send I 2-of-5 check character?
e = Codabar check character?
f = Send Codabar check character?
rr = response code, refer to Table 7.B.
<end> =

end of message control code.

Example:

Command: CC110011

Response:

= 00CR

Comments:

1 = Code 39 check character verified.
1 = Code 39 check character sent.
0 = I 2-of-5 check character not verified.
0 = I 2-of-5 check character not sent.
1 = Codabar check character verified.
1 = Codabar check character sent.
00 = “command complete” response code.
CR = end of message control code for Carriage Return.

Command:

CMn

Function:

Clear the output counter.

Response:

=rr<end>

Comments:

CM =

Clear output counter command.

n =

output counter. This value must be from 1 through 8.

<end> =end of message code
.rr =

response code, refer to table on Page 7-3.

1. Set Code 39, I 2 of 5 and
Codabar Check Characters

2. Clear Output Counter

Advertising