You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/input/client/client.md
+30-13Lines changed: 30 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,20 @@
1
1
\page sec_client Client
2
2
3
3
# About Modbus Client
4
-
The client implements access to a remote Modbus device. However, the client can work not only with one device,
5
-
but with several devices that can be connected to a single network, which is especially useful when working
6
-
with RTU and ASCII protocols, when access to all Modbus servers is realized through a single serial port.
7
-
However, it can also be useful when using the TCP version of the protocol, for example, if you use the TCP->RTU bridge.
8
-
9
-
All work is done within a single project. The main entities in the project are Port, Device and DataViewItem.
10
-
Port contains network settings for both TCP/IP and serial ports. Device contains settings for a single device
11
-
(such as Modbus Unit Address, etc.). The DataViewItem contains a single data unit to be read from the remote
4
+
5
+
The client implements access to a remote Modbus device.
6
+
However, the client can work not only with one device,
7
+
but with several devices that can be connected to a single network,
8
+
which is especially useful when working with RTU and ASCII protocols,
9
+
when access to all Modbus servers is realized through a single serial port.
10
+
However, it can also be useful when using the TCP version of the protocol,
11
+
for example, if you use the TCP->RTU bridge.
12
+
13
+
All work is performed within a single project.
14
+
The main entities in the project are Port, Device and DataViewItem.
15
+
Port contains network settings for both TCP/IP and serial ports.
16
+
Device contains settings for a single device (such as Modbus Unit Address, etc.).
17
+
The DataViewItem contains a single data unit to be read from the remote
12
18
device and has many formats to represent the current data.
13
19
14
20
# Quickstart
@@ -31,8 +37,9 @@ In this dialog box, you can set the network settings for the port.
31
37
32
38
## Device
33
39
34
-
To change the device settings, you need to double click left mouse button on the device name in the project tree
35
-
(or use the menu `Device->Edit Device...`). The device must be selected in the project tree. To add a new device,
40
+
To change the device settings, you need to double click left mouse button on the device name
41
+
in the project tree (or use the menu `Device->Edit Device...`).
42
+
The device must be selected in the project tree. To add a new device,
36
43
select `Device->New Device...` or `Port->New Device...` to immediately bind this device to the selected port.
37
44
38
45

@@ -276,9 +283,17 @@ In this window individual message parameters can be set such as data address and
276
283
and message response data can be reviewed with different formats. Message transmit (Tx) and
277
284
receive (Rx) byte data can be viewed in corresponding `Tx` and `Rx`- labels.
278
285
279
-
Message data (bits and registers values) separated by comma with specified format can be viewed in the Data window for read function and set for write functions.
286
+
`Device/Port` switch allows to choose message recipient: specified device or
287
+
port with unit address (useful for `unit=0` broadcast address)
288
+
289
+
Message data (bits and registers values) separated by comma with specified format
290
+
can be viewed in the Data window for read function and set for write functions.
280
291
281
-
*`Device` - device which message will belong to;
292
+
*`Device` - device which message will belong to (in case of `Device` switch on);
293
+
*`Port` - port which message will belong to (in case of `Port/Unit` switch on);
294
+
*`Unit` - unit/slave address to which the message will be sent
295
+
(in case of `Port/Unit` switch on).
296
+
`unit=0` indended for broadcast address (if `Enable Broadcast` is set in the port settings);
282
297
283
298
*`Function` - supported Modbus functions such as:
284
299
*`1 ` (`0x01`) - `READ_COILS`
@@ -367,7 +382,7 @@ For port it displays port main settings, for device it displays device reference
367
382
(Modbus device unit address(es) ).
368
383
369
384
*`Modbus adr. notation` - using this setting item address representation can be changed:
0 commit comments