没有合适的资源?快使用搜索试试~ 我知道了~
首页prodave与VB通讯
prodave与VB通讯
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
PRODAVE通过这个可以使西门子PLC300与VB通讯,这个是PRODAVE的详细说明手册.pdf
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/9265601/bg1.jpg)
SIEMENS
Toolbox for PGs and PCs (AT and compatibles)
P R O D A V E S 7 V 5 . 5
Toolbox for WINDOWS 95/98/NT/ME/2000
Applications for a Data Link
of PGs/PCs to SIMATIC S7 via MPI Interface and
PC/MPI Cable
Operating Instructions
PRODAVE S7 Win95/98/NT/ME/2000 mini Order No.: 6ES7 807 - 3BA00 - 0YA0
PRODAVE S7 Win95/98/NT/ME/2000 Order No.: 6ES7 807 - 4BA00 - 0YA0
Copyright Siemens AG 2001 All Rights Reserved
![](https://csdnimg.cn/release/download_crawler_static/9265601/bg2.jpg)
Toolbox for Data Link PGs/PCs to SIMATIC S7
I
SIEMENS AG PRODAVE S7
Index
1. INTRODUCTION ...................................................................................................1
1.1 Basic Functions.......................................................................................................................................2
1.1.1 Functions for Data Transfer to S7 300/400......................................................................................2
1.1.2 Functions for Data Transfer to S7 200 .............................................................................................3
1.2 Functions for Data Handling in PG/PC ...............................................................................................3
1.3 TeleService Functions ............................................................................................................................4
2. DESCRIPTION ......................................................................................................4
2.1 Operating Mode of PRODAVE ............................................................................................................4
2.2 Use of the High Language Adaptor ......................................................................................................5
2.3 Pre-requisites..........................................................................................................................................5
2.4 Connection of PG/PC to PLC ............................................................................................................... 6
2.4.1 Driver under Windows 95/98/NT .................................................................................................... 6
3. OPERATION .........................................................................................................7
3.1 Installation of PRODAVE S7................................................................................................................ 7
3.1.1 Installation of PRODAVE S7 under Windows 95/98/NT/ME/2000................................................7
3.2 Scope of Supply PRODAVE S7 ............................................................................................................8
3.2.1 PRODAVE S7 for Windows 95/98/NT/ME/2000 ...........................................................................8
3.2.2 PRODAVE S7 mini for Windows 95/98/NT/ME/2000...................................................................9
3.3 Working with PRODAVE ...................................................................................................................10
3.3.1 Notes on S7-200.............................................................................................................................10
3.3.2 Notes on AS300/400 ......................................................................................................................10
3.4 Differences between S5 and S7 ...........................................................................................................11
3.5 Linking to Standard Tools...................................................................................................................13
3.5.1 PRODAVE under Delphi (32-Bit) Example ..................................................................................13
3.5.2 PRODAVE under Access (32-Bit) Example.................................................................................. 14
3.5.3 PRODAVE under Visual Basic (32-Bit) Example.........................................................................15
4. DESCRIPTION OF PRODAVE FUNCTIONS......................................................16
Functions Overview .........................................................................................................................................17
4.1 Basic Functions.....................................................................................................................................19
load_tool ................................................................................................................................................19
new_ss....................................................................................................................................................21
unload_tool ............................................................................................................................................21
4.1.1 Basic Functions for Data Transfer S7-300/400..............................................................................22
a_field_read ...........................................................................................................................................22
a_field_write ..........................................................................................................................................23
ag_info ...................................................................................................................................................24
![](https://csdnimg.cn/release/download_crawler_static/9265601/bg3.jpg)
Toolbox for Data Link PGs/PCs to SIMATIC S7
II
SIEMENS AG PRODAVE S7
ag_zustand.............................................................................................................................................. 25
db_buch..................................................................................................................................................26
db_read ..................................................................................................................................................27
db_write ................................................................................................................................................. 29
d_field_read ...........................................................................................................................................30
d_field_write ..........................................................................................................................................30
e_field_read ...........................................................................................................................................31
mb_bittest...............................................................................................................................................32
mb_resetbit.............................................................................................................................................32
mb_setbit................................................................................................................................................33
m_field_read ..........................................................................................................................................34
m_field_write......................................................................................................................................... 34
t_field_read ............................................................................................................................................35
z_field_read ...........................................................................................................................................35
z_field_write ..........................................................................................................................................35
mix_read ................................................................................................................................................36
mix_write ............................................................................................................................................... 39
4.1.2 Basic Functions for Data Transfer S7-200....................................................................................40
as200_ag_info........................................................................................................................................41
as200_ag_zustand ..................................................................................................................................42
as200_e_field_read ................................................................................................................................43
as200_a_field_read ................................................................................................................................43
as200_m_field_read...............................................................................................................................43
as200_sm_field_read .............................................................................................................................43
as200_vs_field_read ..............................................................................................................................43
as200_a_field_write...............................................................................................................................45
as200_m_field_write..............................................................................................................................45
as200_sm_field_write ............................................................................................................................45
as200_vs_field_write .............................................................................................................................45
as200_t_field_read.................................................................................................................................46
as200_z_field_read ................................................................................................................................47
as200_z_field_write...............................................................................................................................48
as200_mb_bittest ...................................................................................................................................49
as200_mb_resetbit .................................................................................................................................49
as200_mb_setbit ....................................................................................................................................49
as200_mix_read .....................................................................................................................................50
as200_mix_write....................................................................................................................................52
4.2 Enhanced Functions for Data Handling in PG/PC ........................................................................... 53
boolean_byte ..........................................................................................................................................53
byte_boolean..........................................................................................................................................53
gp_to_float.............................................................................................................................................54
float_to_gp.............................................................................................................................................55
kg_to_float .............................................................................................................................................55
float_to_kg.............................................................................................................................................55
kf_integer ...............................................................................................................................................56
testbit......................................................................................................................................................56
error_message ........................................................................................................................................57
4.3 TeleService Funcions ...........................................................................................................................59
4.3.1 General Commments on the Modem Connection...........................................................................62
4.3.2 Active Telephone Dialling from the PLC.......................................................................................62
ts_dial.....................................................................................................................................................63
ts_hang_up_dial .....................................................................................................................................66
ts_set_ringindicator................................................................................................................................67
ts_read_info ...........................................................................................................................................69
ts_hang_up_ring..................................................................................................................................... 69
5. DEMONSTRATION PROGRAMS .......................................................................70
![](https://csdnimg.cn/release/download_crawler_static/9265601/bg4.jpg)
Toolbox for Data Link PGs/PCs to SIMATIC S7
III
SIEMENS AG PRODAVE S7
5.1 Demonstration Programs for the PC..................................................................................................70
6. APPENDIX ..........................................................................................................72
6.1 Error Texts ...........................................................................................................................................72
6.2 Used Abbreviations..............................................................................................................................76
6.3 Literature and Ordering Data ............................................................................................................ 77
6.3.1 Modules .........................................................................................................................................77
6.3.2 PRODAVE Overview ....................................................................................................................78
![](https://csdnimg.cn/release/download_crawler_static/9265601/bg5.jpg)
SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
1
1. Introduction
Due to their constantly increasing performance and vast availability of PC
applications for the manufacturing process, the Personal Computer is being
used more and more on the factory shop floor in addition to the programming
unit. This, however, poses the problem to you as the user how to combine the
variety of programs for handling of process data (e.g. data banks, statistical
evaluation) with your existing PLC systems. In order to make PLC data
available for the PC application you will need a working and cost effective data
link between PLC and PC.
This is where the software package PRODAVE S7 will offer the solution.
PRODAVE S7 offers tried and tested functions (tools) in a DLL (Dynamic Link
Library) or LIB (Library) which you can combine for each of your applications.
The combination of the tools is carried out in programming languages for
Windows 95/98/ME and Windows NT/2000.
Via these combined functions the process data traffic between PLC and PG/PC
is established by PRODAVE S7 using the MPI interface of the PLC. The data
now available can be translated into a format suitable for PCs and can be
processed by your own application or any standard application. This will enable
you to create a data link between PLC and PG/PC without having detailed
knowledge, and all your development activities can be concentrated on specific
processing of your data.
PRODAVE S7 enables you to not only evaluate and monitor but to influence
your process as well inasmuch that you can have several functions available to
you to enable you to write data to the PLC from the PG/PC.
As an introduction to PRODAVE S7 and to enable you to familiarise yourself
with it, we supply several demonstration programs as examples. These
functions are fully operational and are available in source code (see Para. 5.
Demonstration Programs).
PRODAVE S7 runs under Windows 95/98/NT/ME/2000 on PG 7xx and on Pcs
which are compatible to Industrial Standard in conjunction with MPI interfaces
(CP5411, CP5511, CP5611) or PC/MPI cables.
剩余81页未读,继续阅读
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://profile-avatar.csdnimg.cn/6ebaba8b1b014218972a510aa6af5070_qq_31145823.jpg!1)
qq_31145823
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- 利用迪杰斯特拉算法的全国交通咨询系统设计与实现
- 全国交通咨询系统C++实现源码解析
- DFT与FFT应用:信号频谱分析实验
- MATLAB图论算法实现:最小费用最大流
- MATLAB常用命令完全指南
- 共创智慧灯杆数据运营公司——抢占5G市场
- 中山农情统计分析系统项目实施与管理策略
- XX省中小学智慧校园建设实施方案
- 中山农情统计分析系统项目实施方案
- MATLAB函数详解:从Text到Size的实用指南
- 考虑速度与加速度限制的工业机器人轨迹规划与实时补偿算法
- Matlab进行统计回归分析:从单因素到双因素方差分析
- 智慧灯杆数据运营公司策划书:抢占5G市场,打造智慧城市新载体
- Photoshop基础与色彩知识:信息时代的PS认证考试全攻略
- Photoshop技能测试:核心概念与操作
- Photoshop试题与答案详解
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)