coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
114 stars 61 forks source link

Adding IP of Modbus sensor #20

Closed urosv closed 6 years ago

urosv commented 6 years ago

How can we use this component to connect to modbus sensor. Bindings are readonly, adding IP at adding at runtime is readonly ? Shows registers on localhost which is not modbus client ? Any howto exists ?

plpolak commented 6 years ago

When using TIdModusClient, set the Host (and optionally the Port) property.

urosv commented 6 years ago

If i'm correct there is no demo inside the packege covering "client" mode?

plpolak commented 6 years ago

The Modbus protocol uses the term 'Master' for a client. The Master demo shows how the use the client component.