modbus/web_settings.py
branchsvghmi
changeset 2993 b76f303ffce6
parent 2686 703ebf57508a
child 3054 b4a84892e369
equal deleted inserted replaced
2992:d48ad9c3ec91 2993:b76f303ffce6
   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...")