Set64rs-Channel-Management-Form: Difference between revisions

From *** My Personal Wiki ***
Jump to navigation Jump to search
Embeddedrf (talk | contribs)
Embeddedrf (talk | contribs)
Line 18: Line 18:


== Installation - Address Setup ==
== Installation - Address Setup ==
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


*prompt user to install in order they want to number the channels > modbus #1 goes 1st!
*prompt user to install in order they want to number the channels > modbus #1 goes 1st!

Revision as of 11:02, 4 March 2010

Software_Design_Notes_-_MultiChannel_Set64rs

Scanning Channel Installation Tool

  • Assume a known fully installed serial port


DataBase Design

Fields = Channel# | NickName | Installed | Controller Type


  • Channel Number will be both software channel identifier and modbus address > forcing user to sync software channel & modbus address
  • NickName name of channel such as "glass melting kiln"
  • Installed is retained even in event of link failure
  • Controller Type > for future when various controllers can be managed

Installation - Address Setup

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


  • prompt user to install in order they want to number the channels > modbus #1 goes 1st!
  • connect controllers 1 at a time.
    • detect controller address
    • set controller address to next open channel
    • detect controller address again to verify successful setting of address
  • put controller in to data base

Initialization Scan

  • Do initial scan to see which controller addresses are installed
  • Stores status in the database table under INSTALLED?


Manual Method

  • User looks at database and selects address
  • User can manual set / select controller modbus address using controller front panel


Automated Method where computer helps


  • Prompt User > connect unit to be installed > disconnect all other controller communication cables
  • Scan address 1 - 64 until unit is found > look for valid reply
  • Check to see if this address is already used:
    • Prompt User > This address is already in system use by NICKNAME | This address is not already in use
    • Prompt User > You can Change address by clicking X Button. ( has textbox display and button pair + number only parsing ) > verify not already in use!
    • If user changes address > rescan to verify change in effect > Prompt User > change effected
  • Prompt User> Store this in channel database? Click Store Channel