mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2025-12-11 13:53:21 +08:00
Added S7 rpc functions
This commit is contained in:
@@ -196,6 +196,12 @@ class runtime:
|
||||
def stop_modbus(self):
|
||||
return self._rpc(f'stop_modbus()')
|
||||
|
||||
def start_snap7(self):
|
||||
return self._rpc(f'start_snap7()')
|
||||
|
||||
def stop_snap7(self):
|
||||
return self._rpc(f'stop_snap7()')
|
||||
|
||||
def start_dnp3(self, port_num):
|
||||
return self._rpc(f'start_dnp3({port_num})')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user