snap7库在qt5下的配置程序存档。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-11-30 17:06 snap7-full-1.4.1
目录 0 2016-11-30 17:06 snap7-full-1.4.1uild
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildin
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinarm_v6-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinarm_v7-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-bsd
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-osx
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-solaris
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildinLegacy
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildinLegacywin32
文件 8924 2016-11-25 16:44 snap7-full-1.4.1uildinLegacywin32snap7.def
文件 1447505 2016-11-25 16:44 snap7-full-1.4.1uildinLegacywin32snap7.dll
文件 193046 2016-11-29 11:50 snap7-full-1.4.1uildinLegacywin32snap7.lib
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinLegacywin64
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinmips-linux
文件 486 2014-01-02 09:35 snap7-full-1.4.1uildinREADME.txt
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinwin32
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinwin64
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-bsd
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-osx
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinX86_64-solaris
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildosx
文件 4523 2014-04-16 10:04 snap7-full-1.4.1uildosxcommon.mk
文件 173 2014-04-16 09:21 snap7-full-1.4.1uildosxi386_osx.mk
文件 187 2013-12-28 19:44 snap7-full-1.4.1uildosxx86_64_osx.mk
文件 298 2013-12-28 18:26 snap7-full-1.4.1uildREADME.txt
目录 0 2016-11-30 17:06 snap7-full-1.4.1uild emp
目录 0 2016-11-17 14:25 snap7-full-1.4.1uild emparm_v6
目录 0 2016-11-17 14:25 snap7-full-1.4.1uild emparm_v7
............此处省略1583个文件信息
/*=============================================================================|
| PROJECT SNAP7 1.4.0 |
|==============================================================================|
| Copyright (C) 2013 2014 Davide Nardella |
| All rights reserved. |
|==============================================================================|
| SNAP7 is free software: you can redistribute it and/or modify |
| it under the terms of the Lesser GNU General Public License as published by |
| the Free Software Foundation either version 3 of the License or |
| (at your option) any later version. |
| |
| It means that you can distribute your commercial software linked with |
| SNAP7 without the requirement to distribute the source code of your |
| application and without the requirement that your application be itself |
| distributed under LGPL. |
| |
| SNAP7 is distributed in the hope that it will be useful |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| Lesser GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License and a |
| copy of Lesser GNU General Public License along with Snap7. |
| If not see http://www.gnu.org/licenses/ |
|=============================================================================*/
#include
#include
#include “snap7.h“
#ifdef OS_WINDOWS
# define WIN32_LEAN_AND_MEAN
# include
#endif
int cnt = 0;
const int size = 256;
byte Buffer[size];
TS7Partner *Partner;
//------------------------------------------------------------------------------
// Usage syntax
//------------------------------------------------------------------------------
static void Usage()
{
printf(“Usage
“);
printf(“ APartner
“);
printf(“Where
“);
printf(“ is the address of the passive partner that we want to connect.
“);
printf(“Note
“);
printf(“- Local Address is meaningless
“);
printf(“- Both Local TSAP and Remote TSAP are set to 0x1002
“);
printf(“- You can create multiple active partner in the same
“);
printf(“ program or across different programs.
“);
}
//--------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-11-30 17:06 snap7-full-1.4.1
目录 0 2016-11-30 17:06 snap7-full-1.4.1uild
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildin
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinarm_v6-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinarm_v7-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-bsd
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-osx
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildini386-solaris
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildinLegacy
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildinLegacywin32
文件 8924 2016-11-25 16:44 snap7-full-1.4.1uildinLegacywin32snap7.def
文件 1447505 2016-11-25 16:44 snap7-full-1.4.1uildinLegacywin32snap7.dll
文件 193046 2016-11-29 11:50 snap7-full-1.4.1uildinLegacywin32snap7.lib
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinLegacywin64
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinmips-linux
文件 486 2014-01-02 09:35 snap7-full-1.4.1uildinREADME.txt
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinwin32
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinwin64
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-bsd
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-linux
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinx86_64-osx
目录 0 2016-11-17 14:25 snap7-full-1.4.1uildinX86_64-solaris
目录 0 2016-11-30 17:06 snap7-full-1.4.1uildosx
文件 4523 2014-04-16 10:04 snap7-full-1.4.1uildosxcommon.mk
文件 173 2014-04-16 09:21 snap7-full-1.4.1uildosxi386_osx.mk
文件 187 2013-12-28 19:44 snap7-full-1.4.1uildosxx86_64_osx.mk
文件 298 2013-12-28 18:26 snap7-full-1.4.1uildREADME.txt
目录 0 2016-11-30 17:06 snap7-full-1.4.1uild emp
目录 0 2016-11-17 14:25 snap7-full-1.4.1uild emparm_v6
目录 0 2016-11-17 14:25 snap7-full-1.4.1uild emparm_v7
............此处省略1583个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)