Yaskawa SDK documentation
Get started with Python
Yaskawa Python SDK provides a simple and efficient way to control Yaskawa robots using Python. No additional installations are required on the robot controller.
🚀 Introduction
- 📡 High-Speed Ethernet Server
- 🤖 Move robot in Cartesian or joint space
- 🛠️ Access robot status, alarms, and I/O
- 💾 Read/write registers and data types
- 🧠 Control and monitor jobs
- ✍️ Send pendant messages, reset alarms, manage files
No Yaskawa options or additional hardware required.
Try it
From Pypi :
pip install UnderAutomation.Yaskawa
From this repo :
git clone https://github.com/underautomation/Yaskawa.py.git
pip install -e .
✨ Example Usage
from underautomation.yaskawa.connect_parameters import ConnectParametersfrom underautomation.yaskawa.high_speed_e_server.alarm_reset_type import AlarmResetTypefrom underautomation.yaskawa.yaskawa_robot import YaskawaRobotrobot = YaskawaRobot()parameters = ConnectParameters("192.168.0.1")parameters.ping_before_connect = Truerobot.connect(parameters)# Check connectionif robot.high_speed_e_server.connected:print("Connected!")# Move in Cartesianrobot.high_speed_e_server.move_cartesian(x=1000, y=10, z=0,rx=0, ry=0, rz=0,speed=10,)# Get current joint positionjoint_position = robot.high_speed_e_server.get_robot_joint_position()print(joint_position.axes)# Read and write registerreg = robot.high_speed_e_server.read_register(10, count=2)robot.high_speed_e_server.write_register(10, [1234, 5678])# Reset alarmrobot.high_speed_e_server.alarm_reset(AlarmResetType.Reset)
🔧 Robot Configuration
✅ Enable Remote Control
IN/OUT > PSEUDO INPUT SIGNAL- Set
#82015 CMD REMOTE SELviaINTERLOCK + SELECT
✅ Key Position for Commands
- Use physical pendant key in remote position
- Optional Ladder setup: copy
#80011to#40042
✅ Job Select
SETUP > FUNCTION ENABLE- Set
JOB SELECT WHEN REMOTE AND PLAYtoPERMIT
✅ File Overwrite Permissions
PARAMETER > RS- Set
RS029 = 1,RS214 = 1
🛠 Installation
Clone the SDK
git clone https://github.com/underautomation/yaskawa.py.gitcd yaskawa.pypip install -e .
Connect to your robot
robot = YaskawaRobot()parameters = ConnectParameters("192.168.0.1")robot.connect(parameters)
✅ Compatibility
- Robots: DX200, YRC1000, YRC1000 Micro
- OS: Windows, Linux, macOS
- Python: 3.7+
🙌 Contributing
We welcome contributions!
- Report bugs via Issues
- Submit pull requests
- Share feature ideas