发布于 2008-08-19 14:02:30
0楼
代码如下:
#include "apdefap.h"
int gscAction( void )
{
#pragma option(mbcs)
// WINCC:TAGNAME_SECTION_START
// syntax: #define TagNameInAction "DMTagName"
// next TagID : 1
// WINCC:TAGNAME_SECTION_END
// WINCC:PICNAME_SECTION_START
// syntax: #define PicNameInAction "PictureName"
// next PicID : 1
// WINCC:PICNAME_SECTION_END
SetPropWord("MainPdl1.PDL","静态文本1","Text",1); //Return-Type: BOOL
printf("test");
return 0;
}
请各位指教!我其实就是不明白的是在WinCC中如何启动一线程一样的东西在后台做周期性扫描!