Martin Kunz f0e0c4404e send axis position to register | 4 years ago | |
---|---|---|
docs | 5 years ago | |
src | 4 years ago | |
.gitignore | 5 years ago | |
README.md | 4 years ago | |
pom.xml | 4 years ago |
See also uraxis
Index
Perform relative movement by relPos ticks at speed. Blocks until position reached (calls checkPos()).
Perform absolute movement to targetPos at speed. Blocks until position reached (calls checkPos()).
Fetches live status from axis and returns current position.
Enable freedrive/teach - Mode
Returns map of status flags
Usage: <main class> [-h] [-aip=<axisIP>] [-ap=<axisPort>] [-p=<port>]
-aip, --axisip=<axisIP>
Axis ip address
-ap, --axisport=<axisPort>
Axis modbus port
-h, --help display a help message
-p, --port=<port> HTTP Server port
./jdk-12+33-jre/bin/java -jar urweb-1.0-SNAPSHOT-shaded.jar
[Unit]
Description=uraxisdaemon
After=syslog.target
[Service]
Type=notify
NotifyAccess=all
WorkingDirectory=/opt/myserver/
ExecStart=/usr/bin/java -server -jar uraxisdaemon.jar -p=8080 -aip=192.168.30.200 -ap=30001
# WatchdogSec=30
Restart=always
[Install]
WantedBy=multi-user.target