User Activity

  • Posted a comment on ticket #23 on Snap7

    Port 102 on the host / PLC side. Local ports are random

  • Modified a comment on ticket #25 on Snap7

    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)...

  • Posted a comment on ticket #25 on Snap7

    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)...

  • Posted a comment on discussion Bugs reporting on Snap7

    Hi, when i run the server10.cpp example or any other server prog i write, valgrind...

View All

Personal Data

Username:
macbath
Joined:
2015-05-22 13:32:30

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB