SITEMAP   PRIVACY   JAPANESE
FAWEB
  JAPAN   HOME  |  Product  |  Support  |  Knowledge  |  Download  |  Sales  |  Company  |  Contact
I/O Server

I/OServer
Top Page
Feature
Datasheet
Introduction
Overview
Release Note
FAQ
Price
Ability
Sample
   MELSEC-Q
   MELSEC-QnA
   MELSEC-A
   Visual Basic 6.0
   Visual C/C++ 6.0
   EXCEL
   InTouch
Manual/Demo

OnlineShop

You are Here : HOME > Product > IOServer > Visual Basic 6.0 Sample BACK

I/O Server


DDE Client Sample for Visual Basic 6.0

It introduces the easy sample program that Microsoft Visual Basic 6.0 accesses I/O Server.
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 I/O Server, manual read operation, automatic read operation, manual poke operation.

IOServer VB Form

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
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 I/O Server, this sample is made.
I/O ServerTest Client

Operation
1. Define DDE Topic Name on I/O Server. 2. Start "Takebishi.MelsecEthernet.1" on I/O Server.
3. Select AppName (application name) and TopicName (topic name) and press "Connect." Select "MelsecEthernet" for the application name, and enter the topic name defined on I/O Server 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.

BACK

Copyright © 1998-2006 TAKEBISHI Corporation All rights reserved.

FAWEB.NET
TAKEBISHI Corporation
29 Mamedacho Nishikyogoku Ukyoku Kyoto 615-8501, JAPAN
TEL: +81-75-325-2171 / FAX: +81-75-325-2273 fa-support@takebishi.co.jp