Advertisement

开发 Snap7 项目

阅读量:

什么叫TOD读取和写入??

复制代码
 #include “snap7.h”;

    
 byte MyDB32[256]; // byte is a portable type of snap7.h 
    
 TS7Client *Client; 
    
 void SymplyGet() { 
    
     MyClient = new TS7Client(); 
    
     MyClient->ConnectTo(“192.168.10.100”,0,2); 
    
     MyClient->DBRead(32, 0, 16, &MyDB32); 
    
     delete MyClient;
    
 }
    
    
    
    

该文档未被纳入其中?然而系统却自动产生了相关内容

复制代码
 LIBS += -L$$P

全部评论 (0)

还没有任何评论哟~