台达DVP LC用电位器的电压模拟传感器DVP AD SL模拟量输入成功程序
台达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模拟量输入模块用户手册说明书

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指令表大全

## 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 的补码)
电位计读取模拟量连接plc程序

电位计读取模拟量连接plc程序电位计是一种常用的传感器,用于测量某个物理量,并将其转换为模拟电压信号。
在连接电位计到PLC程序之前,我们需要了解电位计的工作原理和PLC的输入模块。
**1. 电位计的工作原理**电位计是通过测量一个可变电阻器的阻值来实现对某个物理量的测量。
它通常由一个固定的外壳和一个旋转的轴组成。
当旋转轴被转动时,内部滑动触点与外部固定触点之间的距离会改变,从而改变了整个电路中的总阻值。
**2. 连接电位计到PLC程序**要连接电位计到PLC程序,我们需要使用PLC输入模块来读取模拟信号。
通常情况下,PLC输入模块具有多个模拟输入通道,每个通道可以读取一个模拟信号。
以下是连接电位计到PLC程序的步骤:**步骤1:确定电位计输出范围**我们需要确定电位计输出信号的范围。
这可以通过查看电位计规格表或使用万用表进行测量来完成。
假设我们得出结论:0V对应于0度角度位置,5V对应于180度角度位置。
**步骤2:选择合适的PLC输入模块**根据电位计输出范围和系统要求,选择一个合适的PLC输入模块。
确保该模块具有足够的模拟输入通道,并且能够接受电位计输出信号的范围。
**步骤3:连接电位计到PLC输入模块**使用导线将电位计的输出端连接到PLC输入模块的相应模拟输入通道。
确保连接正确,避免接错引脚或短路。
**步骤4:配置PLC程序**在PLC编程软件中,配置相应的输入通道为模拟输入,并设置合适的量程和标定参数。
这些参数将用于将电位计输出信号转换为实际物理量值。
**步骤5:读取电位计信号并处理**在PLC程序中,使用合适的指令来读取电位计信号。
这可以是类似于“ANALOG INPUT”或“AI”的指令,具体取决于所使用的PLC品牌和型号。
一旦读取了电位计信号,我们可以根据需要进行进一步处理。
可以将读取到的模拟值与预设阈值进行比较,并采取相应的控制措施。
**注意事项:**- 在连接电位计到PLC程序时,确保使用合适的导线和连接器,并正确连接引脚。
台达DVP系列可编程控制器使用说明书

目 录 1. 产品简介........................................................................1
1.1. 型号说明及外围装置....................................................... 1 1.2. 产品外观及各部介绍....................................................... 3
2. 功能规格一览表 .............................................................8 3. 特殊组件......................................................................10
DELTA ELECTRONICS, INC.
MADE IN TAIWAN
型号说明
DVP
系列名稱 點數 (輸入+輸出) 主機/擴展機區分 E : 主機 X : 擴展機 機型區分 S : 標準功能型主機 X : 混合功能型主機 (A/D, D/A功能) M : 輸入點擴展機 N : 輸出點擴展機 P : 輸入/輸出點擴展機
0 T 0 20 004
製造序號 生產週次 生產年份 ( 2000 年 ) 製造工廠 ( 桃園廠 ) 版掌上型程序书写器 ◎ DPLSoft(DOS 版本)阶梯图编辑程序、WPLSoft(Windows 版本)阶梯图编辑程序 ◎ DVPACAB115 连接线(HPP Ù PLC/1.5 公尺,DVPHPP01 内含此连接线) ◎ DVPACAB215 连接线(PC Ù PLC/1.5 公尺) ◎ DVPACAB315 连接线(HPP Ù PC,1.5 公尺) ◎ DVPACAB403 连接线(主机Ù扩展机 或 扩展机Ù扩展机 I/O 信号延长线,30 公分) ◎ DVPAADP01(HPP 专用电源,内含 DVPACAB315)
台达DVP_PLC用电位器的电压模拟传感器DVP04AD_SL模拟量输入成功程序

