台达DVPPLC用电位器的电压模拟传感器DVPADSL模拟量输入成功程序

合集下载

台达DVPSVLC控制台达B伺服接线及程序说明

台达DVPSVLC控制台达B伺服接线及程序说明

伺服位置控制说明
1、目的:本技术文档旨在说明用台达PLC发出脉冲指令给伺服控制器,进而控制伺服电机按指定方向(正方向)旋转指定角度。

2、相关设备型号
3、台达PLC接线
4、伺服控制器接线
43接Y3(正脉冲指令输入)
39 接Y3(正方向指令输入)
L1C接火线,L1C跟R 短接L2C接火线,L2C 跟S 短接注:伺服电机与控制器采用专用配线连接
5、PLC程序
6、伺服控制器设置(位置模式)
1. 恢复出厂设置:P2-08 设置参数为10,P2-10 设置为101, p2-15 设置为0, p2-16 设置为0, p2-17 设置为0 ,重新上电。

(不按上述设置,只改p2-08, 会报错)
2. 位置模式选择:P1-01 设置参数为00,重新上电。

设置P1-00为2,脉冲+方向模式。

3. 设置DI1为Servo On:P2-10设置为101(默认初始值就是101)
4. 设置电子齿轮比:根据功能具体要求确定合适的电子齿轮比。

这里我们设置为160。

设置P1-44 和P1-45。

5. 设置增益:P2-00,P2-02。

电机抖动,这个参数设置的要小些。

6. P0-02 :设置为01 脉冲指令输入脉冲数(电子齿轮比之后)
7、相关照片
图 1 伺服接线
图 2 PLC接线
ε S。

台达DVP04AD-E2模拟量输入模块用户手册说明书

台达DVP04AD-E2模拟量输入模块用户手册说明书

