Port 102 on the host / PLC side. Local ports are random
Its because the function is actually wrapped. the function error_wrap returns the executed function without any return Value. The function check_error raises an exception in case of any errors. #this is what the call actually looks like: plc.error_wrap(db_write(db_number=db, start=start, data=result)) @error_wrap def db_write(self, db_number, start, data): dosomething() def error_wrap(func): """Parses a s7 error code returned the decorated function.""" def f(*args, **kw): code = func(*args, **kw)...
Its because the function is actually wrapped. the function error_wrap returns the executed function without any return Value. The function check_error raises an exception in case of any errors. #this is was the call actually looks like: plc.error_wrap(db_write(db_number=db, start=start, data=result)) @error_wrap def db_write(self, db_number, start, data): dosomething() def error_wrap(func): """Parses a s7 error code returned the decorated function.""" def f(*args, **kw): code = func(*args, **kw)...
Hi, when i run the server10.cpp example or any other server prog i write, valgrind...