Kv -300 – KEYENCE Visual KV Series User Manual

Page 380

Advertising
background image

9.4 Programming

KV-10/80 Series Only

KV

-300

KV-10/80

Chapter 9 KV-AD4/DA4 Analog I/O Unit

1-356

9

Writing Digital Data to Data Memory for D/A Conversion

This section describes how to write digital data after it has been converted from the
voltage or current to be output to data memory for D/A conversion on the CPU.

Data memory for D/A conversion on the CPU and special utility relays for D/A
conversion are used only when the KV-DA4 is connected to the CPU. This data
memory and special utility relays can be used as regular data memory and relays,
respectively, when the KV-DA4 is not connected to the CPU. When the KV-DA4 is
connected to the CPU, this data memory and special utility relays can be used only
for D/A conversion and not for other applications. If data memory for D/A conversion
and special utility relays for D/A conversion are used for other applications, this may
cause the KV-DA4 to malfunction .

The following table shows the correspondence between channels, data memory and
special utility relays for D/A conversion.

To output digital data as analog data, the digital data to be analog-output is first
written to data memory for D/A conversion, and then the special utility relays for D/A
conversion is turned ON matching the channel from which digital data is to be
output.

Note 1: The CPU transfers the data on the rising edge of the special utility relays for
D/A conversion. So, analog output will not change while the special utility relays for
D/A conversion stays ON.

Note 2: KV-DA4 outputs voltage 0V and current 4 mA when the power is turned ON.

Note 3: In the case of voltage output, set 0 V (digital data value 2000) and set the
special utility relays for D/A conversion to ON for each channel in use before the
data in data memory for D/A conversion is changed.

-10 to 0 V (less than digital data value 2000) will be output only when 0V (2000) is
set. Otherwise, -10 to 0 V will not be output.

Note 4: Leave unused terminals open at all times. KV-DA4 has voltage and current
output modes, and outputs preset data from both terminals at all times.

Note 5: The voltage and current of the same channel No. cannot be used simulta-
neously.

Data Memory for

D/A Conversion

Channel

Special Utility Relay for

D/A Conversion

CH0

CH1

CH2

CH3

DM0996

2800

DM0997

DM0998

DM0999

2801

2802

2803

KVHKA Chap 09.p65

08.3.11, 11:20 AM

356

Advertising