DVP-0280130-01 20211108………………………………………………………………… ENGLISH …………………………………………………………………Thank you for choosing Delta’s DVP series PLC. DVP04AD-E2 analog input module receives external 4 points of analog input signals (voltage or current) and converts them into 16-bit digital signals. You can select voltage input or current input by the wiring. In addition, you can access the data in the module by applying FROM/TO instructions or read the average value of channels directly by using MOV instruction (Please refer to allocation of special registers D9900 ~ D9999).EN DVP04AD-E2 is an OPEN-TYPE device. It should be installed in a control cabinetfree of airborne dust, humidity, electric shock and vibration. To preventnon-maintenance staff from operating DVP04AD-E2, or to prevent an accident from damaging DVP04AD-E2, the control cabinet in which DVP04AD-E2 isinstalled should be equipped with a safeguard. For example, the control cabinet in which DVP04AD-E2 is installed can be unlocked with a special tool or key. EN DO NOT connect AC power to any of I/O terminals, otherwise serious damagemay occur. Please check all wiring again before DVP04AD-E2 is powered up. After DVP04AD-E2 is disconnected, Do NOT touch any terminals in a minute. Make sure that the ground terminal on DVP04AD-E2 is correctly grounded in order to prevent electromagnetic interference.FR DVP04AD-E2 est un module OUVERT. Il doit être installé que dans une enceinteprotectrice (boitier, armoire, etc.) saine, dépourvue de poussière, d’humidité, de vibrations et hors d’atteinte des chocs électriques. La protection doit éviter que les personnes non habilitées à la maintenance puissent accéder à l’appareil (par exemple, une clé ou un outil doivent être nécessaire pour ouvrir a protection). FR Ne pas appliquer la tension secteur sur les bornes d’entrées/Sorties, ou l’appareilDVP04AD-E2 pourra être endommagé. Merci de vérifier encore une fois lecâblage avant la mise sous tension du DVP04AD-E2. Lors de la déconnection de l’appareil, ne pas toucher les connecteurs dans la minute suivante. Vérifier que la terre est bien reliée au connecteur de terre afin d’éviter toute interférence électromagnétique.Product Profile & DimensionUnit:mmExternal WiringNote 1: When performing analog input, please isolate other power wirings.Note 2: When the A/D module is connected to current signals, make sure you short-circuit “V+” and “I+” terminals.Note 3: If the noise is too significant, please connect FE to the grounding terminal.Note 4: Please connect the terminal on both the power module and A/D module to the system earth point and ground the system contact or connect it to the cover of power distribution cabinet. Note 5: 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.I/O Terminal LayoutElectrical SpecificationsAnalog / Digital module (04A/D)Power supply voltage 24VDC (20.4VDC ~ 28.8VDC) (-15% ~ +20%)Analog / Digital module (04A/D)Max. rated powerconsumption1W, supplied by external power sourceConnector European standard removable terminal block (Pin pitch: 5mm)Operation/storage temperature Operation: 0°C~55°C (temp.), 5~95% (humidity), Pollution degree2 Storage: -25°C~70°C (temp.), 5~95% (humidity)Vibration/shock immunity International standards: IEC61131-2, IEC 68-2-6 (TEST Fc)/ IEC61131-2 & IEC 68-2-27 (TEST Ea)Series connection to DVP-PLC MPU The modules are numbered from 0 to 7 automatically by their distance from MPU. Max. 8 modules are allowed to connect to MPU and will not occupy any digital I/O points.Functions SpecificationsAnalog / Digital module Voltage input Current inputAnalog input channel 4 channels / each moduleRange of analog input ±10V ±5V ±20mA 0 ~ 20mA 4 ~ 20mA Range of digitalconversion±32,000 ±32,000 ±32,000 0 ~ 32,000 0 ~ 32,000Max./Min. range of digital data ±32,384 ±32,384 ±32,384 -384~+32,384-384~+32,384Hardware Resolution 14 bits 14 bits 14 bits 13 bits 13 bits Input impedance ≧1MΩ250ΩRange of absolute input ±15V ±32mAOverall accuracy ±0.5% when in full scale (25°C, 77°F)±1% when in full scale within the range of 0 ~ 55°C (32 ~ 131°F)Response time 400μs / each channel Digital data format 2’s complement of 16 bitsAverage function Supported. Available for setting up sampling range in CR#8 ~ CR#11. Range: K1 ~ K100.Self-diagnosis Upper and lower bound detection in all channelsIsolation method Optical coupler isolation between digital circuits and analog circuits. No isolation among analog channels.500VDC between digital circuits and Ground500VDC between analog circuits and Ground500VDC between analog circuits and digital circuits500VDC between 24VDC and GroundControl RegisterCR# Attrib. Register name Explanation#0 O R Model name Set up by the system:DVP04AD-E2 model code = H’0080#1 O R Firmware version Display the current firmware version in hex.#2 O R/W CH1 input mode setting Input mode: Default = H’0000.Take CH1 for example:Mode 0 (H’0000): Voltage input (±10V) Mode 1 (H’0001): Voltage input (±5V)Mode 2 (H’0002): Voltage input (0 ~ +10V) Mode 3 (H’0003): Voltage input (0 ~ +5V) Mode 4 (H’0004): Current input (±20mA) Mode 5 (H’0005): Current input (0 ~ +20mA) Mode 6 (H’0006): Current input (+4~ +20mA) Mode -1 (H’FFFF): Channel 1 unavailable#3 O R/W CH2 input mode setting #4 O R/W CH3 input mode setting #5 O R/W CH4 input mode setting#8 O R/W CH1 sampling range Set sampling range in CH1 ~ CH4: Range = K1 ~ K100 Default = K10#9 O R/W CH2 sampling range #10 O R/W CH3 sampling range #11 O R/W CH4 sampling range #12 X R CH1 average input value Average value of input signals at CH1 ~ CH4#13 X R CH2 average input value #14 X R CH3 average input value #15 X R CH4 average input value #20 X R CH1 present input value Present value of input signals at CH1 ~ CH4#21 X R CH2 present input value #22 X R CH3 present input value #23 X RCH4 present input value#28 O R/W Adjusted Offset value of CH1 Set the adjusted Offset value of CH1 ~ CH4. Default = K0Definition of Offset in DVP04AD-E2:The corresponding voltage (current) input value when the digital output value = 0. #29 O R/W Adjusted Offset value of CH2 #30 O R/W Adjusted Offset value of CH3 #31 O R/W Adjusted Offset value of CH4 #34 O R/W Adjusted Gain value of CH1 Set the adjusted Gain value in CH1 ~ CH4. Default = K16,000Definition of Gain in DVP04AD-E2:The corresponding voltage (current) input value when the digital output value = 16,000.#35 O R/W Adjusted Gain value of CH2 #36 O R/W Adjusted Gain value of CH3 #37 O R/W Adjusted Gain value of CH4Adjusted Offset Value, Adjusted Gain Value:Note1: When using Mode 6 for input, the channel do NOT provide setups for adjusted Offset or Gainvalue. Note2: When input mode changes, the adjusted Offset or Gain value automatically returns to defaults.#40 O R/WFunction: Set value changingprohibited Prohibit set value changing in CH1 ~ CH4.Default= H’0000.#41 X R/WFunction: Save all the setvalues Save all the set values, Default =H’0000 #43 X R Error statusRegister for storing all error status. Refer to table of error status for more information.#100 O R/WFunction: Enable/Disable limitdetectionUpper and lower bound detection, b0~b3corresponds to Ch1~Ch4 (0: Enable/1:Disable). Default= H’0000.#101 X R/W Upper and lower bound statusDisplay the upper and lower bound status (0: Not exceed /1: Exceeds upper or lower bound value), b0~b3 corresponds toCh1~Ch4 for lower bound detection result; b8~b11 corresponds to CH1~CH4 for upper bound detection result. #102 O R/W Set value of CH1 upper boundSet value of CH1~CH4 upper bound. Default = K32000. #103 O R/W Set value of CH2 upper bound #104 O R/W Set value of CH3 upper bound #105 O R/W Set value of CH4 upper bound #108 O R/W Set value of CH1 lower bound Set value of CH1~CH4 lower bound. Default = K-32000.#109 O R/W Set value of CH2 lower bound #110 O R/W Set value of CH3 lower bound#111 O R/W Set value of CH4 lower boundSymbols:O: When CR#41 is set to H’5678, the set value of CR will be saved. X: set value will not be saved.R: able to read data by using FROM instruction. W: able to write data by using TO instruction. ※ CR#43: Error status value. See the table below:Descriptionbit0 K1 (H’1) Power supply error bit6K64 (H’40)CH4 Conversion error bit1 K2 (H’2) Reservedbit9 K512(H’0200)Mode setting errorbit2 K4 (H’4) Upper/lower bound error bit10 K1024(H’0400) Sampling range error bit3 K8 (H’8)CH1 Conversion errorbit11 K2048(H’0800) Upper / lower bound setting error bit4K16 (H’10) CH2 Conversion errorbit12 K4096(H’1000)Set value changing prohibitedbit5 K32 (H’20) CH3 Conversion errorbit13 K8192(H’2000) Communicationbreakdown on nextmoduleNote: Each error status is determined by the corresponding bit (b0 ~ b13) and there may be morethan 2 errors occurring at the same time. 0 = normal; 1 = error※ Module Reset (Available for firmware v1.10 or above): When modules need reset, write H’4352 inCR#0 then disconnect and turn on the power again. The resetting initializes parameter setups to provide normal functions for other modules. Connect to only one module during reset, wait 1 second before disconnecting the power.Explanation on Special Registers D9900~D9999When DVP-ES2 MPU is connected with modules, registers D9900~D9999 will be reserved for storing values from modules. You can apply MOV instruction to operate values in D9900~D9999.When DVP-ES2 MPU is connected with DVP04AD-E2, the configuration of special registers is as below:Module #0Module #1 Module #2 Module #3 Module #4 Module #5 Module #6 Module #7DescriptionD1320 D1321 D1322 D1323 D1324 D1325 D1326 D1327 Model Code D9900 D9910 D9920 D9930 D9940 D9950 D9960 D9970CH1 averageinput value D9901 D9911 D9921 D9931 D9941 D9951 D9961 D9971CH2 averageinput value D9902 D9912 D9922 D9932 D9942 D9952 D9962 D9972CH3 averageinput value D9903 D9913 D9923 D9933 D9943 D9953 D9963 D9973CH4 averageinput value Note 1: D9900 ~ D9999 are average input values of CH1 ~ CH4 and the sampling range is K1 ~ K100.When the sampling range is set to K1, the values displayed in D9900~D9999 are current values. You can use: 1. ES_AIO Configuration Function of WPLSoft or 2. FROM/TO instructions (CR#8 ~ CR#11) to set the sampling range as K1.Adjust A/D Conversion CurveUsers can adjust the conversion curves according to the actual needs by changing the Offset value (CR#28 ~ CR#31) and Gain value (CR#34 ~ CR#37).Gain: The corresponding voltage/current input value when the digital output value = 16,000.Offset: The corresponding voltage/current input value when the digital output value = 0.Equation for voltage input Mode0 / Mode2: 0.3125mV = 20V/64,000 = 10V/32,000()Offset Gain Offset V V X Y -⎪⎪⎭⎫⎝⎛-⨯⨯=320001016000)()(Y=Digital output, X=Voltage input Equation for voltage input Mode1 / Mode3: 0.15625mV = 10V/64,000 = 5V/32,000()Offset Gain Offset V V X Y -⎪⎪⎭⎫ ⎝⎛-⨯⨯=32000516000)()(Y=Digital output, X=Voltage input Equation for current input Mode4 / Mode5: 0.625μA = 40mA/64,000 = 20mA/32,000 ()Offset Gain Offset mA mA X Y -⎪⎪⎭⎫⎝⎛-⨯⨯=320002016000)()(Y=Digital output, X=Current input Equation for current input Mode6: 0.5μA = 16mA/32,000Adopt the Equation of current input Mode4/Mode5, substitute Gain for 19200(12mA) and Offset for 6400 (4mA)()6400192006400320002016000-⎪⎪⎭⎫⎝⎛-⨯⨯=)()(mA mA X YY=Digital output, X=Current inputMode 0:Mode 1:Mode 0 of CR#2 ~ CR#5 -10V ~ +10V ,Gain = 5V (16,000),Offset = 0V (0) Mode 1 of CR#2 ~ CR#5 -5V ~ +5V ,Gain = 2.5V (16,000), Offset = 0V (0) Range of digital conversion -32,000 ~ +32,000 Max./Min. range of digital conversion-32,384 ~ +32,384Mode 2:Mode 3:Mode 4:Mode 4 of CR#2 ~ CR#5-20mA ~ +20mA, Gain = 10mA (16,000), Offset = 0mA (0) Range of digital conversion -32,000 ~ +32,000 Max./Min. range of digital conversion-32,384 ~ +32,384Mode 5:Mode 6:Mode 5 of CR#2 ~ CR#5 0mA ~ +20mA, Gain = 10mA (16,000), Offset = 0mA (0) Mode 6 of CR#2 ~ CR#5 +4mA ~ +20mA, Gain = 12mA (19,200), Offset = 4mA (6,400) Range of digital conversion 0 ~ +32,000 Max./Min. range of digital conversion-384 ~ +32,384……………………………………………………………… 繁體中文 …………………………………………………………………………感謝您採用台達DVP 系列產品。