***编程可参考<DVP-PLC应用技术手册_特殊模块篇.PDF>
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、。
模拟量输入的处理实例程序(带注释)

// the filtered output.
// If the module is not an analog
// to -320 counts,
LPS // compute the last sample value
// without reading the analog
// module or a module error was
// detected,
// set the filtered output to
// the error value
// and set the AI Module Error bit.
Network 6 // 计算和输出均值,或者列出错误的情况
// 特殊寄存器SM8.7,当其状态为0时,能流能够流过(该位状态为0时表明有模块存在)
// 特殊寄存器SM8.4,当若有一个扩展模块存在且其状态为1时,表明扩展模块是模拟量模块
// 如果能流到了特殊位SMB9且其值为0,则说明该模拟量模块没有错误,计算并输出均值
// 将双字VD2的值加到VD6上来更新连续和值,将结果存放到VD6中
// 需要用双字(32位)存储采样和。为把输入值加到采样和中,你应当把它转成双字。
// 当输入数为负数时,最高有效字增添1;若为正值,最高有效字增添0来校正输入值。
//
//
BEGIN
Network 1
// 初始化
LD SM0.1 //
Network 2 // 计算新值和均值之间的差值
// 模拟量输入采样并计算采样新值和平均值之间的差量,用采样值AIW0减去以前的平均值VW12,差值放到VW4中
DELTA DVP-06XA 模拟输入 输出混合模块 说明书

DVP-06XA 模擬輸入/輸出混合模塊可經由 RS-485 通訊來更新系統版本。電源單元與模塊分離,體 積小,安裝容易。
模擬信號輸入部份使用者可經由配線選擇電壓輸入或電流輸入。電壓輸入範圍 ±10V DC (解析度為 5 mV)。電流輸入範圍 ±20 mA (解析度為 20 µA)。
模擬信號輸出部份使用者可經由配線選擇電壓輸出或電流輸出。電壓輸出範圍 0V ~ +10V DC (解析 度為 2.5 mV)。電流輸出範圍 0 mA ~ 20 mA (解析度為 5 µA)。
CH4 平均次數
CH1 輸入信號平均值
CH2 輸入信號平均值 CH3 輸入信號平均值
通道 CH1~CH4 輸入信號平均值顯示。
CH4 輸入信號平均值
CH5 輸出數值 CH6 輸出數值
通道 CH5~CH6 輸出數值,可設定範圍 K0~K4000。出廠設定值為 K0,單位為 LSB。
CH1 輸入信號現在值
±0.5% 在(25℃,77℉)範圍內滿刻度時。±1% 在(0~55℃,32~131℉)範圍內滿刻度時。
3 ms ×通道數
無隔離
±15 V 16 位元二補數,有效位 13Bits 有(CR#2~CR#5 可設定,範圍 K1~K4096) 上下極限偵測 / 通道
±32 mA
電壓輸出(Voltage output)
CH6
CH5
CH4
CH3
CH2
b2 b1 b0 CH1
#2 H 40CA ○ R/W #3 H 40CB ○ R/W #4 H 40CC ○ R/W #5 H 40CD ○ R/W #6 H 40CE ╳ R #7 H 40CF ╳ R #8 H 40D0 ╳ R #9 H 40D1 ╳ R #10 H 40D2 ╳ R/W #11 H 40D3 ╳ R/W #12 H 40D4 ╳ R #13 H 40D5 ╳ R #14 H 40D6 ╳ R #15 H 40D7 ╳ R #16~ #17 #18 H 40DA ○ R/W #19 H 40DB ○ R/W #20 H 40DC ○ R/W #21 H 40DD ○ R/W #22 H 40DE ○ R/W #23 H 40DF ○ R/W #24 H 40E0 ○ R/W #25 H 40E1 ○ R/W #26 H 40E2 ○ R/W #27 H 40E3 ○ R/W #28 H 40E4 ○ R/W #29 H 40E5 ○ R/W #30 H 40E6 ╳ R #31 H 40E7 ○ R/W #32 H 40E8 ○ R/W
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
***编程可参考<DVP-PLC应用技术手册_特殊模块篇.PDF>
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、。