ioddcomchecker 1.8.3__cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ioddcomchecker-1.8.3.dist-info/METADATA +218 -0
- ioddcomchecker-1.8.3.dist-info/RECORD +9 -0
- ioddcomchecker-1.8.3.dist-info/WHEEL +6 -0
- ioddcomchecker-1.8.3.dist-info/licenses/LICENSE.txt +16 -0
- ioddcomchecker-1.8.3.dist-info/top_level.txt +1 -0
- siogeen/tools/IoddComChecker.cpython-312-x86_64-linux-gnu.so +0 -0
- siogeen/tools/__init__.py +17 -0
- siogeen/tools/cli/IoddComChecker.py +58 -0
- siogeen/tools/cli/__init__.py +17 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ioddcomchecker
|
|
3
|
+
Version: 1.8.3
|
|
4
|
+
Summary: IoddCom IO-Link master checker
|
|
5
|
+
Home-page: https://siogeen.com
|
|
6
|
+
Author: Reimund Renner
|
|
7
|
+
Author-email: reimund@siogeen.com
|
|
8
|
+
License: proprietary and confidential
|
|
9
|
+
Project-URL: Documentation, https://siogeen.com/doc/
|
|
10
|
+
Project-URL: Help Desk, https://siogeen.com/helpdesk/
|
|
11
|
+
Project-URL: Knowledge Base, https://siogeen.com/helpdesk/knowledgebase
|
|
12
|
+
Project-URL: News, https://news.siogeen.com/
|
|
13
|
+
Keywords: IO-Link,IODD,development,test,production
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Manufacturing
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Intended Audience :: Customer Service
|
|
19
|
+
Classifier: Topic :: Software Development :: Embedded Systems
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Classifier: Topic :: Software Development :: Testing
|
|
22
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
23
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
24
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
25
|
+
Classifier: License :: Other/Proprietary License
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
30
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
31
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
32
|
+
Requires-Python: >=3.8
|
|
33
|
+
Description-Content-Type: text/x-rst
|
|
34
|
+
License-File: LICENSE.txt
|
|
35
|
+
Requires-Dist: ioddcombase>=1.8.3
|
|
36
|
+
Requires-Dist: dict2obj>=1.2.0
|
|
37
|
+
Dynamic: author
|
|
38
|
+
Dynamic: author-email
|
|
39
|
+
Dynamic: classifier
|
|
40
|
+
Dynamic: description
|
|
41
|
+
Dynamic: description-content-type
|
|
42
|
+
Dynamic: home-page
|
|
43
|
+
Dynamic: keywords
|
|
44
|
+
Dynamic: license
|
|
45
|
+
Dynamic: license-file
|
|
46
|
+
Dynamic: project-url
|
|
47
|
+
Dynamic: requires-dist
|
|
48
|
+
Dynamic: requires-python
|
|
49
|
+
Dynamic: summary
|
|
50
|
+
|
|
51
|
+
IoddComChecker - IoddCom Checker
|
|
52
|
+
================================
|
|
53
|
+
|
|
54
|
+
.. _IoddComCheckerGui: /project/IoddComCheckerGui
|
|
55
|
+
|
|
56
|
+
This is the CLI for checking your IO-Link masters working with Siogeen IoddCom.
|
|
57
|
+
|
|
58
|
+
If you want using a GUI see IoddComCheckerGui_
|
|
59
|
+
|
|
60
|
+
**Install**
|
|
61
|
+
|
|
62
|
+
Use pip to install IoddComChecker:
|
|
63
|
+
|
|
64
|
+
>>> pip install IoddComChecker
|
|
65
|
+
|
|
66
|
+
In case of dependency problems, please use a virtual environment, see https://docs.python.org/3/library/venv.html
|
|
67
|
+
|
|
68
|
+
USB IO-Link masters:
|
|
69
|
+
|
|
70
|
+
* Linux and Raspberry Pi
|
|
71
|
+
|
|
72
|
+
For Linux and Raspberry Pi udev rules and dialout group need to be installed. Please install this script as root or sudo user:
|
|
73
|
+
https://siogeen.com/scripts/install_udev_rules.sh
|
|
74
|
+
|
|
75
|
+
Please check the script to have SHA256 hash: https://siogeen.com/scripts/install_udev_rules.sh.sha256
|
|
76
|
+
|
|
77
|
+
For searching ethernet based masters, the permission for sending ping ICMP packets is needed, if an exception
|
|
78
|
+
is displayed in the console, see here how to fix:
|
|
79
|
+
https://github.com/ValentinBELYN/icmplib/blob/main/docs/6-use-icmplib-without-privileges.md
|
|
80
|
+
|
|
81
|
+
* Windows
|
|
82
|
+
|
|
83
|
+
The respective master serial driver shipped by the vendor needs to be installed
|
|
84
|
+
|
|
85
|
+
* macOS
|
|
86
|
+
|
|
87
|
+
Unfotunately most USB masters cann not be recognized by macOS. If your USB master is not detected,
|
|
88
|
+
contact us or consider using Windows or Linux.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
**Usage**
|
|
92
|
+
|
|
93
|
+
To start a scan execute on the console:
|
|
94
|
+
|
|
95
|
+
>>> python -m siogeen.tools.cli.IoddComChecker
|
|
96
|
+
|
|
97
|
+
**Command line options**
|
|
98
|
+
|
|
99
|
+
>>> IoddComChecker [-h] [-a ADDRESS] [--auto] [-s SELECT] [--verbose VERBOSE] [--version]
|
|
100
|
+
|
|
101
|
+
-h, --help show this help message and exit
|
|
102
|
+
-a ADDRESS, --address ADDRESS
|
|
103
|
+
specify one or more master addresses (default all)
|
|
104
|
+
--auto activate master ports if all are disabled
|
|
105
|
+
-s SELECT, --select SELECT
|
|
106
|
+
select specific master types: ETH (ethernet) or USB
|
|
107
|
+
--verbose VERBOSE verbosity 0..3
|
|
108
|
+
--version print version
|
|
109
|
+
|
|
110
|
+
**Example**
|
|
111
|
+
|
|
112
|
+
>>> IoddComChecker -a 10.0.0.17 -a 10.0.0.19 --auto
|
|
113
|
+
|
|
114
|
+
For full package, requests and support go to https://siogeen.com
|
|
115
|
+
|
|
116
|
+
**Copyright 2017-2025 Siogeen UG** (limited liability)
|
|
117
|
+
|
|
118
|
+
.. _request: https://siogeen.com/#contact
|
|
119
|
+
|
|
120
|
+
Supported Platforms
|
|
121
|
+
~~~~~~~~~~~~~~~~~~~
|
|
122
|
+
|
|
123
|
+
========================= ===================== ======================
|
|
124
|
+
**OS** Python 2.7, 3.4-3.7 Python 3.8 - 3.13
|
|
125
|
+
========================= ===================== ======================
|
|
126
|
+
**Windows** [1]_ x
|
|
127
|
+
**Linux x86/x64** [1]_ x
|
|
128
|
+
**Linux Arm (Raspberry)** [1]_ x
|
|
129
|
+
**macOS** [1]_ x
|
|
130
|
+
========================= ===================== ======================
|
|
131
|
+
|
|
132
|
+
.. [1] IoddCom for Python 2.7, 3.4 - 3.7 on request_.
|
|
133
|
+
|
|
134
|
+
Support for other platforms on request_.
|
|
135
|
+
|
|
136
|
+
Supported operating systems and IO-Link masters
|
|
137
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
138
|
+
Table of supported IO-Link masters for specific operating systems (OS):
|
|
139
|
+
|
|
140
|
+
+-----------------------------------+---------------------------------------------------+
|
|
141
|
+
| Master | supported OS |
|
|
142
|
+
| +---------+----------+--------------+---------------+
|
|
143
|
+
| | Windows | Linux | Raspberry Pi | macOS 64 [3]_ |
|
|
144
|
+
+===================================+=========+==========+==============+===============+
|
|
145
|
+
| TMG-USB based masters | x | x [4]_ | x [4]_ | x [4]_ |
|
|
146
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
147
|
+
| TMG ethernet based masters [5]_ | x | x | x | x |
|
|
148
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
149
|
+
| ifm ethernet based masters [6]_ | x | x | x | x |
|
|
150
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
151
|
+
| ifm USB based masters [7]_ | x | x | x | x |
|
|
152
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
153
|
+
| Turck Multi-Protocol masters [8]_ | x | x | x | x |
|
|
154
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
155
|
+
| REST API based masters [9]_ | x | x | x | x |
|
|
156
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
157
|
+
| IQ2 based masters [10]_ | x | x | x | x |
|
|
158
|
+
+-----------------------------------+---------+----------+--------------+---------------+
|
|
159
|
+
|
|
160
|
+
For Windows, Linux and Raspberry Pi both, 32-bit and 64-bit versions are available.
|
|
161
|
+
|
|
162
|
+
.. [3] For macOS 11.0+
|
|
163
|
+
|
|
164
|
+
.. [4] For example: Baumer, Leuze, Pepperl+Fuchs, SICK AG, Turck.
|
|
165
|
+
*Firmware v3.2+ only runs under Windows. For Linux/macOS/RasPi use FW < 3.2!*
|
|
166
|
+
|
|
167
|
+
.. [5] For Example: Balluff, Belden, Murrelektronik, Pepperl+Fuchs, Wenglor
|
|
168
|
+
|
|
169
|
+
.. [6] All ifm IO-Link masters AL1xxx should be supported. Functionality depends on master type
|
|
170
|
+
|
|
171
|
+
.. [7] ifm USB IO-Link master AL1060
|
|
172
|
+
|
|
173
|
+
.. [8] Turck Multi-Protocol masters (Modbus TCP, PROFINET, EtherNet/IP): TBEN-L, TBEN-S, FEN20, ...
|
|
174
|
+
Special functions missing: read/write SIO, functions not available: data storage
|
|
175
|
+
|
|
176
|
+
.. [9] REST API based masters (Sick SIG200/SIG350, Belden Lion-X, MurrElectronik Impact67 Pro/MVK Pro, Baumer, **Beta:** Balluff)
|
|
177
|
+
|
|
178
|
+
.. [10] **Experimental:** Iq2 based masters (iqLink, iqInterface and SensoPart SensoIO)
|
|
179
|
+
|
|
180
|
+
Not supported masters:
|
|
181
|
+
|
|
182
|
+
* iO-Fly masters (soon)
|
|
183
|
+
* Baumer senscontrol masters (soon)
|
|
184
|
+
* Baumer USB-C masters
|
|
185
|
+
* RevolutionPi RevPi masters
|
|
186
|
+
* Pepperl & Fuchs comtrol masters
|
|
187
|
+
* Germbedded masters
|
|
188
|
+
* TEConcept masters
|
|
189
|
+
|
|
190
|
+
Support for them or other masters on request_.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
Supported functionality
|
|
194
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
|
195
|
+
All supported masters have the following functionality:
|
|
196
|
+
|
|
197
|
+
read/write ISDUs, read/write process data, get/set port config.
|
|
198
|
+
|
|
199
|
+
The following functionality is varying by master:
|
|
200
|
+
|
|
201
|
+
==================== ============ ======================================= ============ ==================
|
|
202
|
+
master data storage multi data / multi port PD streaming special functions
|
|
203
|
+
==================== ============ ======================================= ============ ==================
|
|
204
|
+
Sim yes read ISDU, read PD, read DI, multi-port hw/sw --
|
|
205
|
+
ifm ethernet based yes read PD, read DI, multi-port hw/sw yes
|
|
206
|
+
ifm USB based yes read PD, read DI, multi-port sw yes
|
|
207
|
+
REST API based yes read ISDU [12]_ sw yes, Balluff, SICK
|
|
208
|
+
TMG-USB based yes [11]_ read PD, read DI, multi-port hw/sw yes
|
|
209
|
+
TMG ethernet based yes read PD, read DI, multi-port hw/sw yes, Balluff
|
|
210
|
+
Turck Multi-Protocol -- read PD, read DI, multi-port sw yes
|
|
211
|
+
Iq2 USB/ethernet yes [13]_ -- sw yes
|
|
212
|
+
==================== ============ ======================================= ============ ==================
|
|
213
|
+
|
|
214
|
+
.. [11] getConfig not supported, FW 3.2+: masterCommandDownloadFromMaster not supported anymore
|
|
215
|
+
.. [12] REST API multi data write ISDU will be added in future
|
|
216
|
+
.. [13] no read/write master DS supported (only config)
|
|
217
|
+
|
|
218
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
siogeen/tools/IoddComChecker.cpython-312-x86_64-linux-gnu.so,sha256=VEqs_K6rzj9qNWyKLlEIIT4q83WVXveGJ-dZYNV2HOg,182232
|
|
2
|
+
siogeen/tools/__init__.py,sha256=CCpWoKGerJjGcTDaC48F6skWG4rDZuBzIKxBIZqL74w,462
|
|
3
|
+
siogeen/tools/cli/IoddComChecker.py,sha256=QTQPpDSHzcsCFx6sIiq4LbcoaBghJr5FOG0yIv_1e4k,2420
|
|
4
|
+
siogeen/tools/cli/__init__.py,sha256=5U7K-XTwdy1Iy5suv_-WSFGwC_zqleJ6KdZQR7kShP0,468
|
|
5
|
+
ioddcomchecker-1.8.3.dist-info/METADATA,sha256=m7h6YozWgLddmSB97yzCDHw6diS0VDYXjZyR0qVpM2M,9299
|
|
6
|
+
ioddcomchecker-1.8.3.dist-info/WHEEL,sha256=aSgG0F4rGPZtV0iTEIfy6dtHq6g67Lze3uLfk0vWn88,151
|
|
7
|
+
ioddcomchecker-1.8.3.dist-info/top_level.txt,sha256=vIFg0bLkihbkHyuCZUdHmA-50LP8LvTwDknGWir0T5o,8
|
|
8
|
+
ioddcomchecker-1.8.3.dist-info/RECORD,,
|
|
9
|
+
ioddcomchecker-1.8.3.dist-info/licenses/LICENSE.txt,sha256=mjUk_O3YPxAZeoS61zCys2pyShGDxR4ghwb55ItZ0lg,732
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Copyright (c) 2017-2023 Siogeen UG (haftungsbeschraenkt) - All Rights Reserved
|
|
2
|
+
|
|
3
|
+
Unauthorized copying of this package and its contents, via any medium is
|
|
4
|
+
strictly prohibited.
|
|
5
|
+
Proprietary and confidential.
|
|
6
|
+
|
|
7
|
+
Written by Reimund Renner <reimund@siogeen.com>, November 2017
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
12
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
13
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
14
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
15
|
+
SOFTWARE.
|
|
16
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
siogeen
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'''
|
|
2
|
+
Siogeen IoddCom tools.
|
|
3
|
+
|
|
4
|
+
The Siogeen IoddCom is designed for various use cases for best working
|
|
5
|
+
experience with IO-Link devices, simple usage and time saving thus both saving
|
|
6
|
+
costs and offering time for the real tasks.
|
|
7
|
+
|
|
8
|
+
Created on 15.11.2022
|
|
9
|
+
'''
|
|
10
|
+
|
|
11
|
+
__author__ = "Reimund Renner"
|
|
12
|
+
__email__ = "reimund@siogeen.com"
|
|
13
|
+
__contact__ = "contact@siogeen.com"
|
|
14
|
+
__license__ = "proprietary and confidential"
|
|
15
|
+
|
|
16
|
+
# classes for: from siogeen import *
|
|
17
|
+
__all__ = ['IoddComChecker']
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
'''
|
|
3
|
+
Copyright (C) 2023-2025 Siogeen
|
|
4
|
+
|
|
5
|
+
Created on 4.1.2023
|
|
6
|
+
|
|
7
|
+
@author: Reimund Renner
|
|
8
|
+
'''
|
|
9
|
+
|
|
10
|
+
import argparse
|
|
11
|
+
|
|
12
|
+
def get_parser():
|
|
13
|
+
"""Get CLI parser"""
|
|
14
|
+
ret = argparse.ArgumentParser(
|
|
15
|
+
description='Check for IO-Link masters and devices',
|
|
16
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
17
|
+
epilog='''Examples:
|
|
18
|
+
python -m siogeen.tools.cli.IoddComChecker
|
|
19
|
+
python -m siogeen.tools.cli.IoddComChecker -a 10.0.0.17 -a 10.0.0.19 --auto -s ETH
|
|
20
|
+
python -m siogeen.tools.cli.IoddComChecker -s USB --gui''')
|
|
21
|
+
ret.add_argument("-a", "--address", action='append',
|
|
22
|
+
help="Specify one or more master addresses (default all)")
|
|
23
|
+
ret.add_argument("--auto", action='store_true',
|
|
24
|
+
help="Activate master ports if all are disabled")
|
|
25
|
+
ret.add_argument("-s", "--select",
|
|
26
|
+
help="Select specific master types: ETH (ethernet) or USB")
|
|
27
|
+
ret.add_argument("--verbose", default=2, help="Select verbosity 0..3")
|
|
28
|
+
ret.add_argument("--version", action='store_true',
|
|
29
|
+
help="Print version")
|
|
30
|
+
ret.add_argument("--gui", action='store_true',
|
|
31
|
+
help="Start the graphical user interface")
|
|
32
|
+
ret.add_argument("--gui-mode", default='Dark', choices=('Dark', 'Light'),
|
|
33
|
+
help="GUI screen mode")
|
|
34
|
+
|
|
35
|
+
return ret
|
|
36
|
+
|
|
37
|
+
if __name__ == '__main__':
|
|
38
|
+
parser = get_parser()
|
|
39
|
+
args = parser.parse_args()
|
|
40
|
+
#args = parser.parse_args(['--auto'])
|
|
41
|
+
#args = parser.parse_args(['-a', '/dev/ttyUSB0'])
|
|
42
|
+
#args = parser.parse_args(['-a', '192.168.178.77'])
|
|
43
|
+
#args = parser.parse_args(['-a', '192.168.178.77', '-a', '192.168.178.73'])
|
|
44
|
+
#args = parser.parse_args(['-a', '192.168.178.77', '--auto'])
|
|
45
|
+
#args = parser.parse_args(['--gui', '--version'])
|
|
46
|
+
#args = parser.parse_args(['--gui', '--gui-mode', 'Light', '--select', 'USB'])
|
|
47
|
+
|
|
48
|
+
from siogeen.tools import IoddComChecker
|
|
49
|
+
if args.gui:
|
|
50
|
+
from siogeen.tools.gui import IoddComChecker as GC
|
|
51
|
+
|
|
52
|
+
if args.version:
|
|
53
|
+
sgui = f" (GUI {GC.__version__})" if args.gui and IoddComChecker.__version__ != GC.__version__ else ""
|
|
54
|
+
print(f"IoddComChecker {IoddComChecker.__version__}" + sgui)
|
|
55
|
+
elif args.gui:
|
|
56
|
+
GC.IoddComCheckerGui(args.address, args.auto, args.verbose, args.select, args.gui_mode).run()
|
|
57
|
+
else:
|
|
58
|
+
IoddComChecker.check(args.address, args.auto, verbose=args.verbose, select=args.select)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'''
|
|
2
|
+
Siogeen IoddCom tools cli's.
|
|
3
|
+
|
|
4
|
+
The Siogeen IoddCom is designed for various use cases for best working
|
|
5
|
+
experience with IO-Link devices, simple usage and time saving thus both saving
|
|
6
|
+
costs and offering time for the real tasks.
|
|
7
|
+
|
|
8
|
+
Created on 09.01.2023
|
|
9
|
+
'''
|
|
10
|
+
|
|
11
|
+
__author__ = "Reimund Renner"
|
|
12
|
+
__email__ = "reimund@siogeen.com"
|
|
13
|
+
__contact__ = "contact@siogeen.com"
|
|
14
|
+
__license__ = "proprietary and confidential"
|
|
15
|
+
|
|
16
|
+
# classes for: from siogeen import *
|
|
17
|
+
__all__ = ['IoddComChecker']
|