台达DVP-PLC指令表大全

台达DVP-PLC指令表大全
接点型态比较指令: ## LD=
## LD> ## LD< ## LD<> ## LD<= ## LD>= ## AND= ## AND> ## AND< ## AND<> ## AND<= ## AND>= ## OR= ## OR> ## OR< ## OR<> ## OR<= ## OR>=
格雷码: 170 171
GRY GBIN
结束指令:
END
程序结束
其他指令:
NOP
无动作
INV
运算结果反相
P
指针
I
中断插入指针
步进梯形指令:
STL
程序跳至副母线
RET
程序返回主母线
199 DICF
立即变更频率指令
应用指令
较: 定显示:
比较设定输出 区间比较 数据传送 移位传送 反转传送 全部传送 多点传送 数据交换 BIN → BCD 变换 BCD → BIN 变换
台达变频器通讯:
## MODRD
## MODWR ## FWD ## REV ## STOP ## RDST ## RSTEF ## LRC ## CRC ## MODRW ## ASDRW
矩阵: 180 MAND 181 MOR 182 MXOR 183 MXNR 184 MINV 185 MCMP 186 MBRD 187 MBWR 188 MBS 189 MBR 190 MBC
BIN 加法 BIN 减法 BIN 乘法 BIN 除法 BIN 加一 BIN 减一 逻辑与 (AND) 运算 逻辑或 (OR) 运算 逻辑异或 (XOR) 运算 取负数(取 2 的补码)

