2 transmitting text data – KEYENCE Visual KV Series User Manual

Page 343

Advertising
background image

7.3 Loading Text Data

3-319

1

7

Chapter 7 Serial Communication

Note 1: Be sure to transmit a break signal for the first serial communication with a
personal computer after the KV-P3E(01) handheld programmer is connected to the
KV, or after the "KV IncrediWare (DOS)" or "LADDER BUILDER for KV" program-
ming support software is evoked.
A break signal initializes the communication setting for the KV. If you cannot transmit
a break signal, turn the KV OFF once to initialize the communication setting. The KV
will not receive text data unless its communication setting has been initialized.

Note 2: If [ETX] exists at some point in the text data, the KV writes the data before
[ETX] into the data memory. The data after [ETX] is not written.

Note 3: If KV receives text data while special utility relay 2804 (2809)

*1

is ON, the

received data is not written into the data memory. In this case, special utility relay
2802 (2807)

*2

turns ON for one scan.

Note 4: When parity errors or other errors occur during text data reception, the
received data is not written into the data memory. In this case, special utility relays
2802 (2807) and 2803 (2808)

*3

turn ON for one scan.

Note 5: The KV-10xx includes only communication port A.

*1: 2804 with KV-300/10/80 *2: 2805 with KV-300/10/80 *3: 2806 with KV-300/10/80

7.3.2

Transmitting Text Data

The KV transmits text data written into its data memories (DM1100 to DM1199 for
communication port A, DM1300 to DM1399 for communication port B), one byte per
data memory in ASCII code.

Transmission data format and internal data memories

When transmitting data from the KV, write the data into the data memory in the
following format.

The KV writes "00" into the high-order 8 bits and text data in ASCII code into the
low-order 8 bits of the data memory.

Note: The KV-10xx includes only communication port A.

Data 99

Data memory bits

High-order 8 bits (00)

Low-order 8 bits (ASCII code)

Data memory

1st DM

(Byte count of data)

2nd DM

3rd DM

4th DM

100th DM

Transmitted data

Data 1 Data 2 Data 3

.

o

N

y

a

l

e

R

)

A

T

R

O

P

(

.

o

N

y

a

l

e

R

)

B

T

R

O

P

(

.

o

N

y

a

l

e

R

)

0

8

/

0

1

/

0

0

3

-

V

K

(

n

o

i

t

p

i

r

c

s

e

D

1

0

8

2

6

0

8

2

4

0

8

2

a

t

a

d

t

x

e

t

n

e

h

w

n

a

c

s

e

n

o

r

o

f

N

O

s

n

r

u

T

.

d

e

v

i

e

c

e

r

n

e

e

b

s

a

h

2

0

8

2

7

0

8

2

5

0

8

2

a

t

a

d

t

x

e

t

n

e

h

w

n

a

c

s

e

n

o

r

o

f

N

O

s

n

r

u

T

,

N

O

s

i

1

0

8

2

e

li

h

w

d

e

v

i

e

c

e

r

n

e

e

b

s

a

h

.

N

O

s

i

3

0

8

2

n

e

h

w

r

o

3

0

8

2

8

0

8

2

6

0

8

2

a

t

a

d

t

x

e

t

n

e

h

w

n

a

c

s

e

n

o

r

o

f

N

O

s

n

r

u

T

.

d

e

li

a

f

s

a

h

n

o

i

t

p

e

c

e

r

a

t

a

D

y

r

o

m

e

m

A

T

R

O

P

0

0

1

1

M

D

1

0

1

1

M

D

2

0

1

1

M

D

8

9

1

1

M

D

o

t

3

0

1

1

M

D

9

9

1

1

M

D

B

T

R

O

P

0

0

3

1

M

D

1

0

3

1

M

D

2

0

3

1

M

D

8

9

3

1

M

D

o

t

3

0

3

1

M

D

9

9

3

1

M

D

/

0

0

3

-

V

K

0

8

/

0

1

0

0

3

9

M

D

1

0

3

9

M

D

2

0

3

9

M

D

8

9

3

9

M

D

o

t

3

0

3

9

M

D

9

9

3

9

M

D

.

o

N

a

t

a

D

t

n

u

o

c

e

t

y

B

1

a

t

a

D

2

a

t

a

D

8

9

a

t

a

D

o

t

3

a

t

a

D

9

9

a

t

a

D

0

15

00

0

0

0

0

0

0

0

0

0

1

1

0

0

0

1

KVNKA Chap 07.p65

08.3.11, 0:11 PM

319

Advertising