Activity for dlyc

  • dlyc dlyc posted a comment on discussion Bugs reporting

    BigInt is 2300000

  • dlyc dlyc modified a comment on discussion Bugs reporting

    代码:`#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...

  • dlyc dlyc posted a comment on discussion Bugs reporting

    代码:`#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...

1