Set64rs-Channel-Management-Form: Difference between revisions
Jump to navigation
Jump to search
Embeddedrf (talk | contribs) |
Embeddedrf (talk | contribs) |
||
| Line 29: | Line 29: | ||
** add each controller seen to the ChannelMap | ** 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 | ** delete any ChannelMap address entries in the table that do show up as not having an controller connected | ||
== Change Address Utility == | |||
*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 | |||
Latest revision as of 13:07, 12 March 2010
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