Kv -300 – KEYENCE Visual KV Series User Manual

Page 319

Advertising
background image

7.7 Non-procedure Mode Programming

KV-300 Series Only

KV

-300

KV-10/80

Chapter 7 KV-L2 Serial Interface Module

1-295

1

7

Designating the first DM no.

200 DM nos., including the first DM no., are assigned.
Duplicating DM nos. already used in the program will disable normal data trans-
mission/reception.

Note 1: Two KV-L2s can be connected to the KV-300 CPU. The KV-L2s are defined
as No.1 and No. 2, counting from the module closest to the KV-300 CPU.

Note 2: The designated relays and DM addresses are set at startup of special utility
relay 2307.

Assigning relays

Five relay nos., including the first relay no., are assigned. The assigned relays have
the following functions.

1. First relay no. +0

Turns ON after data is loaded and transferred to data memory. It remains ON,
preventing data loading. Write a program to turn this relay OFF after the process is
completed. (Data is loaded while the relay is OFF.)
To fetch the ON signal only for one scan, add the following line to the end of the
program.

2. First relay no. +1

Turns ON and remains ON when the loaded data cannot be transferred to data
memory because the first relay no. +0 is ON when the data is received, or a parity
error has occurred (that is, first relay no. +2 was ON) during data reception.
When the data is loaded while the first relay no. +1 is ON, the first relay no. +1 turns
OFF when the first relay no. +0 turns ON.
To fetch the ON signal only for one scan, change the program as shown in 1. First
relay no. +0, above.

3. First relay no. +2

Turns ON and remains ON when the data cannot be received because a parity error
has occurred during data reception. (The first relay +1 turned ON simultaneously.)
When the data is loaded while the first relay no. +2 is ON, the first relay no. +2 turns
OFF when the first relay no. +0 turns ON.
To fetch the ON signal only for one scan, change the program as shown in 1. First
relay no. +0, above.

4. First relay no. +3

Turns ON when text data transmission starts. Automatically turns OFF after trans-
mission is completed. If it is forced OFF in the middle of a transmission, data
transmission is stopped immediately. Use the SET/RES instruction to turn the relay
ON/OFF.
The transmission/reception of text data is enabled while the special utility relay 2307
is ON.

Relay No.

Function

First relay no. +0

ON when data has been loaded

+1

On when data has been loaded but not transferred to data memory

+2

On when a data reception error has occurred

+3

Data transmission start/stop ON: start, OFF: stop

+4

Transmits an approximately 160 msec break signal when turning ON.

(RES)

∗∗∗∗

∗∗∗∗

First relay no. +0)

(∗∗∗∗

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

295

Advertising