Lines Matching +full:host +full:- +full:slave
1 .. zephyr:code-sample:: modbus-tcp-server
3 :relevant-api: modbus bsd_sockets
16 This sample has been tested with FRDM-K64F board,
34 .. zephyr-app-commands::
35 :zephyr-app: samples/subsys/modbus/tcp_server
43 .. code-block:: console
45 # pymodbus.console tcp --host 192.0.2.1 --port 502
50 .. code-block:: console
53 > client.write_coil address=0 value=1 slave=1
57 .. code-block:: console
66 .. code-block:: console
68 > client.write_coils address=0 values=0,1,1 slave=1
72 .. code-block:: console
74 > client.read_coils address=0 count=3 slave=1
94 .. code-block:: console
96 > client.write_register address=0 value=42 slave=1
100 .. code-block:: console
102 > client.write_registers address=0 values=42,42,42 slave=1
106 .. code-block:: console
108 > client.read_holding_registers address=0 count=3 slave=1
117 .. _`PyModbus`: https://github.com/pymodbus-dev/pymodbus