Delta · 2 стр.
DVP04AD H2 instruction en
Related manuals
Document text
address Latched Register content b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b1 b0 ○ R Firmware version CR#1: The working mode of the two channels in the analog output 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 2 (b2 ~ b0 = 010) and CH2: mode 1 (b5 ~ b3 = 001), CR#1 has to be set as H000A and the higher bits (b12 ~ b15) have to be reserved. Default value = H’0000. reserved CH4 CH3 CH2 CH1 X R Error status Register for storing all error status. See the table of error status for more ○ R/W Communication address setting For setting RS-485 communication address. Range: 01 ~ 255.
Default = K1 reserved CH1 CR#0: Model name. The user can read the model name from the program and see if the extension module #0 H’4000 ○ R Model name Set up by the system. DVP04AD-H2 model code = H’6400 Range of settings in CH1 ~ CH4: K1 ~ K20. Default = K10. OFFSET settings at CH1 ~ CH4. Default = K0; Unit: LSB GAIN settings at CH1 ~ CH4. Default = K4,000; Unit: LSB DVP04AD-H2 Description Mode 2: Current input (-12mA ~ +20mA) Mode 3: Current input (-20mA ~ +20mA) Present value of input signals at CH1 ~ CH4 When voltage input, range: K-4,000 ~ K4,000 When current input, range: K-4,000 ~ K4,000 When voltage input, range: K-3,200 ~ K16,000 When current input, range:
K-3,200 ~ K10,400 4,800/9,600/19,200/38,400/57,600/115,200bps Mode 0: Voltage input (-10V ~ +10V) Mode 1: Voltage input (-6V ~ +10V) Average of input signals at CH1 ~ CH4 For setting up communication speed: Input mode: Default = H’0000 LSB (Least Significant Bit): For voltage input 1 LSB For current input 1 LSB information. R: Able to read data by FROM instruction or RS-485 communication W: Able to write data by TO instruction or RS-485 communication #10~ #11 Reserved #16~ #17 Reserved #22~ #23 Reserved Reserved H’010A. :
latched (when written in through RS-485 communication) #24 H’4018 ○ R/W Adjusted GAIN value of #25 H’4019 ○ R/W Adjusted GAIN value of #26 H’401A ○ R/W Adjusted GAIN value of H’401B ○ R/W Adjusted GAIN value of ○ R/W Communication speed ○ R/W Returning to default setting; OFFSET/GAIN tuning authorization Z Control Registers #1 H’4001 ○ R/W Input mode setting #2 H’4002 ○ R/W CH1 average time #3 H’4003 ○ R/W CH2 average time #4 H’4004 ○ R/W CH3 average time #5 H’4005 ○ R/W CH4 average time #6 H’4006 X R CH1 input average #7 H’4007 X R CH2 input average #8 H’4008 X R CH3 input average #9 H’4009 X R CH4 input average #12 H’400C X R CH1 input present #13 H’400D X R CH2 input present #14 H’400E X R CH3 input present #15 H’400F X R CH4 input present #18 H’4012 ○ R/W Adjusted OFFSET #19 H’4013 ○ R/W Adjusted OFFSET #20 H’4014 ○ R/W Adjusted OFFSET #21 H’4015 ○ R/W Adjusted OFFSET (baud rate) setting value of CH1 value of CH2 value of CH3 value of CH4 value value value value CH1 CH2 CH3 CH4 CR# RS-485 Parameter *1.
When performing analog input, please isolate other power wirings. *2. 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. *3. Please connect the terminal on both the power modules and DVP04AD-H2 to the system earth point and ground the system contact or connect it to the cover of power distribution cabinet. NOTE:
DO NOT wire empty terminals Analog/Digital (4A/D) Module Voltage input Current input 68-2-27 (TEST Ea) CH1 100K CH4 100K DC/DC +15V -15V AG 14 bits (1 LSB = 2.5mV) ± 100K 100K Converter System grounding AG AG Power supply voltage 24 VDC (20.4VDC ~ 28.8VDC) (-15% ~ +20%) Range of analog input ± 10V ± 20mA ± 8,000 ± 15V 250 250 -20mA~+20mA V+ COM COM ± 0.5% when in full scale (25°C, 77°F) No isolation among analog channels. CH1 V+ I+ FG CH4 I+ FG 24+ 24- 3ms Ч the number of channels *5 Shielding cable*1 *2 Shielding cable*1 *3 Analog input channel 4 channels/module ASCII/RTU mode.
Earth (100 or less) 0.5Ω or lower *4 Voltage input -10V~+10V Current input Y Specifications 1.3 External Wiring Terminal of power module 2.1. Functions 2.2. http://www.delta.com.tw/industrialautomation/ 5011651500-A2E0 9 DVP04AD-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. 9 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 touch any terminal when the power is switched on. DO NOT touch any internal circuit in 1 minute after the power is switched off. 1.1 Model Explanation & Peripherals ™ Thank you for choosing Delta DVP series. DVP04AD-H2 is able to receive 4 points of analog input signals (voltage or current) and convert them into 14-bit digital signals. Besides, through FROM/TO instructions in DVP-EH2 MPU program, DVP04AD-H2 is able to read and write the data in the module. There are 49 16-bit control registers (CR) in DVP04AD-H2. ™ The user can select voltage or current output by wiring. Range of voltage output: ± 10VDC (resolution: 1.25mV).
Range of current output: ± 20mA (resolution: 5μA). Production plant (Taoyuan) 2006-12-12 Production year (2006) Analog Input Module 9 Make sure the groud terminal is correctly grounded in order to prevent electromagnetic interference. X Introduction Production No. Production week Version No. Model name 1 DIN rail (35mm) 6 Terminals 4 POWER, ERROR, A/D indicator 9 Mounting port for extension modules ™ Model/Serial No. Explanation MADE IN XXXXXX D - V + I + V + 24V 0V CH1 CH2 CH3 CH4 RS-485 I + V + I + V + I + D + COM FG FG FG COM COM COM 8 -10V ~ + 10V or -20mA ~ +20mA P ow e r i n pu t s p e c if i c at io n 04 AD -H2 0T6 50 000 1 VX.XXXX Unit:
mm Instruction Sheet 24Vdc 2.5W 1.25 mV or 5 A 1.2 Product Profile (Indicators, Terminal Block, I/O Terminals) 2 Connection port for extension modules 7 Mounting hole 3 Model name 8 I/O terminals Module type XA: Mixed analog I/O HC: High-speed counter input PU: Single-axis position control Points (input + output) H: For EH series MPU H2: For EH2 series MPU 9 Please read this instruction carefully before use. D e lt a PL C m o de l na m e A na lo g I / O m o d ul e s pe c i f ic a t i on B ar c od e , s er ia l N o. , Ve r s io n 5 DIN rail clip 9 Switch off the power before wiring. TC: Temperature measurement (thermocouple) DA: Analog output PT:
Temperature measurement (PT-100) Warning ™ Nameplate Explanation DVP series AD: Analog input DVP04AD-H2 RS-485 Description CR# #0 Parameter address H’4000 Latched ○ R Register content Model name b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Set up by the system. DVP04AD-H2 model code = H’6400 #1 H’4001 ○ R/W Input mode setting reserved CH4 CH3 CH2 CH1 Input mode: Default = H’0000 Mode 0: Voltage input (-10V ~ +10V) Mode 1: Voltage input (-6V ~ +10V) Mode 2: Current input (-12mA ~ +20mA) Mode 3: Current input (-20mA ~ +20mA) #2 #3 H’4002 H’4003 ○ ○ R/W R/W CH1 average time CH2 average time Range of settings in CH1 ~ CH4: K1 ~ K20. Default = K10.
#4 H’4004 ○ R/W CH3 average time #5 H’4005 ○ R/W CH4 average time #6 #7 H’4006 H’4007 X X R R CH1 input average CH2 input average #8 #9 H’4008 H’4009 X X R R CH3 input average CH4 input average Average of input signals at CH1 ~ CH4 #10~ #11 Reserved #12 H’400C X R CH1 input present value CH2 input present #13 H’400D X R value Present value of input signals at CH1 ~ CH4 CH3 input present #14 H’400E X R value CH4 input present #15 H’400F X R value #16~ #17 Reserved Adjusted OFFSET #18 H’4012 ○ R/W value of CH1 #19 H’4013 ○ R/W Adjusted OFFSET value of CH2 OFFSET settings at CH1 ~ CH4. Default = K0; Unit: LSB When voltage input, range:
Read CR#24 of special module No.0 into D0 and CR#25 into D1. Only 2 groups of data are read at a time (n = 2). Use 32-bit instruction DTO to write the content in D11 and D10 into CR#3 and CR#2 of special module No.0. Only 1 group of data is written in at a time (n = 1). 1. : 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. 2. : 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. 1. subroutine. 2.
interruption subroutine. 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 : Data to be written into CR : Number of data to be written at a time 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. 4. Number of groups “n” to be transmitted: n = 2 in 16-bit instructions and n = 1 in 32-bit 32-bit instruction when n=3 : No. of special module (m1 = 0 ~ 7) : CR# in special module to be read : Device for storing read data :
Number of data to be read at a time 79 D T O P Write CR data into special modules : No. of special module (m1 = 0 ~ 7) : CR# in special module to be written Designated CR Designated device Designated CR CR #5 CR #6 CR #7 CR #8 CR #9 CR #10 78 D F R O M P Read CR data in special modules Designated CR number FROM K0 K24 D0 K2 DTO K0 K2 D10 K1 D0 D1 D2 D3 D4 D5 M1083 for switching instruction modes in EH2 series models Lower 16-bit CR #10 CR #9 CR #5 CR #6 CR #7 CR #8 CR #9 CR #10 ] Relevant Instructions API Higher 16-bit Operand rules X0 X0 Instruction Explanation Program Example Instruction Explanation Program Example API LSB refers to “least significant bit”:
In voltage input, 1 LSB = 10V/8000 = 1.25mV; in current input, 1 LSB = 20mA/4,000 = ѓ Write H’0 into CR#33 and allow OFFSET/GAIN tuning in CH1 ~ CH4 ѓ When X0 goes from Off to On, write the OFFSET value K0 LSB into CR#18 and the GAIN value K2,000 LSB into CR#24. ѓ Write H’0 into CR#33 and allow OFFSET/GAIN tuning in CH1 ~ CH4 The current input value when the digital output value = K2,000 Range: -8mA ~ +40mA (-1,600 LSB ~ +8,000 LSB ) The current input value when the digital output value = K0 Range: -10mA ~ +10mA (-2,000 LSB ~ +2,000 LSB ) GAIN - OFFSET Range:
+2mA ~ +30mA (+400 LSB ~ +6,000 The user can adjust the OFFSET/GAIN curves according to the actual needs by changing the OFFSET value (CR#18 ~ CR#21) and GAIN value (CR#24 ~ CR#27). ѓ Write H’0 into CR#1 of analog input module No.0 and set CH1 in mode 0 (voltage input -10V ~ +10V). ѓ Write H’18 into CR#1 of analog input module No.0 and set CH2 in mode 3 (current input -20mA ~ +20mA). ѓ When X0 goes from Off to On, write the OFFSET value K400 LSB into CR#19 and the GAIN value K3,600 LSB into CR#25. 1. When the module is powered for the first time, POWER LED will be on and ERROR LED will be on for 0.5 second. After this, A/D LED will start to flash. 4.
When the input or output value exceeds the upper bound or falls below the lower bound after conversion, ERROR LED will flash. LSB ) and GAIN value as18mA (= K3,600 LSB ). 2. 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. ѓ Read the average of input signals at CH1 ~ CH4 from CR#6 ~ CR#9 and store the 4 data in D20 ~ D23. CR#1 mode 2 GAIN = 12mA (2,400 LSB ) OFFSET = 4mA (800 LSB ) CR#1 mode 3 GAIN = 10mA (2,000 LSB ) OFFSET = 0mA (0 LSB ) LSB ) and GAIN value as 2.5V (= K2,000 LSB ). 3.
When controlled by RS-485, the RS-485 LED on the module will flash after receiving the RS-485 instruction. K1 K0 K1 K1 K2 D20 K4 FROM D0 H618 K10 ѓ If D0 = H’6400, set the input modes: (CH1, CH3) mode 0, (CH2, CH4) mode 3. LSB ) K0 K2 K6 ѓ Read the model name from K0 and see if it is DVP04AD-H2: H’6400. OFFSET \ Trial Operation & Troubleshooting K0 M1000 FROM K0 K0 GAIN TO TO END Current Input Mode H0 K1 H0 K1 K1 K0 K1 H18 K1 H0 K1 K1 K0 K1 ѓ Set the average times in CH1 and CH2 as K10.
K18 K0 K2000 K24 K19 K400 K3600 K25 Mode 2 20mA GAIN Current input K1 K33 K1 K33 Mode 3 4mA OFFSET -4,000 K0 K0 K0 K0 K0 K0 M1002 +4,000 -12mA -20mA 0 TO TO TO ™ Program Example ™ LED Display Digital output X0 3. CR#2 ~ CR#5: The settings of average times of the signals at CH1 ~ CH4. Range: K1 ~ K20 (default = K10). Please note that the average time settings at CR#2 ~ CR#5 only need to be written in once. 6. CR#18 ~ CR#21: The adjusted OFFSET value of CH1 ~ CH4, representing the analog input voltage or current when the analog signal is converted into digital value 0. 7. CR#24 ~ CR#27:
The adjusted GAIN value of CH1 ~ CH4, representing the analog input voltage or current when the analog signal is converted into digital value 4,000. Please note that: GAIN value – OFFSET value = +800 LSB ~ +12,000 LSB (voltage) or +800 LSB ~ +6,400 LSB When GAIN – OFFSET is small (steep oblique), the resolution of input signal will be finer and variation on the digital value will be greater. When GAIN – OFFSET is big (gradual oblique), the resolution of input signal will be rougher and variation on the digital value will be smaller. 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 10. 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). 11. 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. 14. CR#0 ~ CR#34:
The corresponding parameter addresses H’4032 ~ H’4022 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. 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)). c. Function: H’03 (read register data); H’06 (write 1 word datum to register); H’10 (write many word data to register) 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. OFFSET The voltage output value when the digital input value = K0 Range:
-5V ~ +5V (-4,000 LSB ~ +4,000 LSB ) 4. CR#6 ~ CR#9: The average of the signals at CH1 ~ CH4 obtained from the settings in CR#2 ~ CR#5. For example, if the settings in CR#2 ~ CR#5 is 10, the content in CR#6 ~ CR#9 will be the average of the most recent 10 signals at CH1 ~ CH4.