Professional Documents
Culture Documents
KV-SAD04
AD/DA Conversion Unit Digital—Analog Conversion Unit
KV-SDA04
User's Manual
Please read this Manual before use.
Keep this Manual in a safe place for later reference.
Name Description
This manual describes the system configuration and specifications of the
KV-7000 Series User's Manual
KV-7000 Series, and how to prepare ladder programs.
KV-7000/5000/3000/1000 Series,
KV Nano Series This Manual describes available instructions for ladder programming.
Instruction Reference Manual
KV-7000/5000/3000/1000 Series,
This Manual describes script programming and available operators,
KV Nano Series
control statements and functions.
Script Programming Manual
KV STUDIO User's Manual This manual describes how to operate KV STUDIO.
Safety Precautions
This Manual describes how to use KV-SAD04/SDA04, operating procedures and the precautions to follow.
Be sure to read and understand this manual to make full use of the KV-SAD04/SDA04 before use.
Symbols
This document contains notices that you should observe to ensure your own personal safety, as well as
to protect the device and connected equipment. These notices are marked according to the level of
danger as shown below.
Important It indicates cautions and limitations that must be followed during operation.
General Precautions
• Before you use this device, verify its functionality and performance at startup
and during operation.
• Provide a safety circuit that bypasses the PLC to enable failsafe operation of
the entire system in the event that the PLC fails.
• Output circuit and internal circuit malfunctions sometimes prevent control from
being performed normally. Be sure to provide a safety circuit in control
WARNING
systems where circuit malfunctions may lead to fire or other serious accidents.
• Do not use the device with the purpose of protecting human beings.
• This device is not intended for use as an explosion-proof product. Do not use
this device in a hazardous location or in a location that has a potentially
explosive atmosphere.
• Before you use KV STUDIO, verify that the KV-7000 Series functions correctly.
If you use the product in a manner that falls outside of the ranges indicated in its
CAUTION
specifications, protection provided by the product may be damaged.
• Proceed with care when modifying the device, or when using it in a manner that
falls outside of the ranges indicated in its specifications, since KEYENCE is
unable to guarantee device functionality or performance in such situations.
NOTICE • Use this device in combination with other devices only after careful consideration,
since the device may fail to satisfy its functionality and performance capabilities as
a result of factors such as its usage conditions and the environment in which it is
used.
452GB
- AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual - 1
CE Marking/UL Standard
Descriptions relating to the restrictions on the CE Marking and descriptions relating to the restrictions
on complying with the UL508 are described in the KV-7000 Series User's Manual.
SYSTEM
This chapter describes names and functions of parts, system
2
Chapter 2 KV-SAD04 This chapter describes A/D conversion unit KV-SAD04.
3
A
Chapter 3 KV-SDA04
This chapter describes D/A conversion unit KV-SDA04.
Chapter 2 KV-SAD04
2-1 Specification & A/D conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Wiring input Terminals and Internal Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
A/D conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-5
A/D conversion Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
2-2 Settings & Various Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
List of Setting Items on Unit Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-15
List of Available Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-18
Changing Setting Value via Ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-23
KV-SAD04 Function Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-27
Setting the Leading Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28
Channel Skip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-29
Setup Input Range. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-29
Zero Clip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-30
Scaling Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-31
Averaging Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-32
Special Data Offset Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-36
Zero Drift Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-38
Peak/Bottom Hold Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-40
Comparator Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42
Wire break Detection Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-45
Unit Interrupt Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-46
Buffering Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48
Inter-unit synchronous function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-57
Chapter 3 KV-SDA04
3-1 Specification & D/A Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
Wiring Output Terminals and Internal Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
D/A Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5
D/A Conversion Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
3-2 Settings & Various Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
List of Setting Items on Unit Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13
List of Available Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16
Changing Setting Value via Ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-19
KV-SDA04 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-23
Setting the Leading Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-24
Channel Skip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-24
Setup Output Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-25
Scaling Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-25
Output Data Offset Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-26
Upper/Lower Limit Alarm Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-28
Output Limit Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-31
Error Hold Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-32
Output Function During PROG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-33
Unit Interrupt Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-33
- AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual - 5
Program output function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-35
Inter-unit synchronous period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-43
3-3 KV-SDA04 Unit Specific Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45
List of KV-SDA04 Unit Specific Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-45
U_Wire-break conversion output data change . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-46
U_WROFST Change output data offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-48
U_WRSCL Write scaling setting value . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-50
U_WRLMT Write upper/lower limit alarm value . . . . . . . . . . . . . . . . . . . . . . .3-52
3-4 KV-SDA04 Unit Specific Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
List of KV-SDA04 Unit Specific Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-54
U_WRDA A/D conversion output data change . . . . . . . . . . . . . . . . . . . . . .3-55
U_WROFST Change output data offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-56
U_WRSCL Write scaling setting value . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-57
U_WRLMT Write upper/lower limit alarm. . . . . . . . . . . . . . . . . . . . . . . . . . . .3-58
3-5 Access Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59
Access Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-59
Setting Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-62
Monitor Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-64
Unit Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-65
3-6 Unit Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-67
Unit Monitor Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-67
Displaying Unit Monitor Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-67
Chapter A APPENDICES
1 Precautions When Replacing with Other Unit . . . . . . . . . . . . . . . . . . . . . . . A-2
Precautions When Replacing with A/D Conversion Unit . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Precautions When Replacing with D/A Conversion Unit . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
2 List of Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
List of Error Messages for KV-SAD04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
List of Error Messages for KV-SDA04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
3 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
Mnemonics lists are describes in the corresponding pages of sample ladder programs.
If a mnemonics list is used, it is convenient to enter the ladder program on the left.
3 In the ladder editing area of KV STUDIO, click the cell to which the sample ladder program is
inserted, and select "Edit(E)" -> "Edit list(L)" from the menu, "Edit list" dialog box will appear.
Other procedure
• +
Paste the copied mnemonics list to "Edit list"
dialog box that pops up by right-clicking the
menu and selecting "Paste(P)".
Terminology
KV
-S
AD
04 KV-7000 Series
Expansion Unit
Instruction Manual
(Front) (Side) 1
③Lock lever
④GND link connector
V0+
I0+
CH0
0-
COM
⑤Expansion unit
V1+
I1+
connection connector
CH1
1-
COM
V2+ ②Analog input terminal block (KV-SAD04)
I2+
CH2
2- Analog output terminal block (KV-SDA04)
COM
V3+
CH3
I3+
3-
③Lock lever
COM
*1 This LED lights (red) in the following instance even if the state is not a unit error state.
(1) When the unit information on the CPU Unit is for a single CPU configuration when the power is
turned ON.
In this case, an error will be displayed in the access window.
Power Supply Unit CPU unit KV-7000 Series Bus connection unit KV-5000/3000 Series End Unit
KV-PU1 KV-7500/7300 Expansion Unit (supplied with CPU unit ) Expansion Unit
(DC24V 1.8A) (I/O, special) (I/O, special)
KV-PU1 KV-7500 KV-SAD04
POWER
REALTIME
Logic Controller
CARD
V0+
MENU ENTER I0+
CH0
0-
COM
CARD SW V1+
I1+
CH1
OPEN 1-
USB COM
V2+
I2+
CH2
2-
COM
LINK V3+
I3+
CH3
3-
COM
NS
EtherNet/IP™
SD Memory Card
KV-M1G
Cable
(1m)
PC (OP-42142)
Cable
(2m)
(OP-42141)
When using a bus connection unit or KV-5000/3000 Series expansion unit, you
Point
need to install an end unit at its right edge.
KV STUDIO Description
Ver. 8.0 or later* Compatible with the KV-7000 Series
* Inter-unit synchronous function can be used with Ver.8.1 or later.
Place that is directly under Place to which water, oil and Place with strong magnetic
vibration and shock drug is sprayed and electric field
Item Description
Compatible cable size AWG28-16 (0.3 to 1.3mm2)
Stripped cable length 7mm
Tightening torque 0.23N・m
Cables
(1)When using stranded and solid wires as they are
• Ensure that no wire strands are coming out of the end of
stranded wires.
7mm
• Do not solder the ends of the wires.
8mm
2 to 3.4mm
12.5 to 14mm
Wiring
1
Precautions when wiring to each unit
B
A B A
D-type grounding A= B A> B
A<B
NOTICE Be sure to turn the power off when mounting the unit. 1
KV
-S
AD
04
KV
-750
0
CA
RD
ME
NU
CA
RD
EN
TE
R
SW
US
B
LINK
Ethe
rN
et/IPNS
™
KV
-S
AD
04
KV
-750
0
CA
RD
ME
NU
CA
RD
EN
TE
R
SW
US
B
LINK
Ethe
rN
et/IPNS
™
CA
RD
ME
NU
connectors. CA
RD
EN
TE
R
SW
US
B KV
-S
AD
04
LINK
Ethe
rN
et/IPNS
™
ME
NU
CA
RD
SW
US
B
connected.
Ethe
rN
et/IPNS
™
Inspection
When KV-SAD04/SDA04 Series units are used for a long time, the connecting section of the connectors
becomes loose or the battery is worn down. Continued use of KV-SAD04/SDA04 Series units in this
state may cause KV-SAD04/SDA04 trouble.
For this reason, periodically inspect wired parts on the KV-SAD04/SDA04.
Daily care
Dirt adheres to the CPU unit and other unit when it is used over a prolonged period of time.
Clean off any dirt from the KV-SAD04/SDA04 using a clean, dry cloth.
Dust and dirt on fine components can be removed with a cotton bud after first removing the connector.
Specifications
General specification
2 Model KV-SAD04
For system configurations that use KV-5000/ For system configurations that use only
System configuration
KV-SAD04
Performance specification
Model KV-SAD04
Analog input 4 points (differential)
Voltage:-10 to +10V (0.5mV 1/40000) Current: 0 to 20mA (1µA 1/20000)
0 to 10V (0.5mV 1/20000) 4 to 20mA (1µA 1/16000)
Analog input range -5 to +5V (0.25mV 1/40000)
(resolution) 0 to 5V (0.25mV 1/20000)
1 to 5V (0.25mV 1/16000)
0 to 30V (1.5mV 1/20000)
Conversion speed 10µs/ch
Voltage: ±0.1% (±20 digit) (@25°C±5°C) Current: ±0.1% (±20 digit) (@25°C±5°C)
Conversion precision
±0.2% (±40 digit) (@0 to 55°C) ±0.2% (±40 digit) (@0 to 55°C)
Input impedance Voltage: 1M Current: 250
Max. input Voltage: -15V to +35V Current: 30mA
Between analog input and CPU: insulated (photocoupler, transformer)
Isolation mode
Between analog input CH: non-insulated
Switch input range function, channel skip function, scaling function, special data offset
function, peak/Bottom hold function, zero Clip, zero drift function, comparator function,
Special functions averaging function (simple averaging (count selection), simple averaging (time selection),
moving average), wire break detection function*1, unit interrupt function, buffering function,
Inter-unit synchronous function
*1 Valid only when voltage is in the range of 1 to 5V and current in the range of 4 to 20mA.
Dimensions 2
8
KV-SAD04
1.2 95
27.3
90
92.5
35.9
2
"Setup Input Range", Page 2-29
Voltage V0+
KV-SAD04
I0+
signal CH0
0-
CH0 COM
Shield V1+
I1+
CH1
1-
CH1 COM
Shield V2+
I2+
CH2
2-
CH2 COM
Shield V3+
I3+
CH3
3-
CH3 COM
Shield
Current V0+
signal I0+
Short V0+ and I0+
CH0
CH0 0-
COM
Shield V1+
I1+
Short V1+ and I1+
CH1
1-
CH1
COM
Shield V2+
I2+
Short V2+ and I2+
CH2
2-
CH2
COM
Shield V3+
I3+
Short V3+ and I3+
CH3
3-
CH3 COM
Shield
500k
V+
A/D 250
conversion
2
I+
circuit
–
KV-SAD04
500k
COM
A/D conversion
The following describes A/D conversion principles, status of relay updated via KV-SAD04 and how to
read/write the value from/to CPU.
KV-SAD04
Multiplexer
CH0+
Amplifier circuit CH1+
Buffer memory
CH2+
CH3+
A/D
Conversion circuit CH0-
CH1-
CH2-
CH3-
(1) Use multiplexer to switch among CH0, CH1, CH2, CH3 and perform sampling operation.
(2) Analog signal (voltage/current) input to external equipment of every CH is amplified via amplifier
circuit, converted to A/D conversion data (numerical value) via A/D conversion circuit and stored to
buffer memory of KV-SAD04.
The following describes how to write/read data stored in buffer memory of KV-SAD04 from/to relays/
DMs of CPU unit.
Auto refresh
2 Control processing KV-SAD04
KV-SAD04
Synchronization
Auto refresh KV-SAD04
V0+
I0+
1 scan CH0
0-
COM
CPU unit, during every ladder scanning, reads/writes the data stored from/into buffer memory of
KV-SAD04 via bus line to the relays/DMs of KV-SAD04 assigned to the CPU unit.
As mentioned above, the data communication method between CPU unit and expansion unit is called
"Auto Refresh", and data communication ladder/setting not required.
Direct refresh
Control processing
KV-SAD04
Synchronization
Auto refresh KV-SAD04
1 scan CH0
COM
0-
The data stored in relay area/buffer memory of KV-SAD04 can be read to any relay/DM of CPU unit via
unit specific instruction performed in Ladder, instead of waiting for updating of relay/DM. In addition, the
value of relays/DMs of CPU unit can be written into relay area and buffer memory of KV-SAD04.
As shown above, between CPU unit and expansion unit, although data communication can be
conducted via direct refresh of Ladder, the processing independent of scanning time fails to be
performed.
Unit specific instructions are required for direct refresh.
KV-7000 Series User's Manual "4-6 Program Configuration and Operation"
"Change Setting Value via Unit Specific Instruction", Page 2-25
"2-3 KV-SAD04 Unit Specific Instructions", Page 2-61
"2-4 KV-SAD04 Unit Specific Functions", Page 2-76
Synchronization
V0+ V0+ V0+
2
1 scan Synchronous refresh CH0
I0+
COM
CH0
I0+
COM
CH0
I0+
COM
KV-SAD04
NC NC NC
Synchronous module NC
V2+
NC
V2+
NC
V2+
between units
I2+ I2+ I2+
CH2 CH2 CH2
COM COM COM
NC NC NC
END processing NC NC NC
Each unit updates the value of the buffer memory simultaneously every inter-unit synchronous period,
and each unit I/O relays the value of the buffer memory by the inter-unit synchronous refresh, and
writes/read out to the data memory.
The data processing having held synchronism in between each unit can be executed.
" Inter-unit synchronous function", Page 2-57
When CPU unit is in PROGRAM mode, KV-SAD04 can also monitor A/D conversion data/special data/
analog data, etc. In addition, special function related relays (zero drift relay/comparator relay/latch
relay/wire break detection relay) also operate.
According to different number of A/D conversion channels, the updating period for A/D conversion data is
as follows.
A/D conversion data updating period= A/D conversion speed (10µs) x number of chs used
I/O Characteristic
AD conversion data [digit]
25000
2 21000
20000
Without zero clip
With zero clip
KV-SAD04
15000
10000
5000
-10.
5
-10000
-15000
-20000
-21000
-25000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+10 20000 20200 20400 20600 20800 21000 - - - -
+9 18000 18200 18400 18600 18800 19000 19200 19400 19600 19800
+8 16000 16200 16400 16600 16800 17000 17200 17400 17600 17800
+7 14000 14200 14400 14600 14800 15000 15200 15400 15600 15800
+6 12000 12200 12400 12600 12800 13000 13200 13400 13600 13800
+5 10000 10200 10400 10600 10800 11000 11200 11400 11600 11800
+4 8000 8200 8400 8600 8800 9000 9200 9400 9600 9800
+3 6000 6200 6400 6600 6800 7000 7200 7400 7600 7800
+2 4000 4200 4400 4600 4800 5000 5200 5400 5600 5800
+1 2000 2200 2400 2600 2800 3000 3200 3400 3600 3800
+0 0 200 400 600 800 1000 1200 1400 1600 1800
-0 0 -200 -400 -600 -800 -1000 -1200 -1400 -1600 -1800
-1 -2000 -2200 -2400 -2600 -2800 -3000 -3200 -3400 -3600 -3800
-2 -4000 -4200 -4400 -4600 -4800 -5000 -5200 -5400 -5600 -5800
-3 -6000 -6200 -6400 -6600 -6800 -7000 -7200 -7400 -7600 -7800
-4 -8000 -8200 -8400 -8600 -8800 -9000 -9200 -9400 -9600 -9800
-5 -10000 -10200 -10400 -10600 -10800 -11000 -11200 -11400 -11600 -11800
-6 -12000 -12200 -12400 -12600 -12800 -13000 -13200 -13400 -13600 -13800
-7 -14000 -14200 -14400 -14600 -14800 -15000 -15200 -15400 -15600 -15800
-8 -16000 -16200 -16400 -16600 -16800 -17000 -17200 -17400 -17600 -17800
-9 -18000 -18200 -18400 -18600 -18800 -19000 -19200 -19400 -19600 -19800
-10 -20000 -20200 -20400 -20600 -20800 -21000 - - - -
* A/D conversion data changes within the range of -21000 (-10.50V) to 21000 (+10.50V). If voltage input is outside the
range, it will be clipped at max. value 21000 (or min. value -21000).
I/O Characteristic
AD conversion data [digit]
25000
Without zero clip
21000
With zero clip
2
20000
KV-SAD04
15000
10000
5000
-0.5
Input voltage [V]
-2 0 2 4 6 8 10 12
-1000
10.5
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+10 20000 20200 20400 20600 20800 21000 - - - -
+9 18000 18200 18400 18600 18800 19000 19200 19400 19600 19800
+8 16000 16200 16400 16600 16800 17000 17200 17400 17600 17800
+7 14000 14200 14400 14600 14800 15000 15200 15400 15600 15800
+6 12000 12200 12400 12600 12800 13000 13200 13400 13600 13800
+5 10000 10200 10400 10600 10800 11000 11200 11400 11600 11800
+4 8000 8200 8400 8600 8800 9000 9200 9400 9600 9800
+3 6000 6200 6400 6600 6800 7000 7200 7400 7600 7800
+2 4000 4200 4400 4600 4800 5000 5200 5400 5600 5800
+1 2000 2200 2400 2600 2800 3000 3200 3400 3600 3800
+0 0 200 400 600 800 1000 1200 1400 1600 1800
-0 0 -200 -400 -600 -800 -1000 - - - -
* A/D conversion data changes within the range of -1000 (-0.50V) to 21000 (+10.50V). If voltage input is outside the
range, it will be clipped at max. value 21000 (or min. value -1000).
I/O Characteristic
AD conversion data [digit]
25000
2 21000
20000
Without zero clip
With zero clip
KV-SAD04
15000
10000
5000
-5.25
-10000
-15000
-20000
-21000
-25000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+5 20000 20400 20800 - - - - - - -
+4 16000 16400 16800 17200 17600 18000 18400 18800 19200 19600
+3 12000 12400 12800 13200 13600 14000 14400 14800 15200 15600
+2 8000 8400 8800 9200 9600 10000 10400 10800 11200 11600
+1 4000 4400 4800 5200 5600 6000 6400 6800 7200 7600
+0 0 400 800 1200 1600 2000 2400 2800 3200 3600
-0 0 -400 -800 -1200 -1600 -2000 -2400 -2800 -3200 -3600
-1 -4000 -4400 -4800 -5200 -5600 -6000 -6400 -6800 -7200 -7600
-2 -8000 -8400 -8800 -9200 -9600 -10000 -10400 -10800 -11200 -11600
-3 -12000 -12400 -12800 -13200 -13600 -14000 -14400 -14800 -15200 -15600
-4 -16000 -16400 -16800 -17200 -17600 -18000 -18400 -18800 -19200 -19600
-5 -20000 -20400 -20800 - - - - - - -
* A/D conversion data changes within the range of -21000 (-5.25V) to 21000 (+5.25V). If voltage input is outside the
range, it will be clipped at max. value 21000 (or min. value -21000).
Input range: 0 to 5V
I/O Characteristic
AD conversion data [digit]
25000
Without zero clip
With zero clip
21000
20000
2
KV-SAD04
15000
10000
5000
-0.25
Input voltage [V]
-1 0 1 2 3 4 5 6
-1000
5.25
-5000
Input range: 1 to 5V
I/O Characteristic
AD conversion data [digit]
25000
Without zero clip
With zero clip
20000
17000
16000
15000
10000
5000
-0.25
Input voltage [V]
-1 0 1 2 3 4 5 6
5.25
-5000
I/O Characteristic
AD conversion data [digit]
25000 Without zero clip
With zero clip
2 21000
20000
KV-SAD04
15000
10000
5000
-1.5
Input voltage [V]
-5 0 5 10 15 20 25 30 35
-1000
31.5
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+31 20667 20733 20800 20867 20933 21000 - - - -
+30 20000 20067 20133 20200 20267 20333 20400 20467 20533 20600
+29 19333 19400 19467 19533 19600 19667 19733 19800 19867 19933
+28 18667 18733 18800 18867 18933 19000 19067 19133 19200 19267
+27 18000 18067 18133 18200 18267 18333 18400 18467 18533 18600
+26 17333 17400 17467 17533 17600 17667 17733 17800 17867 17933
+25 16667 16733 16800 16867 16933 17000 17067 17133 17200 17267
+24 16000 16067 16133 16200 16267 16333 16400 16467 16533 16600
+23 15333 15400 15467 15533 15600 15667 15733 15800 15867 15933
+22 14667 14733 14800 14867 14933 15000 15067 15133 15200 15267
+21 14000 14067 14133 14200 14267 14333 14400 14467 14533 14600
+20 13333 13400 13467 13533 13600 13667 13733 13800 13867 13933
+19 12667 12733 12800 12867 12933 13000 13067 13133 13200 13267
+18 12000 12067 12133 12200 12267 12333 12400 12467 12533 12600
+17 11333 11400 11467 11533 11600 11667 11733 11800 11867 11933
+16 10667 10733 10800 10867 10933 11000 11067 11133 11200 11267
+15 10000 10067 10133 10200 10267 10333 10400 10467 10533 10600
+14 9333 9400 9467 9533 9600 9667 9733 9800 9867 9933
+13 8667 8733 8800 8867 8933 9000 9067 9133 9200 9267
+12 8000 8067 8133 8200 8267 8333 8400 8467 8533 8600
+11 7333 7400 7467 7533 7600 7667 7733 7800 7867 7933
+10 6667 6733 6800 6867 6933 7000 7067 7133 7200 7267
+9 6000 6067 6133 6200 6267 6333 6400 6467 6533 6600
+8 5333 5400 5467 5533 5600 5667 5733 5800 5867 5933
+7 4667 4733 4800 4867 4933 5000 5067 5133 5200 5267
+6 4000 4067 4133 4200 4267 4333 4400 4467 4533 4600
+5 3333 3400 3467 3533 3600 3667 3733 3800 3867 3933
+4 2667 2733 2800 2867 2933 3000 3067 3133 3200 3267
+3 2000 2067 2133 2200 2267 2333 2400 2467 2533 2600
+2 1333 1400 1467 1533 1600 1667 1733 1800 1867 1933
+1 667 733 800 867 933 1000 1067 1133 1200 1267
+0 0 67 133 200 267 333 400 467 533 600
-0 0 -67 -133 -200 -267 -333 -400 -467 -533 -600
-1 -667 -733 -800 -867 -933 -1000 - - - -
* A/D conversion data changes within the range of -1000 (-1.50V) to 21000 (+31.50V). If voltage input is outside the
range, it will be clipped at max. value 21000 (or min. value -1000).
I/O Characteristic
AD conversion data [digit]
25000 Without zero clip
With zero clip
21000
20000 2
KV-SAD04
15000
10000
5000
-1
Input current [mA]
-2 0 2 4 6 8 10 12 14 16 18 20 22
-1000
21
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
21 21000 - - - - - - - - -
20 20000 20100 20200 20300 20400 20500 20600 20700 20800 20900
19 19000 19100 19200 19300 19400 19500 19600 19700 19800 19900
18 18000 18100 18200 18300 18400 18500 18600 18700 18800 18900
17 17000 17100 17200 17300 17400 17500 17600 17700 17800 17900
16 16000 16100 16200 16300 16400 16500 16600 16700 16800 16900
15 15000 15100 15200 15300 15400 15500 15600 15700 15800 15900
14 14000 14100 14200 14300 14400 14500 14600 14700 14800 14900
13 13000 13100 13200 13300 13400 13500 13600 13700 13800 13900
12 12000 12100 12200 12300 12400 12500 12600 12700 12800 12900
11 11000 11100 11200 11300 11400 11500 11600 11700 11800 11900
10 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900
9 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900
8 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900
7 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900
6 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900
5 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900
4 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900
3 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900
2 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900
1 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900
0 0 100 200 300 400 500 600 700 800 900
-0 0 -100 -200 -300 -400 -500 -600 -700 -800 -900
-1 -1000 - - - - - - - - -
* A/D conversion data changes within the range of -1000 (-1.00mA) to 21000 (21.00mA). If current input is outside the
range, it will be clipped at max. value 21000 (or min. value -1000).
I/O Characteristic
AD conversion data [digit]
25000
2 20000
Without zero clip
With zero clip
17000
KV-SAD04
16000
15000
10000
5000
-1
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
21 17000 - - - - - - - - -
20 16000 16100 16200 16300 16400 16500 16600 16700 16800 16900
19 15000 15100 15200 15300 15400 15500 15600 15700 15800 15900
18 14000 14100 14200 14300 14400 14500 14600 14700 14800 14900
17 13000 13100 13200 13300 13400 13500 13600 13700 13800 13900
16 12000 12100 12200 12300 12400 12500 12600 12700 12800 12900
15 11000 11100 11200 11300 11400 11500 11600 11700 11800 11900
14 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900
13 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900
12 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900
11 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900
10 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900
9 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900
8 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900
7 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900
6 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900
5 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900
4 0 100 200 300 400 500 600 700 800 900
3 -1000 -900 -800 -700 -600 -500 -400 -300 -200 -100
2 -2000 -1900 -1800 -1700 -1600 -1500 -1400 -1300 -1200 -1100
1 -3000 -2900 -2800 -2700 -2600 -2500 -2400 -2300 -2200 -2100
0 -4000 -3900 -3800 -3700 -3600 -3500 -3400 -3300 -3200 -3100
-0 -4000 -4100 -4200 -4300 -4400 -4500 -4600 -4700 -4800 -4900
-1 -5000 - - - - - - - - -
* A/D conversion data changes within the range of -5000 (-1.00mA) to 17000 (21.00mA). If current input is outside the
range, it will be clipped at max. value 17000 (or min. value -5000).
KV-SAD04
Change Ladder
Function Setting Item Setting Value See
Setting
Common Leading DM No. Need set No
Page 2-28
setting Leading relay No. Need set No
Disable Default
Channel skip Channel skip No Page 2-29
Enable
Inter-unit synchronization Not used Default
No
Inter-unit function Used
synchronization Inter-unit synchronization Page 2-57
function Refresh timing Default No
Batch <END processing>
-10 to +10V Default
0 to 10V
-5 to +5V
0 to 5V
Input range Input range No Page 2-29
0 to 20mA
1 to 5V
4 to 20mA
0 to 30V
Disabled Default
Scaling No
Enabled
Unit Editor selection Default
Scaling selection No
DM selection
Scaling Page 2-31
-32000 to 32000
Scaling upper limit Yes
( Default 32000)
-32000 to 32000
Scaling lower limit Yes
( Default -32000)
Not used Default
Simple average (count selection)
Averaging No
Simple average (time selection)
Moving average
Averaging Unit Editor selection Default Page 2-32
Average constants selection No
DM selection
Simple averaging count 2 to 60000( Default 2) Yes
Simple averaging time (ms) 1 to 1500( Default 1) Yes
Moving average count 2 to 2048( Default 2) Yes
Disabled Default
Comparator No
Enabled
Unit Editor selection Default
Comparator value selection No
DM selection
Comparator upper limit -32000 to +32000
Yes
ON level*1 ( Default 32000)
Comparator Page 2-42
Comparator upper limit -32000 to +32000
Yes
OFF level*1 ( Default 32000)
Comparator lower limit -32000 to +32000
Yes
OFF level*2 ( Default -32000)
Comparator lower limit -32000 to +32000
Yes
ON level*2 ( Default -32000)
- AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual - 2-15
2-2 Settings & Various Functions
Change Ladder
Function Setting Item Setting Value See
Setting
Disabled
Zero Clip Zero Clip No Page 2-30
Enabled Default
Wire break Disabled Default
Wire break detection*3 No Page 2-45
detection Enabled
2 *1 It fails to be set when comparator upper limit ON level < comparator upper limit OFF level.
*2 It fails to be set when comparator lower limit OFF level < comparator lower limit ON level.
KV-SAD04
*3 Can only be used when the input range is "1 to 5 V" and "4 to 20 mA".
Other procedure
• Click button.
2 Select the unit to be connected from "Select unit(1)" tab, and drag it to the CPU unit.
Other procedure
2
KV-SAD04
• Press key
• Select "View" -> "Display unit setting".
5 Press key.
Confirm the settings.
6 Set the details of all connected units following the procedures in steps 3 to 5.
7 Select File(F) -> Close(O) from the menu. This saves the system you have created, and returns
to the Editor.
Other procedure
• Click button.
• Click button.
Do not write values in devices with the name "Reserved for system". PLC may
2 Point
result in malfunction.
KV-SAD04
KV-SAD04
DM No. N + 000 N + 005 N + 010 N + 015
N : Leading DM No.
Special data
The value, processed via zero Clip, scaling function, special data offset function, averaging function or
zero drift function, will be stored as special data. If any function is not set, the value identical to A/D
conversion data will be stored.
When multiple functions are set, the values processed by all functions are stored.
"Zero Clip Function", Page 2-30
"Scaling Function", Page 2-31
"Special Data Offset Function", Page 2-36
"Averaging Function", Page 2-32
"Zero Drift Function", Page 2-38
N : Leading DM No.
Analog data
Voltage/current value converted from A/D conversion will be stored as analog data.
Analog data can be obtained using the following formula:
Units displayed in Access Window or Unit Monitor: "V" for voltage, "mA" for current.
N : Leading DM No.
N
+ 022
+ 023
Special data offset value Page 2-36
KV-SAD04
CH3 N + 024
List of Relays
The following describes the names and description of relays occupied by KV-SAD04.
( n : Leading relay No)
KV-SAD04
n + 002
Common
to Reserved for system -
n + 014
n + 015 Error clear Page A-4
n + 100 Zero drift Page 2-38
n + 101 Hold Page 2-40
n + 102 Wire break alarm clear Page 2-45
CH0 n + 103 Comparator reset Page 2-42
n + 104
to Reserved for system -
n + 107
n + 108 Zero drift Page 2-38
n + 109 Hold Page 2-40
n + 110 Wire break alarm clear Page 2-45
CH1 n + 111 Comparator reset Page 2-42
n + 112
to Reserved for system -
n + 115
n + 200 Zero drift Page 2-38
n + 201 Hold Page 2-40
n + 202 Wire break alarm clear Page 2-45
CH2 n + 203 Comparator reset Page 2-42
n + 204
to Reserved for system -
n + 207
n + 208 Zero drift Page 2-38
n + 209 Hold Page 2-40
n + 210 Wire break alarm clear Page 2-40
CH3 n + 211 Comparator reset Page 2-42
n + 212
to Reserved for system -
n + 215
n + 300 A/D conversion in progress -
n + 301 Setting update complete Page 2-23
n + 302
Common
to Reserved for system -
n + 314
n + 315 Error relay Page A-4
n + 406
Page 2-29,
n + 407 Special data valid
Page 2-32
n + 408 Zero drift in progress Page 2-38
n + 409 Holding Page 2-40
n + 410 Wire break detection Page 2-45
n + 411 Comparator upper limit
Page 2-42
n + 412 Comparator lower limit
CH1 n + 413
to Reserved for system -
n + 414
Page 2-29,
n + 415 Special data valid
Page 2-32
n + 500 Zero drift in progress Page 2-38
n + 501 Holding Page 2-40
n + 502 Wire break detection Page 2-45
n + 503 Comparator upper limit
Page 2-42
n + 504 Comparator lower limit
CH2 n + 505
to Reserved for system -
n + 506
Page 2-29,
n + 507 Special data valid
Page 2-32
n + 508 Zero drift in progress Page 2-38
n + 509 Holding Page 2-40
n + 510 Wire break detection Page 2-45
n + 511 Comparator upper limit
Page 2-42
n + 512 Comparator lower limit
CH3 n + 513
to Reserved for system -
n + 514
Page 2-29,
n + 515 Special data valid
Page 2-32
The following describes how to change setting value of every function via Ladder.
KV-SAD04
About DM selection of setting value
In "Unit setup" of Unit Editor, set corresponding selection method to "DM selection".
The items and setting value range assignable in DM as follows.
*1 It fails to be set when comparator upper limit ON level < comparator upper limit OFF level.
*2 It fails to be set when comparator lower limit OFF level < comparator lower limit ON level.
• The item specified by DM can be updated during the period mentioned above.
Point
Only a part of setting items fails to be updated.
• For the item not specified by DM (i.e. specified via Unit Editor), its setting value
set with Unit Editor will be remained and not updated, even if the value is stored
in DM of corresponding setting value communication area.
2 • If DM value exceeds setting range, KV-SAD04 will fail and A/D conversion is not
performed (In this case, error relay ( n +315) will be ON). To clear unit error, DM
KV-SAD04
value must be changed to the range of set value, and any one of above (1) to (3)
must be performed for A/D conversion.
(2) (4)
Setting update
completion relay
( +301)
(6) (8)
Error relay
( +315)
(7)
KV-SAD04
The setting items changeable with unit specific instructions and the range of setting values as follows.
Unit specific
Function Setting item Setting value See
instruction
Special data
Special data offset value -32768 to 32767 U_WROFST Page 2-36
offset value
Scaling upper limit -32000 to 32000
Scaling U_WRSCL Page 2-31
Scaling lower limit -32000 to 32000
Simple averaging count 2 to 60000
Averaging Simple averaging time (ms) 1 to 1500 U_WRAVG Page 2-32
Moving average count 2 to 2048
Comparator upper limit
-32000 to 32000
ON level*1
Comparator upper limit
-32000 to 32000
OFF level*1
Comparator U_WRLMT Page 2-42
Comparator lower limit
-32000 to 32000
OFF level*2
Comparator lower limit
-32000 to 32000
ON level*2
*1 It fails to be set when comparator upper limit ON level < comparator upper limit OFF level.
*2 It fails to be set when comparator lower limit OFF level < comparator lower limit ON level.
To change special data offset value, it is not necessary to set the setting update
Point
request relay to ON after executing unit specific instructions.
2 Setting update
(1) (3) (5) (7)
request relay
KV-SAD04
( +001)
(2) (4)
Setting update
complete relay
( +301)
(6) (8)
Error relay
( +315)
(7)
(1) Ladder Execute unit specific instruction, write the setting value to buffer memory of
KV-SAD04. Setting update request relay is also ON.
(2) KV-SAD04 After completing setting update, setting update complete relay is ON.
(3) Ladder Turn OFF setting update request relay.
(4) KV-SAD04 Turn OFF setting update completion relay.
(5) Ladder Save the value exceeding range of set value in Ladder, then turn ON the setting
update request relay.
(6) KV-SAD04 Error relay is ON (setting update completion relay is not ON).
Meanwhile, error code is stored in DM ( N +020).
(7) Ladder Stores value within the setting range, after the setting is updated, set the error clear
relay to ON.
(8) KV-SAD04 Turn the error relay to OFF.
If using direct I/O "DR" to scan every relay, setting value can be changed within
Point
one scanning.
A/D conversion 2
KV-SAD04
Analog data operation
Analog data A/D conversion data Zero clipper Wire break detection
Wire break
Averaging
detection relay
Scaling
Zero drift
2
KV-SAD04
Leading DM No.
Sets the leading No. of the data memories occupied by KV-SAD04.
Data memories of 60 words are occupied by KV-SAD04.
The settable leading No. is as follows.
KV-7500/7300 : DM00000 to DM65474
"List of Available Devices", Page 2-18
KV-SAD04
Channel skip function can be set to "enabled" or "disabled".
A/D conversion is performed in case of no channel skip, A/D conversion is not performed in case of
channel skip.
0 is stored in the A/D conversion data, special data and analog data of the skipped channel, and the
special data valid relay turns OFF. It is possible to check from a ladder program if channels have been
skipped, by seeing whether the special data valid relay for each channel is ON or OFF.
The special data valid relay is assigned as follows.
Channel No. CH0 CH1 CH2 CH3
Special data valid relay n + 407 n + 415 n + 507 n + 515
n : Leading relay No.
• Stores 0 to skipped channel's A/D conversion data, special data, and analog
Point
data. The special data valid relay is turned OFF when power is turned on, when
the PROGRAM mode switches to the RUN mode, or when the setting is
updated. Data that is written by mistake may remain.
• The special data valid relay also turns OFF until the first averaging is complete
when the averaging function is used.
"Averaging Function", Page 2-32
A/D conversion data updating time according to the number of channels on which A/D conversion is
performed is as follows.
Updating period for A/D conversion data = A/D conversion speed (10µs) x number of CHs used
2
KV-SAD04
KV-SAD04 A/D conversion data will be stored into Data Memory in form of signed 16-bit DEC. For
example, if input range is set to 0 to 10V, analog quantity input voltage 0 to 10V is converted to
numerical value 0 to 20000. If input voltage is less than 0V, it will be stored as negative (-) value. In this
case, zero Clip can limit the numerical value to "0", and stored as special data in KV-SAD04. In
addition, if zero Clip is not used, numerical value exceeding 20000 will be stored when 10V above
voltage is input. If zero Clip is used, the value will be restricted to the "20000" range.
Input range and max. input range of analog input signal, numerical value stored in special data DM as
follows.
• zero Clip function is valid only for special data. Even if the zero Clip function is
Point
set to "Enabled", zero Clip function cannot be performed for A/D conversion
data and analog data.
• Even if the zero Clip is set to "Enabled", once scaling function, special data
offset function and zero drift function are used, negative (-) value will be stored
into special data DM due to input voltage (current).
Scaling Function
KV-SAD04
Scaling function is designed to convert (scale) A/D conversion data to the range of upper/lower limit.
The scaled value is stored to Data Memory of "special data". The value corresponding to upper limit
value "20000" ("16000" when input range is 1 to 5V or 4 to 20mA) is set in scaling upper limit; and the
value corresponding to lower limit value "0" ("-20000" for -10 to +10V, -5 to +5V) of A/D conversion data
is set in scaling lower limit value.
Scaling upper/lower limit can be set within the range of -32000 to +32000.
The scaling upper/lower limit can be also specified via Data Memory of setting value communication
area or specific instruction / function "U_WRSCL" other than direct selection via the Unit Editor.
"Change setting value by DM selection", Page 2-23
"Change Setting Value via Unit Specific Instruction", Page 2-25
"Unit specific instruction U_WRSCL", Page 2-68
"Unit specific function U_WRSCL", Page 2-80
Reference Scaling function uses the following formula to convert A/D data.
Example When the input range "1 to 5V", A/D conversion data "0 to 16000" is scaled to "1000 to 5000".
Input range 1 to 5V
A/D conversion data 0 to 16000
Scaling limit 1000 to 5000
Value
Averaging Function
Averaging function
With averaging function, A/D conversion data can be averaged internally and stored to special data DM
to reduce the fluctuation influence of input signal due to noise, etc. The averaging and averaging
constants selection method as well as averaging constants required when the averaging constants
selection is set to "Unit Editor selection".
Averaging Description
Averaging is not performed. A/D conversion data will be stored to special data
Disabled (default)
DM during every A/D conversion.
Averaging (count Perform simple averaging according to the specified A/D conversion times of
selection) averaging and save the result into special data DM.
Perform simple averaging according to the specified time interval of averaging
Averaging (time selection)
and save the result into special data DM.
Moving averaging according to specified A/D conversion times, the result stored
Moving average
into special data DM.
Averaging function shall be performed according to the processed result of zero Clip.
The special data valid relay turns OFF while the first averaging is being performed. During this time,
data after A/D conversion (that has not been averaged) is stored in special data. When the first
averaging is complete, the special data valid relay turns ON. It is possible to check from a ladder
program whether the special data has been averaged, by seeing whether the special data valid relay is
ON or OFF.
• The special data valid relay is OFF and averaging is performed from the first
Point
time when power is turned on, when the PROGRAM mode switches to the RUN
mode, or when the setting is updated. 2
• The special data valid relay also turns OFF when a channel is being skipped.
KV-SAD04
"Channel Skip Function", Page 2-29
• Before completing the first averaging, the data after A/D conversion (without
Point
averaging) is stored in special data DM.
• Before the first averaging completed, peak/Bottom hold function and comparator
function fail to be operated.
• When the first averaging is complete, the special data valid relay turns ON.
ON
Special data valid
OFF
AVG1=(D1+D2+D3+D4+D5)/5
AVG2=(D6+D7+D8+D9+D10)/5
• Before completion of the first averaging, the data after A/D conversion (without
Point
averaging) is stored in special data DM.
• Before the first averaging completed, peak/Bottom hold function and
comparator function fail to be operated.
• When the first averaging is complete, the special data valid relay turns ON.
Example Operation when 4 channels are used, and the averaging time is set to 10 ms
Number of A/D conversion data = 10ms÷40µs = 250
A/D conversion data
A/D conversion start updating period
ON
Special data valid
OFF
AVG1= (D1+D2+···+D249+D250)/250
AVG2= (D251+D252+···+D499+D500)/250
Moving average
To perform moving averaging according to specified A/D conversion times, the result stored into special
data. The averaged result with decimal point after rounded up will be stored into special data.
• Before completion of the first averaging, the data after A/D conversion (without
Point
averaging) is stored in special data DM.
• Before the first averaging completed, peak/Bottom hold function and
comparator function fail to be operated.
• When the first averaging is complete, the special data valid relay turns ON.
KV-SAD04
Special data D1 AVG1 AVG2 AVG3 AVG4 AVG5 AVG6
ON
Special data valid
OFF
AVG1=(D1+D2+D3+D4+D5)/5
AVG2=(D2+D3+D4+D5+D6)/5
AVG3=(D3+D4+D5+D6+D7)/5
AVG4=(D4+D5+D6+D7+D8)/5
AVG5=(D5+D6+D7+D8+D9)/5
AVG6=(D6+D7+D8+D9+D10)/5
Value stored in special data DM= KV-SAD04 internal data + special data offset value
KV-SAD04
Special data offset value is processed as signed 16 bit data. So, it can be set within -32768 to 32767.
The DM value of the special data offset value is automatically applied to KV-SAD04 with every refresh.
So, it is not necessary to operate relay via Ladder.
When using special data offset function, special data changes within signed 16 bit range (-32768 to
32767) (not within input range). The special data, exceeding signed 16 bit data range due to the added
special data offset value, will be limited to lower limit (-32768) or upper limit (32767).
Special data offset function can be available for results processed by zero Clip, averaging function and
scaling function.
"Zero Clip Function", Page 2-30
"Scaling Function", Page 2-31
"Averaging Function", Page 2-32
Special data offset value can also be changed using unit specific instruction/function "U_WROFST ".
"Unit specific instruction U_WRSCL", Page 2-66
"Unit specific function U_WRSCL", Page 2-79
KV-SAD04 reads always DM of special data offset value. Special data offset
Point
function can not be disabled. So, please note that once the value other than "0" is
stored to the special data offset value, special data is offset and shall be noted. If
special data is not offset, "0" shall be stored to special data offset value.
KV-SAD04
-20000 -32768 to 0 (3)
Special data
32767 (2)
20000 (1)
10000
(3)
Input voltage
-10 -5 0 +5 +10
(V)
-10000
-20000
-32768
Special data
(2)
32767
20000
(1)
10000
Input voltage(V)
0 +1 +5
(3)
-10000
-20000
-32768
2 drift relay is turned from OFF to ON, KV-SAD04 can store the special data as a zero drift reference
value and when zero drift relay is ON (zero drift in progress relay changes to ON via KV-SAD04), store
the result obtained by subtracting the reference value from the special data.
KV-SAD04
Value stored in special data DM = KV-SAD04 internal data - zero drift reference value
After zero drift relay is turned from ON to OFF (zero drift relay ON to OFF via KV-SAD04), special data
will become KV-SAD04 internal data, and zero drift reference value will be lost.
With zero drift function, special data can be corrected at any time.
Special data offset function can be conducted separately on every channel.
Zero drift relay and zero drift in progress relay assigned as follows:
When using zero drift function, special data changes within signed. 16-bit range (-32768 to 32767) (not
within input range). The special data, exceeding signed 16-bit data range due to the zero drift function
used, will be limited to lower limit (- 32768) or upper limit (32767).
Zero drift function can be avalable for results processed by zero Clip, averaging function, scaling
function and special drift data offset function.
"Zero Clip Function", Page 2-30
"Scaling Function", Page 2-31
"Averaging Function", Page 2-32
"Special Data Offset Function", Page 2-36
(1) (4)
KV-SAD04
Zero drift in progress relay
KV-SAD04
internal data 12 15 10 12 15 23 19 18 17 16 15
(Example)
(3) (6)
Special data 12 15 0 2 5 13 9 18 17 16
DM value (Example)
2 occupied by KV-SAD04 during hold relay is ON (hold in progress relay ON via KV-SAD04). When hold
relay is ON -> OFF (hold in progress relay ON -> OFF via KV-SAD04), peak and bottom holding will be
stopped and DM value will be not updated.
KV-SAD04
Because that the peak and bottom stored via peak / bottom hold function are updated in internal A/D
conversion of KV-SAD04, so, it will be not influenced by scanning time of CPU unit.
Peak / bottom hold function can be separately conducted on every channel.
Peak/ bottom hold function can be conducted for results processed by zero clip, averaging function,
scaling function, special data offset function and zero drift function.
"Zero Clip Function", Page 2-30
"Scaling Function", Page 2-31
"Averaging Function", Page 2-32
"Special Data Offset Function", Page 2-36
"Zero Drift Function", Page 2-38
When simple averaging (count selection), simple averaging (time selection) and
Point
moving average are specified under averaging function, the peak/bottom will be
not updated before the first averaging is completed.
"Averaging Function", Page 2-32
(1) (4)
Hold relay
2
(2) (5)
KV-SAD04
Hold in progress relay
(3) (6)
Peak (Example) * * * 12 15 23 23 23 23 23 23
(3) (6)
Bottom (Example) * * * 12 12 12 11 11 11 11 11
Comparator Function
2 lower limit value, and turn the comparator upper limit relay and lower limit relay ON/OFF .
KV-SAD04
Comparator function, how to select comparator and the ON/ OFF level of upper/lower limit value of
every comparator when comparator value selection is set to "Unit Editor selection" shall be specified.
Comparator function can be separately conducted on every channel.
Peak/bottom hold function can be conducted for results processed by via comparator function
(averaging), scaling function, special data offset function and zero drift function.
"Zero Clip Function", Page 2-30
"Scaling Function", Page 2-31
"Averaging Function", Page 2-32
"Special Data Offset Function", Page 2-36
"Zero Drift Function", Page 2-38
Comparator upper limit value ON/OFF level, lower limit value ON/OFF level can be also specified via
Data Memory of setting value communication area, or unit specific instruction/ function "U_WRLMT" in
addition to direct selection via the Unit Editor.
"Change setting value by DM selection", Page 2-23
"Change Setting Value via Unit Specific Instruction", Page 2-25
"Unit specific instruction U_WRSCL", Page 2-70
"Unit specific function U_WRSCL", Page 2-81
When comparator reset relay is ON, comparator upper limit relay and comparator lower limit relay will
be forcedly set to OFF.
Comparator upper limit relay, comparator lower limit relay and comparator reset relay are assigned as
follows:
Special data
KV-SAD04
Comparator lower limit
OFF level
Comparator lower limit
ON level
Time
(3) (4)
Comparator upper limit
relay
(1) KV-SAD04 when special data is less than comparator lower limit ON level, comparator lower
limit relay is ON.
(2) KV-SAD04 when special data exceeds comparator lower limit OFF level, comparator lower limit
relay is OFF.
(3) KV-SAD04 when special data exceeds comparator upper limit ON level, comparator upper limit
relay is ON.
(4) KV-SAD04 when special data is less than comparator lower limit OFF level, comparator upper
limit relay is OFF.
(5) KV-SAD04 when special data is less than comparator lower limit ON level, comparator lower
limit relay is ON.
• If comparator upper limit value (lower limit value) ON level = comparator upper
Point
limit value (lower limit value) OFF level, the special data becomes the value,
comparator upper limit value (lower limit value) relay is ON.
• After CPU unit switched from PROGRAM mode to RUN mode, comparator
upper limit (lower limit) relay will be OFF.
• If comparator upper limit value (lower limit value) is specified in DM, and the
setting has been updated, the comparator upper limit (lower limit) relay will
remain the ON/OFF status before updating.
(2) (4)
Comparator upper/lower
limit relay When special data
level of comparator
Comparator reset relay
When comparator
reset enabled
KV-SAD04
If the wire break alarm clear relay is set to ON, the wire break detection relay changes to OFF.
Wire break detection relay and wire break alarm clear relay assigned are as follows:
• Wire break detection function can not be used other than the range of 1 to 5V or
Point
4 to 20mA.
• When CPU unit is switched from PROGRAM mode to RUN mode, the wire break
detection relay is OFF.
Operations of Wire break detection alarm relay and Wire break alarm clear relay
Wire break detection relay and wire break alarm clear relay shall be operated as follows.
Input signal
<0.5V or 2mA
2 (1) (3)
(5)
(2) (4)
Wire break alarm clear relay
(1) KV-SAD04 If input signal is less than 0.5V or 2mA, the wire break detection relay is ON.
(2) Ladder Wire break alarm clear relay becomes ON.
(3) KV-SAD04 Wire break relay becomes OFF.
(4) Ladder Wire break alarm clear relay becomes OFF.
(5) KV-SAD04 If input signal is less than 0.5V or 2mA, the wire break detection relay is ON. If not
less than above numerical value, the broken detection relay will remain OFF.
Setting Method
Create a program for interrupt between END and ENDH.
CR2008
EI
KV-SAD04
END
cannot be executed.
INT
Unit No. Interrupt factor
Interrupt program
An interrupt program is written between END and ENDH.
RETI
ENDH
Usage Example
In this example, when CH0's comparator upper limit is ON, direct output of output relay R35200 is
performed.
;(Mnemonics list)
CR2008
LD CR2008
EI
EI
When operation starts 1 END
Scan ON INT #1 #0
LD CR2002
END
SET DR35200
RETI
ENDH
INT
Unit No. Interrupt factor
#1 #0
KV-SAD04 Channel 0 comparator
upper limit ON
CR2002 DR35200
SET
Always ON
RETI
ENDH
Buffering Function
Buffering function
The buffering function samples KV-SAD04's special data at the fastest 10µs.
2 There are two buffering modes. When continuous buffering is used, buffering is performed while data is
being read, which makes it possible to continue to acquire large amount of data exceeding the size of the
KV-SAD04
buffer memory in the unit. When trigger buffering is used, buffering is performed while the trigger is in a
waiting state, which makes it possible to obtain the set amount of data before and after trigger input.
If the analog signal changes at a speed higher than the scan time, accurate sampling cannot be done.
• When buffering is implemented
Scan time
Special data Sampling cycle
Even if the analog signal changes at a speed higher than the scan time, accurate sampling can still be done.
Operating mode
Continuous buffering
Data with sampling performed is stored in order. When buffering data read (U_RDBF instruction) is executed,
data is read from the CPU's device, and the same amount of data is deleted from the buffer memory. When
read is executed regularly, data in buffer memory is deleted so that buffering can continue to be
performed. Performing buffering with 4095 units of data in buffer memory will cause buffering overflow
and subsequent missing of sampling data.
• Data that has been read out from the buffer is deleted.
Point
• In the read-out, the data is read out starting in order from the oldest data. You cannot
specify an intermediate buffer memory address to read out intermediate data.
• Even if overflow occurs, executing read (U_RDBF instruction) to delete data from the
buffer memory will restart buffering.
2-48 - AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual -
2-2 Settings & Various Functions
Trigger Buffering
Like continuous buffering, trigger buffering stores special data in the internal buffer. When a trigger is
input, only the specified amount of data before and after it is extracted and then stored in the buffer
memory.
KV-SAD04
Data 5022
Data 5026
Point Buffer overflow does not occur during trigger buffer execution.
If ID selection setting is 0
Data is stored in the buffer memory in units of 16 bits.
CH Data Note
CH0 special data Oldest data
CH0 special data Second oldest data
…
CH0
CH0 special data Nth oldest data
…
Data
CH Note
Higher 16 bits Lower 16 bits
Data ID CH0 special data Oldest data
…
CH0
Data ID CH0 special data Nth oldest data
KV-SAD04
…
Data ID CH0 special data 4095th oldest data
If buffering is performed every 32 bits, when U_RDBF instruction read data, the amount
Point
of data read must be: buffering count×2.
Usage method
All settings are read from a ladder program which uses UWRIT to write the value to the buffer memory
of KV-SAD04.
Data is read by unit specific instruction U_RDBF.
"U_RDBF", Page 2-74
Buffering setting
Buffering enabled
Trigger input
KV-SAD04
2 : Comparator upper limit OFF edge
#516 CH0 trigger condition setting R/W 3 : Comparator lower limit ON edge
4 : Comparator lower limit OFF edge
5 : Inter-unit synchronous interruption
(default value: 0)
#517 to #518 (System reserved) −
#519 CH0 set the pre-trigger buffering count R/W 0 to 4095 (default value: 0)
0 : None
1 : Serial number
2 : Elapsed time by inter-unit
#520 CH0 ID number selection setting R/W synchronous periods
3 : Serial number by inter-unit
synchronous periods
(default value: 0)
#521 to #527 (System reserved) −
0 : Continuous
#528 CH0 buffering mode setting monitor R
1 : Trigger
#529 CH0 buffering count setting monitor R 1 to 4095
#530 CH0 buffering cycle setting monitor R 1 to 65535
#531 (System reserved) −
0 : 1 write to trigger register
1 : Comparator upper limit ON edge
#532 CH0 Trigger condition setting monitor R 2 : Comparator upper limit OFF edge
3 : Comparator lower limit ON edge
4 : Comparator lower limit OFF edge
5 : Inter-unit synchronous interruption
#533 to #534 (System reserved) −
#535 CH0 set the pre-trigger buffering count monitor R 0 to 4095
0 : None
1 : Sequential number
2 : Elapsed time by inter-unit
#536 CH0 ID selection setting monitor R
synchronous periods
3 : Serial number by inter-unit
synchronous periods
#537 (System reserved) −
Bit0 : When being buffered
#538 CH0 buffering status monitor R Bit1 : Waiting for trigger
Bit2 : Buffering completed
#539 CH0 current buffering count monitor R 0 to 4095
0 : Normal
#540 CH0 buffering overflow R
1 : Overflow occurring
#541 Buffering point number monitor before CHO_triggering R 0 to 4095
#542 to #543 (System reserved) −
#544 to #575 CH1 buffering mode setting R/W Equivalent to #512 to #543
#576 to #607 CH2 buffering mode setting R/W Equivalent to #512 to #543
#608 to #639 CH3 buffering mode setting R/W Equivalent to #512 to #543
0 : Disabled
#640 CH0 buffering enabled R/W 1 : Enabled
(default value: 0)
0 : Disabled
#641 CH1 buffering enabled R/W 1 : Enabled
(default value: 0)
0 : Disabled
#642 CH2 buffering enabled R/W 1 : Enabled
(default value: 0)
0 : Disabled
#643 CH3 buffering enabled R/W 1 : Enabled
(default value: 0)
#644 to #655 (System reserved) −
1 : Trigger input
#656 CH0 trigger R/W
(updated to 0 automatically after input)
1 : Trigger input
#657 CH1 trigger R/W
(updated to 0 automatically after input)
1 : Trigger input
#658 CH2 trigger R/W
(updated to 0 automatically after input)
1 : Trigger input
#659 CH3 trigger R/W
(updated to 0 automatically after input)
#660 to #8191 (System reserved) −
- AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual - 2-51
2-2 Settings & Various Functions
Device
• Buffering mode setting (CH0: #512, CH1: #544, CH2: #576, CH3: #608)
Select the buffering mode to execute: Continuous buffering or trigger buffering.
0 : Continuous buffering
1 : Trigger Buffering
2 Only bit 0 is used.
The set value when "1" is written during buffering enable is applied to operation.
KV-SAD04
• Buffering count setting (CH0: #513, CH1: #545, CH2: #577, CH3: #609)
The number of sampling points is set during buffering execution.
In the continuous buffering mode, when the amount of data with buffering performed reaches the
setting value, the buffering completion bit becomes ON. Buffering continues.
In the trigger buffering mode, when the number of sampling before and after trigger reaches the
number of buffering set up, buffering completion bit is ON and then buffering stops.
The set value when "1" is written by the UWRIT instruction during buffering enable is applied to
operation.
• Buffering cycle setting (CH0: #514, CH1: #546, CH2: #578, CH3: #610)
Sampling cycle of buffering is set. Sampling cycle works in the following way according to the
buffering cycle setting value (range: 1 to 65535).
Sampling cycle = A/D conversion data updating period × buffering cycle setting
A/D conversion data updating period works in the following way according to the number of channels
for A/D conversion.
"Updating Period for A/D conversion Data", Page 2-7
A/D conversion data updating period = A/D conversion speed(10µs) × Number of channels usedA/D
Example When buffering is performed on 2ch analog data using 100µs cycle
Number of channels used 2
Buffering cycle setting 5
Sampling cycle = 10µs × 2 × 5 = 100µs
The set value when "1" is written during buffering enable is applied to operation.
• Trigger condition setting (CH0: #516, CH1: #548, CH2: #580, CH3: #612)
Set the trigger conditions for the trigger buffering mode.
0 : 1 write to trigger register
When 1 is written to buffer memory’s trigger register (CH0: #656, CH1: #657, CH2: #658,
CH3: #659), trigger is input.
1 : Comparator upper limit ON edge
Trigger is input when comparator upper limit relay is ON.
2 : Comparator upper limit OFF edge
Trigger is input when comparator upper limit relay is OFF.
3 : Comparator lower limit ON edge
Trigger is input when comparator lower limit relay is ON.
4 : Comparator lower limit OFF edge
Trigger is input when comparator upper limit relay is OFF.
5 : Inter-unit synchronous interruption
Input the trigger at a timing when the inter-unit synchronous interruption occurred.
"Comparator Function", Page 2-42
Only bits 0 - 2 are used.
The set value when "1" is written during buffering enable is applied to operation.
• Pre-trigger buffering count setting (CH0: #519, CH1: #551, CH2: #583, CH3: #615)
The number of sampling points (0 to 4095) before the trigger is set in trigger buffering mode.
Only bits 0 - 11 are used.
The set value when "1" is written during buffering enable is applied to operation.
2
• ID selection setting (CH0: #520, CH1: #552, CH2: #584, CH3: #616)
Data ID is set to sampling data.
0 : No
KV-SAD04
Only special data with sampling performed is stored as 16-bit data rows in buffer.
1 : Sequential number
Trg bit (1 bit), serial number (15 bits) and special data (16 bits) are stored as 32-bit data rows in
the buffer.
2 : Elapsed time by inter-unit synchronous period
Trg bit (1 bit), status bit (1 bit), elapsed time by inter-unit synchronous period (14 bits) and
special data (16 bits) are stored as 32-bit data rows in the buffer.
3 : Serial number by inter-unit synchronous period
Trg bit (1 bit), status bit (1 bit), serial number by inter-unit synchronous period (14 bits) and
special data (16 bits) are stored as 32-bit data rows in the buffer.
Trg bit
1 is written to the first sampling data after trigger input.
Sequential number
A sequential number is stored after it is incremented by 1 for each sampling. When buffering is
permitted, it is reset to 0.
Status bit
During one inter-unit synchronous period, the same value of o or 1 is written to all sampling
data. The reversed value is written to the next inter-unit synchronous period. When using the
buffering function by the multiple units, the common values are written in between units.
Elapsed time by inter-unit synchronous period
From the inception of inter-unit synchronous period, the elapsed time is stored by [µs] unit.
Reset to 0 when the next inter-unit synchronous period starts.
Serial number by inter-unit synchronous period
Within the inter-unit synchronous period, the serial number added by 1 every sampling is
stored. When the next inter-unit synchronous period is switched, the number is reset to 0 when
buffering is permitted.
Trg bit : 1
Status bit
Buffering cycle
Buffering data Data 99 Data 100 Data 101 Data 102 Data 103 Data 104 Data 105 Data 106 Data 107
Serial number 3 0 1 2 3 0 1 2 0
Reference
The set value when "1" is written during buffering enable is applied to operation.
If a parameter changes after "1" has been written, the set value and the monitor value may differ. 2
Use the setting monitor to verify set values that are applied to actual operation.
KV-SAD04
• Buffering state monitor (CH0: #538, CH1: #570, CH2: #602, CH3: #634)
It monitors the buffering state.
ON/OFF of 0 to 2 bits are used to indicate the following states.
Bit0 : during buffering
ON while buffering is being executed.
Bit1 : trigger waiting
In the trigger buffering mode, it is ON when buffering is performed using the amount specified by
pre-trigger buffering count setting.
In the continuous buffering mode, it is ON when 1 is written to the buffering permission register.
Bit2 : Buffering completed
It is ON when the number of data in the buffer memory reaches the number specified in the
buffering count setting.
When data in buffering is read, it is OFF if the number of data is less than the buffering count setting.
• Current buffering count monitor (CH0: #539, CH1: #571, CH2: #603, CH3: #635)
Monitors the number of data in buffer memory.
• Buffering overflow monitor (CH0: #540, CH1: #572, CH2: #604, CH3: #636)
In the continuous buffering mode, when the number of data in the buffer memory exceeds 4095, 1 is
written when missing of data occurs. To avoid overflow, regularly execute data read (U_RDBF
instruction) and delete data in the buffer memory.
0 : Normal
1 : Overflow occurs
Only bit 0 is used.
Sample program
The following settings are used to start continuous buffering, and stop it when 100000 points are read.
Channel used CH0
Buffering mode setting 0: Continuous buffering
Buffering count setting 4000 points
2 Buffering cycle setting 1 cycle
ID selection settin 0: No
KV-SAD04
MR000 T0 #1000
T0
U
During buffering
T0 UREAD
#1 #539 @DM0 #1
T0 @DM0 Z1 Z1
LDA EXT ADD.L STA.L
END
ENDH
KV-SAD04
among the multiple units.
Reference For the details of inter-unit synchronization, refer to "KV-7000 Series User's Manual".
2 Unit 1
CH0
981 1345 1380
Refresh device
KV-SAD04
CH1
(Special data)
16436 14130 13811
CH0
①
CH0
CH0
A A
Unit 1
CH0 Scaling Upper Limit
1000
①
10000
2
Refresh device Setting Update
KV-SAD04
Request Relay
CH0 Scaling Upper Limit
2000 20000
Unit 2
Refresh device Setting Update
Request Relay
CH0 Scaling Upper Limit ②
1000 10000
Unit 1 CH0 Special Date
Buffer memory
230 331 467 615 598 4533 2863
CH0 Scaling Upper Limit ③Reflect
2000 20000
Unit 2
CH0 Special Date
Buffer memory
1831 1513 1321 1389 1478 11154 12130
③Reflect
CH0 CH0 CH0 CH0 CH0 CH0 CH0
Unit 1 AD conversion CH1 CH1 CH1 CH1 CH1 CH1 CH1
CH2 CH2 CH2 CH2 CH2 CH2 CH2
CH3 CH3 CH3 CH3 CH3 CH3 CH3
CH0 CH0 CH0 CH0 CH0 CH0 CH0
CH1 CH1 CH1 CH1 CH1 CH1 CH1
Unit 2 AD conversion CH2 CH2 CH2 CH2 CH2 CH2 CH2
CH3 CH3 CH3 CH3 CH3 CH3 CH3
CH0
Unit 1 Analog input
CH0
Unit 2 Analog input
① Write the parameter and the operation instruction to the device by the inter-unit synchronous module.
② The parameter and the operation instruction are transferred to the unit at the synchronous refresh
timing.
③ Reflected from the next unit synchronization timing as well.
When using and executing the direct refresh command within the inter-unit synchronous
Reference
module, you can write the parameter without waiting for the next time synchronous timing
between units.
2 synchronous module to read this data so you can confirm the status when units are synchronized.
Attribute
KV-SAD04
R: Read only
Buffer memory Address name Overview
R/W: Read/write
enabled
#100 ch0 A/D change data (capture) R
#101 ch0 special data (capture) R
Each piece of data is
#102 ch0 analog data (capture) R
latched at
#103 ch0 peak value (capture) R
synchronization with
#104 ch0 bottom value (capture) R
each inter-unit
#105∼#109 ch1 data (capture) Equivalent to #100 to #104
synchronous period.
#110∼#104 ch2 data (capture) Equivalent to #100 to #104
#115∼#119 ch3 data (capture) Equivalent to #100 to #104
2
Function Instruction Instruction description See
KV-SAD04
Read A/D conversion
U_RDAD Read A/D conversion data from buffer memory. Page 2-62
(special) data
Read all types of A/D Read A/D conversion data, special data, analog
U_RDADB Page 2-64
conversion data data, peak and Bottom from buffer memory.
Change special data
U_WROFST Special data offset value. Page 2-66
offset value
Write scaling setting
U_WRSCL Write scaling setting value to buffer memory. Page 2-68
value
Write comparator setting
U_WRLMT Write comparator setting value to buffer memory. Page 2-70
value
Write average constants U_WRAVG Write average constant to buffer memory. Page 2-72
The processing independent of scanning time can be conducted by using unit specific
Reference
instructions.
n1 n2 D U _ R D A D n1 n2 D
Available Devices
Indirect Local Index modify
Bit device Word devices Constants specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
D ○ - ○ - - ○ ○ - - - ○ - - ○ ○ ○
Operand Description
n1 To specify unit No. (1 to 48). *1
n2 To specify analog input (0 to 3) channel or the device where channel is stored. *2
D To specify the device for storing read A/D conversion (special) data. *2
*1 $( HEX selection) can not be used.
*2 If bit devices are specified in n2 and D , continuous 16 bits will be processed.
It is not possible to specify any location other than the beginning of a channel (R002, R106,
R1012, etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
U_RDAD(.S) When execution condition is ON, read A/D conversion (special) data (results
processed by scaling, averaging, etc.) of channel n2 from the unit n1 and
store into D in BIN format.
Operation flag
KV-SAD04
• When channel No. of analog input specified in n2 exceeds 4
• Improper indirect selection or index modification range
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When the first connected KV-SIR32XT's IN000 is ON, this program executes the interrupt program,
reads the second connected KV-SAD04 CH0's A/D conversion (special) data, and then stores it to
DM0.
;(Mnemonics list)
CR2008 LD CR2008
EI EI
When operation IEDGE.U #1 #0 #0
starts 1 END
Scan ON INT #1 #0
LD CR2002
IEDGE KV-SIR32XT U_RDAD.S #2 #0 DM0
Unit No. Input No. Detection condition RETI
#1 #0 #0
ENDH
KV-SIR32XT
END
INT
Unit No. Interrupt factor
#1 #0
KV-SIR32XT R34000
RETI
ENDH
n1 n2 D U _ R D A D C n1 n2 D
Available Devices
Indirect Local Index modify
Bit device Word devices Constants
specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
D ○ - ○ - - ○ ○ - - - ○ - - ○ ○ ○
Operand Description
n1 To specify unit No. (1 to 48). *1
Description of Operation
U_RDAD(.S) When execution condition is ON, read A/D conversion (special) data (results
processed by scaling, averaging, etc.) of channel n2 from the unit n1 and
store into D in BIN format.
Operation flag
KV-SAD04
CR2012
• When channel No. of analog input specified in n2 exceeds 4
• When 5 word device fails to be guaranteed from the specified device No. in D .
• Improper indirect selection or index modification range
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When the first connected KV-SIR32XT's IN000 is ON, this program executes the interrupt program,
reads the second connected KV-SAD04 CH0's A/D conversion data, special data, analog data, peak
value, and bottom value, and then stores them to DM0 to DM4.
;(Mnemonics list)
CR2008 LD CR2008
EI EI
When operation IEDGE.U #1 #0 #0
starts 1 END
Scan ON INT #1 #0
LD CR2002
IEDGE KV-SIR32XT
U_RDADB.S #2 #0 DM0
Unit No. Input No. Detection condition RETI
#1 #0 #0
ENDH
KV-SIR32XT
END
INT
Unit No. Interrupt factor
#1 #0
KV-SIR32XT R34000
RETI
ENDH
2
Ladder program Input mode
KV-SAD04
Available Devices
Index modify
Bit device Word devices Constants Indirect Local
specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Description
n1 To specify unit No.(1 to 48).*1
n2 To specify analog input (0 to 3) channel or the device where channel is stored. *2
S To specify special data offset value or the device for storing the value. *2
*1 $(HEX selection) can not be used.
*2 If bit devices are specified in n2 and S , continuous 16 bits will be processed.
It is not possible to specify any location other than the beginning of a channel (R002, R106,
R1012, etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
U_WROFST(.S) When execution condition is ON, change the special data offset of channel
n2 of unit n1 to 1-word BIN value specified in S .
Operation flag
KV-SAD04
• When channel No. of analog input specified in n2 exceeds 4
• Improper indirect selection or index modification range
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When MR000 is ON, this program changes the first connected KV-SAD04 CH0's special data offset
value to +100.
;(Mnemonics list)
MR000 U_WROFST.S KV-SAD04 LD MR000
Unit No. CH No. Offset U_WROFST.S #1 #0 +100
#1 #0 +100
Available Devices
Index modify
Indirect Local
Bit device Word devices Constants specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Description
n1 To specify unit No.(1 to 48).*1
n2 To specify analog input (0 to 3) channel or the device where channel is stored. *2
S To specify the leading device that stores scaling setting value. *3 *4
*1 $( HEX selection) can not be used.
*2 If bit devices are specified in n2 , continuous 16 bits will be processed.
It is not possible to specify any location other than the beginning of a channel (R002, R106,
R1012, etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
*3 When bit devices are specified in S , continuous 16 x 2 bit are processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
*4 When a constant (-32768 to 32767) is specified in S , the same value specified is stored in
the scaling upper limit/lower limit value of buffer memory.
Description of Operation
U_WRSCL(.S) When execution condition is ON, write 2-word BIN value starting from S as
the scaling setting value into buffer memories of channel n2 of unit n1 .
KV-SAD04
+0
S +1 Scaling lower limit
Operation flag
CR2009 No change in status
CR2010 No change in status
CR2011 No change in status
It is ON in any one of the following conditions, otherwise it is OFF.
• When unit No. specified in n1 is 49 above
CR2012 • When unit No. specified in n1 is not KV-SAD04
• When channel No. of analog input specified in n2 exceeds 4
• When 2 word device fails to be guaranteed from the specified device No in S .
• Improper indirect selection or index modification range
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When MR000 is rising edge, this program changes the first connected KV-SAD04's CH0 scaling upper
limit value to +1000 and scaling lower limit value to +50.
;(Mnemonics list)
MR000 MOV.S
+1000 DM0 LDP MR000
MOV.S +1000 DM0
Scaling upper MOV.S +50 DM1
limit U_WRSCL.S #1 #0 DM0
MOV.S LDP MR000
+50 DM1
OR R34001
ANB DR34301
Scaling lower OUT DR34001
limit
U_WRSCL.S KV-SAD04
Unit No. CH No. Scaling setting
#1 #0 DM0
Scaling upper
limit
R34001
Available Devices
Index modify
Indirect Local
Bit device Word devices Constants specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Description
n1 To specify unit No.(1 to 48).*1
n2 To specify analog input (0 to 3) channel or the device where channel is stored. *2
S To specify the leading device that stores comparator setting value. *3 *4
*1 $( HEX selection) can not be used.
*2 If bit devices are specified in n2 , continuous 16 bits will be processed.
It is not possible to specify any location other than the beginning of a channel (R002, R106,
R1012, etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
*3 When bit devices are specified in S , continuous 16 x 4 bit are processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
*4 When it is set to the constant (-32768 to 32767) in S , comparator upper limit ON level/OFF
level, comparator lower limit ON level/OFF level of buffer memory will be totally stored to the
same value specified.
Description of Operation
U_WRLMT(.S) When execution condition is ON, write 4-word BIN value starting from S as the
comparator setting value into buffer memories of channel n2 of unit n1 .
Device No. Buffer memory
Comparator upper limit ON level
2
S +0
KV-SAD04
S Comparator upper limit OFF level
+1
S +2 Comparator lower limit OFF level
S +3 Comparator lower limit ON level
Operation flag
CR2009 No change in status
CR2010 No change in status
CR2011 No change in status
It is ON in any one of the following conditions, otherwise it is OFF.
• When unit No. specified in n1 is 49 above
• When unit No. specified in n1 is not KV-SAD04
CR2012
• When channel No. of analog input specified in n2 exceeds 4
• When 4 word device fails to be guaranteed from the specified device No in S .
• Improper indirect selection or index modification range
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When MR000 is rising edge, this program changes the first connected KV-SAD04's CH0 comparator
upper limit value ON level to +950, comparator upper limit value OFF level to +900, comparator lower
limit value OFF level to -50, and comparator lower limit value ON level to -100.
Comparator
lower limit ON
U_WRLMT.S KV-SAD04
Unit No. CH No. Comparator setting
#1 #0 DM0
Comparator
upper limit ON
MR000 DR34301 DR34001
R34001
Available Devices
Index modify
Indirect Local
Bit device Word devices Constants specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Description
n1 To specify unit No. (1 to 48). *1
n2 To specify analog input (0 to 3) channel or the device where channel is stored. *2
S To specify the averaging constant or the device that stores average constant. *2
*1 $( HEX selection) can not be used.
*2 If bit devices are specified in n2 and S , continuous 16 bits will be processed.
It is not possible to specify any location other than the beginning of a channel (R002, R106,
R1012, etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
U_WRAVG(.U) When execution condition is ON, write 1-word BIN value starting in S as
the averaging constants into buffer memories of channel n2 of unit n1 .
KV-SAD04
S Averaging constants
Operation flag
Sample Program
When MR000 is rising edge, this program changes the first connected KV-SAD04's CH0 average
constant to +1000.
;(Mnemonics list)
MR000 U_WRAVG KV-SAD04
Unit No. CH No. Average constant LDP MR000
#1 #0 #1000 U_WRAVG #1 #0 #1000
Average LDP MR000
constant OR R34001
ANB DR34301
MR000 DR34301 DR34001
OUT DR34001
Setting update complete Setting update request
R34001
n1 n2 D n3 U _ R D B F n1 n2 D n3
Available Devices
Index modify
Const Indirect Local
Bit device Word devices ants specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
D ○ - ○ - - ○ ○ - - - ○ - - ○ ○ ○
n3 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
Operand Description
n1 To specify unit No. (1 to 48). *1
Operation explanation
U_RDBF(.U) When the execution condition is ON, the special data of channel number n1
buffered in n2 unit is n3 word read and then stored in D to D +
n3 -1 as binary values. At the same time, the data read is deleted from the
buffer memory, so that subsequent data in the buffer memory is packed forwards.
Buffer memory Buffer memory Device
Ⓐ Ⓔ D2 : Ⓐ
Ⓑ Ⓕ D2 +1 : Ⓑ
Ⓒ Ⓖ D2 +2 : Ⓒ
Ⓓ Ⓗ D2 + n3 -1 : Ⓓ
Ⓔ Ⓘ
Ⓕ Ⓙ Brought forwards
Ⓖ Ⓚ
Operation flag
KV-SAD04
CR2012
• If the channel number of analog input specified by n2 is 4 or more
• If the continuous n3 word device cannot be secured from the device number specified by D
• If the range in indirect selection or index modification is incorrect
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample program
When the first connected KV-SAD04 CH0's buffering is finished, this program reads 3000 points of
buffering data and stores them to EM0 to EM2999 (if there is no data ID and buffering is performed for
every 16 bits).
;<Mnemonic list>
CR2008 LD CR2008
EI EI
Operation starts 1 END
scan ON INT #1 #16
LD CR2002
END U_RDBF #1 #0 EM0 #3000
RETI
ENDH
INT
Unit No. Interrupt factor
#1 #16
KV-SAD04 ch0 Buffering
completed
RETI
ENDH
2
Function Function Instruction description See
KV-SAD04
Change special data offset value U_WROFST Special data offset value. Page 2-79
Write scaling setting value U_WRSCL Write scaling setting value to buffer memory. Page 2-80
Write comparator setting value U_WRLMT Write comparator setting value to buffer memory. Page 2-81
Write average constant U_WRAVG Write average constant to buffer memory. Page 2-82
The processing independent of scanning time can be conducted due to every operation
Reference
performed using specific function.
Contact function
U_RDAD ([Execution condition]*1, unit No., ch No., storage destination device No.)
2
Operation type Constant Operation
Argument/return value Description Device formula
KV-SAD04
.U .S .D .L .F .DF .B .T #/$
n1 Unit No.*2 Specify unit No.(1 to 48). - - - - - - - - ○ - ○
Specify analog input (0 to 3) channel .U .U .U .U
n2 Ch No.*4 - - - - ○ ○ ○
or the device where channel stored.
D Storage
Specify the device storing read A/D .S .S .S .S - - - -
destination - - ○
conversion (special) data.
device No.*3*4
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed
(performed in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 and D , continuous 16 bits will be processed. It is not possible
to specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, read A/D conversion (special) data (scaling, averaging, etc.) of
channel n2 from the unit n1 and store into D in BIN format.
Format example
Programming script U_RDAD (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, reads the first connected KV-SAD04 CH0's A/D conversion
(special) data, and then stores it to DM0.
Ladder conversion
MR000 U_RDAD.S KV-SAD04
Unit No. CH No. Stg dev
#1 #0 DM0
Contact function
Device formula
.U .S .D .L .F .DF .B .T #/$
n1 Unit No.*2 Specify unit No.(1 to 48). - - - - - - - - ○ - ○
Specify analog input (0 to 3) channel or .U .U .U .U
n2 Ch No.*4 - - - - ○ ○ ○
the device where channel stored.
D Leading Specify the leading device storing 5 .S .S .S .S - - - - - ○ -
device No.*3 *5 data related to A/D conversion.
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed (performed
in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 , continuous 16 bits will be processed. It is not possible to specify
any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the beginning of a
channel (R000, R100, R1000, etc.).
*5 When bit devices are specified in D , continuous 16 × 5 bits are processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, read 5 related data to A/D conversion (A/D conversion data, special
data, analog data, peak and valley) of channel n2 from the unit n1 and store into D to
D +4 in BIN format.
Format example
Programming script U_RDADB (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, reads the first connected KV-SAD04 CH0's A/D conversion
data, special data, analog data, peak value, and bottom value, and then stores them
to DM0 to DM4.
Ladder conversion
MR000 U_RDADB.S KV-SAD04
Unit No. CH No. Stg dev
#1 #0 DM0
Contact function
U_WROFST ([Execution condition]*1, unit No., ch No., special data offset value)
2
Operation type Constant Operation
KV-SAD04
Argument/return value Description Device
.U .S .D .L .F .DF .B .T #/$ formula
n1 Unit No.*2 Specify unit No.(1 to 48). - - - - - - - - ○ - ○
Specify analog input (0 to 3) channel or .U .U .U .U
n2 Ch No.*4 - - - - ○ ○ ○
the device where channel stored.
S Special data Specify special data offset value or the .S .S .S .S - - - - ○ ○ ○
offset value *3*4 device storing the value.
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed (performed
in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 and S , continuous 16 bits will be processed. It is not possible
to specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, read special data offset value specified in S as 2-word BIN value
from channel of n2 unit n1 .
Format example
Programming script U_WROFST (MR000, 1, 0, +100)
Description of Operation When MR000 is ON, changes the first connected KV-SAD04 CH0's special data
offset value to +100.
Ladder conversion
MR000 U_WROFST.S KV-SAD04
Unit No. CH No. Offset
#1 #0 +100
Contact function
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed
(performed in every scanning)).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 , continuous 16 bits will be processed. It is not possible to specify
any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the beginning of a
channel (R000, R100, R1000, etc.).
*5 When bit devices are specified in S , continuous 16 x 2 bits are processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, write 2-word BIN value starting from S as the comparator setting
value into buffer memories of channel n2 of unit n1 .
Format example
Programming script U_WRSCL (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, writes DM0 and DM1 values to the first connected KV-SAD04's
buffer memory as CH0's scaling setting values.
Ladder conversion
MR000 U_WRSCL.S KV-SAD04
Unit No. CH No. Scaling setting
#1 #0 DM0
Contact function
KV-SAD04
Argument/Return Description Device
.U .S .D .L .F .DF .B .T #/$ formula
n1 Unit No.*2 Specify unit No.(1 to 48). - - - - - - - - ○ - ○
Specify analog input (0 to 3) channel or .U .U .U .U
n2 Ch No.*4 - - - - ○ ○ ○
the device where channel stored.
S Leading Specify the device of comparator .S .S .S .S - - - - - ○ -
device No.*3 *5 setting value.
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed (performed
in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 , continuous 16 bits will be processed. It is not possible to specify
any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the beginning of a
channel (R000, R100, R1000, etc.).
*5 When bit devices are specified in S , continuous 16 x 4 bits are processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, write 4-word BIN value starting from S as the comparator setting
value into buffer memories of channel n2 of unit n1 .
Format example
Programming script U_WRLMT (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, writes DM0 to DM3 values to the first connected KV-SAD04's
buffer memory as CH0's comparator setting values.
Ladder conversion
MR000 U_WRLMT.S KV-SAD04
Unit No. CH No. Comparator setting
#1 #0 DM0
Contact function
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed (performed
in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit devices are specified in n2 and S , continuous 16 bits will be processed. It is not possible
to specify any location other than the beginning of a channel (R002, R106, R1012, etc.). Specify the
beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, write 1-word BIN value in S as the average constant into buffer
memories of channel n2 of unit n1 .
Format example
Programming script U_WRAVG (MR000, 1, 0, +10)
Description of Operation When MR000 is ON, writes 10 to the first connected KV-SAD04's buffer memory as
CH0's average constant.
Ladder conversion
MR000 U_WRAVG KV-SAD04
Unit No. CH No. Average constant
#1 #0 +10
Contact function
U_RDBF ([Execution condition]*1, unit No., ch No., leading device No., number of data to
read) 2
Operation type Constant Operation
Argument/return value Description
KV-SAD04
Device formula
.U .S .D .L .F .DF .B .T #/$
n1 Unit No.*2 Specify unit No.(1 to 48). - - - - - - - - ○ - ○
Specify analog input (0 to 3) channel or .U .U .U .U
n2 Ch No.*4 - - - - ○ ○ ○
the device where channel stored.
D Leading Specify the leading device storing 5 .S .S .S .S - - - - - ○ -
device No.*3 *4 data related to A/D conversion.
n3 Number of data Specifies the number of data to read .U .U .U .U - - - - ○ ○ ○
to read*4 *5 from the buffer memory.
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted (if execution condition is omitted, the instruction will be always performed (performed
in every scanning).
*2 $( HEX selection) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit device is specified in n1 , n2 , D , n3 , continuous 16 bits will be handled. It is not
possible to specify any location other than the beginning of a channel (R002, R106, R1012, etc.).
Specify the beginning of a channel (R000, R100, R1000, etc.).
*5 If buffering is performed at every 32 bits, it is necessary to read buffering count×2 of number of data.
Operation explanation
When the execution condition is ON, the special data of channel number n1 buffered in n2 unit
is n3 word read and then stored in D to D + n3 -1 as binary values.
Format example
Programming script U_RDBF (LDP(MR000), 1, 0, DM0, 4000)
Description of Operation Reads 4000 words of CH0's special data buffered in the first connected KV-SAD04 at
the rising edge of MR000, and stores it in DM0 to DM3999.
Ladder conversion
MR000 U_RDBF KV-SAD04 Read number
Unit No. CH No. Stg dev of data
#1 #0 DM0 #4000
Access Window
2 KV-SAD04 can be monitored, tested and its settings can be changed using the Access Window on the
CPU Unit.
KV-SAD04
The following items can be monitored and set on the access window.
KV-7500
REALTIME
Logic Controller
CARD
MENU ENTER
Though some settings can be changed in the access window, basically use Unit Editor to change
settings.
When changing settings in the access window, change the CPU unit to PROGRAM
Reference
mode first. 2
The actual change in the setting (when the change takes effect) occurs when you switch
KV-SAD04
the CPU unit from the PROGRAM mode to the RUN mode.
Menu structure
Setting CH1
Setting CH2
Setting CH3
The access window does not appear for the following items.
Point
• CH's setting item with channel skip "Enable"
• Setting values that are set to "DM selection" by Unit Editor
• Function's setting value and relay set to "Disabled"
• During wire break detection or wire break detection of CH with input range set
outside "1 to 5V/4 to 20mA"
The access window is operated by the setting operation keys on the CPU unit.
Select an item.
the setting.
Continuously pressing it for 1 second Changes settings when pressed for 1 second
KV-SAD04
ENTER
or more at the setting screen goes to or longer.
the setting change state.
Changes the selection or increases the
Changes the page.
amount of change to the setting value.
Changes the selection or decreases the
Changes the page.
amount of change to the setting value.
Displays the menu.
Change the digit of the value to change.
Select an item.
* The settings can only be changed when the CPU unit is in PROGRAM mode.
The following describes the procedure for moving to the menu screen.
1 Press the direct access switch of the KV-SAD04 you want to monitor.
The direct access switch starts blinking, and the monitor screen for Direct access switch
CH0 on the KV-SAD04 you selected is displayed on the access
window.
KV-7500 KV-SAD04
.96$'&+ .96$'ࠉࠉ&+
$'ኚࢹ࣮ࢱ $'&RQY'DWD
REALTIME
CARD
Logic Controller
V0+
MENU ENTER I0+
CH0
0-
COM
CARD SW V1+
I1+
CH1
1-
USB COM
V2+
I2+
CH2
2-
COM
LINK V3+
I3+
CH3
3-
COM
NS
EtherNet/IP™
㺃タᐃ&+ 㺃6HWWLQJ&+
㺃タᐃ&+ 㺃6HWWLQJ&+ MENU ENTER
㺃タᐃ㺓㺪㺜㺍㺢್ 㺃6HWWLQJ2IIVHW
㺃ࣔࢽࢱ&+ 㺃0RQLWRU&+
To return the CPU unit menu screen, either press the "MENU" key again, or press
Point
the direct access switch that is blinking.
For access window, see User's Manual of every CPU unit.
Setting Screen
The following describes the procedure for changing the settings of the KV-SAD04 using the Access
Window of the CPU Unit.
The settings can only be changed when the CPU unit is in PROGRAM mode.
2
Point
KV-SAD04
How to Change Settings
1 Select the channel to be set in the menu screen using the "" and "" keys, and press the
"ENTER" key.
The selected channel's channel skip setting screen appears.
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
&+ࢫ࢟ࢵࣉ &KDQQHO6NLS MENU ENTER
ࠉࠉࠉࠉࠉࡋ࡞࠸ ࠉࠉࠉࠉ'LVDEOH
2 Use the "" / "" keys to select the scaling upper limit value screen.
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
5 Each press of the "" key increments the increment/decrement value, while each press of the
"" key decrements the increment/decrement value.
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
2
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
KV-SAD04
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
6 To apply the setting, hold down the "ENTER" key for at least one second.
Scaling upper limit value has been set.
• The settings can only be changed when the CPU unit is in PROGRAM mode.
Point
Cannot be changed in the RUN mode.
• If the selection method of setting value is set to " DM selection ", it can not be
changed.
Monitor Screen
The following describes the procedure for monitoring the settings of the KV-SAD04 using the access
window of the CPU Unit.
KV-SAD04
1 Select "Monitoring channel" in the menu screen using the "" and "" keys, and press the
"ENTER" key.
Display the monitor image of A/D conversion data of the selected channel.
.96$'ࠉࠉ&+ .96$'ࠉࠉ&+
$'ኚࢹ࣮ࢱ $'&RQY'DWD MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
2 Select the display data you want to monitor by the "" or "" keys.
Unit Test
The following describes the procedure for testing analog input of the KV-SAD04 using the Access
Window of the CPU Unit.
2 Unit test is possible only when the CPU unit is in the PROGRAM mode.
Point
KV-SAD04
This can be checked even when no project that includes configuration settings for the
Reference
unit to be set in KV STUDIO has been sent to the CPU unit.
2 Use the ""/"" key to select "3.Unit Test", and then press then "ENTER" key.
The following screen appears.
ᣑᙇࣘࢽࢵࢺࡀ 8QLWZLOO
ືసṆࡋࡲࡍࠋ VWRSZRUNLQJ MENU ENTER
⥆⾜ࡋࡲࡍ㸽 &RQWLQXH"
ࠉࠉࠉࠉࠉ(17(5 ࠉࠉࠉࠉ(17(5
.96$' .96$'
㺃ࢸࢫࢺ 㺃7HVW
㺃タᐃ 㺃6HWWLQJ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
5 Use the ""/"" key to select ". Test", and then press then "ENTER" key.
MENU ENTER
.96$' .96$'
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉࠉ>9@ ࠉࠉࠉࠉࠉࠉ>9@
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
If you select ". Setting", you can change the input range from "-10 to +10V/0 to 20mA/
Reference
0 to 30V".
Unit monitor is a window for optimal display of the value of relay or DM used in monitor unit according to
2
different units.
KV-SAD04
The Unit Monitor has the following functions:
• DMs and relays currently assigned to each unit can be displayed in the registering sequence.
• Each unit has provided display formats and layout templates for convenient monitoring.
• The selected unit can be monitored simply by selecting the unit to monitor without having to worry
about relay or DM assignment status.
Point Unit Monitor can only be selected from Monitor or edit menu.
Other procedure
• Select and double click the unit to be selected in unit
setting of workspace. Besides, select "Unit Monitor" from
the right-click menu.
• On Unit Editor, select the unit to be monitored, on the right-
click menu, select "Unit Monitor". On the menu, select
"View" -> "Unit Monitor"
Brief display
(2) A/D conversion indicator
(1) Unit information
2 (3)Display CH
KV-SAD04
Detailed display
Status of every function can be monitored and setting value changed by detailed display.
• If one function is set to "disabled", and "---" will be shown, this function cannot
Point
be monitored or changed.
• If the selection method is set to "Unit Editor selection", the background of the
function setting value is grey and cannot be changed (setting updated).
2
KV-SAD04
• If its selection method is set to "DM selection", the background of its function
setting value is white and can be changed (setting updated).
(1) Scaling
(3)Comparator
(4) Hold
(5)Averaging
(6)"Hide detail" button (7) "Read setting" button (8) "Update setting" button
relay, comparator lower limit relay and forcedly turn comparator 2-42
reset relay ON/ OFF .
Can monitor peak, Bottom and ON/OFF status of status keeping Page
(4) Hold
relay. In addition, can forcedly turn the hold relay ON/OFF . 2-40
Can monitor category of averaging function, monitor and change Page
(5) Averaging
average constant. 2-32
(6) "Hide detail" button Close detailed display of data -
Read the value of DM assigned to the setting value specified by
(7) "Read setting" button -
DM from the CPU unit.
Forcedly turn the setting update request relay ON/ OFF, update
Page
(8) "Update setting" button the internal setting value of KV-SAD04 (only DM specified setting
2-23
value) with the value input to the Unit Monitor.
After "Unit Monitor" is started, setting value (DM selection) updated via Ladder
Point
cannot be mapped in the "Unit Monitor". Please press the "Read setting" button,
updating to the latest message.
Specifications
General specification
Model KV-SDA04
For system configurations that use KV-5000/ For system configurations that use only
3 System configuration
Performance specification
Model KV-SDA04
Analog output 4 points
Voltage : -10 to 10V (0.5mV 1/40000) Current: 0 to 20mA (1µA 1/20000)
Analog output range 0 to 10V (0.5mV 1/20000) 4 to 20mA (1µA 1/16000)
(resolution) 0 to 5V (0.25mV 1/20000)
1 to 5V (0.25mV 1/16000)
Conversion speed 10µs/ch
Voltage: ± 0.1% (±20 digit) (@25°C±5°C) Voltage: ± 0.1% (±20 digit) (@25°C±5°C)
Conversion accuracy
± 0.2% (±40 digit) (@0°C to 55°C) ± 0.2% (±40 digit) (@0 to 55°C)
Between analog output and CPU: insulated (photocoupler, transformer)
Isolation mode
Between analog output channels: not insulated
Min. load impedance Voltage: 1k
Max. load impedance Current: 500
Output range switching function, output data offset function, scaling function, error hold
function, upper/lower limit alarm function, output limit function, channel skip function, PROG
Special functions
output function, unit interrupt function, program output function, inter-unit synchronous
period
Dimensions
8
1.2 95 3
KV-SDA04
27.3
90
92.5
35.9
V0+
3 I0+
CH0Voltage input
COM
NC Shield
V1+
KV-SDA04
I1+
CH1Voltage input
COM
NC Shield
V2+
I2+
CH2Voltage input
COM
NC Shield
V3+
I3+ CH3Voltage input
COM
NC Shield
V0+
I0+
COM CH0Current input
NC
Shield
V1+
I1+
COM CH1Current input
NC
Shield
V2+
I2+
COM CH2Current input
NC
Shield
V3+
I3+
COM CH3Current input
NC
Shield
D/A
conversion V+
circuit
I+
COM 3
KV-SDA04
*The COM terminal is common for each CH.
D/A Conversion
The following describes D/A conversion principles, status of relay updated via KV-SDA04 and how to
read/wire the value from/to CPU.
KV-SDA04
Amplifier circuit
CH0+
CH1+
Buffer memory
CH2+
D/A
conversion CH3+
circuit
CH0-
CH1-
CH2-
CH3-
The D/A conversion circuit converts D/A conversion data (digital value) stored in the buffer memory of
each KV-SDA04 channel to analog signal (voltage and current) in their order, and then outputs them to
an external device.
• D/A conversion data is a digital value when output data is processed by the
Point
error hold function, output data offset function, output limit function, or scaling
function. If these functions are not set up, then the value same as output data is
stored.
• D/A conversion data exists in the buffer memory, and is not split and assigned
to the data memory.
The following describes how to read/write the data in relays/DMs of CPU unit to relay area/buffer
memory of KV-SDA04.
Auto refresh
KV-SDA04
3
Control processing
Synchronization
Auto refresh KV-SDA04
KV-SDA04
V0+
I0+
1 scan CH0
COM
NC
END processing NC
When CPU unit performs Ladder scanning, the data stored from/into relay/DM of CPU unit is read/
written into the relay area/buffer memory assigned to KV-SDA04.
As mentioned above, data communications methods between CPU unit and expansion unit is called
"Auto Refresh", and data communication ladder/setting not required.
Direct refresh
Control processing
KV-SDA04
Synchronization
Auto refresh KV-SDA04
1 scan CH0
COM
NC
NC
V3+
I3+
CH3
COM
END processing NC
The data saved in relay area/buffer memory of KV-SDA04 can be read to any relay/DM of CPU unit via
unit specific instruction performed in Ladder, instead of waiting for updating of relay/DM. In addition, the
value of relays/DMs of CPU unit can be written into relay area/buffer memory of KV-SDA04.
As shown above, between CPU unit and expansion unit, although data communication can be
conducted via direct refresh of Ladder, the processing independent of scanning time fails to be
performed.
Unit specific instructions are required for direct refresh.
KV-7000 Series User's Manual "4-6 Program Configuration and Operation"
"Change Setting Value via unit specific instruction", Page 3-21
"3-3 KV-SDA04 Unit Specific Instructions", Page 3-45
"3-4 KV-SDA04 Unit Specific Functions", Page 3-54
Synchronization
V0+ V0+ V0+
3
I1+ I1+ I1+
CH1 CH1 CH1
COM COM COM
Synchronous module NC
V2+
NC
V2+
NC
V2+
between units
I2+ I2+ I2+
CH2 CH2 CH2
COM COM COM
NC NC NC
KV-SDA04
END processing NC NC NC
Each unit updates the value of the buffer memory simultaneously every inter-unit synchronous period,
and each unit I/O relays the value of the buffer memory by the inter-unit synchronous refresh, and
writes/read out to the data memory.
The data processing having held synchronism in between each unit can be executed.
" Inter-unit synchronous period", Page 3-43
The KV-SDA04 operation when CPU unit is in PROGRAM mode, is dependent on the setting of "PROG
output" of the Unit Editor.
"Output Function During PROG", Page 3-33
According to number of D/A conversion channels, data updating period of D/A conversion as follows.
D/A conversion data updating period = D/A conversion speed (10µs) X number of channels used
• D/A conversion data is a digital value when output data is processed by the error
Point hold function, output data offset function, output limit function, or scaling function.
If these functions are not set up, then the value same as output data is stored.
• D/A conversion data exists in the buffer memory, and is not split and assigned
to the data memory.
I/O Characteristic
D/A conversion data[digit]
25000
20200
20000
15000
3
10000
5000
10.1
Output voltage [V]
KV-SDA04
-12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12
-10.
1
-5000
-10000
-15000
-20000
-20200
-25000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+10 20000 20200 - - - - - - - -
+9 18000 18200 18400 18600 18800 19000 19200 19400 19600 19800
+8 16000 16200 16400 16600 16800 17000 17200 17400 17600 17800
+7 14000 14200 14400 14600 14800 15000 15200 15400 15600 15800
+6 12000 12200 12400 12600 12800 13000 13200 13400 13600 13800
+5 10000 10200 10400 10600 10800 11000 11200 11400 11600 11800
+4 8000 8200 8400 8600 8800 9000 9200 9400 9600 9800
+3 6000 6200 6400 6600 6800 7000 7200 7400 7600 7800
+2 4000 4200 4400 4600 4800 5000 5200 5400 5600 5800
+1 2000 2200 2400 2600 2800 3000 3200 3400 3600 3800
+0 0 200 400 600 800 1000 1200 1400 1600 1800
-0 0 -200 -400 -600 -800 -1000 -1200 -1400 -1600 -1800
-1 -2000 -2200 -2400 -2600 -2800 -3000 -3200 -3400 -3600 -3800
-2 -4000 -4200 -4400 -4600 -4800 -5000 -5200 -5400 -5600 -5800
-3 -6000 -6200 -6400 -6600 -6800 -7000 -7200 -7400 -7600 -7800
-4 -8000 -8200 -8400 -8600 -8800 -9000 -9200 -9400 -9600 -9800
-5 -10000 -10200 -10400 -10600 -10800 -11000 -11200 -11400 -11600 -11800
-6 -12000 -12200 -12400 -12600 -12800 -13000 -13200 -13400 -13600 -13800
-7 -14000 -14200 -14400 -14600 -14800 -15000 -15200 -15400 -15600 -15800
-8 -16000 -16200 -16400 -16600 -16800 -17000 -17200 -17400 -17600 -17800
-9 -18000 -18200 -18400 -18600 -18800 -19000 -19200 -19400 -19600 -19800
-10 -20000 -20200 - - - - - - - -
* D/A conversion data changes within the range of -20200 (-10.10V) to 20200 (+10.10V). When D/A conversion data
outside the range is input, it is clipped at max. value 20200 (or min. value -20200).
I/O Characteristic
D/A conversion data[digit]
25000
20200
20000
15000
3
10000
KV-SDA04
5000
-0.1
10.1
Output voltage [V]
-2 -200 0 2 4 6 8 10 12
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+10 20000 20200 - - - - - - - -
+9 18000 18200 18400 18600 18800 19000 19200 19400 19600 19800
+8 16000 16200 16400 16600 16800 17000 17200 17400 17600 17800
+7 14000 14200 14400 14600 14800 15000 15200 15400 15600 15800
+6 12000 12200 12400 12600 12800 13000 13200 13400 13600 13800
+5 10000 10200 10400 10600 10800 11000 11200 11400 11600 11800
+4 8000 8200 8400 8600 8800 9000 9200 9400 9600 9800
+3 6000 6200 6400 6600 6800 7000 7200 7400 7600 7800
+2 4000 4200 4400 4600 4800 5000 5200 5400 5600 5800
+1 2000 2200 2400 2600 2800 3000 3200 3400 3600 3800
+0 0 200 400 600 800 1000 1200 1400 1600 1800
-0 0 -200 - - - - - - - -
* D/A conversion data changes within the range of -200 (-0.10V) to 20200 (+10.10V). When D/A conversion data outside
the range is input, it is clipped at max. value 20200 (or min. value -200).
Output range : 0 to 5V
I/O Characteristic
D/A conversion data[digit]
25000
20200
20000
3
15000
10000
KV-SDA04
5000
-0.05 5.05
Output voltage [V]
-2 -200 0 1 2 3 4 5 6
-5000
Output range : 1 to 5V
I/O Characteristic
D/A conversion data[digit]
25000
20000
16200
15000
10000
5000
0.95
5.05
Output voltage [V]
-1 -200 0 1 2 3 4 5 6
-5000
I/O Characteristic
D/A conversion data[digit]
25000
22000
20000
15000
3
10000
KV-SDA04
5000
-0.2 20.2
Output current [mA]
-2 -200 0 2 4 6 8 10 12 14 16 18 20 22
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
20 20000 20100 20200 - - - - - - -
19 19000 19100 19200 19300 19400 19500 19600 19700 19800 19900
18 18000 18100 18200 18300 18400 18500 18600 18700 18800 18900
17 17000 17100 17200 17300 17400 17500 17600 17700 17800 17900
16 16000 16100 16200 16300 16400 16500 16600 16700 16800 16900
15 15000 15100 15200 15300 15400 15500 15600 15700 15800 15900
14 14000 14100 14200 14300 14400 14500 14600 14700 14800 14900
13 13000 13100 13200 13300 13400 13500 13600 13700 13800 13900
12 12000 12100 12200 12300 12400 12500 12600 12700 12800 12900
11 11000 11100 11200 11300 11400 11500 11600 11700 11800 11900
10 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900
9 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900
8 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900
7 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900
6 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900
5 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900
4 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900
3 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900
2 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900
1 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900
0 0 100 200 300 400 500 600 700 800 900
-0 0 -100 -200 - - - - - - -
* D/A conversion data changes within the range of -200 (-0.2mA) to 20200 (+20.2mA). When D/A conversion data
outside the range is input, it is clipped at max. value 20200 (or min. value -200).
I/O Characteristic
D/A conversion data[digit]
25000
20000
3
16200
15000
10000
KV-SDA04
5000
3.8
20.2
Output current [mA]
-2 -200 0 2 4 6 8 10 12 14 16 18 20 22
-5000
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
20 16000 16100 16200 - - - - - - -
19 15000 15100 15200 15300 15400 15500 15600 15700 15800 15900
18 14000 14100 14200 14300 14400 14500 14600 14700 14800 14900
17 13000 13100 13200 13300 13400 13500 13600 13700 13800 13900
16 12000 12100 12200 12300 12400 12500 12600 12700 12800 12900
15 11000 11100 11200 11300 11400 11500 11600 11700 11800 11900
14 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900
13 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900
12 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900
11 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900
10 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900
9 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900
8 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900
7 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900
6 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900
5 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900
4 0 100 200 300 400 500 600 700 800 900
3 - - - - - - - - -200 -100
* D/A conversion data changes within the range of -200 (3.8mA) to 16200 (20.2mA). When D/A conversion data outside
the range is input, it is clipped at max. value 16200 (or min. value -200).
KV-SDA04
Common Leading DM No. Required to set No
setting Leading relay No. Required to set No
Page 3-24
Disabled Default
Channel skip Channel skip No
Enabled
Inter-unit synchronization Not used Default
Inter-unit No
function Used
synchronization Page 3-43
function Inter-unit synchronization Default
Refresh timing No
Batch <END processing>
-10 to +10V Default
0 to 10V
0 to 5V
Output range Output range No Page 3-25
0 to 20mA
1 to 5V
4 to 20mA
Disabled Default
Scaling No
Enabled
Unit Editor selection Default
Scaling Scaling selection No Page 3-25
DM selection
Scaling upper limit -32000 to 32000 ( Default 32000) Yes
Scaling lower limit -32000 to 32000 ( Default -32000) Yes
Disabled Default
Upper/lower limit alarm No
Enabled
Upper/lower limit alarm Unit Editor selection Default
No
Upper/lower selection DM selection
Page 3-28
limit alarm Upper limit of upper/lower
-32000 to 32000 ( Default 32000) Yes
limit alarm*1
Lower limit of upper/lower
-32000 to 32000 ( Default -32000) Yes
limit alarm*1
OFF Default
Output limit Output limit No Page 3-31
ON
OFF Default
Error hold Error hold No Page 3-32
ON
Output in Clear Default
Output in PROG mode No Page 3-33
PROG mode Output
*1 It fails to set upper limit value of upper/lower limit alarm < upper/lower limit value of upper/lower limit alarm.
Other procedure
• Click button.
2 Select the unit to be connected from "Select unit (1)" tab, and drag it to the CPU unit.
Other procedure
• Press key
• Select "display" -> "Display unit setting".
4 Click the item whose setting is to be changed, and enter the new set value.
• When entering from textbox,
display textbox, enter the value.
• When entering from dropdown menu,
display dropdown menu, select items.
KV-SDA04
5 Press key.
Confirm the settings.
6 Set the details of all connected units following the procedure in steps 3 to 5.
7 Select from menu "File" -> "Close". This saves the system you have created, and returns to the
Editor.
Other procedure
• Click button.
Click button.
Do not write values in devices with the name "Reserved for system". Otherwise
Point
this may lead to PLC malfunction.
● Output data
Source data for D/A conversion is stored in memory as output data.
If the scaling function is used, the value processed by scaling is stored in D/A conversion data.
In the scaling function or output data offset function, if the value exceeds the range specified in "D/A
Conversation Table", then the minimum value or maximum value in the range specified in "D/A
Conversation Table" will be stored in D/A conversion data.
"D/A Conversion Table", Page 3-7
3
CH3 N + 013 Analog data
N + 014 Error code Page A-4
Common
N + 015 to 019 System reserved -
KV-SDA04
● Analog data
D/A conversion data is converted to a voltage/current value and then stored as analog data.
Use the following conversion formula to get analog data.
Analog data = D/A conversion data x resolution
Unit: [1mV] for voltage output; [1µA] for current output.
The value less than 1 "mV/µA" is rejected.
Units displayed in Access Window or Unit Monitor: "V" for output voltage, "mA" for output current.
Analog data will be stored in the following DMs.
Ch No. CH0 CH1 CH2 CH3
DM No. N + 010 N + 011 N + 012 N + 013
N : Leading DM No.
List of Relays
The following describes the names and description of relays occupied by KV-SDA04.
( n : Leading relay No.)
3 Common
n
n
+ 002
to Reserved for system -
+ 014
KV-SDA04
The following describes how to change setting value of every function via Ladder.
KV-SDA04
In "Unit Setup" of Unit Editor, set corresponding selection method to "DM selection".
The items and setting value range assignable in DM as follows.
*1 It fails to set upper limit value of upper/lower limit alarm < upper/lower limit value of upper/lower limit alarm.
• The item specified by DM can be updated during the period mentioned above.
Point
Only a part of setting items can not be updated.
• For the item not specified by DM (i.e. specified via Unit Editor), its setting value
set with Unit Editor will be remained and not updated, even if the value is stored
in DM of corresponding setting value communication area.
• When the setting is updated, if the DM value is outside the setting range,
KV-SDA04 gives a unit error and D/A conversion cannot be performed (When
this occurs, the error relay ( n +315) becomes ON). To remove the unit error and
perform D/A conversion, change the DM value so that it falls into the setting
range and then perform any one of the (1) to (3) tasks mentioned above.
Detailed descriptions on updating setting value via setting update request relay
(1) (5) (7)
Setting value DM Value within setting range Value out of setting range Value within setting range
complete relay
( +301)
(6) (8)
Error relay
( +315)
(7)
(1) Ladder Save the setting value to be updated into DM of the item specified by DM, then set
setting update request relay to ON (even if within same scanning period).
(2) KV-SDA04 After completing setting update, setting update complete relay is ON.
(3) Ladder Turn setting update request relay OFF.
(4) KV-SDA04 Turn setting update completion relay OFF.
(5) Ladder Save the value exceeding range of set value, then turn the setting update request
relay ON.
(6) KV-SDA04 Error relay is ON (setting update completion relay is not ON).
Meanwhile, error code is stored in DM ( N +020).
(7) Ladder Save the value within the range of set value, after setting updating, set the error
clear relay to ON.
(8) KV-SDA04 Turn the error relay to OFF.
The following describes how to change setting value via unit specific instruction.
KV-SDA04
Unit specific
Function Setting item Setting value Reference
instruction
Output data
Output data offset -32768 to 32767 U_WROFST Page 3-26
offset
Scaling upper limit -32000 to 32000
Scaling U_WRSCL Page 3-25
Scaling lower limit -32000 to 32000
Upper limit of upper/lower
-32000 to 32000
Upper/lower limit alarm*1
U_WRLMT Page 3-28
limit alarm Lower limit of upper/lower
-32000 to 32000
limit alarm*1
*1 It fails to set upper limit value of upper/lower limit alarm < upper/lower limit value of upper/lower limit alarm.
To change output data offset value, it is not necessary to set the setting update
Point
request relay to ON after executing unit specific instructions.
complete relay
( +301)
(6) (8)
Error relay
( +315)
(7)
(1) Ladder Executing unit specific instruction, write the setting value to buffer memory of
KV-SDA04. Setting update request relay is also ON.
(2) KV-SDA04 After completing setting update, setting update complete relay is ON.
(3) Ladder Turn setting update request relay OFF .
(4) KV-SDA04 Turn setting update complete relay OFF.
(5) Ladder Save the value exceeding range of set value in Ladder, then turn the setting update
request relay ON.
(6) KV-SDA04 Error relay is ON (setting update completion relay is not ON).
Meanwhile, the error code is stored to DM ( N +014).
(7) Ladder Save the value within the range of Ladder set value, after setting updating, set the
error clear relay to ON.
(8) KV-SDA04 Turn the error relay to OFF.
If using direct I/O "DR" to scan every relay, setting value can be changed within
Point
one scanning.
Output data
KV-SDA04
Error hold
Output data
Offset
Scaling
D/A conversion
Analog data
3
Leading DM No.
KV-SDA04
Sets the leading No. of the data memories occupied by the KV-SDA04.
Data memories of 40 words are occupied by KV-SDA04.
The settable leading No. is as follows.
KV-7500/7300 : DM00000 to DM65494
"List of Available Devices", Page 3-16
According to number of D/A conversion channel and data updating time of D/A conversion as follows.
Update period for D/A conversion data = D/A conversion speed (10µs) x number of CHs used
3-24 - AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual -
3-2 Settings & Various Functions
3
Range can be switched according to the level of analog signal output.
KV-SDA04
Output range can be set as per every channel. Optional output range as follows.
Scaling Function
Scaling is a function to convert (scale) output data (or internal data after being processed by the output
data offset function) to a value in a range with upper and lower limits.
Scaling unit is stored in "output data" data memory. The scaling upper limit value is set to a value
corresponding to the D/A conversion data's upper limit value "20000" ("16000" if the output range is 1 to
5V or 4 to 20mA), and the scaling lower limit value is set to a value corresponding to the D/A conversion
data's lower limit value "0" ("-20000" if the output range is -10 to +10V).
Scaling upper/lower limit can be set within the range of -30000 to +32000.
Scaling upper/lower limit can be also specified via the following methods in addition to direct specifying
via Unit Editor.
• It is stored to Data Memory in setting value communication area
"List of Available Devices", Page 3-16
• It is stored to buffer memory of KV-SDA04 using unit specific instruction/function " U_WRSCL"
"KV-SDA04 Unit Specific Instructions", Page 3-45
"KV-SDA04 Unit Specific Functions", Page 3-54
Example When the output range "1 to 5V", data "0 to 16000" is scaled to "1000 to 5000".
Output range 1 to 5V
Output data 0 to 16000
Scaling limit 1000 to 5000
Scaling
3
KV-SDA04
Output data offset value is processed as signed 16-bit data. So, it can be set within -32768 to 32767.
The DM value of the output data offset value is automatically applied to KV-SDA04 with every refresh.
So, it is not necessary to operate relay via Ladder.
After offset value is added to the output data, if the output data exceeds the signed 16 bit range, it will
be clipped at the lower limit (-32768) or upper limit (32767).
Output data offset value can change according to unit specific instruction "U_WROFST".
"U_WROFST command", Page 3-48
KV-SDA04 reads always DM of output data offset value. Output data offset
Point
function can not be disabled. So, please note that once the value other than "0" is
stored to the output data offset value, output data is offset. If output data is not
offset, "0" shall be stored to output data offset value.
KV-SDA04
D/A conversion Output data
Output voltage Output data Graph
data Offset value
0 -20000 to +20000 (1)
5000 -15000 to +25000 -
-10 to +10V -20000 to +20000 20000 0 to +32767 (2)
-5000 -25000 to +15000 -
-20000 -32768 to 0 (3)
10
2 (1)
5
(3)
Output data
0
-32768 -20000 -10000 10000 20000 32767
-5
-10
0
Output data
-32768 -20000 -4000 16000 20000 32767
When the use or non-use of upper/lower limit alarm function, the specifying method of upper/lower limit
alarm value and the upper/lower limit alarm value specifying are set to "Unit Editor specifying", specify
upper limit value, lower limit value of upper/lower limit alarm.
Upper/lower limit alarm function can be separately conducted on every channel.
Upper/lower limit alarm function is conducted against the processing result of output data offset function.
"Output Data Offset Function", Page 3-26
If the upper/lower limit alarm clear relay is set to ON, upper limit relay, lower limit relay of upper/lower
limit alarm shall be forcedly set to OFF.
Upper limit relay, lower limit relay of upper/lower limit alarm and upper/lower limit alarm clear relay are assigned to the next relay.
Ch No. CH0 CH1 CH2 CH3
Upper limit relay for upper/lower limit alarm n + 400 n + 408 n + 500 n + 508
Lower limit relay for upper/lower limit alarm n + 401 n + 409 n + 501 n + 509
Upper/lower limit alarm clear relay n + 100 n + 108 n + 200 n + 208
n : Leading relay No.
Output data
3
Lower limit for
KV-SDA04
upper/lower limit alarm
Time
(3) (4)
Upper limit relay for
upper/lower limit alarm
(1)
(2) (5)
Lower limit relay for
upper/lower limit alarm
(1) KV-SDA04 Due to output data less than lower limit value of upper/lower limit alarm, lower limit
of upper/lower limit alarm is changed to ON.
(2) KV-SDA04 Due to output data exceeds lower limit value of upper/lower limit alarm, lower limit of
upper/lower limit alarm is changed to OFF.
(3) KV-SDA04 Due to output data exceeds upper limit value of upper/lower limit alarm, upper limit
of upper/lower limit alarm is changed to ON.
(4) KV-SDA04 Due to output data exceeds lower limit value of upper/lower limit alarm, upper limit of
upper/lower limit alarm is changed to OFF.
(5) KV-SDA04 Because output data is less than the upper lower limit warning lower limit value, the
upper lower limit warning lower limit relay is ON.
When you use DM selection to the upper lower limit warning (lower limit value) to
Point
update the setting, the upper lower limit warning upper limit (lower limit) relay
keeps the ON/OFF state obtained before the setting is updated.
(2) (4)
Upper lower limit warning
upper limit (lower limit) relay When output data
exceeds (is lower than)
3
upper and lower limit
(1) (3) alarm upper limit value
(lower limit value) on level
Reset relay for
KV-SDA04
With "output limit function", KV-SDA04 can output preset value in upper limit value/lower limit value
3
when output data exceeds upper limit value/lower limit value of upper/lower limit alarm. The value
KV-SDA04
currently saved in output data can not be output.
Output limit function can be set only when upper/lower limit alarm function is set.
Output data
When restriction function is ON
20000 Output value to DA unit
When restriction function is OFF
Output value to DA unit
10000
3
KV-SDA04
During error hold function, when KV-SDA04 changes to unit error status, stopping output to external or
continuing output to external can be set.
KV-SDA04
The PROG output function specifies whether the CPU unit should stop or continue output to an external
device when it enters the PROGRAM mode (ladder program execution stops).
PROG output, is the same as output : Outputs analog signal in the same way as in the RUN mode.
Setting Method
Create an interrupt project between END and ENDH.
CR2008
EI
INT
KV-SDA04
Interrupt program
An interrupt program is written between END and ENDH.
RETI
ENDH
Usage Example
This example shows direct output is performed for relay R35200 when CH0’s upper lower limit warning
upper limit is ON.
;(Mnemonics list)
CR2008
EI LD CR2008
When operation starts 1 EI
Scan ON END
INT #1 #0
END LD CR2002
SET DR35200
RETI
ENDH
INT
Unit No. Interrupt factor
#1 #0
KV-SDA04 CH0 upper
limit for upper/lower
limit alarm ON
CR2002 DR35200
SET
Always ON
RETI
ENDH
KV-SDA04
Buffer memory Output
Program output data 0
Program output data 1
Program output data 2
…
Output data
Scanning time
Analog signals that fluctuate at a higher speed than scanning time cannot be output.
• When program output is executed
Output data
Analog signals that fluctuate at a higher speed than scanning time can be output.
The unit's internal control cycle is the cycle in which D/A conversion occurs on
Point
each channel, and differs according to the number of channels used and whether
there is inter-unit synchronization.
"Program execution cycle setting (CH0: #769, CH1: #801, CH2: #833, CH3: #865)", Page 3-39
Output example
• Repeated output
A series of waves can be output repeatedly.
Output data
3
• Function generator
KV-SDA04
The output time for output data can be set individually in units of 10 µs minimum.
Output data
The output method is set in the control command in each piece of program output data.
Reference
"Program output data (common for all channels: #8192 to #40959)", Page 3-38
Program output function setting At the start the setting values for the whole function, such as the first
program output data to output and the execution cycle, are stored in the
buffer memory.
When program output stops, analog output starts at the output data value
Point
assigned to the data memory.
KV-SDA04
0: Stopped
#794 CH0 Program output status monitor R
1: Outputting
#795 CH0 Current data number monitor R 0 to 16383
#796 to #799 Reserved for system -
#800 to #831 CH1 Program output function setting R/W Equivalent to #768 to #799
#832 to #863 CH2 Program output function setting R/W Equivalent to #768 to #799
#864 to #895 CH3 Program output function setting R/W Equivalent to #768 to #799
0: Disabled
#896 CH0 Program output enabled R/W 1: Enabled
(default value: 0)
0: Disabled
#897 CH1 Program output enabled R/W 1: Enabled
(default value: 0)
0: Disabled
#898 CH2 Program output enabled R/W 1: Enabled
(default value: 0)
0: Disabled
#899 CH3 Program output enabled R/W 1: Enabled
(default value: 0)
#900 to #8191 Reserved for system -
Output data
#8192 to #40959 Program output data R/W
and control command
#40960 to #59999 Reserved for system -
Device
• Program output data (common for all channels: #8192 to #40959)
32 bits of data, including output data (16 bits), control command (2 bits), and supplementary command (14 bits).
16384 pieces of data can be stored, and each piece of data has a data number from 0 to 16383 assigned.
Program output data is common for all channels.
#40954 to Control
16381 Supplementary command Output data
#40955 command
#40956 to Control
16382 Supplementary command Output data
#40957 command
#40958 to Control
16383 Supplementary command Output data
#40959 command
Example
0(00): Stop output
Output automatically stops when program output data 19 has been output.
Output
Buffer Upper 16 bits Program output data 0
Data Lower
memory
number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 16 bits Program output data 1
address
#8192 to 1 Output
0 to 19 Supplementary command
…
#8193 0 1 data
3
#8232 to 0
20 - -
#8233 0 0 Program output data 19
Program output data 20 × stop
KV-SDA04
1(01): Specified cycle output
1 cycle of program output data 0 and 1 is output, and then 5 cycles of program output data 2 is output.
Output
Buffer Upper 16 bits Program output data 0
Data Lower
memory
number 16 bits
address 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Program output data 1
#8192 to 1 0 Output
0
#8193 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 data
#8196 to 1 4 Output
2
#8197 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 data Program output data 3
…
2(10): Jump to specified data number
Jumps to program output data 0 when program output data 20 has been output, and repeats the output.
Output
Buffer Upper 16 bits Program output data 0
Data Lower
memory
number 16 bits
address 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Program output data 1
#8192 to 1 Output
0 to 19 Supplementary command
…
#8231 0 1 data
#8232 to 2 0 Output
20
#8233 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 data Program output data 19
Program output data 20
Reference Program output data can be rewritten when desired during output.
• Start data number (CH0: #768, CH1: #800, CH2: #832, CH3: #864)
Sets the data number on which to start program output. By specifying the data number you can
execute the program data you want to on each channel. (Range: 0 to 16383 (default value: 0))
Only bits 0 to 13 are used.
If this is changed while the program output function is being executed, it forcibly jumps to the
program output data for the specified data number.
• Program execution cycle setting (CH0: #769, CH1: #801, CH2: #833, CH3: #865)
Sets the program output function update cycle. The update cycle changes as follows according to the
program execution cycle setting value (range: 1 to 255 (default value: 1)).
Program output update cycle = D/A conversion data updating period x Program execution cycle setting
The D/A conversion data updating period changes as follows according to the number of channels on
which D/A conversion is carried out.
"Updating Period for D/A Conversion Data", Page 3-7
D/A conversion data updating period = D/A conversion speed (10 µs) x Number of channels used
If inter-unit synchronous period is used, the program output update cycle may
Point
become longer during the inter-unit synchronous period idle time.
"Operation overview when executing the inter-unit synchronous period", Page 3-44
Example When D/A conversion is used on 2 channels, and updates in 100 ms cycles
Number of channels used 2
Program execution cycle setting 5
Program output update cycle = 10 µs x 2 x 5 = 100 µs
Only bits 0 to 7 are used.
Can be changed while the program output function is being executed.
• Interrupt data number setting (CH0: #770, CH1: #802, CH2: #834, CH3: #866)
A unit interrupt condition is generated when the program output data with the data number specified
3 in the interrupt data number setting is executed. (Range: 0 to 16383 (default value: 0))
"Unit Interrupt Function", Page 3-33
KV-SDA04
CH0 ①
Unit 1 0 1
buffer memory CH1
(program output enabled) 0 1
CH0
Unit 2 0 1
buffer memory CH1
(program output enabled) 0 1
B C ②
A
CH0 ③
Unit 1
analog output
CH1
CH0
Unit 2
analog output CH1
A = Program output update cycle : The time of the number of channels used x D/A conversion
speed (10 µs) x program execution cycle setting.
B = Synchronous refresh timeout time : The time of the inter-unit synchronous period x 0.2.
C = Internal processing time : Time for internal processing, fixed at 10 µs.
D = Idle time : The spare time calculated by dividing the inter-unit synchronous
period by the D/A data updating period. DA conversion stops.
3-40 - AD/DA Conversion Unit KV-SAD04/SDA04 User’s Manual -
3-2 Settings & Various Functions
(1) The UWRIT command is used to write 1 to program output enabled in the buffer memory in the
inter-unit synchronous module.
(2) After the sync timing, program output starts after the synchronous refresh timeout time + internal
processing time.
(3) At every program output update cycle, output is updated according to the program output data.
KV-SDA04
• Set the inter-unit synchronous period to a sufficient length, or write a UWRIT
command in the first inter-unit synchronous module, so the UWRIT command
to write 1 in program output enabled is executed within the synchronous
refresh timeout time.
If the UWRIT command is not executed within the synchronous refresh
timeout time, the program output start time may vary.
• When the program output function is used over multiple inter-unit
synchronous periods, the program output update cycle may become longer
during idle time.
• Program output status monitor (CH0: #794, CH1: #826, CH2: #858, CH3: #890)
Monitors the program output status. Read it using a UREAD command.
0: Stopped
1: Outputting
Only bit 0 is used.
• Current data number monitor (CH0: #795, CH1: #827, CH2: #859, CH3: #891)
When program output enabled is 1 (enabled), the data number being executed is stored.
When program output enabled is 0 (disabled), it is cleared at the start data number value.
Read it using a UREAD command.
• Program output enabled (CH0: #896, CH1: #897, CH2: #898, CH3: #899)
Write 01 to read setting data and start program output.
The program output function can be executed on multiple channels simultaneously.
Point To execute the program output function again, write 0 and then write 1.
Sample program
Rectangular waves with an ON width of 1 ms and an OFF width of 0.5 ms are output at the following settings.
Channel used :CH0 +5000
Number of channels used :1 channel Output data
+0
Program execution cycle setting :1
Start data number :10 1ms 0.5ms
Buffer Buffer
Data Control Output
memory Supplementary command memory
number command data
address address
3 10 #8213 0
1
1 0 0 0 0 0 0 0
99
1 1 0 0 0 1 1 #8212 +5000
4 0 6 3
KV-SDA04
1 48
11 #8215 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 #8214 +0
4 0 3 0
2 10
12 #8217 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 #8216 +0
8 0 0 A
MOV
$800A ZF5
Data 3_Upper
UWRIT
#1 #8212 ZF0 #6
Output data
setting complete
MR003 UWRIT
#1 #768 #10 #1
Program output
KV-SDA04 ch0 Start
function setting data number
UWRIT
#1 #769 #1 #1
MR004 UWRIT
#1 #896 #1 #1
Program output start
KV-SDA04 ch0 Program
output enabled
MR005 UWRIT
#1 #896 #0 #1
Program output stop
KV-SDA04 ch0 Program
output enabled
KV-SDA04
Designate the absence or presence of using the inter-unit synchronous period.
When set to "Use", designate the refresh timing of the unit.
Refresh timing Inter-unit synchronization: Refresh at a time of the synchronous
refresh immediately after the synchronous timing.
Batch (END processing): Refresh when END processing the main
routine program.
CH0 ①
Unit 1 2000 3000 4000
Refresh device
3
CH1
(Output data)
7000 5000 3000
CH0
Unit 2 20000 15000 12000
KV-SDA04
E D B C
CH0
CH0
A A
KV-SDA04
Change output data offset U_WROFST Change output data offset value. Page 3-48
Write scaling setting value U_WRSCL Write scaling setting value to buffer memory. Page 3-50
Write upper/lower limit alarm U_WRLMT Write upper/lower limit alarm value to buffer memory. Page 3-52
The processing independent of scanning time can be conducted by using unit specific
Reference
instruction.
Available Devices
Index
Indirect Local modification
Bit device Word devices Constant specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Note
n1 To specify unit No. (1 to 48). *1
n2 To specify analog output (0 to 3) channel or the device where channel is stored. *2
S To specify D/A conversion output data changed or the device storing the data. *2
Description of Operation
U_WRDA(.S) When execution condition is ON, read D/A conversion output data of channel
n2 of unit n1 to 1-word BIN value specified in S .
Operation flag
3
CR2012 • When unit No. specified in n1 is not KV-SDA04
• When channel No. of analog output specified in n2 exceeds 4
• Improper indirect specifying or index modification range
KV-SDA04
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When the first connected KV-SIR32XT's IN000 is ON, this program executes the interrupt program, and
changes the second connected KV-SDA04 CH0's D/A conversion output data to +1000.
;(Mnemonics list)
CR2008 LD CR2008
EI EI
When starting operation IEDGE.U #1 #0 #0
1 scan is ON END
INT #1 #0
LD CR2002
IEDGE KV-SIR32XT
U_WRDA.S #2 #0 +1000
Unit No. Input No. Detection condition
#0 RETI
#1 #0
ENDH
KV-SIR32XT
END
INT
Unit No. Interrupt factor
#1 #0
KV-SIR32XT R34000
U_WRDA.S KV-SDA04
CR2002
Unit No. CH No. Output data
#2 #0 +1000
Always ON
KV-SDA04
RETI
ENDH
Available Devices
Index
Bit device Word devices Constant Indirect Local modification
specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Note
n1 To specify unit No. (1 to 48). *1
n2 To specify analog output (0 to 3) channel or the device where channel is stored. *2
S To specify output data offset value or the device for storing the value. *2
Description of Operation
U_WROFST(.S) When execution condition is ON, change the special data offset of channel
n2 of unit n1 to 1-word BIN value specified in S .
Operation flag
3
CR2012 • When unit No. specified in n1 is not KV-SDA04
• When channel No. of analog output specified in n2 exceeds 4
• Improper indirect specifying or index modification range
KV-SDA04
* When CR2012 is ON, detailed error information of CM5100 to CM5176 will be stored.
KV-7000 Series User's Manual
Sample Program
When MR000 is ON, this program changes the first connected KV-SDA04's CH0 output data offset
value to +100.
;(Mnemonics list)
MR000 U_WROFST.S KV-SDA04
Unit No. CH No. Offset LD MR000
#1 #0 +100 U_WROFST.S #1 #0 +100
Available Devices
Index
Bit device Word devices Constant Indirect Local modification
specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Note
n1 To specify unit No. (1 to 48). *1
n2 To specify analog output (0 to 3) channel or the device where channel is stored. *2
S To specify the leading device for storing scaling setting value . *3*4
Description of Operation
U_WRSCL(.S) When execution condition is ON, write 2-word BIN data starting from S as
the scaling value into buffer memory of channel n2 of unit n1 .
KV-SDA04
@ U_WRSCL(.S) The instruction is performed only at the rising edge of condition.
Operation flag
Sample Program
When MR000 is rising edge, this program changes the first connected KV-SDA04's CH0 scaling upper
limit value to +1000 and scaling lower limit value to +50.
;(Mnemonics list)
MR000 MOV.S
+1000 DM0
LDP MR000
MOV.S +1000 DM0
Scaling upper MOV.S +50 DM1
limit U_WRSCL.S #1 #0 DM0
LDP MR000
MOV.S
OR R34001
+50 DM1 ANB DR34301
Scaling lower
OUT DR34001
limit
U_WRSCL.S KV-SDA04
Unit No. CH No. Scaling setting
#1 #0 DM0
Scaling upper
limit
R34001
Available Devices
Index
Bit device Word devices Constant Indirect Local modification
specifying device
Operand
MR DM EM
R DR LR T C CR FM ZF T C Z CM #/$ #TM * @ :#/:Z
B TM W
n1 - - - - - - - - - - - ○ - - - -
n2 ○ - ○ - - ○ ○ ○ ○ ○ ○ ○ - ○ ○ ○
S ○ - ○ - - ○ ○ - - - ○ ○ - ○ ○ ○
Operand Note
n1 To specify unit No. (1 to 48). *1
n2 To specify analog output (0 to 3) channel or the device where channel is stored. *2
S To specify leading device of the upper/lower limit alarm value saved. *3*4
• U_WRLMT command is only performed and upper/lower limit alarm value are
Point
not changed. Update setting Ladder is required.
"Change Setting Value via unit specific instruction", Page 3-21
• If executing U_WRLMT instruction, the value identical to the value written into
buffer memory is stored in DM assigned to upper/lower limit alarm value.
• In Unit Editor, if the upper lower limit warning value is set to "Unit Editor
selection", when it switches from the PROGRAM mode to the RUN mode, the
comparator setting value returns to the default value specified by Unit Editor.
Description of Operation
U_WRLMT(.S) When execution condition is ON, write 2-word BIN data starting from S as
the upper/lower limit alarm value into buffer memory of channel n2 of unit
n1 .
KV-SDA04
@ U_WRLMT(.S) The instruction is performed only at the rising edge of condition.
Operation flag
Sample Program
When MR000 is rising edge, this program changes the first connected KV-SDA04's CH0 upper limit
warning value to +950 and lower limit warning value to -100.
;(Mnemonics list)
MR000 MOV.S
+950 DM0 LDP MR000
MOV.S +950 DM0
Upper limit alarm MOV.S -100 DM1
U_WRLMT.S #1 #0 DM0
LDP MR000
MOV.S
OR R34001
-100 DM1 ANB DR34301
Lower limit alarm
OUT DR34001
U_WRLMT.S KV-SDA04
Unit No. CH No. Alarming value
#1 #0 DM0
Upper limit alarm
R34001
Change output data offset U_WROFST Change output data offset value. Page 3-56
Write scaling setting value U_WRSCL Write scaling setting value to buffer memory. Page 3-57
Write upper/lower limit alarm U_WRLMT Write upper/lower limit alarm value to buffer memory. Page 3-58
Point function
KV-SDA04
Specify analog output (0 to 3) channel
n2 Ch No.*4 .U .U .U .U - - - - ○ ○ ○
or the device where channel saved.
S Output data Specify output operation data or
*3*4 .S .S .S .S - - - - ○ ○ ○
save the data device.
R Return value None - - - - - - - - - - -
*1 "[ ]" can be omitted. If execution condition is omitted, the command will be always performed
(performed in every scanning).
*2 $ (HEX specifying) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit device are specified in n2 and S , continuous 16 bits will be processed. It is not
possible to specify any location other than the beginning of a channel (R002, R106, R1012,
etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, read D/A conversion data of channel n2 from the unit n1 and
store into S in BIN format.
● Format example
Programming script U_WRDA (MR000, 1, 0, +1000)
Description of Operation When MR000 is ON, changes the first connected KV-SDA04 CH0's D/A conversion
output data to +1000.
Ladder diagram
MR000 U_WRDA.S KV-SDA04
Unit No. CH No. Output data
#1 #0 +1000
Point function
*1 [ ] can be omitted (When the execution condition has been omitted, the instruction is
executed at all times (at every scan)).
*2 $(HEX specifying) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit device are specified in n2 and S , continuous 16 bits will be processed. It is not
possible to specify any location other than the beginning of a channel (R002, R106, R1012,
etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, read special data offset value specified in S as 2-word BIN data
from channel n2 of unit n1 .
● Format example
Programming script U_WROFST (MR000, 1, 0, +100)
Description of Operation When MR000 is ON, changes the first connected KV-SDA04's CH0 output data offset
value to +100.
Ladder diagram
MR000 U_WROFST.S KV-SDA04
Unit No. CH No. Offset
#1 #0 +100
Point function
KV-SDA04
Specify analog output (0 to 3) channel
n2 Ch No.*4 .U .U .U .U - - - - ○ ○ ○
or the device where channel saved.
S Leading Specify the leading device storing .S .S .S .S - - - - - ○ -
device No.*3*5 scaling setting value/ time data.
R Return value None - - - - - - - - - - -
*1 [ ] can be omitted (When the execution condition has been omitted, the instruction is
executed at all times (at every scan)).
*2 $(HEX specifying) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit device are specified in n2 , continuous 16 bits will be processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.).
Specify the beginning of a channel (R000, R100, R1000, etc.).
*5 When bit device are specified in S , continuous 16 x 2 bit are processed. It is not
possible to specify any location other than the beginning of a channel (R002, R106, R1012,
etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, write 2-word BIN value starting from S as the scaling setting
value into buffer memories of channel n2 of unit n1 .
● Format example
Programming script U_WRSCL (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, writes values of DM0 and DM1 as CH0's scaling setting value to
the first connected KV-SDA04's buffer memory.
Ladder diagram
MR000 U_WRSCL.S KV-SDA04
Unit No. CH No. Scaling setting
#1 #0 DM0
Point function
*1 "[ ]" can be omitted. If execution condition is omitted, the command will be always performed
(performed in every scanning).
*2 $(HEX specifying) can not be used.
*3 T, C, and Z cannot be specified.
*4 If bit device are specified in n2 , continuous 16 bits will be processed. It is not possible to
specify any location other than the beginning of a channel (R002, R106, R1012, etc.).
Specify the beginning of a channel (R000, R100, R1000, etc.).
*5 When bit device are specified in S , continuous 16 x 2 bit are processed. It is not
possible to specify any location other than the beginning of a channel (R002, R106, R1012,
etc.). Specify the beginning of a channel (R000, R100, R1000, etc.).
Description of Operation
When execution condition is ON, write 4-word BIN value starting from S as the comparator setting
value into buffer memories of channel n2 of unit n1 .
U_WRLMT command is only performed and upper/lower limit alarm value not
Point
changed.
Update setting Ladder is required.
"Change Setting Value via unit specific instruction", Page 3-21
● Format example
Programming script U_WRLMT (MR000, 1, 0, DM0)
Description of Operation When MR000 is ON, writes the values of DM0 and DM1 as CH0's upper lower limit
warning value to the first connected KV-SDA04's buffer memory.
Ladder diagram
MR000 U_WRLMT.S KV-SDA04
Unit No. CH No. Alarming value
#1 #0 DM0
Access Window
KV-SDA04 can be monitored, tested and its settings can be changed using the Access Window on the
CPU Unit.
The following items can be monitored and set on the Access Window. 3
KV-7500
KV-SDA04
REALTIME
Logic Controller
CARD
MENU ENTER
Analog conversion value Scaling upper limit value Output data offset value
Though some settings can be changed in the Access Window, basically use Unit Editor to change
settings.
When changing settings in the Access Window, change the CPU unit to PROGRAM
Reference
mode first.
3 The actual change in the setting (when the change takes effect) occurs when you switch
the CPU unit from the PROGRAM mode to the RUN mode.
KV-SDA04
Menu Structure
Output Offset
Scaling Disabled
Enabled Scaling H
Scaling L
U/L Lmt Alarm Disabled
Enabled U/L Lmt Alm. H
U/L Lmt Alm. L
Output Limit Disabled
Enabled
Setting CH1
Setting CH2
Setting CH3
The access window does not appear for the following items.
Point
• CH’s setting item with channel skip "Enable"
• Setting values that are set to "DM selection" by Unit Editor
• Function’s setting value and relay set to "Disabled"
The Access Window can be operated by the Setup key on the KV-700.
ENTER
Continuously pressing it for 1 second or more
at the setting screen goes to the setting
Changes settings when pressed for
1 second or longer. 3
change state.
KV-SDA04
Changes the selection or increases the
Switch page.
amount of change to the setting value.
Changes the selection or decreases the
Switch page.
amount of change to the setting value.
Displays the menu.
Selects the digit of the set value to change.
Select an item.
* The settings can only be changed when the CPU unit is in PROGRAM mode.
1 Press the direct access switch of the KV-SDA04 you want to monitor.
The direct access switch starts blinking, and the monitor Direct access switch
screen for CH0 on the KV-SDA04 you selected is displayed
on the Access Window.
KV-7500 KV-SDA04
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
ࢼࣟࢢ⟬್ $QDORJ'DWD REALTIME
Logic Controller
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ CARD
V0+
ࠉࠉࠉࠉࠉࠉ>9@ ࠉࠉࠉࠉࠉࠉ>9@ MENU ENTER I0+
CH0
COM
NC
CARD SW V1+
I1+
CH1
COM
USB NC
V2+
I2+
CH2
COM
NC
LINK V3+
I3+
CH3
COM
NC
NS
EtherNet/IP™
㺃タᐃ&+ 㺃6HWWLQJ&+
㺃タᐃ&+ 㺃6HWWLQJ&+ MENU ENTER
㺃ࣔࢽࢱ&+ 㺃0RQLWRU&+
㺃ࣔࢽࢱ&+ 㺃0RQLWRU&+
To return the CPU unit menu screen, either press the "MENU" key again, or press
Point
the direct access switch that is blinking.
For Access Window, see User's Manual of every CPU unit.
Setting Screen
The following describes the procedure for changing the settings of the KV-SDA04 using the Access
Window of the CPU Unit.
Point The settings can only be changed when the CPU unit is in PROGRAM mode.
3
How to Change Settings
KV-SDA04
1 Select "the channel to be set" in the menu screen using the "" and "" keys, and press the
"ENTER" key.
The selected channel's channel skip setting screen appears.
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
&+ࢫ࢟ࢵࣉ &KDQQHO6NLS MENU ENTER
ࠉࠉࠉࠉࠉࡋ࡞࠸ ࠉࠉࠉࠉ'LVDEOH
2 Use the ""/"" keys to select the scaling upper limit value screen.
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
5 Each press of the "" key increments the increment/decrement value, while each press of the
"" key decrements the increment/decrement value.
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್ 6FDOLQJ+ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉࠉࠉ
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
㺛㺗㺎㺶㺻㺖㺼ୖ㝈್
ࠉࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ
6FDOLQJ+
ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉࠉ
MENU ENTER
3
KV-SDA04
6 To apply the setting, hold down the "ENTER" key for at least one second.
Scaling upper limit value has been set.
• Setting change is possible only when the CPU unit is in the PROGRAM mode;
Point
the change is not possible in the RUN mode.
• If the specifying method of setting value is set to "DM selection", it can not be
changed.
Monitor Screen
This following describes the procedure for monitoring the settings of the KV-SDA04 using the Access
Window of the CPU Unit.
"ENTER" key.
Display the monitor image of analog output data of the selected channel.
.96'$ࠉࠉ&+ .96'$ࠉࠉ&+
ࢼࣟࢢ⟬್ $QDORJ'DWD MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉࠉ>9@ ࠉࠉࠉࠉࠉࠉ>9@
2 Select the display data you want to monitor by the "" or "" keys.
Unit Test
The following describes the procedure for testing analog output of the KV-SDA04 using the Access
Window of the CPU Unit.
Point Unit test is possible only when the CPU unit is in the PROGRAM mode.
Checking is also possible even when a project containing unit configuration setting
3
Reference
performed by KV STUDIO is not transferred to the CPU unit.
KV-SDA04
How to Perform Testing
2 Use the ""/"" key to select "3.Unit Test", and then press then "ENTER" key.
The following screen appears.
ᣑᙇࣘࢽࢵࢺࡀ 8QLWZLOO
ືసṆࡋࡲࡍࠋ VWRSZRUNLQJ MENU ENTER
⥆⾜ࡋࡲࡍ㸽 &RQWLQXH"
ࠉࠉࠉࠉࠉ(17(5 ࠉࠉࠉࠉࠉ(17(5
.96'$ .96'$
㺃ࢸࢫࢺ 㺃7HVW
㺃タᐃ 㺃6HWWLQJ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
5 Use the ""/"" key to select ". Test", and then press then "ENTER" key.
MENU ENTER
.96'$ .96'$
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉࠉ>9@ ࠉࠉࠉࠉࠉࠉ>9@
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
.96'$ࠉࠉ .96'$ࠉࠉ
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
.96'$ࠉࠉ .96'$ࠉࠉ
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
9 Pressing the "" key increases the value, and pressing the "" key decreases it.
.96'$ࠉࠉ .96'$ࠉࠉ
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
.96'$ࠉࠉ .96'$ࠉࠉ
&+ࠉࢼࣟࢢ &+$QDORJ MENU ENTER
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
ࠉࠉࠉࠉࠉ ࠉࠉࠉࠉࠉ
10To confirm, continuously press the "ENTER" key for 1 second or more.
The analog output value is set.
MENU ENTER
Reference If you select ". Setting", you can change the output range from "-10 to +10V/0 to 20mA".
Unit Test is possible only when the CPU unit is in the PROGRAM mode; the
Point
change is not possible in the RUN mode.
Unit Monitor is a window for optimal display of the value of relay or DM used in monitor unit according to
different units. 3
The Unit Monitor has the following functions:
KV-SDA04
• DMs and relays currently assigned to each unit can be displayed in the registering sequence.
• Each unit has provided display formats and layout templates for convenient monitoring.
• The selected unit can be monitored simply by selecting the unit to monitor without having to worry
about relay or DM assignment status.
Point Unit Monitor can only be selected from Monitor or edit menu.
Other procedure
Brief display
(2) D/A conversion indicator (1) Unit information
(3) Display CH
3 (4) Output range display
KV-SDA04
(8)"Details" button
*About "read setting" button, "updating setting" button, please see the next page.
Detailed display
Status of every function can be monitored and setting value changed after detailed display.
• If one function is set to "disabled", and "---" will be shown, this function cannot
Point
be monitored or changed.
• If the specifying method is set to "Unit Editor specifying", the background of
the function setting value is grey and cannot be changed (setting updated).
• If its specifying method is set to "DM selection", the background of its function
setting value is white and can be changed (setting updated). 3
KV-SDA04
(1) Scaling
(5) "Update
setting" button
After "Unit Monitor" is started, setting value (DM selection) updated via Ladder
Point
cannot be mapped in the "Unit Monitor". Please press the "Read setting" button,
updating to the latest message.
MEMO
3
KV-SDA04
This section describes the functional difference between A/D conversion units of KV-SAD04, KV-AD40V,
KV-AM40V, KV-AD40G, and KV-AD40.
Yes No No
instructions
DM selection of setting value Yes Yes Yes Yes No
Yes Yes*2 Yes*2 Yes*2 Yes*2
Scaling function (-32000 to (-32000 to (-32000 to (-30000 to (-32000 to
32000) 32000) 32000) 30000) 32000)
Special data offset function Yes Yes Yes Yes No
Zero drift function Yes Yes Yes Yes No
Simple averaging Yes Yes Yes Yes Yes
count (2 to 60000) (2 to 60000) (2 to 60000) (3 to 65000) (2 to 62500)
Simple averaging Yes Yes Yes Yes Yes
Averaging time (1 to 1500) (1 to 1500) (1 to 1500) (1 to 3000) (2 to 5000)
function Yes Yes Yes Yes
Moving average No
(2 to 2048) (2 to 64) (2 to 64) (2 to 1000)
First-order lag
No No No Yes No
filtering
Comparator function Yes Yes Yes Yes Yes
Peak/Bottom hold function Yes Yes Yes Yes Yes
Wire break detection function Yes Yes Yes Yes Yes
Buffer function Yes No No Yes*3 Yes
External trigger input No No No Yes Yes
No. of analog input channels 4 4 2 4 4
*1 Direct refresh/unit specific instruction are not supported when connecting with KV-1000/700.
*2 Setting is not possible when scaling upper limit value ≦ scaling lower limit value.
*3 KV-SAD04 and KV-AD40G differ in how they use the buffering function.
This section describes the functional difference between D/A conversion units of KV-SDA04, KV-DA40V,
KV-AM40V, and KV-DA40.
APPENDICES
Yes Yes*2 Yes*2 Yes*2
Scaling function
(-32000 to 32000) (-32000 to 32000) (-32000 to 32000) (-32000 to 32000)
Output data offset function Yes Yes Yes No
Upper/lower limit alarm
Yes Yes Yes Yes
function
Output limit function Yes Yes Yes Yes
Error hold function Yes Yes Yes Yes
Program output function Yes No No No
No. of analog input channels 4 4 2 4
*1 Direct refresh/unit special instruction are not supported when connecting with KV-1000/700.
*2 Setting is not possible when scaling upper limit value ≦ scaling lower limit value.
When an error occurs on the KV-SAD04, the direct access switch lights (red). At this time, the error
code can be displayed on the access window of the CPU Unit by pressing the direct access switch on
the KV-SAD04. When error occurs in KV-SAD04, error relay (leading relay No. +315) is ON, and error
code is stored in DM (leading No.+20) in DEC.
In this case, error causes must be remedied and the status of error relay (leading relay No.+15) must
be changed from OFF to ON.
Operation will continue for the non-system error.
Error
Error message Causes Remedy
Code
APPENDICES
When an error occurs on the KV-SDA04, the direct access switch lights (red). At this time, the error
code can be displayed on the access window of the CPU Unit by pressing the direct access switch on
the KV-SDA04. When error occurs in KV-SDA04, error relay (leading relay No. +315) is ON, and error
code is stored in DM (leading No.+14) in DEC.
In this case, error causes must be remedied and the status of error relay (leading relay No.+15) must
be changed from OFF to ON.
Operation will continue for the non-system error.
Error
Error message Causes Remedy
APPENDICES
Code
Can not read from the internal storage
100 System abnormal
unit (EEPROM)
Consult your nearest agent.
The correcting data saved in internal
110 System abnormal
storage unit (EEPROM) is abnormal.
"Channel skip setting" is set to
330 Without valid channel All channels are set to "Enable".
"disabled" for at least one ch.
Scaling value setting Scaling upper/lower limit are set outside
50x
error of range.
Upper/lower limit Alarm upper/lower limit are set outside Please carry out setting
53x
alarm setting error of range. updating after it is set correctly.
Alarm upper/lower limit Upper limit < lower limit of upper/lower
54x
setting error limit alarm.
Please carry out setting
Setting updating is executed without a
550 Setting update error updating after changing to DM
setting item by DM selection.
selection.
A I
A/D Conversion(SAD04) . . . . . . . . . . . . . . . . . . 2-5 Input wiring of the terminals and internal circuit
A/D conversion data (SAD04) . . . . . . . . . . . . 2-19 diagram (SAD04) . . . . . . . . . . . . . . . . . . . . . .2-3
A/D conversion data updating period (SAD04) . . . . 2-7 Internal circuit diagram(SAD04) . . . . . . . . . . . . .2-5
A/D conversion table (SAD04) . . . . . . . . . . . . . 2-7 Internal circuit diagram (SDA04) . . . . . . . . . . . .3-5
About inspection and maintenance (common) . . . . 1-10 Inter-unit synchronous period . . . . . . . . 2-57, 3-43
Access Window (SAD04) . . . . . . . . . . . . . . . . 2-84
Access Window (SDA04) . . . . . . . . . . . . . . . . 3-59
Analog data(SAD04) . . . . . . . . . . . . . . . . . . . . 2-19 K
Analog data (SDA04) . . . . . . . . . . . . . . . . . . . 3-17
Averaging function (SAD04) . . . . . . . . . . . . . . 2-32 KV-5000/3000 System Configuration
APPENDICES
(Common) . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
KV-SAD04 Function Block Diagram . . . . . . . .2-27
B KV-SDA04 Functional Block Diagram . . . . . . .3-23
Maintenance(common) . . . . . . . . . . . . . . . . . .1-10
D
Monitor Screen (SAD04) . . . . . . . . . . . . . . . . .2-89
Monitor Screen (SDA04) . . . . . . . . . . . . . . . . .3-64
D/A Conversion (SDA04) . . . . . . . . . . . . . . . . . 3-5 Mounting onto the CPU Unit (common) . . . . . . .1-9
D/A conversion table (SDA04) . . . . . . . . . . . . . 3-7 Mounting/Removing the Analog I/O Terminal Block
D/A conversion data updating cycle (SDA04) . . . . . 3-7 (Common) . . . . . . . . . . . . . . . . . . . . . . . . . . .1-7
Dimension Diagram(SAD04) . . . . . . . . . . . . . . 2-3
Displaying Unit Monitor Window (SAD04) . . . 2-91
Displaying Unit Monitor Window (SDA04) . . . 3-67 N
APPENDICES
U_WRSCL (SDA04) . . . . . . . . . . . . . . . 3-50, 3-57
List of Relays (SDA04) . . . . . . . . . . . . . . . . . . 3-18
W
S
Wire break detection function (SAD04) . . . . . .2-45
Scaling function (SAD04) . . . . . . . . . . . . . . . . 2-31 Wiring connector type expansion units . . . . . . .1-8
Scaling function (SDA04) . . . . . . . . . . . . . . . . 3-25
Setting Items list on Unit Editor (SAD04) . . . . 2-15
Setting Items List on Unit Editor (SDA04) . . . 3-13 Y
Setting Screen (SAD04) . . . . . . . . . . . . . . . . . 2-87
Setting Screen (SAD04) . . . . . . . . . . . . . . . . . 3-62
Zero clipper function (SAD04) . . . . . . . . . . . . .2-30
Setting the Leading Device (SAD04) . . . . . . . 2-28
Zero drift function (SAD04) . . . . . . . . . . . . . . .2-38
Setting the Leading Device (SDA04) . . . . . . . 3-24
Setup input range (SAD04) . . . . . . . . . . . . . . 2-29
Setup output range (SDA04) . . . . . . . . . . . . . 3-25
Special data(SAD04) . . . . . . . . . . . . . . . . . . . 2-19
Special data offset function (SAD04) . . . . . . . 2-36
Specification (SAD04) . . . . . . . . . . . . . . . . . . . 2-2
Specification (SDA04) . . . . . . . . . . . . . . . . . . . 3-2
System Configuration (common) . . . . . . . . . . . 1-4
E 1101-3
Copyright (c) 2015 KEYENCE CORPORATION. All rights reserved. 084310E 1097-4 452GB Printed in Japan