DELTA DVP-EH, DVP04AD-H User Manual

查询DVP04AD-H供应商
).
LSB
~+4000
). Current setting
=20mA/4000=5µA.
LSB
LSB
LSB
~+16000
LSB
10000000
(current). When this value under this
LSB
Reserved
~+6400
LSB
=10V/8000=2.5mV. 2. Current input: 1
LSB
Reserved CH4 CH3 CH2 CH1
When b0=1, inhibit user to adjust OFFSET and GAIN value of CH1 (CR#18,
CR#24).
(not latched).
1. When b0=0, user can set OFFSET and GAIN value of CH1 (CR#18, CR#24).
2. b1 means if characteristic register is latched. b1=0 (factory setting, latched), b1=1
b0: 4800 bps (bit/sec). b1: 9600 bps (bit/sec). (factory setting)
b2: 19200 bps (bit/sec). b3: 38400 bps (bit/sec).
b4: 57600 bps (bit/sec). b5: 115200 bps (bit/sec).
b6-b13: reserved.
b14: exchange low and high byte of CRC check code (only for RTU mode)
Display the present value of CH3~CH4 input signal
input signal
input signal
input signal
R Present value of CH2
R Present value of CH3
R Present value of CH4
Latched Register name b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
RS-485
address
Parameter
DVP04AD-H analog signal input module Explanation
CR
No.
#13 H 400D
#14 H 400E
#15 H 400F
#16 ~ #17 Reserved
Offset setting of CH1~CH4. Factory setting is K0 and unit is LSB.
Voltage input: setting range is K-4000 ~K4000
Current input: setting range is K-4000 ~K4000
value of CH1
value of CH2
value of CH3
value of CH4
R/W To adjust OFFSET
R/W To adjust OFFSET
R/W To adjust OFFSET
#18 H 4012
R/W To adjust OFFSET
#19 H 4013
#20 H 4014
#21 H 4015
#22 ~ #23 Reserved
GAIN setting of CH1~CH4. Factory setting is K4000 and unit is LSB.
Voltage input: setting range is K-3200 ~K16000.
Current input: setting range is K-3200 ~K10400.
of CH1
of CH2
of CH3
R/W To adjust GAIN value
R/W To adjust GAIN value
R/W To adjust GAIN value
#24 H 4018
R/W To adjust GAIN value
#25 H 4019
#26 H 401A
#27 H 401B
Setting RS-485 communication address. Setting range is 01~255 and factory setting
is K1
It is used to set communication baud rate (4800, 9600, 19200, 38400, 57600,
115200bps). Communication format: ASCII mode is 7Bit, even bit, 1 stop bit (7 E 1).
address setting
R/W Communication
#31 H 401F
Communication format of RTU mode is 8Bit, even bit, 1 stop bit (8 E 1).
rate setting
R/W Communication baud
#32 H 4020
details.
of CH4
R Error status The data register used to save all error status. Please refer to fault code chart for
#28 ~ #29 Reserved
#30 H 401E
b15: ASCII / RTU mode selection
Factory setting is H0000.
Give CH1 setting for example:
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
setting and set
characteristics
adjustable priority
R/W Reset to factory
#33 H 4021
3. When b2 is set to 1, all settings will reset to factory setting.
R Software version It is hexadecimal to display software version. For example: H 010A means 1.0A.
means latched.
#35~#48 System used
#34 H 4022
LSB (Least Significant Bit): 1. Voltage input: 1
means not latched.
R means can read data by using FROM instruction or RS-485.
W means can write data by using TO instruction or RS-485.
is extension module.
channel has four modes to set and can be set individually. For example: if setting CH1 to mode 0
(b2~b0=000), CH2 to mode 1(b5~b3=001), CH3: mode2 (b8~b6=010), CH4: mode
3(b11~b9=011). It needs to set CR#1 to H0688 and the upper bit (b12~b15) will reserved. The
factory setting of CR#1 is H0000.
factory setting is K10.
CR#2~CR#5 (average time of CH1~CH4 input signal). For example, if CR#2 (the average times
Explanation:
1. CR#0: The content of CR#0 is model type, user can read the data from program to know if there
2. CR#1: CR#1 is used to set 4 internal channels working mode of analog input module. Every
of CH1) is 10, it will calculate the average of CH1 input signal every 10 times.
3. CR#2 ~ CR#5: it is used to set average times of CH1~CH4. Setting range is K1~K4096 and
4. CR#6 to CR#9 are the average value that calculates according to the value that is set in
input voltage or current is 0 after it transfers from analog to digital. Voltage setting range:
5. CR#10, CR#11, CR#16, CR#17, CR#22, CR#23, CR#28, CR#29 reserved.
6. CR#12 ~ CR#15: display present value of CH1~CH4 input signal.
7. CR #18~ CR #21: the content is the value of adjusting OFFSET value of CH1~CH4 if analog
). But please be noticed GAIN VALUE – OFFSET
LSB
~+10400
(voltage) or +800
LSB
). Current setting range: -20mA~+20mA (-4000
LSB
~+4000
LSB
-5V~+5V(-4000
LSB
~+12000
LSB
range: -16mA~+52mA(-3200
range, the resolution of the input signal will be thin and the variation of value will be larger. When
this value exceeds this range, the resolution of input signal will be thick and the variation of value
VALUE = +800
signal to digital is 4000. Voltage setting range: -4V~+20V(-3200
will be smaller.
8. CR #24~ CR #27: means analog input voltage or current when conversion value from analog
the same time. 0 means normal and 1 means having fault.
Fault description Content b15~b8 b7 b6 b5 b4 b3 b2 b1 b0
Power source abnormal K1(H1) 0 0 0 0 0 0 0 1
Analog input value error K2(H2) 0 0 0 0 0 0 1 0
Setting mode error K4(H4) 0 0 0 0 0 1 0 0
Offset/Gain error K8(H8) 0 0 0 0 1 0 0 0
Hardware malfunction K16(H10) 0 0 0 1 0 0 0 0
Digital range error K32(H20) 0 0 1 0 0 0 0 0
Average times setting error K64(H40) 0 1 0 0 0 0 0 0
Instruction error K128(H80)
Note: Each fault code will have corresponding bit (b0~b7). Two or more faults may happen at
9. CR#30 is the fault code. Please refer to the chart below.
terminal of power
terminal of analog
out between V+ and I+ terminals.
power wiring.
Note 1: Please isolate analog input and other
Note 2: If connect to current signal, please short
2.3 External wiring
to ground.
Note 3: If noise is significant, please connect FG
CH1
104.7K
AG
104.7K
250
I+
V+
FG
COM
CH1
*5
shielding cable*1
-10V~+10V
voltage input
module and
Note 4: Please connect
CH4
104.7K
104.7K
250
I+
V+
FG
COM
*2
CH4
-20mA~+20mA
current input
input module to system earth point and
AG
*3
shielding cable*1
make system earth point be grounded
terminal of power module
or connects to machine cover.
+15V
DC/DC
24+
wire input terminal is significant, please
Note 5: If the noise interference from loaded
-15V
AG
converter
24-
*4
System Grounding
connect a capacitor with 0.1~0.47µF
Class 3 Grouning
or less)
(100
25V for noise filtering.
terminal ●.
Warning: DO NOT wire to the No function
STANDARD SPECIFICATIONS
3
3.1 Function Specifications
=5 µA)
LSB
=1.25 mV) 13 bits (1
LSB
24 VDC(20.4VDC~28.8VDC) ( –15%〜+20%)
±10V ±20 mA
±8000 ±4000
Power supply voltage
Analog input channel 4 channel / each module
Analog input range
Digital conversion range
Analog/ Digital (4A/D) module Voltage input Current input
Resolution 14 bits(1
Power Specification
200 KΩ or above 250Ω
±0.5% of full scale of 25(77℉)
±1% of full scale during 0~55 (32~131℉)
3 ms × channels
It has isolation between digital area and analog area. There is no
isolation among channels.
±15 V ±32 mA
Input impedance
Overall accuracy
Response time
Isolation Method
Absolute input range
Either in ASCII or in RTU mode, communication rate can be 4800
/9600 /19200 /38400 /57600 /115200. Communication format of ASCII
mode is 7Bit, even bit, 1 stop bit (7 E 1). Communication format of
RTU mode is 8Bit, even bit, 1 stop bit (8 E 1). Can’t use RS-485 if the
connection to PLC MPU is in series.
If DVP04AD-H modules are connected to MPU, the modules are
Digital data format 2’s complementary of 16-bit, 13 Significant Bits
Average function Yes (CR#2~CR#5 can be set and setting range is K1~K4096)
Self diagnose function Upper and lower bound detection / channels
Communication mode
(RS-485)
numbered from 0 – 7. 0 is the closest and 7 is the furthest to the MPU.
Connect to DVP-PLC MPU
8 modules is the max and they do not occupy any digital I/O points of
the MPU.
in series
3.2 Other Specification
24 VDC(20.4VDC~28.8VDC) ( –15%~+10%), 2W, supply from
Max. Rated Consuming Power
Environment Condition
external power
Environment Condition Follow the DVP-PLC MPU
CR (Control Register)
Spec. of Prevent Static Electricity All places between terminals and ground comply with the spec.
DVP04AD-H analog signal input module Explanation
4
Reserved CH4 CH3 CH2 CH1 #1 H 4001
Mode 0: input voltage mode (-10V~+10V).
Mode 1: input voltage mode (-6V~+10V).
Mode 2: input current mode (-12mA~+20mA)
Mode 3: input current mode (-20mA~+20mA)
Input mode setting: factory setting is H0000.
R Model type System used. DVP04AD-H model code =H 400
R/W Input mode setting
Latched Register name b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
RS-485
address
Parameter
#0 H 4000
CR
No.
Mode 4: none use.
The number of readings used for calculating “average” temperature on channels
R/W CH1 average times
#2 H 4002
R/W CH2 average times
#3 H 4003
CH1~CH4. Setting range is K1~K4096 and factory setting is K10.
R/W CH3 average times
R/W CH4 average times
#4 H 4004
#5 H 4005
R average value of CH1
#6 H 4006
Display average value of CH1~CH4 input signal
input signal
input signal
input signal
R average value of CH2
R average value of CH3
#7 H 4007
#8 H 4008
R average value of CH4
#9 H 4009
Display present value of CH1~CH2 input signal
input signal
input signal
R present value of CH1
#10 ~ #11 Reserved
#12 H 400C
DVP04AD-H
Instruction Sheet
Analog Input Module
WARNING
P: for EP series MPU
Production year (2004)
H: for EH series MPU
Production Model
Production place (Taoyuan)
unit/extension module
7. Mounting hole
9. Mounting port to connect extension
XA: A/D , D/A Functions
RT: Resistor Thermocouple
HC: High speed count input module
PU: single axis positioning unit
04AD-H0T4120001
1.25mV or 5 A
20.4VDC ~ 28.8VDC
-10V ~ +10V or -20mA ~+20mA
Serial NumberModel
VX.XX
Barcode
Model Name
Input power supply spec.
Analog in put/output module spec.
Production week
S: for SS series MPU
Model type
AD: Analog input module
DA: Analog output module
PT: Platinum temperature sensors(PT-100)
Input+Output point
requirements of IEC 61131-2 (UL 508) when installed in the enclosure to prevent high
temperature, high humidity, exceessive vibration, corrosive gases, liquids, airbome dust or
metallic particles. Also, it is equipped with protective methods such as some special tool or key to
open the enclosure, in order to prevent the hazard to users and the damage to the DVP04AD-H.
This is an OPEN-TYPE built-in DVP04AD-H, and the DVP04AD-H is certified to meet the safety
The DC input power must be OFF before any maintenance.
http://www.delta.com.tw/products/plc.asp
DVP-EH
Please carefully read this instruction thoroughly prior to use the DVP04AD-H.
1
Do not connect the AC power to any of the input/output terminals, or it may damage the
DVP04AD-H. Make sure that all the wiring is well conducted prior to power on.
Do not touch the internal circuit for at least 1 minute after the power OFF.
Make sure that the DVP04AD-H is properly grounded , to prevent any electromagnetic noise.
2
4-point analog signal input (voltage or current) and converts it into 14 bits digital signal. The
analog input module of DVP04AD-H series can read/write the data of analog input module by
using instructions FROM / TO via DVP-PLC EH Series MPU program. There are 49 CR (Control
Register, each register has 16-bit) in each module.
Thank you for choosing DELTA’s PLC DVP Series. The analog input module receives external
2.1 Model Explanation and Peripherals
(resolution is 1.25 mV). Current input range is ±20 mA (resolution is 5 µA).
Software version of DVP04AD-H analog input module can be updated via RS-485 communication.
Users can select input from voltage or current via wiring. Voltage input range is ±10V DC
Nameplate Explanation
Model Explanation
Product Series
TC: Thermocouple sensors(Type J/K)
unit/extension module
1. DIN rail track (35mm) 6. Terminals
2. Mounting hole for wire to connect extension
3. Model name 8. Terminal layout
4. Indicator for power, error and run status
5. DIN rail clip
2.2 Product Profile and Outline
R
Pulse
Pulse
execution
Applicable model
ES EP EH
TOP
execution
DTOP
CR #5
CR #6
CR #7
CR #8
CR #9
Specif ied CR
CR #10
K1
K0 K2 D0DTO
X0
that connects to PLC MPU. The numbering order of special module from the
near to the distant of MPU is from 0 to 7. The maximum is 8 special modules
and won’t occupy I/O point.
m1: arrangement number of special module. The number of special module
The rule of instruction operand:
Footnote
Specifie d CR nu mber
Lower 16-bit
CR #10 CR #9
Upper 16-bit
one time. If using DFROM/DTO instruction, the unit of read/write of CR is two
included.
If using FROM/TO instruction, the unit of read/write of CR is one number for
numbers in one time.
is called CR (Control Register). The number of CR uses decimal digital
(#0~#48). All running status and setting values of special module has
m2: the number of CR. Built in 16-bit of 49 groups memory of special module
Specified device
Specif ied C
Specified device
(Access16-bit if n=2, or 32-bit if n=1. Same controlled registers are accessed).
D0D1D2D3D4
CR #5
CR #6
CR #7
CR #8
CR #9
D0D1D2D3D4
D5
CR #10
D5
32-bit command when n=3
16-bit command when n=6
executed, all interrupts (including external or internal interrupt subroutines) will be
disabled. All interrupts will be executed after completing FROM/TO instruction.
Besides, FROM/TO instruction also can be executed in the interrupt subroutine.
In ES series models, flag M1083 is not provided. When FROM/TO instruction is
subroutines) will be disabled when FROM/TO instruction is executed. The
a. When M1083=Off, all interrupts (including external or internal interrupt
series models:
The function of the flag M1083 (FROM/TO mode exchange) provided in EP/EH
Interrupts will resumed after FROM/TO instruction complete. Please be
advised FROM/TO instruction can be executed in the interrupt subroutine.
instruction are executing, the interrupt FROM/TO instruction will be
blocked till the requested interrupt finish. Unlike M1080 off situation,
FROM/TO instruction cannot be executed in the interrupt subroutine.
b. When M1083=On, if an interrupt enable occurs while FROM/TO
Continuous
32-bit instruction (17 STEPS)
is 0~7.
1
execution
DTO
: ES/EP: 0-48,
2
Special module CR
data write in
16-bit instruction (9 STEPS)
Continuous
execution
TO
to insert interrupt during
Flag: When M1083=On, it allows
FROM/TO.
Refer to following for detail.
: the data to write in CR. : the
FROM K0 K24 D0 K2
P
when X0=Off and the content of previous reading data won’t change.
X0
The instruction will be executed when X0=On. The instruction won’t be executed
TO
D
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D E F
79
API
LSB
: When assigning bit operand, K1~K4 can be used for 16-bit and K5~K8 can
data number to write in one time.
¼ ¼
¼ ¼
¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼
¼ ¼
The usage range of operand m
1
m
Note: The usage range of operand m
2
n
S
m
For ES series, it doesn’t support pulse
EH: 0-254.
1~(49-m2), EH: 1~(255-m2).
The usage range of operand n: ES/EP: n=
execution instruction (TOP, DTOP)
of special module that will be wrote in.
: the number of special module. : the number of CR (Control Register)
Command
Explanation
be used for 32-bit.
CR#2 of special module#0. It only writes a group of data in one time (n=1).
X0=Off. The data that wrote in previous won’t have any change.
DVP-series PLC uses this instruction to write data into CR of special module.
Using 32-bit instruction DTO, program will write D11 and D10 into CR#3 and
The instruction will be executed when X0=On and it won’t be executed when
Program
Example
Pulse
32-bit instruction (17 STEPS)
execution
DFROMP
execution
DFROM
Flag: When M1083=On, it allows to
: ES/EP:
is 0~7.
2
1
insert interrupt during
Continuous
FROM/TO.
Refer to following for detail.
: the location to save reading data. : the
OFFSET value will of
LSB
input mode no. 0 and set CH2 to
mode 3 (current input: -20 mA ~
+20mA)
Writing H18 to CR#1 of analog
Writing H0 to CR#33 and allow to
On, K400
adjust characteristics of CH4.
of GAIN value will be wrote in
CR#25.
be wrote in CR#19 and K3600
When X0 switches from Off to
K1
H18
K1
K1
H0 K1
K400
K3600
K33
K25
K19
K1
D0
K0
K0
FROM
H3030
K0 K1 K1
TO
K2
K32
K2
K0
TO
K4FROM
D20
K6
K0
ES EP EH
Applicable model
Read special module
CR data
END
16-bit instruction (9 STEPS)
Pulse
execution
FROMP
Continuous
execution
FROM
K0
K0
K0
K0 K1
TO
TO
TO
TO
supply is lower than 19.5V, ERROR LED will blink continuously till the power supply goes
higher than 19.5V.
LED should blink.
LED should blink.
1. When power is on, POWER LED will be lit and ERROR LED will be lit for 0.5 second.
2. Normal run: POWER LED should be lit and ERROR LED should turn off. When power
3. When it connects to PLC MPU in series, RUN LED on MPU will be lit and A/D LED or D/A
M1002
X0
6 INITIAL PLC START-UP
Lamp display:
4. After receiving the first RS-485 instruction during controlling by RS-485, A/D LED or D/A
M1000
than lower bound.
5. After converting, ERROR LED should blink if input or output exceeds upper bound or lower
Example:
= H400 D0
= H400 D0
M1002
P
The usage range of operand m
0-48, EH: 0-254.
The usage range of operand n: ES/EP: n=
data number of reading one time.
special module that will be read.
ES series model doesn’t support pulse
1~(49-m2), EH: 1~(255-m2).
: the number for special module. : the number of CR (Control Register) of
for 32-bit.
DVP-series PLC uses this instruction to read CR data of special module.
: When assigning bit operand, K1~K4 are used for 16-bit and K5~K8 are used
FROM
D
X Y M S K H KnX KnY KnM KnS T C D E F
78
Bit device Word device
¼ ¼
1
m
Note: The usage range of operand m
¼ ¼
2
n ¼ ¼
D ¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼
m
Command
Explanation
(DVP04AD-H model type).
Explanation:
Read the data of model type from extension module K0 and distinguish if the data is H400
If the model type is DVP04AD-H, M11 is on and the setting input mode is (CH1, CH3)= mode 0,
(CH2, CH4)= mode 3.
Set the number of times for average of CH1 and CH2 are K32.
7 RELATED INSTRUCTIONS EXPLANATION
API
Read the input signal average value of CH1~CH4 (4 data) and saved into D20~D23.
content of CR#25 of special module#0 to D1 of PLC. It can read 2 data in one time
(n=2).
To read the content of CR#24 of special module#0 to D0 of PLC and to read the
Program
Example
)
)
LSB
LSB
~ +10400
~ +4000
LSB
LSB
LSB
)
LSB
~ +6400
LSB
output value is 0. Setting range is-16
output is +4000. Setting range is -20
mA ~+52 mA (-3200
mA~+20 mA (-4000
Setting range is +4mA ~ +32mA
(800
Output
),
),
)
LSB
LSB
LSB
OFFSET=0V (0
)
LSB
OFFSET=2V (1600
output is 4000. Setting range is
)
LSB
~ +16000
LSB
-4V~+20V (-3200
~
LSB
),
)
LSB
LSB
)
~ +12000
LSB
LSB
+4000
Setting range is +1V~+15V
output is 0.
(+800
Setting range: -5V~+5V (-4000
).
LSB
OFFSET=4mA (800
),
LSB
).
OFFSET=0mA (0
=10V/8000=1.25mV. 2. current input:
LSB
Mode 0 of CR#1 GAIN=5V (4000
Mode 1 of CR#1 GAIN=6V (4800
GAIN: Voltage input value when digital
mode 1
mode 0
ADJUST A/D CONVERSION CHARACTERISTIC CURVE
+8000
format of RTU mode is 8Bit, even bit, 1 stop bit (8 E 1).
10H—write multiple WORD into registers.
C. Function code: 03H—read data from register. 06H—write one WORD into register.
A. Communication baud rate: 4800, 9600, 19200, 38400, 57600, 115200 bps.
setting is K1.
115200 bps. b0: 4800bps. b1: 9600bps. (factory setting) b2: 19200bps. b3: 38400 bps. b4:
57600 bps. b5: 115200 bps. b6-b13: reserved. b14: exchange low and high byte of CRC
check code. (only for RTU mode) b15=0: ASCII mode. b15=1: RTU mode. Communication
format: ASCII mode is 7Bit, even bit, 1 stop bit (7 E 1). Communication format of RTU mode
is 8Bit, even bit, 1 stop bit (8 E 1).
12. CR#33 is used to set the internal function priority, such as characteristic register.
latched function will save output setting in the inner memory before power loss.
13. CR#34: software version.
14. CR#35~ CR#48: system used.
10. CR#31: it is used to set RS-485 communication address. Setting range is 01~255 and factory
11. CR#32 is used to set RS-485 communication baud rate: 4800, 9600, 19200, 38400, 57600,
B. Communication format: ASCII mode is 7Bit, even bit, 1 stop bit (7 E 1). Communication
read/write data through RS-485.
15. The corresponding parameters address H4000~H4030 of CR#0~CR#48 are provided for user to
5
5.1 Adjust A/D Conversion Characteristic Curve
Voltage input mode
+4000
Digital
output
OFFSET: Voltage input value when digital
10V
6V5V
GAIN
2V
OFFSET
0
-6V-10V
GAINOFFSET:
Mode 2 of CR#1 GAIN = 20mA (4000
Mode 3 of CR#1 GAIN = 20mA (4000
mode 2
Voltage input
mode 3
-8000
-4000
+4000
Digital
Current input mode:
output
OFFSET: Current input value when digital
GAIN: Current input value when digital
20mA
GAINOFFSET:
GAIN
current input
4mA
OFFSET
0
-12mA-20mA
-4000
Using charts above to adjust A/D conversion characteristic curve of voltage input mode and
LSB(Least Significant Bit): 1. voltage input: 1
=20mA/4000=5µA.
LSB
1
current input mode. Users can adjust conversion characteristic curve by changing OFFSET values
(CR#18~CR#21) and GAIN values (CR#24~CR#27) depend on application.
).
LSB
Writing H0 to CR#1 of analog
) and GAIN value of CH1 to 2.5V(=K2000
LSB
5.2. Program Example for Adjusting A/D Conversion Characteristics Curve
M1002
Example 1: setting OFFSET value of CH1 to 0V(=K0
input module no. 0 and set CH1
to mode 0 (voltage input
-10V~+10V)
H0 K1
K1
K0
TO
H0 K1
K33
K0
TO
LSB
OFFSET value will of
LSB
On, K0
adjust characters of CH1~CH4.
Writing H1 to CR#33 and allow to
be wrote in CR#18 and K2000
When X0 switches from Off to
of GAIN value will be wrote in
CR#24.
) and GAIN value of CH2 to 18 mA
LSB
K1
K0
K2000
K24
K18
K0
TO
K0 K1
TO
LSB
(=K3600
X0
Example 2: setting OFFSET value of CH2 to 2mA(=K400
Loading...