DVP06XA-S Mixed Analog Input-Output Module
DVP06XA-S Mixed Analog Input-Output Module
2
8
Digital Data Range 0~4000 0~4000 #32 H 40E8 R/W Communication baud Communication baud rate (4800, 9600, 19200, 38400, 57600 and 115200 bps).
V+
C 10 12 rate setting For ASCII mode, date format is 7Bits, even, 1 stop bit (7 E 1). For RTU mode,
Resolution 12 bits (1LSB=2.5 mV) 12 bits (1LSB=5 A)
I+ H
3 14
date format is 8Bits, even, 1 stop bit (8 E 1).
COM
90.00
I+ H
COM
4
9
13 90.00 b0: 4800 bps (bit/sec)
0.5% of full scale of 25(77) b1: 9600 bps (bit/sec). (factory setting)
V+
C
I+ H
Overall Accuracy
5
2 COM
3 b2: 19200 bps (bit/sec).
1% of full scale during 0~55 (32~131)
V+
C
I+ H
3
Response Time 3 ms Channels b4: 57600 bps (bit/sec).
Max. Output Current 20mA (1K~2M) b5: 115200 bps (bit/sec).
b6~b13: Reserved.
4.00 Tolerance Carried Impedance 0500 b14: switch between low bit and high bit of CRC code (only for RTU mode)
UNIT:mm Digital Data Format 2s complement of 16-bit, (13 Significant Bits) b15: RTU mode.
#33 H 40E9 R/W Reset to factory b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b) MODBUS communication protocol can be either in ASCII or in RTU mode. For ASCII mode, date format
setting and set is 7Bits, even, 1 stop bit (7 E 1). For RTU mode, date format is 8Bits, even, 1 stop bit (8 E 1). Example: setting OFFSET value of CH1 to 0V(=K0LSB) and GAIN value of CH1 to 2.5V(=K500LSB).
CH6 CH5 CH4 CH3 CH2 CH1
characteristics Example: Setting of CH1 c) Function code: 03H read data from register.
adjustable priority 1. When b0=0, user can set OFFSET and GAIN value of CH1 (CR#18, CR#24). M1002 z Write H0 to CR#1 of analog input module no. 0
When b0=1, inhibit user to adjust OFFSET and GAIN value of CH1 (CR#18, 06H write one WORD into register. and set CH1 to mode 0 (voltage input
TO K0
CR#24). 10H write multiple WORD into register. -10V~+10V)
2. b1 means if characteristic register is latched. b1=0 (factory setting, latched),
b1=1 (not latched). z Write H0 to CR#33 and allow to adjust
TO K0
3. b2: Set to 1 and PLC will be reset to factory settings. 5 Adjust A/D Conversion Characteristic Curve characters of CH1.
The setting of CH5~CH6, give CH5 setting for example:
b13, b12: X0 z When X0 switches from Off to On, K0LSB of
00: can be adjusted, latched. 5.1 Adjust A/D Conversion Characteristic Curve of CH1~CH4 TO K0 OFFSET value will be wrote in CR#18 and
01: can be adjusted, non-latched. K500LSB of GAIN value will be wrote in CR#24.
10: inhibit adjust. Voltage input mode
11: reset to factory settings and clear b12, b13 to 0. digital output TO K0
#34 H 40EA R Software version Display software version in hexadecimal. Example: H 010A = version 1.0A. Mode 0 of CR#1: GAIN=5V(1000LSB), OFFSET=0V (0LSB).
+2000
#35~#48 System used
Mode 0 Mode 1 of CR#1: GAIN=6V(1200LSB), OFFSET=2V (400LSB).
means latched.
means non-latched. 5.4 Program Example for Adjusting D/A Conversion Characteristics Curve
+1000 Mode 1 GAIN:
R means can read data by using FROM command or RS-485. Voltage input value when digital output is 4000.
W means can write data by using TO command or RS-485. Example: set OFFSET value of CH5 to 0V(=K0LSB) and GAIN value of CH1 to 2.5V(=K1000LSB).
LSB (Least Significant Bit): 1. Voltage input: 1LSB=10V/2000=5mV. 2. Current input: 1LSB=20mA/1000=20A. Voltage
Setting range is -4V~+20V(-800LSB~ +4000LSB)
0 2V 5V 6V
3. Voltage output: 1LSB=10V/4000=2.5mV. 4. Current output: 1LSB=20mA/4000=5A. input M1002
-10V -6V 10V z Write H3000 into CR#1 (b12~b15) of analog
OFFSET GAIN OFFSET: Voltage input value when digital output is 0.
Explanation: TO K0 input/output module#0. Setting CH5 to mode 3
Setting range: -5V~+5V(-1000LSB ~ +1000LSB) (current output 0mA~ +20mA).
-1000
1. CR#0: The PLC model type.
GAINOFFSET: Setting range is +1V~+15V (+200LSB~ +3000LSB) z Write H0 into CR#33 (b12~b15) and allow CH5,
TO K0
2. CR#1: b11~b0 are used to set 4 internal channels working mode of analog input module (AD). b12~b15 CH6 to adjust characteristics.
-2000
are used to set 2 channels working mode of analog output module (DA). Every channel has four modes X0 z When X0 switches from Off to On, K0LSB of
that can be set individually. For example: if setting CH1 to mode 0 (b2~b0=000), CH2 to mode OFFSET value will be wrote in CR#22 and
1(b5~b3=001), CH3: mode2 (b8~b6=010), CH4: mode 3(b11~b9=011), b0~b11 need be set to H688. If Current input mode: TO K0
K1000LSB of GAIN value K1000LSB will be wrote
setting CH5: mode 2 (b13~b12=10), CH6: mode 1 (b15~b14=01), b12~b15 need be set to H5. The factory Mode 2 of CR#1: GAIN = 20mA(1000LSB), OFFSET=4mA (200LSB). in CR#28.
setting is H0000. TO K0
Digital output
Mode 3
Mode 3 of CR#1: GAIN = 20mA(1000LSB), OFFSET=0mA (0LSB).
3. CR#2 ~ CR#5: Used to set the number of piece of input readings for the average temperature calculation. +2000
The available range is K1~K4096 and factory setting is K10.
Mode 2 GAIN: Current input value when digital output is +4000.
4. CR#6 to CR#9: The average value of temperature in . Temperature is calculated by averaging multiple 6 Initial PLC Start-up
Setting range is -16 mA ~+52 mA (-800LSB ~
temperature readings. Example: If CR#2 is 10, the temperature in CR#6 will be the average of the last 10
readings on CH1. Current +2600LSB)
-20mA -12mA
0 Input Lamp display:
5. CR#10 ~ CR#11 are used to set the output value of CH5 and CH6. The setting range is K0~K4000. The 4mA 20mA OFFSET: Current input value when digital output value is 0.
factory setting is K0 and unit is LSB. OFFSET GAIN 1. Upon power-up, the ERROR LED will light for 0.5 seconds the POWER LED will light continuously.
Setting range is -20 mA~+20 mA (-1000LSB ~
6. CR#12 ~ CR#15: used to save the present value of input signal of CH1~CH4. 2. No errors= POWER LED on and ERROR LED off.
+1000LSB )
7. CR#16, CR#17, CR#28, CR#29 are reserved. Low Voltage error (lower than 19.5V), ERROR LED will blink continuously till the power supply rises
-2000 GAINOFFSET: Setting range is +4mA ~ +32mA (200LSB~ above 19.5V.
8. CR #18~ CR #21: used to adjust the OFFSET value of CH1~CH4 if analog input either in voltage or in
current is 0 after it converts from analog to digital. Voltage setting range: -5V~+5V(-1000LSB~+1000LSB). +1600LSB) 3. DVP06XA-S connected to PLC MPU in series = RUN LED on MPU will be lit and A/D LED or D/A
Current setting range: -20mA~+20mA (-1000LSB~+1000LSB). LED should blink.
9. CR #22~ CR #23: used to adjust the OFFSET value of CH5~CH6 if analog input either in voltage or in Use the chart above to adjust A/D conversion characteristic curve of voltage input mode and current input mode. 4. After receiving the first RS-485 command the A/D LED or D/A LED will blink.
current is 0 after it converts to digital. Factory setting is K0, and the unit is LSB. The setting range is Users can adjust conversion characteristic curve by changing OFFSET values (CR#18~CR#21) and GAIN values
(CR#24~CR#27) depend on application. 5. If the input or output exceeds the upper or lower bounds, then the ERROR LED will blink.
-2000~+2000. Voltage setting range: -5V~+5V(-2000LSB~+2000LSB). Current setting range: -10mA~+10mA
(-2000LSB~+2000LSB). 6. When main CPU and extension unit communicate time-out or abnormal interrupt, LED ERROR of
LSB (Least Significant Bit): 1. voltage input: 1LSB=10V/2000=5mV. 2. current input: 1LSB=20mA/1000= 20A.
extension unit will keep lighting.
10. CR #24~ CR #27: used to adjust the GAIN value of CH1~CH4. The value of analog input either in voltage
Example:
or in current after it was converted to digital based upon full scale of 4000. Voltage setting range: 5.2 Adjust D/A Conversion Characteristic Curve of CH5~CH6
-4V~+20V(-800LSB~+4000LSB). Current setting range: -16mA~+52mA (-800LSB ~+2600LSB). But it needs to
notice that GAIN VALUE - OFFSET VALUE = +200LSB~+3000LSB (voltage) or +200LSB~+1600LSB (current). If M1000
Voltage output mode
the value difference comes up small (within range), the output signal resolution is then slim and the FROM K0
variation is definitely larger. On the contrast, if the value difference exceeds the range, the output signal Voltage output Mode 0 of CR#1: GAIN = 5V(2000LSB), OFFSET=0V (0LSB) M1013
resolution becomes larger and the variation is definitely smaller.
10V Mode 1 of CR#1: GAIN = 6V(2400LSB), OFFSET=2V (800LSB).
INC D100
11. CR #28~ CR #29: used to adjust the GAIN value of CH5~CH6. The value of analog input either in voltage mode 1
or in current after it converts to digital based upon full scale of 2000. Voltage setting range: GAIN: Voltage output value when digital input is K2000.
-4V~+20V(-1600LSB~+8000LSB). Current setting range: -8mA ~+40mA (-1600LSB~+8000LSB). Please be Setting range is -4V~+20V(-1600LSB ~+8000 LSB). ADD D101
noticed that GAIN VALUE OFFSET VALUE = +400LSB ~+6000LSB (voltage or current). If the value mode 0
difference comes up small (within range), the output signal resolution is then slim and the variation is 6V GAIN OFFSET: Voltage output value when digital input is K0. = K4000 D100 RST D100
5V
definitely larger. On the contrast, if the value difference exceeds the range, the output signal resolution Setting range: -5V~+5V(-2000LSB ~ +2000 LSB).
becomes larger and the variation is definitely smaller. GAINOFFSET: Setting range is +1V~+15V(+400LSB ~ +6000 LSB) = K4000 D101 RST D101
12. CR#30 is the fault code. Please refer to the chart below.
2V M1002
Fault description Content b15~b8 b7 b6 b5 b4 b3 b2 b1 b0 Digital = HCC D0 TO K0
Power source abnormal K1(H1) 0 0 0 0 0 0 0 1 0 +2000 +4000 input
OFFSET
(Low voltage alarm)
User setting D/A output K2(H2) 0 0 0 0 0 0 1 0 TO K0
exceeds range Current output mode:
Setting mode error K4(H4) 0 0 0 0 0 1 0 0
Reserved Current output Mode 2 of CR#1: GAIN = 12mA(2400LSB ),OFFSET=4mA (800LSB). FROM K0
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 20mA Mode 3 of CR#1: GAIN = 10mA(2000LSB), OFFSET=0mA (0LSB).
Digital range error K32(H20) 0 0 1 0 0 0 0 0 Mode 2
GAIN: Current output value when digital input value is TO K0
Average times setting error K64(H40) 0 1 0 0 0 0 0 0 K2000. Setting range is -8mA ~+40mA (-1600LSB
Command error K128(H80) 1 0 0 0 0 0 0 0 ~+8000LSB).
Mode 3
Note: Each fault code will have corresponding bit (b0~b7). Two or more faults may happen at the same 12mA
GAIN OFFSET: Current output value when digital input is K0. END
10mA
time. 0 means normal and 1 means having fault. Setting range is -10mA ~+10mA (-2000LSB
13. CR#31: RS-485 communication address. Setting range is 01~255 and factory setting is K1. ~+2000LSB). Explanation:
GAINOFFSET: Setting range is +2mA~+30mA (+400LSB
14. CR#32: RS-485 communication baud rate: 4800, 9600, 19200, 38400, 57600 and 115200. b0:4800bps, 4mA ~+6000LSB) z Reading the model type of extension module K0 (should be HCC for DVP06XA-S model type).
b1:9600bps (factory setting), b2:19200bps, b3:38400 bps, b4:57600 bps, b5:115200 bps, b6~b13: Digital
Reserved, b14: switch between low bit and high bit of CRC code (RTU mode only) b15: ASCII / RTU mode. 0
+2000 +4000
input z If the model type is DVP06XA-S, set the input mode is (CH1, CH3, CH4)= mode 0, (CH2)= mode 2, and set the
OFFSET
For ASCII mode, date format is 7Bits, even, 1 stop bit (7 E 1). For RTU mode, date format is 8Bits, even, output mode is (CH5)=mode 0, (CH6)=mode 2.
1 stop bit (8 E 1).
Use the chart above to adjust D/A conversion characteristic curve of voltage output mode and current output z Setting the average number of CH1 and CH2 are K32.
15. CR#33 is used to set the internal function priority. For example: characteristic register. Output latched mode. Users can adjust conversion characteristic curve by changing OFFSET values (CR#14~CR#15) and GAIN
function will save output setting in the internal memory before power loss. values (CR#18~CR#19) depend on application. z Reading the input signal average value of CH1~CH4 (4 data) from CR#6~CR#9 and save in D20~D23.
16. CR#34: software version. LSB (Least Significant Bit): 1. voltage output: 1LSB=10V/4000=2.5mV. z In each second, D100 will increase K1 and D101 will increase K5. When the value of D100 and D101 are
K4000, it will clear to 0.
17. CR#35~ CR#48: system used. 2. current output: 1LSB=20mA/4000=5A.
18. The corresponding parameters address H 40C8~H 40F9 of CR#0~CR#48 will allow user to read/write data z Writing the output setting value of D100 and D101 into CR#10 and CR#11. The analog output value of
via RS-485. CH5~CH6 will change with the value of D100 and D101.
5.3 Program Example for Adjusting A/D Conversion Characteristics Curve
a) Baud rate can be 4800, 9600, 19200, 38400, 57600, 115200bps.