File: nullmodem.rst

package info (click to toggle)
pymodbus 3.8.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,720 kB
  • sloc: python: 14,867; makefile: 27; sh: 17
file content (20 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
NullModem
=========

Pymodbus offers a special NullModem transport to help end-to-end test without network.

The NullModem is activated by setting host= (port= for serial) to NULLMODEM_HOST (import pymodbus.transport)

The NullModem works with the normal transport types, and simply substitutes the physical connection:
- *Serial* (RS-485) typically using a dongle
- *TCP*
- *TLS*
- *UDP*

The NullModem is currently integrated in
- :mod:`Modbus<x>Client`
- :mod:`AsyncModbus<x>Client`
- :mod:`Modbus<x>Server`
- :mod:`AsyncModbus<x>Server`

Of course the NullModem requires that server and client(s) run in the same python instance.