beremiz

Added lock to avoid variable subsciption concurrent to transmission to PLC