Scanner For Modbus RTU and TCP/IP
Project description
Modbus Scanner
For RTU mode, you need to specify the serial port and baud rate.
modbus_scanner -r 0 -f 3 -i 1 -e 10 -c rtu -h COM9 -b 9600 -s 1 -d 8 -p N -t 10
OR
For TCP mode, you need to specify a host and port.
modbus_scanner -r 0 -f 3 -i 1 -e 10 -c tcp -h 192.168.1.10 -l 502
- --register or -r : Register number to start scanning from. Default is 0.
- --fc or -f : Function code to use. Default is 3.
- --start or -i : Starting address to scan from. Default is 1.
- --end or -e : Ending address to scan to. Default is 254.
- --conn_type or -c : Connection type to use. Default is rtu.
- --device or -h : Device to connect to. (Required).
Note: For RTU mode, this is the serial port. For TCP mode, this is the IP address.
- --port or -l : Port to connect to. Default is 502.
- --baud or -b : Baud rate to use. Default is 9600.
- --stop or -s : Stop bits to use. Default is 1.
- --data or -d : Data bits to use. Default is 8.
- --parity or -p : Parity to use. Default is N.
- --timeout or -t : Timeout to use. Default is 60.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
modbus-scanner-1.0.2.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modbus-scanner-1.0.2.tar.gz.
File metadata
- Download URL: modbus-scanner-1.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b5bc3d4c2fd045e441eecee2f9af69b5dc3c4817a1c17e4336359ad5eb9c9d5
|
|
| MD5 |
c1ef281bf0e6c21f04b30b79a51395b9
|
|
| BLAKE2b-256 |
52e9ade14fb1ae3c3639313d6c58236c7fc52f5d637929de6be5ed9cc8c8bad8
|
File details
Details for the file modbus_scanner-1.0.2-py3-none-any.whl.
File metadata
- Download URL: modbus_scanner-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6bc702fffe33d820fa61c7e5842fbd68207629c2cc584e478563b0d5b781f61
|
|
| MD5 |
818f2b4c7e7ac747afb72b4e0dae08d4
|
|
| BLAKE2b-256 |
cb5723de295c65eddaf3e9b46ad948fc4677c5bd134161693bcd510b2fa8f8e9
|