At present, I only consider the relevant issues in the future development.
Development Language: VB / MFC (VB Made Configuration and Display Information Interface MFC is made of background main body and related driver)
I think a standard configuration background program should have the following capabilities.
1. Provide the drive interface, which can be easily expanded (or written) drivers
2, provide standard DDE interface: DDE Server / DDE Client
3, provide standard OPC interface: OPC Server / OPC Client
4. Provide script editing environments, calculate variables
5, to the variable dictionary can be expandable to maintain
Now, in addition to OPC servers, other technical techniques do not have any problems, only to see the progress of development.
At present, the driving interface has been developed, such as modbus, PPI and other standard drivers, the effect is OK.
DDE interface has been studied during this time, and now there is no problem in MFC development.
Script is a scripting control provided by Microsoft
The variable dictionary uses shared memory technology, and the DBASE database structure is imitated, and a memory database is built.
Implement data exchange between each module process.
Below is a screenshot of the program:
image link:
Http://www.sky-walker.com.cn/yefan/ped/yfioserver.gif
Friends who are interested in confmends can discuss related issues together