Search found 44 matches
- Mon Jun 18, 2018 7:33 am
- Forum: Ethernet and Serial Communications
- Topic: Asynchronous TCP IP Client socket C#
- Replies: 8
- Views: 23371
Re: Asynchronous TCP IP Client socket C#
Thanks so much for your help!
- Tue Jun 12, 2018 7:38 am
- Forum: Ethernet and Serial Communications
- Topic: Asynchronous TCP IP Client socket C#
- Replies: 8
- Views: 23371
Re: Asynchronous TCP IP Client socket C#
For your reference, this is the TCPClient Script I wrote: namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Drawing; using Neo.ApplicationFramework.Tools; using ...
- Tue Jun 12, 2018 7:34 am
- Forum: Ethernet and Serial Communications
- Topic: Asynchronous TCP IP Client socket C#
- Replies: 8
- Views: 23371
Re: Asynchronous TCP IP Client socket C#
Hi Adam, Honestly, I'm not familiar with C# or even HMI. Due to current requirement of our project, I need to do programming and HMI design by myself. Therefore, everything is new to me (including Thread, or Sockets). Back to the TCP Client Send/Receive, I just wonder why you use Async for Send but ...
- Mon Jun 11, 2018 11:59 pm
- Forum: Ethernet and Serial Communications
- Topic: Asynchronous TCP IP Client socket C#
- Replies: 8
- Views: 23371
Re: Asynchronous TCP IP Client socket C#
Hi Adam, Thanks for your support and quick reply as usual! However, currently, my Server randomly send data to Client (which is my HMI). Therefore, I couldn't rely on 5s or some Polling Method. I think about using Heartbeat to communicate with my Server and Client so that both device know when the c...
- Sat Jun 09, 2018 8:23 am
- Forum: Ethernet and Serial Communications
- Topic: Asynchronous TCP IP Client socket C#
- Replies: 8
- Views: 23371
Asynchronous TCP IP Client socket C#
Dear all, Thanks for all your help in forum (especially Adam), I can already communicate between my device with HMI through TCP IP using Asynchronous TCP IP Client socket C# using System.Net.Sockets. My Message is also has <EOF> so that the client can know when server send completed Message. However...
- Thu Jun 07, 2018 7:29 am
- Forum: Controller Communication
- Topic: TCP IP Communication between Beijer HMI and other Devices
- Replies: 12
- Views: 28227
- Wed Jun 06, 2018 11:46 am
- Forum: Controller Communication
- Topic: TCP IP Communication between Beijer HMI and other Devices
- Replies: 12
- Views: 28227
Re: TCP IP Communication between Beijer HMI and other Device
Hi Adam,
Can you please help to provide Timer Threading Script?
Thanks so much!
Can you please help to provide Timer Threading Script?
Thanks so much!
- Wed Jun 06, 2018 8:23 am
- Forum: Controller Communication
- Topic: TCP IP Communication between Beijer HMI and other Devices
- Replies: 12
- Views: 28227
Re: TCP IP Communication between Beijer HMI and other Device
Hi all,
I already succeeded in implementing Sockets for Ethernet Transceiver. If anyone is interested can use attached file.
I do hope that anyone who faced same issues with me can save some time or even improve those codes.
Thanks,
Phong Duong
I already succeeded in implementing Sockets for Ethernet Transceiver. If anyone is interested can use attached file.
I do hope that anyone who faced same issues with me can save some time or even improve those codes.
Thanks,
Phong Duong
- Wed Jun 06, 2018 12:49 am
- Forum: Controller Communication
- Topic: TCP IP Communication between Beijer HMI and other Devices
- Replies: 12
- Views: 28227
Re: TCP IP Communication between Beijer HMI and other Device
Hi Adam, Thanks for your help! I can do some simple communication between PC and HMI using Script C# with Socket class. I would like to ask for some more questions: 1. Should we choose Asynchronous or Synchronous socket connection? 2. Where should we put main loop in HMI code? Or we can use ScreenOp...
- Tue Jun 05, 2018 10:30 am
- Forum: Controller Communication
- Topic: TCP IP Communication between Beijer HMI and other Devices
- Replies: 12
- Views: 28227
Re: TCP IP Communication between Beijer HMI and other Device
I don't work for Beijer so you'd have to contact customer support to get exact answer, but as far as I know there is no raw communication driver. What I could send you as a scripting module would only be a direct copy of what I attached in my prior response. The code was more for example of how you...