modbus/web_settings.py
changeset 2703 32ffdb32b14e
parent 2691 6e4a95621080
child 3163 7cf38cd0d820
equal deleted inserted replaced
2702:f0a70f0246da 2703:32ffdb32b14e
   524         __OnButtonReset)
   524         __OnButtonReset)
   525 
   525 
   526 
   526 
   527 
   527 
   528 
   528 
   529 def _runtime_modbus_websettings_%(location_str)s_init():
   529 def _runtime_%(location_str)s_modbus_websettings_init():
   530     """
   530     """
   531     Callback function, called (by PLCObject.py) when a new PLC program
   531     Callback function, called (by PLCObject.py) when a new PLC program
   532     (i.e. XXX.so file) is transfered to the PLC runtime
   532     (i.e. XXX.so file) is transfered to the PLC runtime
   533     and loaded into memory
   533     and loaded into memory
   534     """
   534     """
   607 
   607 
   608 
   608 
   609 
   609 
   610 
   610 
   611 
   611 
   612 def _runtime_modbus_websettings_%(location_str)s_cleanup():
   612 def _runtime_%(location_str)s_modbus_websettings_cleanup():
   613     """
   613     """
   614     Callback function, called (by PLCObject.py) when a PLC program is unloaded from memory
   614     Callback function, called (by PLCObject.py) when a PLC program is unloaded from memory
   615     """
   615     """
   616 
   616 
   617     #PLCObject.LogMessage("Modbus web server extension::OnUnLoadPLC() Called...")
   617     #PLCObject.LogMessage("Modbus web server extension::OnUnLoadPLC() Called...")