Autor Beitrag
nikoskapa
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mi 25.10.06 16:22 
Hello there,

I have four scales in my shop and I update the weighted items in the memory using serial communication.

These scales also support ethernet communication.
My PC has IP address 192.168.0.1 and the I set up the scales to have IP address 192.168.0.2 - 192.168.0.3 - 192.168.0.4 - 192.168.0.5

How can I estabish communication with the scales via ethernet in order to send the updated weighted items?

Thanx in advance

Nikos
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Mi 25.10.06 16:42 
Can you write German too? I'm sure you know that this is a German "Delphi-Forum"
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Mi 25.10.06 16:46 
You mean with scale a device for weighing items? I'm sure, you will find the appropriate method for communicating with them in the developer's manual. What brand are the scales?
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mi 25.10.06 16:48 
If they support Ethernet, they all have to have MAC addresses. If your scales support IP or higher level protocols, you can use the IP address to send data to them. The higher the layer the easier the communication ;). If they do not support any higher level protocol, find out their MAC addresses and send Layer 2 (Ethernet) frames directly to them :)

AXMD
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 25.10.06 16:49 
How can the scales be adressed?
Are they listening to a port?

_________________
Markus Kinzler.