Command format – Visara 1330-X02 User Manual

Page 136

Advertising
background image

701333-004

B-9

Programming Notes

Command Format

All 1330 commands use the following format:

Length/Command/Flag/Correlation ID (Optional)/Data

The following table shows the purpose of each field.

e

t

y

B

d

l

e

i

F

n

o

i

t

p

i

r

c

s

e

D

1

-

0

h

t

g

n

e

L

s

e

t

y

b

h

t

g

n

e

l

g

n

i

d

u

l

c

n

i

,

h

t

g

n

e

l

d

n

a

m

m

o

c

l

a

t

o

T

3

-

2

d

n

a

m

m

o

C

e

p

y

t

d

n

a

m

m

o

C

4

g

a

l

F

0

t

i

B

d

e

r

i

u

q

e

r

t

o

n

e

s

n

o

p

s

e

r

e

g

d

e

l

w

o

n

k

c

A

=

0

d

e

r

i

u

q

e

r

e

s

n

o

p

s

e

r

e

g

d

e

l

w

o

n

k

c

A

=

1

1

t

i

B

d

e

d

u

l

c

n

i

t

o

n

D

I

n

o

i

t

a

l

e

r

r

o

C

=

0

d

e

d

u

l

c

n

i

D

I

n

o

i

t

a

l

e

r

r

o

C

=

1

2

t

i

B

y

l

p

e

r

e

g

d

e

l

w

o

n

k

c

A

=

0

e

t

e

l

p

m

o

c

s

i

e

s

n

o

p

s

e

r

d

e

r

i

u

q

e

r

y

l

p

e

r

C

P

O

-

H

O

X

f

o

r

e

f

f

u

b

d

n

o

c

e

S

=

1

6

-

3

s

t

i

B

)

o

r

e

z

s

y

a

w

l

a

(

d

e

v

r

e

s

e

R

7

t

i

B

k

c

a

N

t

n

e

t

s

i

s

r

e

P

6

-

5

D

I

n

o

i

t

a

l

e

r

r

o

C

)

N

O

s

i

1

t

i

B

,

4

e

t

y

B

f

i

y

l

n

o

d

i

l

a

v

(

e

m

a

n

r

e

i

f

i

t

n

e

d

I

n

-

7

a

t

a

D

a

t

a

d

r

o

/

d

n

a

,

s

r

e

t

e

m

a

r

a

p

,

s

d

n

a

r

e

p

o

,

s

d

n

a

m

m

o

c

b

u

s

c

i

f

i

c

e

p

S

d

n

a

m

m

o

c

n

e

v

i

g

e

h

t

r

o

f

e

t

a

i

r

p

o

r

p

p

a

s

a

s

d

l

e

i

f

Note 1: Bit numbering follows the EBCDIC standard, with Bit 0 being the most

significant bit.

Note 2: If the Correlation ID field is not present (Byte 4, Bit 1 is 0), the data field starts

at Byte 5 rather than at Byte 7.

Note 3: Both positive and negative values in the data fields are allowable. Negative

values are in twos-complement form.

Note 4: Some bytes or bits in the data fields are reserved. The printer does not always

check the contents of these fields. However, it is recommended that such fields
equal the specified value (if one exists) or zero.

Note 5: The 1330 will not detect a condition where the specified command length (Bytes

0-1) exceeds the actual number of bytes received. If this occurs, the printer will
not process the command until it receives the specified number of bytes.

Advertising