VB6.0 sample for connection to DAServer


sample

Explain to get datas from DAServer, you set only DDE property of TextBox etc. in VB6.0.

Sample of VB Form using
プロパティ設定
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.

VB Code Sample


DDE Test Client
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.


OPC Server

DAServer

Products

Sales

Online Shop

Getting Help


About TAKEBISHI