Delta Electronics DVP-EH User Manual

http://www.delta.com.tw/products/plc.asp
Function Card
DVP-EH
Instruction Sheet
1 WARNING
Always read this manual thoroughly before using Function Extension Card.
This instruction provides electrical specification, function specification, wiring and basic program
Manual (programming).
This is an OPEN-TYPE. When installing, you should turn MPU power off and have static
electricity protection, such as wear antistatic gloves, to avoid damage those components on
function extension card caused by statics.
This instruction is for DVP series function extension card. Please find out your order model in the
following for correct usage.
2
Thank you for choosing DELTA’s PLC extension card of DVP-EP/EH Series. There are analog
input/output card (AI/AO), digital input/output card (DI/DO), extension card for communication port and
memory card. Refer to following table for detail.
Model Name Outline Function Explanation
DVP-F232
(RS-232 card)
Terminal Layout (DB-9 male)
5
GND
4
V. Hi gh
3
Tx
2
Rx
1
V. High: high potential, i.e. logic 1
9
8
7
V. Hi gh
6
Note:
Please pay attention for pin 2 and pin 3 when connecting this communication port to PC or HMI.
Application example for connection in Slave mode
Tx Tx
Rx Rx
GND
PC RS-232
serial port
3 2
7 8
6
S.G.
5 1
4
Rl.
9
DB-9 FEMALE
PLC COM2
DB-9
FEMALE
3 2
7 8
6 5 1
4 9
Application example for connecting in Master mode
After inserting DVP-F232 card into MPU, you can use WPL to monitor or upload or download via MODEM connection. First, you should connect PC and PLC to MODEM separately at the two end of network and turn MODEM power on to operate by following steps.
PC
WPLSoft is executing
MODEM
MPU built in COM1(RS-232) and COM2(RS-485). When connecting RS-232 to PC or other peripheral, such as MODEM, by using COM2, you can use this extension card. The communication function is the same as COM2 except communication interface, i.e. there are Slave mode and Master mode for you to choose. Note: PLC will set that COM2 is occupied by RS-232 card and built-in COM2 (RS-232) function will be invalid after inserting this card. Refer to following for system connection.
PC
or
HMI
telecommunication netw or k
INTRODUCTION
(RS-232)
extension card for communic ation port
DVP-F232 DVP-F422or
PC
PLC COM2
Tx Tx
3
Rx Rx
2
7 8
6
GND S.G.
5 1
4
9
DB-9
FEMALE
RS-485 is invalid
MODEM
Delta HMI
DO PA ser ie s
3 2
7 8
6 5 1
4 9
DB-9 MALE
DVP EP/EH MPU
select one deviceMaster/Slave
HMI
PLC COM2
DB-9
FEMALE
DVP-EP/EH series MPU
MODEM
DVP-F232 in terfa ce
3 2
7 8
6 5 1
4 9
Tx Tx
Rx Rx
GND
Applicable
Model
EP EH
HITECH HMI
2 3 6 8
20
S.G.
7 4 5
DB-25 MALE
STEP 1: Setting M1184=On on PLC side (start-up MODEM) STEP 2: Setting M1185=On (start-up PLC’s MODEM initialization) STEP 3: Check the result of MODEM initialization: M1186=On means succeed to initial. M1187=On
means fail to initial.
STEP 4: After initialing successful, WPL software can be ready for connection on remote PC side. WPL
connection method: setting -> modem connection (you need to install modem’s driver first) -> to get dial connection dialog box and then fill in dial information as following.
If you dial a number to access an outside line, what is it? Please fill in this field when it is necessary.
Telephone number
: if there is any area code or city code, you don’t need to put anything for distinction. Only key the figure one by one directly. For example: 88633626301
Extension number:
Dialing times:
Please fill in the field when it is necessary.
setting redial times when it is fail to connect.
After finishing input, execute dialing to start connection.
After dialing connection successfully, dial connection dialog box will disappear automatically. Now, you can monitor remote PLC via WPL. If there is remote control signal detected on PLC side, M1188 will be On and user can know if PLC is monitored by remote control via this special M.
Note:
1. Communication baud rate can’t be changed during MODEM connection. MODEM connection baud rate on PLC side is fixed to 9600bps and can’t be modified.
2. The MODEM that connected to PLC must provide Auto Answer (AA) function. Communication baud rate for MODEM at two end should be 9600bps and higher.
3. EP/EH series special M definition for MODEM connection: (following special M is valid when PLC is RUN/STOP.
Device Function Explanation Remark M1184 Start-up MODEM When M1184=On, following actions are valid.
M1185 Start-up MODEM initialization This flag will be Off after finishing initialization. M1186 Fail to initial MODEM When M1185=On, M1186=Off. M1187 Succeed to initial MODEM When M1185=On,M1187=Off. M1188 Display if MODEM is connected or not On means in connection
4. Additional explanation on PLC side:
a) It must use with RS-232 card when connecting MODEM on PLC side. If not, above special M
are invalid.
b) You must set M1185=On to initial MODEM after MODEM start-up (M1184=On). If not, it can’t
start-up MODEM auto dial function on PLC side. c) MODEM will enter auto dial mode after initialization. d) MODEM will enter to ready for dial mode on PLC side after remote PC stops connection. If user
turn MODEM power off now, it should need to initial at the next time when turning on MODEM. e) The initial format that used to MODEM on PLC side are ATZ and ATS0=1.
User can use COM2 to connect RS-422 and HMI or other
DVP-F422
(RS-422
card)
peripheral for long distance connection. The communication function is the same as COM2 except communication interface. Note: PLC will set that COM2 is occupied by RS-422 card and built-in COM2 (RS-485) function will be invalid after
Terminal Layout
Tx: transmission
Tx+
()
Tx
-
Tx: transmission
Rx+
()
Rx-
Rx: receive (+)
GND
Rx: receive (-)
inserting this card. Refer to following for system connection.
Wiring example
PLC COM2
1
2
3
4
DVP-F422 COM2/DB-9
Delta HMI seriesDOPA
6
2
7
1
3
8
9
4
Delta HMI series :DOPA RS-422 is at
COM2 , and nee d to set to M ODE 2,
Refer to following for setting :
MODE 1: RS-232
MODE 2: RS-422
MODE 3: RS-485
There are 2 analog input points supported by F2AD card and
DVP-F2AD
their characteristics are shown in the following:
Item Voltage input Current input
Analog signal DC 0~+10V DC 0~20mA
Terminal layout
0~10V
0~10V
Voltage input
0~20mA
0~20mA
current input
Input signal limit: Voltage: less than 12VDC (Inputting negative voltage is banned) Current: less than 30mA (Inputting negative current is banned)
V0+
I0+
V1+
I1+
COM
V0+
I0+
V1+
I1+
COM
CH0
CH1
CH0
CH1
Resolution (12bit) Input impedance update time for conversion
Characteristic cure
Digital value output
2.5mV (10/4000) 10uA (20/2000)
40KΩ 250Ω
D1118 setting (K5, unit: ms)
4000
Digital output
0
voltage input
10V
2000
Digital output
0
Current value D1056 (CH0) D1057 (CH1)
Average value D1110 (CH0) D1111 (CH1)
User can get A/D conversion value saved in special D by reading special D that corresponds to current value or average value. D1118 setting is every update time of current value of digital value output.
20mA
current input
Model Name Outline Function Explanation
There are 2 analog output points supported by F2DA card and
DVP-F2DA
Terminal layout
0~+10V
V0+
CH0
I0+
V1+
I1+
COM
0~+10V
Voltage output
CH1
output load: 1K~2MΩ
V0+
CH0
I0+
0~20mA
V1+
CH1
I1+
COM
0~20mA
current output
output load: 0~500Ω
their characteristics are shown in the following:
Item Voltage output Current output
Analog signal DC 0~+10V DC 4~20mA
Output
impedance
Resolution
(12bit)
Update time
for conversion
Digital value
input
Characteristic cure
Less than 0.5Ω Less than 0.5Ω
2.5mV (10/4000) 5uA (20/4000)
D1118 setting (K5, unit: ms)
D1116 (CH0) D1117 (CH1)
10V
voltage output
0
digital input
4000
current output
User can move value to D1116(CH0) or D1117(CH1) to get correspondent output voltage by using instruction MOV.
When two built-in COM1(RS-232) and COM2 (RS-485)
DVP-F232S
(RS-232
card)
are not enough for use, you can add one COM by this card (number is 3 and is called COM3. There are two interfaces, RS-232 and RS-485, for you to use. Its general function is the same as COM1 but communication baud rate is 9600/19200/38400 bps. PLC scan time will be added at least
Terminal Layout (DB-9
female)
5
GND
NC
Rx
NC
4
3
2
Tx
1
9
8
7
6
Note:
0.8ms ~ 2ms due to COM3.
Usage limit: PC1 and PC2 can’t execute ladder diagram monitor function simultaneously when COM2 is slave mode
NC
and connect to PC1 with executing WPLSoft and COM3 also
NC
connects to PC2 with executing WPLSoft. But other
NC
communication function is normal. COM1 is out of this limit.
NC
PC 1
HMI
AC drive or Servo
Please pay attention to signal of pin2 and pin3 when this communication port is connected to PC or HMI. Especial that this definition is different from DVP-F232 card.
DVP-F485S
(RS-485
card)
D : signal
D+
()
D-
PC
or
HMI
Extension card for communication port
COM1
(RS-232)
COM2
(RS-485)
COM3
select one Master device
D : signal ()
MasterPC 2
This digital DIP switch card provides 8 On/Off input signals (DI0~DI7) to read value by using instruction API 109 SWRD. It is general used to be input interface of external data setting
DVP-F8ID
and doesn’t occupy input point X. After system finishes every scan time, it will auto to read 8 bits of digital switch and set each state in special auxiliary relay M1104~M1111. User can use this 8 special M to operate in the program. Refer to following example:
M1000
K2M1104 D1120
MOV
Setting PLC ID by DIP switch
F4IP card provides 4 digital input points with photo coupler
DVP-F4IP
Terminal layout and
wiring
+24V
S/S
AX0
AX1
AX2
AX3
isolation between PLC. After system finishes scan every time, it will read 4 bits of these 4 digital input points automatically and set the states separately in M1104~M1107. User can operate this four special M in the program directly.
Item Input Spec.
Input type
DCSINK or SOURCE
Input signal current About 5mA/DC24V
M1104
M1105
M1106
M1107
Action level
OffOn, 16VDC and higher OnOff, 14.4VDC and lower
20mA
0
DVP-F232S or DVP-F485S
ID0 ID1 ID2 ID3 ID4 ID5 ID6 ID7
digita l input
DVP EH MPU
4000
M1104 M1105 M1106 M1107 M1108 M1109 M1110 M1111
Applicable
Model
EP EH
Model
AY0AC0AY1A
Name
Outline Function Explanation
There are 2 digital output points that provided by F2OT card. Output type is
C1
.
transistor and user can
DVP-F2OT
DVP-F6VR
driver output points by using M1112 and M1113.
Item Current spec. Voltage spec. Max. load Response time
Output
spec.
0.3A/1point 30VDC 9W/1point
M1112
M1113
OffOn 20us
OnOff 30us
There are two built-in analog knob VR0 and VR1 in EP/EH MPU. You can expand analog input equip to VR2~VR7 by using this VR card. Refer to API85 VRRD and API86 VRSC in application manual (programming) for detail.
VR2 VR3
VR4
VR6
256FM is a data backup memory card. There is a switch on it and PLC will check the state of this switch when PLC is power
DVP-256FM
It will check password during date copy. If there is password in memory card, it will also be copied to PLC and PLC will be locked. See flowchart at the right side.
There are several sections for copy data in memory to PLC as shown in the following.
Data block Setting range Default
Program area 15872 Steps All are NOP
Data register D0~D999 K0 D1035, D1038 K0 D1101 K0 D1102 K1600 D1103 K2000 D1200 K500 D1201 K999 D1202 K2000 D1203 K4095 D1204~D1207 K-1 D1208 K100 D1209 K199 D1210 K220 D1211 K234 D1212 K235 D1213 K255 D1214 K500 D1215 K899 D1216 K200 D1217 K999 D1218 K2000 D1219 K9999 D2000~D9999 K0 File register 0~4999 K0 Auxiliary relay
M0~M999 Off M1035, M1101 Off
on. If this switch is Off, memory card will be invalid. And it is invalid to change the switch when PLC is power on. All memory data read/write action will be valid when switch is On.
The flowchart for uploading data to PLC when installing on MPU and power is on:
OFF
correct
memory card is invalid
check if there is password in memory card
no password
copy data in memory card to PLC
instruction
check switch
ON
check PLC passwor d
lock with password
password is correct or not?
incorrect
memory card won be active
no password
Therefore, 256FM card can be used for data backup and PLC copy. It can write PLC major data block (according to left table) into memory card according to following two steps. Step 1: finish setting program parameters, file register parameters or other relative latched parameters by using WPLSoft or HPP02. Step 2: choose communication -> communication for memory card in WPLSoft software. You can insert this memory card into other EH MPU to finish PLC copy function quickly. After this PLC MPU is power on, the data in memory card will upload to PLC relative data area. (only for DVP-EH MPU (32 points and more))
Those data in 256FM card can be read/wrote by using WPLSoft or HPP02 but there is limit for editing or read/write data. For HPP02, it can only read/write the DATA in program area and file register area.
M2000~M4095 Off Step point S0~S1023 Off Timer T0~T255 K0 Counter C0~C255 K0 Password 4 words Off
When inserting memory card in PLC, you can read/write data in memory card by using WPL. The operations are in the following: (please confirm that switch on memory card is On before PLC is power on. And also confirm that connection is successful to read/write data in memory card.
Using WPLSoft to select communication -> communication for memory card
There are three modes: PLC memorymemory card
You can copy data in memory card to PLC or copy data in PLC to memory card.
WPL working areamemory card [program]
It can copy program that edited by WPL to memory card or copy PLC program in memory card to WPL working area.
WPL working area memory card [commentary]
It can copy commentary in WPL to memory card or read commentary from memory card (commentary in memory card can be only loaded in WPL working area. It can’t be loaded in PLC EH MPU and there is no area for saving commentary in EH MPU.)
Applicable
Model
EP EH
VR5
VR7
lock with password
copy password in memory card to PLC to be as PLC password
Following is the operation for each item and relative cautions:
Data transmission between PLC memory card Function selection PLC => memory card
a) If password in PLC is unlocked but password in memory card is locked,
data will be wrote into memory card and password in memory card will be disable after executing PLC => memory card.
b) If password in PLC is locked and no matter password in memory card is
locked or not, data and password in PLC will be wrote into memory card after executing PLC => memory card.
memory card => PLC (PLC must be in STOP mode)
It will compare password in memory to password in PLC before executing. If passwords are not the same, it can’t read data.
Note: “Lock state” means password in memory card is locked.
Data is transmitted between WPL working area memory card [program] Function selection
WPL working area => memory card
a) If you don’t input any words in password field (password field is blank),
password in memory card will be clear after pressing Enter button (no matter it has password or not before).
b) If you input new password in password field, password in memory card
will be protected by this new password.
memory card => WPL working area
If there is password for memory card, you will be asked to input password when executing this function. If you don’t input password or input error password, it will have error message and can’t read data.
Note: “Lock state” means password in memory card is locked.
Data transmitted between WPL working area memory card [commentary] Function selection
WPL working area => memory card
a) You can select devices to save in memory card. Default is all devices.
After you select, all device you select with commentary will save in memory card.
b) For device M and D, special D(D1000~D1999) and special
M(M1000~M1999) won’t be wrote into memory card.
c) The commentary capacity in memory card is 32KB. It can save 16000
Chinese words or 32000 letters.
Memory card => WPL working area
To upload commentary in memory card to WPL working area for user to edit or modify.
3 Installation and Maintenance
Note: “Lock state” means password in memory card is locked.
Please make sure that PLC is power off and open extension slot cover before installing or removing function card or memory card. The installed position of function card and memory card are shown at the right side. Please attach terminal
B
label shipped with package on correct terminal to avoid error wiring.
Function card installation – Please put function card into slot vertically and tighten accessory screws into
correct position.
Remove function card
B
Backup memory card installation (change switch to On or Off by requirement)
and removal
Check for finishing installation
Installation
Removal
After PLC is power on, connect PLC to WPLSoft at PC side. In WPLSoft, select view -> working area and then select connected model to connect. At this time, WPLSoft will detect configuration of PLC MPU system and show the result, including categories of function card and state of memory card (On or Off), in working area. Refer to WPLSoft user manual for detail.
4 Application
All kinds of function card provided by DVP series solve the problem that happened in PLC application. For example:
Usage timing and application requirement
When system specification is modified, there are not enough points for use. And you need only 1~4 input points or 1~2 output points.
Output point of MPU is relay and you need 1~2 points more with transistor
solution (correspond to
function card model name)
Use DVP-F4IP or DVP-F2OT
Use DVP-2OT
type.
There is space limit for installing and need to deal with analog signal. Use DVP-F2AD or
DVP-F2DA
You need 1~2 analog output points to control AC drive speed. Use DVP-F2DA
Small control system and need 1~2 analog input points. Use DVP-F2AD
You need to connect PLC to PC and HMI and also control AC drive. Use DVP-F232S or
DVP-F485S
There are many PLCs and need to download program quickly. (copy PLC) Use DVP-256FM
When parameters want to set by DIP switch without occupy any input
Use DVP-F8ID
points.
When built-in COM 2 is RS-485, but what you need is RS-232 or RS-422. Use DVP-F232 or
DVP-F422
When remote control PLC is by MODEM. Use DVP-F232
When there are 3~8 variables needed to modify by requirement very
Use DVP-F6VR
often.
Following is application for DI/DO card and AI/AO card:
DVP-F4IP application: Terminal Layout
DC24V
switch 1
switch 2
switch 3
detector
S/S
AX0
AX1
AX2
AX3
Program
M1104
M1105
M1106
M1107
M10
M11
Y0
TMR T0
K1000
Explanation 1 The input terminals AX0~AX3
correspond to devices M1104~M1109
2 Adding input points AX0~AX3.
External switches 1~3 and detector control M10, M11, Y0 and T0 separately according to program.
DVP-F2OT application:
Terminal Layout
DC5~30V
F1 and F2 are fuses with 0. 5A
external load 1
F1
external load 2
F2
AY0
AC0
AY1
AC1
Program
X10
M10
M1112
M1113
Explanation 1 The output terminals AY0~AY1
correspond to devices M111 2~M1113 .
2 Adding output points AY0 and
AY1 and connect to load 1 and load 2 to be controlled by X10 and M10.
DVP-F2AD application:
Terminal Layout
detector (voltage)
detec tor (cur rent)
GND common terminal
V0+
I0+
V1+
I1+
COM
Program
M1000
M1000
MOV D1056 D0
MOV D1110 D1
MOV
D1057
D1111
MOV
D10
D11
Explanation 1 CH0 AD is variable. Current value
CH0
is D0 and average value is D1.
2 CH1 AD is variable. Current value
is D10 and average value is D11.
CH1
Conversion calculation of CH0 AD: Conversion calculation of CH1 AD:
Detector (current) produces an input current CH1. If the value D11 reads is K1234, it means input current is
20
1234 =×=
2000
Digital output
4000
1472
0
?
analog input
Detector (voltage) produces an input voltage CH0. If the value D1 reads is K1472, it means input voltage is
10
+10V
1472 =×=
4000
2000
1234
digital
VV68.3
output
0
20mA
?
analog input
DVP-F2DA application:
Program
M1000
M1000
MOV D0
MOV CH1
Terminal layout
V0+
I0+
V1+
I1+
COM
current output
voltage output
AVI
ACM
AC drive 1
AC drive 2
ACI
ACM
Conversion calculation of CH0 DA: Conversion calculation of CH1 DA:
The current is outputted to
20mA
12.34
analog output
0
?
4000
digital output
ACI of AC drive to be speed control. If you need current
12.34mA, you should give D0:
2468
20
4000
34.12 =×=mAmA
+10V
5.23
analog output
0
4000
?
digital input
The voltage is outputted to AVI of AC drive to be speed control. If you need voltage 5.23V, you should give D1:
4000
23.5 =×=VV 10
2092
mAmA34.12
D1116
D1117D1
CH0
Loading...