Set64rs-Channel-Management-Form

From *** My Personal Wiki ***
Jump to navigation Jump to search

Software_Design_Notes_-_MultiChannel_Set64rs

Scanning Channel Installation Tool[edit]

  • Assume a known fully installed serial port > user uses serial port scan tool first

DataBase Design[edit]

Fields = SoftwareChannel | ModBusAddress | NickName | Controller Type


  • SoftwareChannel will be both software channel identifier and modbus address > forcing user to sync software channel & modbus address
  • ModBusAddress unit addresses
  • NickName name of channel such as "glass melting kiln"
  • ControllerType Example: set64rs > for future use to allow mixed controller usage

Installation - Address Setup[edit]

Notes System may need to preserve certain ModBus addresses for other than this software - thus:

  • a channel to modbus map is needed
  • some addresses may be skipped


Steps

  • prompt user to: Set each controller to a unique address > can use the address change utility
  • scan the port: User has 2 options
    • add each controller seen to the ChannelMap
    • delete any ChannelMap address entries in the table that do show up as not having an controller connected


Change Address Utility[edit]

  • Look to see if controller exists at the FROM address > if not flag
  • Look to see if there is already a controller at TO address > if so then flag
  • If address is changed successfully then change the PROFILE DIARY database entries to reflect the new address