Communication Application server

Hi all,

I need to develope a communication layer between a windows application and industry field device.

The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application.

The windows application will be the client and the server read and write the values.

Please help.

Best regards...



Answer this question

Communication Application server

  • ChrisLW

    Can you explain in little more detail
    1. Where is the field device Is it on the internet or local network
    2. What sort of communications exist between the windows box and the device
    3. Are there three things Windows CLient APP -- Windows Server app - Device



  • cfaustM3

    ALl TCP Connections are bi directional.

  • Barry Butterklee MSFT

    Thanks Gorti,

    I understood your idea, you didn't take the writing issue into account. I mean how to write data at the same time we reading. Maybe I want to chande certain data on the PLC. Do you have a suggestion

    best regards...


  • Sdi

    Thanks,

    The field device is a PLC, it connected to the PC through RS232 interface.

    The commuinication between the PC and the PLC I implement with the communication protocol supplied by the PLC factory.

    The global picture is :

    The Windows Application server responsible for linking the UI application with the PLC. it like OPC server if you know.

    I thought , that making the PLC invoking data from the UI layer isn't efficient, so I want to check the oportunity with server.

    UI layer <----> Server<---->PLC

    Thank you in advance.


  • Kamlakar

    OK So this is what I would recommend.
    Write a WIndows Service using C#. This will talk to the PLC
    The windows service also listens on a socket. The UI layer simply connects to the socket and issues custom commands to retreive the data.
    Or depending on the complexity, the server can simply write the data to a file and
    the UI layer can read it.



  • Communication Application server