文件名称:
MATLAB与组态软件WinCC的数据交换技术.pdf
开发工具:
文件大小: 249kb
下载次数: 0
上传时间: 2019-10-20
详细说明:MATLAB与组态软件WinCC的数据交换技术pdf,MATLAB与组态软件WinCC的数据交换技术MATLAB
WinCC
45
MATLAB
DDE
MATLAB
apex
MATLAB
System Engine
Engine
format
DDE
[1, 0.timeout
MATLAB
MATLAB
MATLAB
3.3 matlab WinCC DDE
Eng EvaIString MATLAB
MATLAB
EngStringResullt
EngI
WinCC MATLAB
aresult matlaB
MATLAB WinCC
MATLAB
DDE
MATLAB
WinCC
DDE
3.2 MATLAB
MATLAB
MATLAB
使 DDEinit(数初始化DDE服务
DDE
返回初始化成功或失败信息
MATLAB DDE
使 DEAdy(函数建立DDE链接
WinCC
MATLAB
作为
使用 DD Ereq(的数向 WinCC请求数据
服务器
返回请求的数据
客户端
(D DEIn it()
MATLAB
DDE
使用 DDEpoke(函数向 Wincc发送数据
使用 DIEter(函数终止与 WinCC的DDE通信
(2)DD Eadv(): MATLAB DDE
2 MatLab WinCC DDe
()DDE req(): DDE
MATLAIB
M
DDE
(4)DDEpoke): MATLAB DDE
(1)DE
global channel
(5) DDEexec(): DDE
channel= DeIn it(WinCC,,C:\ Siemens V
WinCc\ WinCC Projects\ DDE-con\ DDE
(6) DDEunadv(
MATLAB DDE
CON MCP: 0
DDE
if ch
(7 DDEtem(): DDE
disp( ddeinit ialization failed!');
MATLAB
DDE
else
WinCC
MATLAB
disp( dde init ialization OK!
MATLAB
MATLAB
DDEadv( channel, Time-Flag
DO
DDE); %0
Time
WinCc
(warm link
MAT
Flas
DO DDE
LAB DDE
DDEadv()
fr==0
DDEadv()
disp( dde w arm link failed!')
rc= DDEadv( channel, iten, callback, upmIx, for
mat. timeout
disp( dde warm link OK! ')
0
end
channe
DDE init(
DDE
end
o19yemo11ChinaAcademicDdinAlEralthackcPublishingifhanneallDtsreservedhttp://www.cnki.yet
46
2008
DDE
DDE
(2) MATLAB WinCC
DO 4
DDE
Function re= DO-DDE(
DDE)
channel;
MATLAB WinCC
nput( 1)= DDEreq( channel, datal);
MATLAB
input( 2)=DDEreq( channel, data2); %0
Wincc
output= control( input)
DDEpoke( channel, result 1, output(1))
DDEpoke( channel, result 2, output(2));
WinCC
MATLAB
datal. data2. result. result2
2000
[2]
WinCCv60
[eb/Olj.htp://www.ad
siemens. com. cn/ dow nload/ info main. asp? classidu
contro
0000l& class id=00015.2004-03
The Data Exchange Technology between MATLAB and
Configuration Software Win CC
HU YI
(School of Electrical and Electronic Engineering, East China Jiaotong University, Nanchang 330013, China
Abstract Configuration softw are under Windows operation system for process control has been w idely used As a popular
configuration softw are at present, WinCC possesses the advantages of powerful prad icability and flexible configuration
MATLAB has strong capabilities in system design and simulation, which has been widely used in scientific calculation,
mathemat ics modeling and simulation. Combin ing mathematics modeling and simulat ion function of matlaB with humar
machine interact ive and controlling funct ion of configuration softw are WinCc to achieve respective a dv antage, the paper
proppses the communication method between MatlaB and configuration software WinCC. By using DDE technology, data
exchange between MATLAB and WinCC is implemented. This method is characterist ic of efficient programming, conve
nient using and good general perfomance
Key words: DDE; data processing; configuration
o1994-2011ChinaAcademicJournalElectronicpUblishingHouse.Allrightsreservedhttp://www.cnki.net
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.