
|
| DDE Client Sample for Visual Basic 6.0 |
It introduces the easy sample program that Microsoft Visual Basic 6.0 accesses the DAServer.
This sample project can be downloaded here.
NOTES
Our company does neither any operation guarantee nor the support for the sample code and each explanation that has been opened to the public to this site.
The function is recommended to be verified enough when used.
|
| |
Sample of VB Form using |
In this sample, it writes and the function of four is used, a connection to the DAServer, manual read operation, automatic read operation, manual poke operation.

It can access the data of PLC only by arranging the text box control and the label control, etc. , and setting property "LinkTopic", "LinkItem", and "LinkMode" related to DDE. |
| |
DDE Test Client |
The sample program of Visual Basic 6.0 is appended to the product version. To support DDE automatic DDE manual operation link/link, and to test most functions of our company DAServer, this sample is made.

Operation
1. Define DDE Topic Name on the DAServer manager.
2. Start DAServer(Ex. "Takebishi.MelsecEthernet.1") on the DAServer manager.
3. Select AppName (application name) and TopicName (topic name) and press "Connect." Select using DAServer name such as "MelsecEthernet" for the application name, and enter the topic name defined on the DAServer manager.
4. Enter the tagname (device name) in Item Name and press "Request" to read the value. If you press "Auto Read," it reads the value regularly.
5. Enter a value in Data and press "Poke" to write the value to the PLC.
6. Select the device type if you wish to use ASCII and double word, for example, select the device number in Number, access points in Points, and access type in Type to enable regular read, automatic read, and write.
7. Press "DisConnect" to disconnect from the server.
|
|