Delta DVP04DA-H2 Network Card User Manual

2007-01-15
Control Registers
1.3 External Wiring
DVP04DA-H2 analog output module
5011651101-D2E1
http://www.delta.com.tw/industrialautomation/
*2
Analog Output Module
AC drive, recorder,
scale valve...
CR# parameter Latched Register content
CH1
shielding cable *1
current output
CH4
0mA~20mA
Warning
AC drive, recorder,
scale valve...
9
Please read this instruction carefully before use.
9
Switch off the power before wiring.
9
DVP04DA-H2 is an OPEN-TYPE device and therefore should be installed in an enclosure free of
airborne dust, humidity, electric shock and vibration. The enclosure should prevent non-maintenance
staff from operating the device (e.g. key or specific tools are required to open the enclosure) in case
danger and damage on the device may occur.
terminal of
power module
*3
DO NOT connect input AC power supply to any of the I/O terminals; otherwise serious damage may
occur. Check all the wiring again before switching on the power.
9
DO NOT tough any terminal when the power is switched on. DO NOT touch any internal circuit in 1
minute after the power is switched off.
Note:
9
Make sure the groud terminal
interference.
1.
2.
Introduction
4.
signal output modules through FROM/TO instructions given by the program of DVP-EH2 series MPU. The
analog signal output module receives 4 groups of 12-bit digital data from PLC MPU and converts the data into 4
points of analog signals for output in either voltage or current.
™ The user can select voltage or current output by wiring. Range of voltage output: 0V ~ +10VDC (resolution:
2.5mV). Range of current output: 0mA ~ 20mA (resolution: 5μA).
™ Nameplate Explanation
Delta PLC model name
24 Vdc 4.5W
0 V ~ + 10 V or 0mA ~ +20mA
Analog I/O module specification
Barcode, Serial No., Version
2.5 mV or 5
VX.XXXX
CH1
#0
2.1.
™ Model/Serial No. Explanation
+15V
DC/DC
converter
24+
24-
AG
-15V
Voltage Output
24 VDC (20.4VDC ~ 28.8VDC) (-15% ~ +20%)
Analog output channel
4 channels/module
Range of analog output
0 ~ 10V
0 ~ 20mA
Range of digital data
0 ~ 4,000
0 ~ 4,000
Resolution
12 bits (1LSB = 2.5mV)
12 bits (1LSB = 5 μA)
Output impedance
0.5Ω or lower
10mA (1KΩ ~ 2MΩ)
-
Tolerable load impedance
-
0 ~ 500Ω
Digital data format
11 significant bits out of 16 bits are available; in 2’s complement
24V
Communication mode
(RS-485)
DD+
RS-485
0V
CH 1
CH 2
CH 3
CH 4
F G COM
F G COM
F G COM
COM
V+
I+
V+
I+
V+
I+
V+
I+
When connected to
DVP-PLC MPU in series
Internal circuit and analog output terminals are isolated by optical coupler.
No isolation among analog channels.
Voltage output is protected by short circuit. Short circuit lasting for too long may
cause damage on internal circuits. Current output can be open circuit.
Model name
POWER, ERROR, D/A indicator
DIN rail clip
6
7
8
9
Terminals
Mounting hole
I/O terminals
Mounting port for extension modules
Communication speed: 4,800/9,600/19,200/38,400/57,600/115,200 bps
ASCII data format: 7-bit, Even bit, 1 stop bit (7, E, 1)
RTU data format: 8-bit, Even bit, 1 stop bit (8, E, 1)
b6
b5
b4
b3
b2
b1
CH4
CH3
CH2
b0
CH1
╳ R/W CH2 output value
#8
H’403A
╳ R/W CH3 output value
#9
H’403B
#10 ~ #17
╳ R/W CH4 output value
Mode 0: Voltage output (0V ~ 10V)
Mode 1: Voltage output (2V ~ 10V)
Mode 2: Current output (4mA ~ 20mA)
Mode 3: Current output (0mA ~ 20mA)
Reserved
Range of output value at CH1 ~ CH4: K0 ~ K4,000
Default = K0 (unit: LSB)
Reserved
#18
H’4044
○ R/W Adjusted OFFSET
value of CH1
#19
H’4045
○ R/W Adjusted OFFSET
value of CH2
Range of OFFSET at CH1 ~ CH4: K-2,000 ~ K2,000
#20
H’4046
○ R/W Adjusted OFFSET
value of CH3
#21
H’4047
○ R/W Adjusted OFFSET
value of CH4
#24
Reserved
H’404A ○ R/W
Adjusted GAIN
value of CH1
Adjusted GAIN
value of CH2
Adjusted GAIN
#26 H’404C ○ R/W
value of CH3
Adjusted GAIN
#27 H’404D ○ R/W
value of CH4
#28 ~ #29
#30 H’4050 ╳ R Error status
Communication
#31 H’4051 ○ R/W address setting
#25
Default = K0 (unit: LSB)
H’404B ○ R/W
Communication
H’4052 ○ R/W speed (baud rate)
setting
Range of GAIN at CH1 ~ CH4: K-1,600 ~ K8,000
Default = K2,000 (unit: LSB)
Reserved
Register for storing all error status. See the table of error status for more information.
For setting up RS-485 communication address. Range: 01 ~ 255
Default = K1
Default = H’0002. For setting up communication speed: 4,800 / 9,600 / 19,200 /
38,400 / 57,600 / 115,200bps
ASCII data format: 7-bit, Even bit, 1 stop bit (7, E, 1)
RTU data format: 8-bit, Even bit, 1 stop bit (8, E, 1)
b0: 4,800bps
b1: 9,600bps (default)
b2: 19,200bps b3: 38,400bps
b4: 57,600bps b5: 115,200bps
b6 ~ b13: reserved
b14: High/low bit exchange of CRC checksum (only valid in RTU mode)
b15: Switch between ASCII/RTU mode. 0 = ASCII mode (default)
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
#34
H’4053
Return to default
setting;
○ R/W OFFSET/GAIN
tuning
authorization
H’4054 ○
#35 ~ #48
R
Firmware version
CH4
CH3
CH2
CH1
Default = H’0000. Take the setting of CH1 for example:
1. When b0 = 0, the user is allowed to tune CR#18 (OFFSET) and CR#24 (GAIN)
of CH1. When b0 = 1, the user is not allowed to tune CR#18 (OFFSET) and
CR#24 (GAIN) of CH1.
2. b1 represents whether the OFFSET/GAIN tuning registers are latched. b1 = 0
(default, latched); b1 = 1 (non-latched)
3. When b2 = 1, all settings will return to default values. (except CR#31, CR#32)
Displaying the current firmware version In hex; e.g. version 1.0A is indicated as
H’010A.
For system use.
Symbols
○: latched (when written in through RS-485 communication)
╳: non-latched
R: Able to read data by FROM instruction or RS-485 communication
W: Able to write data by TO instruction or RS-485 communication
LSB (Least Significant Bit): For voltage output 1LSB = 10V/4,000 = 2.5mV。
For current output 1LSB = 20mA/4,000 = 5μA。
Explanations:
The modules are numbered from 0 to 7 automatically by their distance from MPU.
1. CR#0: Model name. The user can read the model name from the program and see if the extension module
exists.
No.0 is the closest to MPU and No.7 is the furthest. Maximum 8 modules are allowed
to connect to MPU and will not occupy any digital I/O points.
24VDC (20.4VDC ~ 28.8VDC) (-15% ~ +20%)., 4.5W supplied by external power
Environment
Vibration/shock
immunity
b7
RS-485 cannot be used when connected to PLC MPU.
Power Supply
Operation/storage
Connection port for extension modules
H’4039
#33
Others
Max. rated power
consumption
b8
Set up by the system. DVP04DA-H2 model code = H’6401
reserved
ASCII/RTU mode.
DIN rail (35mm)
╳ R/W CH1 output value
#7
±1% when in full scale within the range of 0 ~ 55°C, 32 ~ 131°F
3ms × the number of channels
1.2 Product Profile (Indicators, Terminal Block, I/O Terminals)
1
2
3
4
5
mode
○ R/W Output
setting
±0.5% when in full scale (25°C, 77°F)
Max. output current
Protection
Unit: mm
H’4033
#2 ~ #5
#6
H’4038
#32
Responding time
Isolation
8
Model name
Current Output
Power supply voltage
2.2.
R
CH4
V+
I+
COM
FG
Functions
Overall accuracy
MADE I N XXXXX X
○
#22 ~ #23
A
04 DA -H2 0T6 500 00 1
H’4032
reserved
When performing analog output, please isolate other power wirings.
If the ripples at the loaded input terminal are too significant that causes noise interference on the wiring, connect the
wiring to 0.1 ~ 0.47μF 25V capacitor.
Please connect the
terminal on both the power modules and DVP04DA-H2 to the system earth point and ground the
system contact or connect it to the cover of power distribution cabinet.
DO NOT wire empty terminals
Digital/Analog (4D/A) Module
b14 b13 b12 b11 b10 b9
Output mode: Default = H’0000
Specifications
™ Thank you for choosing Delta DVP series. DVP04DA-H2 is able to read and write data of DVP04DA-H2 analog
Power input specification
V+
I+
COM
FG
class 3 grounding
(100 or less)
3.
1.1 Model Explanation & Peripherals
DC24V
system grounding
9
is correctly grounded in order to prevent electromagnetic
shielding cable *1
b15
address
#1
Instruction Sheet
Description
RS-485
voltage output
0V~+10V
Operation: 0°C ~ 55°C (temperature); 50 ~ 95% (humidity); pollution degree 2
Storage: -40°C ~ 70°C (temperature); 5 ~ 95% (humidity)
International standards: IEC1131-2, IEC 68-2-6 (TEST Fc)/IEC1131-2 & IEC
68-2-27 (TEST Ea)
2. CR#1: The working mode of the four channels in the analog input module. There are 4 modes for each channel
which can be set up separately. For example, if the user needs to set up CH1: mode 0 (b2 ~ b0 = 000); CH2:
mode 1 (b5 ~ b3 = 001), CH3: mode 2 (b8 ~ b6 = 010) and CH4: mode 3 (b11 ~ b9 = 011), CR#1 has to be set
as H’000A and the higher bits (b12 ~ b15) have to be reserved. Default value = H’0000.
3. CR#2 ~ CR#5, CR#10 ~ CR#17, CR#22, CR#23, CR#28 and CR#29 are reserved.
4. CR#6 ~ CR#9: The output values of CH1 ~ CH4 (range: K0 ~ K4,000; default = K0; unit: LSB)
5. CR#18 ~ CR#21: The adjusted OFFSET value of CH1 ~ CH4 (default = K0, unit = LSB), representing the analog
output voltage or current when the output digital value = 0 after calculation. The adjustable range: -2,000 ~
+2,000.
The adjustable range of voltage: -5V ~ +5V (-2,000LSB ~ +2,000LSB)
The adjustable range of current: -10mA ~ +10mA (-2,000LSB ~ +2,000LSB)
6. CR#24 ~ CR#2: The adjusted GAIN value of CH1 ~ CH4 (default = K2,000, unit = LSB), representing the analog
output voltage or current when the output digital value = 2,000 after calculation.
4.2 Program Example
The adjustable range of voltage: -4V ~ +20V (-1,600LSB ~ +8,000LSB)
The adjustable range of current: -8 mA ~ +40 mA (-1,600LSB ~ +8,000LSB)
Please note that: GAIN value – OFFSET value = +400LSB ~ +6,000LSB (voltage or current). When GAIN –
OFFSET is small (steep oblique), the resolution of output signal will be finer and variation on the digital value will
be greater. When GAIN – OFFSET is big (gradual oblique), the resolution of output signal will be rougher and
variation on the digital value will be smaller.
Content
K1(H’1)
K4(H’4)
OFFSET/GAIN error
Hardware malfunction
Abnormal digital range
K8(H’8)
K16(H’10)
K32(H’20)
Incorrect average times
setting
Instruction error
b15 ~ b8
K2(H’2)
b7
0
b6
0
b5
0
b4
0
b3
0
b2
0
b1
0
b0
1
0
0
0
0
0
0
1
0
9.
K1
H10
K1
TO
K1
K33
H0
K1
Write H’10 into CR#1 of analog output module
No.1 and set CH1 in mode 0 (voltage output 0V
~ +10V) and CH2 in mode 2 (current output
4mA ~ +20mA).
Write H’0 into CR#33 and allow OFFSET/GAIN
tuning in CH1 ~ CH4
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
K64(H’40)
0
1
0
0
0
0
0
0
K128(H’80)
1
0
0
0
0
0
0
0
TO
K1
K18
K0
K1
TO
K1
K24
K1000
K1
API
78
D
Instruction
Explanation
When X0 goes from Off to On, write the
OFFSET value K0LSB into CR#18 and the GAIN
value K1,000LSB into CR#24.
Program
Example
TO
K1
K1
H18
K1
TO
K1
K33
H0
K1
Write H’18 into CR#1 of analog output module
No.1 and set CH1 in mode 0 (voltage output 0V
~ +10V) and CH2 in mode 3 (current output
0mA ~ +20mA).
K400
K1
Write H’0 into CR#33 and allow OFFSET/GAIN
tuning in CH1 ~ CH4
K3600
K1
M1002
X0
TO
TO
K1
K1
K19
K25
When X0 goes from Off to On, write the
OFFSET value K400LSB into CR#19 and the
GAIN value K3,600LSB into CR#25.
: CR# in special module to be read
: Device for storing read data
: Number of data to be read at a time
X0
API
79
D
Instruction
Explanation
Program
Example
™ LED Display
When the power supply is normal, POWER LED will be on and ERROR LED should be off. When the
power supply is less than 19.5V, ERROR LED will keep being on until the power supply is higher than
19.5V.
12. CR#35 ~ CR#48: Parameters for system use.
3.
When controlled by RS-485, the RS-485 LED will flash after receiving RS-485 instruction.
13. CR#0 ~ CR#34: The corresponding parameter addresses H’4032 ~ H’4054 are for users to read/write data by
RS-485 communication. When using RS-485, the user has to separate the module with MPU first.
4.
When the input or output value exceeds the upper bound or falls below the lower bound after conversion,
ERROR LED will flash.
™ Program Example
: No. of special module (m1 = 0 ~ 7)
: CR# in special module to be written
: Data to be written into CR
: Number of data to be written at a time
X0
K0
Voltage output
10V
CR#1 mode 0
Mode 1
CR#1 mode 1
Mode 0
6V
5V
GAIN
GAIN
OFFSET
2V
+2,000
+4,000
OFFSET
GAIN - OFFSET
GAIN = 5V (2,000LSB)
OFFSET = 0V (0LSB)
GAIN = 6V (2,400LSB)
OFFSET = 2V (800LSB)
The voltage output value when the digital
input value = K2,000
Range: -4V ~ +20V (-1,600LSB ~ +8,000LSB)
The voltage output value when the digital
input value = K0
Range: -5V ~ +5V (-2,000LSB ~ +2,000LSB)
Range: +1V ~ +15V (+400 LSB ~ +6,000 LSB)
: CR#. CR (control register) is the 49 16-bit memories built in the special module,
numbered in decimal as #0 ~ #48. All operation status and settings of the special module are
contained in the CR.
3.
FROM/TO instruction is for reading/writing 1 CR at a time. DFROM/DTO instruction is for
reading/writing 2 CRs at a time.
CR#1 mode 2
Current output
Mode 2
CR#1 mode 3
Mode 3
12mA
10mA
GAIN
GAIN
4mA
OFFSET
0
OFFSET
+2,000
D0
CMP
H6401
D0
M0
INC
D100
ADD
D101
4.
=
K4000
D100
RST
D100
=
K4000
D101
RST
D101
TO
K1
+4,000
Digital input
GAIN - OFFSET
GAIN = 12mA (2,400LSB)
OFFSET = 4mA (800LSB)
GAIN = 10mA (2,000LSB)
OFFSET = 0mA (0LSB)
The current output value when the digital
input value = K2,000
Range: -8mA ~ +40mA (-1,600LSB ~
+8,000LSB)
The current output value when the digital
input value = K0
Range: -10mA ~ +10mA (-2,000LSB ~
+2,000LSB)
Range: +2mA ~ +30mA (+400 LSB ~ +6,000
LSB)
CR #9
D101
Remarks
M1
K1
H10
K1
K6
D100
K2
Designated CR
K1
END
D100 increases K1 and D101 increases K5 every second.
When D100 and D101 reach K4,000, they will be cleared as 0.
See if the model is DVP04DA-H2 when M1 = On. If so, set up output mode: CH1 in mode 0; CH2 in mode 2.
Designated device Designated CR
D0
CR #5
D0
CR #5
D1
D2
CR #6
CR #7
D1
D2
CR #6
CR #7
D3
D4
CR #8
CR #9
D3
D4
CR #8
CR #9
D5
CR #10
D5
CR #10
16-bit instruction when n=6
M1
TO
Designated CR number
Number of groups “n” to be transmitted: n = 2 in 16-bit instructions and n = 1 in 32-bit
instructions mean the same.
Designated device
K5
L owe r 1 6- bi t
K1
32-bit instruction when n=3
M1083 for switching instruction modes in EH2 series models
1.
When M1083 = Off, during the execution of FROM/TO instruction, all external or internal
interruption subroutines will be forbidden. The interruptions are allowed only after FROM/TO
instruction finishes its execution. FROM/TO instruction can also be used in an interruption
subroutine.
2.
When M1083 = On and an interruption signal occurs during the execution of FROM/TO
instruction, the interruption will be processed first (with a 100us delay) and the execution of
FROM/TO will be stopped. After the interruption subroutine finishes its execution, the
program will jump to the next instructio of FROM/TO. FROM/TO cannot be used in an
interruption subroutine.
Read the model name from K1 and see if it is DVP04DA-H2: H’6401.
Digital input
Current Output Mode
20mA
K0
K1
2.
M1013
4.1 Explanation
Voltage Output Mode
K1
D10
: The No. of special modules connected to PLC MPU. No. 0 is the module closest to te
MPU. Maximum 8 modules are allowed to connected to a PLC MPU and they will not occupy
any I/O points.
CR #10
FROM
K6
1.
M1000
Adjusting D/A Conversion Curve
K2
Write CR data into special modules
Hi gh er 16 -b it
d. Latched CR should be written by RS-485 communication to stay latched. CR will not be latched if written by
MPU through TO/DTO instruction.
D0
Operand rules
a. Communication baud rate: 4,800/9,600/19,200/38,400/57,600/115,200bps
c. Function: H’03 (read register data); H’06 (write 1 word datum to register); H’10 (write many word data to
register)
K24
P
DTO
2.
11. CR#34: Firmware version of the model.
TO
K0
Use 32-bit instruction DTO to write the content in D11 and D10 into CR#7 and CR#6 of special
module No.0. Only 1 group of data is written in at a time (n = 1).
When the module is powered for the first time, POWER LED will be on. After ERROR LED being on for 0.5
second, D/A LED will start to flash.
b. Modbus ASCII/RTU communication protocols: ASCII data format (7-bit, Even bit, 1 stop bit (7, E, 1)); RTU
data format (8-bit, Even bit, 1 stop bit (8, E, 1)).
: No. of special module (m1 = 0 ~ 7)
FROM
Trial Operation & Troubleshooting
1.
10. CR#33: For authorizations on some internal functions, e.g. OFFSET/GAIN tuning. The latched function will
store the output setting in the internal memory before the power is cut off.
Read CR data in special modules
P
Read CR#24 of special module No.0 into D0 and CR#25 into D1. Only 2 groups of data is read at
a time (n = 2).
CR#31: The setting of RS-485 communication address (Range: 01 ~ 255, default = K1).
CR#32: The setting of RS-485 communication speed. b0: 4,800bps; b1: 9,600bps (default); b2: 19,200bps; b3:
38,400bps; b4: 57,600bps; b5: 115,200bps; b6 ~ b13: reserved; b14: high/low bit exchange of CRC checksum
(only valid in RTU mode); b15 = 0: ASCII mode; b15 = 1: RTU mode. ASCII data format: 7-bit, Even bit, 1 stop
bit (7, E, 1); RTU data format: 8-bit, Even bit, 1 stop bit (8, E, 1).
FROM
Example 2: Set the OFFSET value of CH2 as 2mA (= K400 LSB) and GAIN value as18mA (= K3,600LSB).
Note: Each error status is determined by the corresponding bit (b0 ~ b7) and there may be more than 2 errors occurring at the same time.
0 = normal; 1 = error
8.
K1
X0
0
reserved
TO
M1002
7. CR #30: Error status value (See the table below)
Error status
Abnormal power supply
Incorrect analog input
value
Incorrect mode setting
Relevant Instructions
Example 1: Set the OFFSET value of CH1as 0V (= K0LSB) and GAIN value as 2.5V (= K1,000LSB).
Write the output settings of D100 and D101 into CR#6 and CR#7. The analog output will change with the
changes in D100 and D101.
The content of this instruction sheet may be revised without prior notice. Please consult our distributors or
download the most updated version at http://www.delta.com.tw/industrialautomation