Delta DVP Slim Series PLC DVP04TC-S 用户指南说明书

Delta DVP Slim Series PLC DVP04TC-S 用户指南说明书

2015-02-03 5011669907-T407………………………………………………….……………… ENGLISH …………………………………………………………………Thank you for choosing Delta DVP series PLC. DVP04TC-S is able to receive 4 points of external thermocouple temperature sensors and convert them into 14-point digital signals. Besides, through FROM/TO instructions in DVP Slim series MPU program, the data in the module can be read and written. There are many 16-bit control registers (CR) in DVP04TC-S. The power unit is separate from it and is small in size and easy to install. EN DVP04TC-S is an OPEN-TYPE device. It should be installed in a control cabinetfree of airborne dust, humidity, electric shock and vibration. To preventnon-maintenance staff from operating DVP04TC-S, or to prevent an accident from damaging DVP04TC-S, the control cabinet in which DVP04TC-S is installed should be equipped with a safeguard. For example, the control cabinet in which DVP04TC-S is installed can be unlocked with a special tool or key.EN DO NOT connect AC power to any of I/O terminals, otherwise serious damagemay occur. Please check all wiring again before DVP04TC-S is powered up. After DVP04TC-S is disconnected, Do NOT touch any terminals in a minute. Make sure that the ground terminal on DVP04TC-S is correctly grounded in order to prevent electromagnetic interference.FR DVP04TC-S est un module OUVERT. Il doit être installé que dans une enceinteprotectrice (boitier, armoire, etc.) saine, dépourvue de poussière, d’humidité, de vibrations et hors d’atteinte des chocs électriques. La protection doit éviter que les personnes non habilitées à la maintenance puissent accéder à l’appareil (par exemple, une clé ou un outil doivent être nécessaire pour ouvrir a protection). FR Ne pas appliquer la tension secteur sur les bornes d’entrées/Sorties, ou l’appareilDVP04TC-S pourra être endommagé. Merci de vérifier encore une fois lecâblage avant la mise sous tension du DVP04TC-S. Lors de la déconnection de l’appareil, ne pas toucher les connecteurs dans la minute suivante. Vérifier que la terre est bien reliée au connecteur de terre afin d’éviter toute interférence électromagnétique.Product Profile & Dimension111213Unit: mm1. Status indicator (POWER, RUN and ERROR)2. Model name3. DIN rail clip4. I/O terminals5. I/O point indicator6. Mounting holes7. Specification label8. I/O module connection port9. I/O module clip 10. DIN rail (35mm) 11. RS-485 communication port 12. I/O module clip13. DC power input14. I/O module connection portI/O Terminal LayoutExternal WiringCl Sy Note1: Use only the wires that are supplied with your thermocouple sensor. Tighten PLCterminal screws to a torque of 1.95 kg-cm (1.7 in-lbs). Note2: Terminal SLD is a grounding location for noise suppression. Note3: Please connect power supply module terminal andDVP04TC-S temperaturemeasurement module terminal to system earth ground.Warning: DO NOT connect wires to the No Connection terminals.Electrical SpecificationsPower supply voltage 24VDC (20.4VDC ~ 28.8VDC) (-15% ~ +20%) Max. rated powerconsumption 2W, supplied by external power.Operation/storage Operation: 0°C~55°C (temperature), 5~95% (humidity), pollution degree 2Storage: -25°C~70°C (temperature), 5~95% (humidity)Vibration/shock resistanceInternational standards: IEC61131-2, IEC 68-2-6 (TEST Fc)/ IEC61131-2 & IEC 68-2-27 (TEST Ea)Series connection to DVP-PLC MPUThe modules are numbered from 0 to 7 automatically by their distance from MPU. 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.Functional SpecificationsDVP04TC-S Celsius (°C)Fahrenheit (°F)Analog input channel 4 channels per moduleSensors type J-type, K-type, R-type, S-type, and T-type thermocoupleTemperature input rangeJ-type: -100°C ~ 700°C K-type: -100°C ~ 1,000°C R & S type: -10°C ~ 1,700°C T-type: -100°C ~ 350°CJ-type: -148°F ~ 1,292°F K-type: -148°F ~ 1,832°F R & S type: -14°F ~ 3,092°FT-type: -148°F ~ 662°F Digital conversion range J-type: K-1,000 ~ K7,000 K-type: K-1,000 ~ K10,000 R & S type: K-100 ~ K17,000 T-type: K-1,000 ~ K3,500 J-type: K-3,280 ~ K12,920K-type: K-1,480 ~ K18,320 R & S type: K-140 ~ K30,920 T-type: K-1,480 ~ K6,620 Resolution 16 bits (0.1°C)16 bits (0.1°F)Overall accuracy ±0.5% of full scale of 25°C (77°F),±1% of full scale during 0 ~ 55°C (32 ~ 131°F). Response time200ms × channelsDVP04TC-S Celsius (°C) Fahrenheit (°F)Isolation methodIsolation between digital and analog circuits. There is isolation between channels.500VDC between digital circuits and Ground 500VDC between analog circuits and Ground500VDC between analog circuits and digital circuits 500VDC between 24VDC and Ground Digital data format 2’s complement of 16-bit Average function Yes (CR#2 ~ CR#5)Self diagnostic function YesCommunication mode (RS-485)Yes (CR#32). RS-485 is disabled when the DVP04TC-S is connected in series with an MPU.Control RegisterCR# AddressSaveRegister content Description#0 H’4096 O RModel nameSet up by the system:DVP04TC-S model code=H’8B#1 H’4097 O R/W Thermocouple type b15~b12b11~b9b8~b6 b5~b3 b2~b0ReservedCH4CH3 CH2 CH1Example: Setting of CH11. (b2, b1, b0) set to (0, 0, 0), use J-type.2. (b2, b1, b0) set to (0, 0, 1), use K-type.3. (b2, b1, b0) set to (0, 1, 0), use R-type.4. (b2, b1, b0) set to (0, 1, 1), use S-type.5. (b2, b1, b0) set to (1, 0, 0), use T-type.CR#1: Used to set the working mode of four channels. There are 5 modes (J-type, K-type, R-type, S-type, and T-type) for each channel and can be set individually. For example, If you want to set CH1~CH4 as following: CH1: mode 0 (b2 ~ b0=000), CH2: mode 1 (b5 ~ b3=001), CH3: mode 0 (b8 ~ b6=000) and CH4: mode 1 (b11 ~ b9=001), you should set CR#1 to H’0208. The higher bits (b12 ~ b15) will be reserved and the default setting is H’0000. #2 H’4098 O R/W CH1 average number Number piece of readings used for the calculation of “average” temperature on channels CH1 ~ CH4. Setting range: For versions prior to V3.04: K1 ~ K4,095. For versions after V3.05: K1 ~ K20. Default setting is K10.#3 H’4099O R/W CH2 average number#4 H’409A O R/W CH3 average number #5H’409B O R/W CH4 average numberCR#2 ~ CR#5: Please be noticed that when PLC sets average times via TO/DTO instructions, please use rising-edge/falling-edge detection instruction (such as LDP and LDF) to get correct average times. #6 H’409C X R CH1 average degrees Average degrees for channels CH1 ~ CH4. (Unit: 0.1°C).#7 H’409D X R CH2 average degrees #8 H’409E X R CH3 average degrees #9H’409FX R CH4 average degrees #10 H’40A0 X R CH1 average degrees Average degrees for channels CH1 ~ CH4. (Unit: 0.1°F).#11 H’40A1 X R CH2 average degrees #12 H’40A2 X R CH3 average degrees #13 H’40A3 XRCH4 average degrees #14 H’40A4 X R Present temp. of CH1 Present temperature of channels CH1 ~ CH4. (Unit: 0.1°C).#15 H’40A5 X R Present temp. of CH2 #16 H’40A6 X R Present temp. of CH3 #17 H’40A7 X R Present temp. of CH4 #19 H’40A9 XR Present temp. of CH1 Present temperature of channels CH1 ~ CH2. (Unit: 0.1°F).#20 H’40AAX RPresent temp. of CH2CR# Address Save Register content Description#21 H’40ABX RPresent temp. of CH3 Present temperature of channels CH3 ~ CH4. (Unit: 0.1°F).#22 H’40AC X RPresent temp. of CH4 #24 H’40AE OR CH1 OFFSET Value Adjust offset value of channels CH1 ~ CH4. The range is -1,000 ~ +1,000 and default setting is K0. (Unit: 0.1°C).#25 H’40AF O R CH2 OFFSET Value #26 H’40B0 OR CH3 OFFSET Value #27 H’40B1 ORCH4 OFFSET Value#29 H’40B3X R/W PID mode settingSet H'5678 to enable PID mode, other set values are invalid. Default: H’0000. #30 H’40B4 X R Error status Data register stores the error status. Refer to the error code chart for details. #31 H’40B5 O R/WCommunication address settingRS-485 communication address. Setting range is 1 ~ 254 and default setting is K1.#32 H’40B6 O R/WCommunication baud rate settingCommunication baud rate. For ASCII mode, date format is 7 bits, even, 1 stop bit (7, E, 1), while RTU mode, date format is 8 bits, even, 1 stop bit (8, E, 1). b0: 4,800 bps (bit/sec).b1: 9,600 bps (bit/sec). (default setting) b2: 19,200 bps (bit/sec). b3: 38,400 bps (bit/sec). b4: 57600 bps (bit/sec). b5: 115,200 bps (bit/sec). b6 ~ b13: Reserved.b14: switch between low bit and high bitof CRC code (RTU mode only). b15: RTU mode.#33 H’40B7 O R/WReset to default settingb15~b12b11~ b9b8~b6 b5~b3 b2~b0ERR LEDCH4CH3CH2CH1Example: Setting of CH11. b0 ~ b1: Reserved.2. b2: Set to 1 and PLC will be reset to default settings.Definition of ERR LED: b12~b15=1111 (default settings)1. b12 corresponds to CH1: when b12=1, scale exceeds the range, ERR LED flashes.2. b13 corresponds to CH2: when b13=1, scale exceeds the range, ERR LED flashes.3. b14 corresponds to CH3: when b14=1, scale exceeds the range, ERR LED flashes.4. b15 corresponds to CH4: when b15=1, scale exceeds the range, ERR LED flashes.#34 H’40B8 O RSoftware version Display the software version inhexadecimal. Example: H’010A = version 1.0A#35 ~ #48System usedSymbols:O: means latched. X: means not latched. (Support when using RS-485 communication, not support when connecting with MPU)R: able to read data by using FROM instruction or RS-485. W: able to write data by using TO instruction or RS-485.1. Function code: 03’H - read data from register. 06’H - write one word to register. 10’H - writemultiple words to registers. 2. CR#30 is the error code register. Refer to the chart below:Error description Content b15 ~ b8b7b6b5 b4 b3 b2 b1 b0Power source abnormal K1 (H’1)Reserved 000 0 0 0 0 1Wiring to empty external contact K2 (H’2) 000 0 0 0 1 0 Setting mode error K4 (H’4) 000 0 0 1 0 0 Offset/Gain error K8 (H’8) 000 0 1 0 0 0 Hardware malfunction K16 (H’10) 000 1 0 0 0 0 Digital range error K32 (H’20) 00 1 0 0 0 0 0 Average times setting error K64 (H’40) 010 0 0 0 0 0 Instruction error K128 (H’80)100 0 0 0 0 0 Note: Each error code will have corresponding bit (b0 ~ b7). Two or more errors may happen at the same time. 0 means normal and 1 means having error.3. When CR#29 is set to H’5678, CR#0 ~ CR#34 can be used for PID settings in DVP04TC-SV3.08 and versions above.PID Mode Content DescriptionCR#0 Model name CR#6 CH1 average degrees (°C)CR#1 Thermocouple type CR#7 CH2 average degrees (°C)CR#2 PID Output % at CH1 CR#8 CH3 average degrees (°C)CR#3 PID Output % at CH2 CR#9 CH4 average degrees (°C)CR#4 PID Output % at CH3 CR#6~CR#9: Unit: 0.1°CCR#5 PID Output % at CH4CR#2~CR#5: 0~1000; Unit: 0.1%PID Mode Content DescriptionCR#10 Set temperature at CH1CR#28Run/Stop & Auto tuningCR#11 Set temperature at CH2 Bit0: CH1 PID runs/stops CR#12 Set temperature at CH3 Bit1: CH2 PID runs/stops CR#13 Set temperature at CH4 Bit2: CH3 PID runs/stops CR#10~CR#13: Set the PID targetvalue (SV)Bit3: CH4 PID runs/stops CR#14 CH1 K P0=PID stops; 1=PID runs CR#15 CH2 K P Bit4:CH1 Auto tuning CR#16 CH3 K P Bit5:CH2 Auto tuning CR#17 CH4 K P Bit6:CH3 Auto tuning CR#19 CH1 K I Bit7:CH4 Auto tuningCR#20 CH2 K I 1: The auto tuning function is enabled. After the auto tuning is complete, the value becomes 0.CR#21 CH3 K I CR#29Enter PID mode(H’5678) K0: Exit the PID modeCR#22 CH4 K I CR#30ErrorCode CR#24 CH1 K D CR#31CH1 Sampling timeCR#25 CH2 K D CR#32CH2 Sampling timeCR#26 CH3 K D CR#33CH3 Sampling timeCR#27 CH4 K D CR#34CH4 Sampling timeCR#31~CR#34: 1~30; Unit: 1sNote: Users have to enter the PID mode (CR#29=H’5678) before setting other control registers.……………………………………………………………… 繁體中文 …………………………………………………………………………感謝您採用台達DVP系列產品。

台达PLC解密

台达PLC解密

关于台达DVP-EC/ES系列PLC暗码破解1.起首,你的手上须要一条编程电缆来衔接PLC,假如没有,可以克己一条.假如你的电脑没有串口也没有关系,购置一条USB-232电缆.2.网高低载一个串口精灵软件,打开监督.3.打开WPLSoft 软件,程序进行上载,假如没有弹出暗码输入项,恭喜你,可以顺遂上载程序了.假如弹出输入暗码项,随意输入四位数据.4.检讨串口精灵数据监督,最后一段数据.台达编程数据采取ASCII码,是以须要一份ASCII码对比表.例如:2400,18:50:42,WPLSoft.exe(2432),IRP_MJ_WRITE,COM3,17,3A 30 31 30 33 31 33 46 35 30 30 30 32 46 32 0D 0A | :010313F50002F2\#13\#10,2401,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,3A | :,2402,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,30 | 0,2403,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,31 | 1,2404,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,2405,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 33 | 3,2406,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 30 | 0,2407,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 34 | 4,2408,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 37 | 7,2409,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 31 | 1,2410,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 36 | 6,2411,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 31 | 1,2412,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 37 | 7,2413,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 41 | A,2414,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1, 33 | 3,2415,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,2416,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,37 | 7,2417,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,43 | C,2418,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,0D | \#13,2419,18:50:42,WPLSoft.exe(2432),IRP_MJ_READ,COM3,1,0A | \#10,2421,18:50:44,WPLSoft.exe(2432),IRP_MJ_CLOSE,COM3,0,,最上面的一行数据3A 30 31 30 33 31 33 46 35 30 30 30 32 46 32 0D 0A 的寄义可以对比ASCII码表,个中数据均采取十六进制数编写.翻译过来即为| :010313F50002F2下边数据解析即为暗码项,把解析后的数据分列一下,为:010********A307C归位换行,两个数据为一组翻译成键位代码:标题开端(01),本文停止(03),传输停止(04),q(71),a(61),z(7A),0(30),|(7C),归位,换行.此番解密后,暗码为:qaz0留意:ASCII码有大小写的区分,输入暗码时应留意.台达编程电缆克己。

PLC对模拟量信号的处理过程及方法

PLC对模拟量信号的处理过程及方法

PLC对模拟量信号的处理过程及方法模拟量信号是自动化过程控制系统中最基本的过程信号(压力、温度、流量等)输入形式。

系统中的过程信号通过变送器,将这些检测信号转换为统一的电压、电流信号,并将这些信号实时的传送至控制器(PLC)。

PLC通过计算转换,将这些模拟量信号转换为内部的数值信号。

从而实现系统的监控及控制。

从现场的物理信号到PLC内部处理的数值信号,有以下几个步骤:从以上PLC模拟量的信号输入流程可以看到,在自动化过程控制系统中,模拟量信号的输入是非常复杂的。

但是,在现目前的工业现场,对模拟量信号的处理已基本都采用电流信号方式进行传输,相比于电压信号方式,电流信号抗干扰能力更强,传输距离更远,信号稳定。

这里就PLC对模拟量信号的转换过程进行一个简单的分解介绍。

PLC对模拟量信号的转换西门子S7-200SMART PLC模拟量模块对模拟量信号的转换范围台达DVP系列模拟量模块对模拟量信号的转换范围从以上可以看到:1、模拟量信号接入PLC后,PLC将模拟量信号转换为了整型数据,不是浮点数(如西门子-27,648 到 27,648);2、不同品牌的PLC对模拟量转换范围是有差异的(如西门子-27,648 到 27,648;台达-32,384 到 32,384);3、PLC同一个模块对不同类型的模拟量信号的转换范围是一致的(如西门子对±10 V、±5 V、±2.5 V 或 0 到 20mA的模拟量信号的转换范围均为-27,648 到 27,648);故从以上几点我们可以知道,接入PLC的模拟量信号还需要进行再转换处理,才可以得到与实际物理量相匹配的数据;在进行数据转换处理的时候,还应该与使用的PLC模块的处理数据范围相对应。

PLC数据转换处理过程1、模拟量信号与PLC转换数据之间的转换从以上内容知道,从PLC直接读取到的模拟量信号为整型数据,整型数据无法直观的反馈出实际的物理量大小,故为了能够直观的反馈出现场的过程信号情况,还应该将这些整型数据转换为反馈直观真实的浮点数信号。

台达plc dvp网口通讯

台达plc dvp网口通讯

台达plc dvp网口通讯台达PLC(Programmable Logic Controller)是一种常见的工控系统设备,用于控制和监测各种机械设备的运行。

它在工业自动化领域具有广泛的应用,而台达PLC DVP系列的网口通讯功能更是为用户提供了便捷的数据传输和设备监控手段。

本文将对台达PLC DVP网口通讯的特点、使用方法以及应用场景进行阐述。

首先,我们需要了解什么是网口通讯。

网口通讯是通过以太网连接将多个设备互联起来,进行数据的传输和交换。

在工业自动化领域,网口通讯已经成为主流的通讯方式之一,取代了传统的串口通讯,因为它具有高速、稳定、可靠的特点,能够满足工业环境下的通讯需求。

在台达PLC DVP系列中,网口通讯模块具有以下几个特点。

首先,它支持多种通讯协议,包括以太网通讯协议和Modbus TCP通讯协议。

这意味着用户可以根据具体需求选择适合的通讯协议,灵活应用于不同的工业场景中。

其次,网口通讯模块支持远程监控和控制功能,用户可以通过远程设备(例如PC、手机)来监控和控制PLC的运行状态。

这为用户带来了极大的便利,特别是在远程管理和维护方面。

最后,台达PLC DVP网口通讯模块具有良好的兼容性和可扩展性,可以与其他设备如传感器、执行器等进行快速、稳定的数据交换。

接下来,我们探讨一下如何使用台达PLC DVP网口通讯模块。

首先,用户需要将网口通讯模块正确地连接到PLC的通讯口上,并根据具体型号进行相应的设置。

通常情况下,用户可以通过上位软件(如台达PLC编程软件)或者手动设置来完成这个过程。

一旦连接和设置完成,用户就可以通过网口通讯模块来实现与其他设备的数据交换和通讯。

例如,用户可以通过网口通讯模块将PLC的数据发送给上位PC进行监控和分析;同时,用户也可以通过网口通讯模块来接收上位PC发送的指令,实现对PLC的远程控制。

这些操作都可以通过编程来实现,用户只需在PLC编程软件中设置相应的通讯指令即可。

DVPPLC特殊模块怎么使用

DVPPLC特殊模块怎么使用

DVP-PLC特殊模块怎么使用DVP-PLC特殊模块怎么使用?成都永浩机电工程技术有限公司做了以下总结供大家参考:一、模拟输入模块DVP04AD/DVP06AD在自动化的领域中,有许多的测量单元,是以模拟信号的模式进行传送的动作,且以电压-10~10V 与电流-20~20mA 范围最为常见。

若要将模拟信号作为PLC 控制演算的参数,则需转换为数字量。

例如:电压-10~10V。

经由AD 模块的转换成为-8,000~+8,000 的数值范围后,PLC 再以FROM/TO 指令对AD 模块的CR 寄存器进行读写的动作,所传回至PLC 的信号为K-8,000~ K8,000 的数字量,即可提供PLC 进行运算处理。

DVP04AD (DVP06AD)模拟信号输入模块可接受外部4 (6)点模拟信号输入(电压或电流皆可),并将其转换成14 位的数字信号。

通过主机以指令FROM/TO 来读写模块内的数据,摸块内具有49 个CR (Control Register)寄存器,每个寄存器为16bits。

可经由配线选择电压输入或电流输入。

电压输入范围±10V (±8,000,分辨率为1.25mV)。

电流输入范围±20mA (±4,000,分辨率为5μA)。

二、模拟输出模块DVP02DA/DVP04DA在应用的领域中,有许多的控制信号,是以模拟信号的模式进行控制,且以0~10V 与0~20mA范围为最常见的信号范围。

因此需将PLC 数值数据转换为模拟信号来控制周边装置。

例如:PLC 数值数据0~4,000 的范围。

经由DA模块的转换成为0~10V 的电压值,所输出的电压即可提供周边模拟装置进行控制。

DVP02DA (DVP04DA) 模拟信号输出模块,可通过DVP-PLC 主机程序以指令FROM/TO 来读写DVP02DA (DVP04DA) 模拟信号输出模块的数据。

模块内具有49 个CR (Control Register) 寄存器,每个寄存器有16bits。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

***编程可参考<D V P-P L C应用技术手册_特殊模块篇.P D F>
1、DVP04AD-SL为左侧模块,所设置的编号从100开始,左侧第二个模块为101;
2、对于右侧模块,编号从0开始,第二个为1;
3、可用电位器模拟模拟量输入;
4、DVP04AD-SL可耐24V直流电压;
5、D0的精度需要调试;
接线不在赘述,具体程序如文件夹中的PDF文档。

6、PLC接线,1),UP0接24V,ZP0接0V,Y0-Y7输出24V;
2),PNP接法:S/S接0V,X0-X7接24V;
NPN接法:S/S接24V,X0-X7接0V;
7、编程时,需要先点击”扩充模块图标”
8、进入编程界面
9、控制器CR的地址需要对照使用说明书,其中CH1输入模式设定应为m2=#2,即梯形图为
10、CH1平均次数设定梯形图为
11、CH1输入信号平均值为
12、CH1输入信号现在值为:
13、DVP04AD-SL接线方式为:相当于电压表,V1+接正极,V1-接负极,FG接屏蔽线;
若为电流输入,V1+与I1+短接,再接入,相当于电流表
1)V1+接电位器+极,V1-接电位器负极,并联在两端,相当于电压表测电压。

14、整个电路图如下图所示
15、
16、。

相关文档
最新文档