User Activity

  • Posted a comment on discussion Bugs reporting on Snap7

    BigInt is 2300000

  • Modified a comment on discussion Bugs reporting on Snap7

    代码:`#include <iostream></iostream> include "snap7.h" include <vector></vector> using namespace std; TS7Client* MyClient; int a = 33; short b = 12; void SymplyGet() { MyClient = new TS7Client(); MyClient->SetConnectionType(3);//对应 s7-200smart cout << MyClient->ConnectTo("192.168.2.1", 0, 1) << endl; //PLC的IP地址,机架号,插槽号 //cout << MyClient->WriteArea(S7AreaMK, 0, 0, 4, S7WLByte, &a) << endl; cout << hex<<MyClient->ReadArea(S7AreaCT, 0, 8, 2, S7WLCounter, &b) << endl; } int main() { SymplyGet(); return...

  • Posted a comment on discussion Bugs reporting on Snap7

    代码:`#include <iostream></iostream> include "snap7.h" include <vector></vector> using namespace std; TS7Client* MyClient; int a = 33; short b = 12; void SymplyGet() { MyClient = new TS7Client(); MyClient->SetConnectionType(3);//对应 s7-200smart cout << MyClient->ConnectTo("192.168.2.1", 0, 1) << endl; //PLC的IP地址,机架号,插槽号 //cout << MyClient->WriteArea(S7AreaMK, 0, 0, 4, S7WLByte, &a) << endl; cout << hex<<MyClient->ReadArea(S7AreaCT, 0, 8, 2, S7WLCounter, &b) << endl; } int main() { SymplyGet(); return...

View All

Personal Data

Username:
dlyc
Joined:
2024-01-09 09:42:11.848000

Projects

  • No projects to display.

Personal Tools