yrcom 0.2.0__py3-none-any.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.
- yrcom/__init__.py +48 -0
- yrcom/hses_client.py +1659 -0
- yrcom/hses_errors.py +190 -0
- yrcom/hses_file.py +234 -0
- yrcom/hses_sim.py +173 -0
- yrcom/robot_connection.py +434 -0
- yrcom/yaskawa_client.py +615 -0
- yrcom-0.2.0.dist-info/METADATA +112 -0
- yrcom-0.2.0.dist-info/RECORD +13 -0
- yrcom-0.2.0.dist-info/WHEEL +5 -0
- yrcom-0.2.0.dist-info/entry_points.txt +2 -0
- yrcom-0.2.0.dist-info/licenses/LICENSE +21 -0
- yrcom-0.2.0.dist-info/top_level.txt +1 -0
yrcom/__init__.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""yrcom — Yaskawa robot communication (Ethernet Server + HSES + File Control).
|
|
2
|
+
|
|
3
|
+
Pure-stdlib library. Three transports under one roof:
|
|
4
|
+
|
|
5
|
+
- `YaskawaClient` — classic Ethernet Server (TCP 80, host-control commands)
|
|
6
|
+
- `HsesClient` — High Speed Ethernet Server (UDP 10040, 45 commands)
|
|
7
|
+
- `HsesFileClient` — HSES File Control (UDP 10041, read/write job files)
|
|
8
|
+
- `RobotConnection` — bundles ES + HSES behind one IP, selectable via `transport`
|
|
9
|
+
- `HsesReplayServer`— replays a recorded session as a UDP server (offline dev/testing)
|
|
10
|
+
"""
|
|
11
|
+
from .yaskawa_client import VarType, YaskawaClient, EthernetServerClient
|
|
12
|
+
from .hses_client import (
|
|
13
|
+
HsesClient,
|
|
14
|
+
HsesError,
|
|
15
|
+
PositionVar,
|
|
16
|
+
AxisPositionVar,
|
|
17
|
+
CartesianMove,
|
|
18
|
+
PulseMove,
|
|
19
|
+
MODEL_DX100,
|
|
20
|
+
MODEL_DX200,
|
|
21
|
+
MODEL_YRC1000,
|
|
22
|
+
)
|
|
23
|
+
from .hses_errors import status_text, added_status_text
|
|
24
|
+
from .hses_file import HsesFileClient, HSES_FILE_PORT
|
|
25
|
+
from .robot_connection import (
|
|
26
|
+
RobotConnection,
|
|
27
|
+
PersistentTcpClient,
|
|
28
|
+
HsesWriteBlockedError,
|
|
29
|
+
TRANSPORT_HSES,
|
|
30
|
+
TRANSPORT_ETHERNET,
|
|
31
|
+
HSES_PORT,
|
|
32
|
+
TCP_PORT,
|
|
33
|
+
)
|
|
34
|
+
from .hses_sim import HsesReplayServer
|
|
35
|
+
|
|
36
|
+
__version__ = "0.2.0"
|
|
37
|
+
|
|
38
|
+
__all__ = [
|
|
39
|
+
"YaskawaClient", "VarType", "EthernetServerClient",
|
|
40
|
+
"HsesClient", "HsesError",
|
|
41
|
+
"PositionVar", "AxisPositionVar", "CartesianMove", "PulseMove",
|
|
42
|
+
"MODEL_DX100", "MODEL_DX200", "MODEL_YRC1000",
|
|
43
|
+
"status_text", "added_status_text",
|
|
44
|
+
"HsesFileClient", "HSES_FILE_PORT",
|
|
45
|
+
"RobotConnection", "PersistentTcpClient", "HsesWriteBlockedError",
|
|
46
|
+
"TRANSPORT_HSES", "TRANSPORT_ETHERNET", "HSES_PORT", "TCP_PORT",
|
|
47
|
+
"HsesReplayServer",
|
|
48
|
+
]
|