Commit 449071b4 authored by Michael Büsch's avatar Michael Büsch

Update LinuxCNC HAL example configuration

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 544231b7
......@@ -3,24 +3,38 @@
# --- LinuxCNC HAL configuration file
# ------
# --- Load the awlsim HAL userspace module ---
#
# Parameters:
# --gui : Enable/disable the GUI.
# The GUI should only be used for development and debugging
# purposes. In production the GUI should be disabled for
# performance reasons.
# --input-base : S7 input base-address byte-offset to use for the HAL module.
# --input-base BASE : S7 input base-address byte-offset to use for the HAL module.
# If 0 is used, address-mapping will start at I 0.0
# If 1 is used, address-mapping will start at I 1.0
# etc...
# --output-base : S7 output base-address byte-offset to use for the HAL module.
#
# --output-base BASE : S7 output base-address byte-offset to use for the HAL module.
# If 0 is used, address-mapping will start at Q 0.0
# If 1 is used, address-mapping will start at Q 1.0
# etc...
# --input-size : Size of the input area mapping, in bytes.
# --output-size : Size of the output area mapping, in bytes.
# Last argument : The Awlsim AWL/STL project or program to run.
loadusr -Wn awlsim awlsim-linuxcnc-hal --gui off --input-base 0 --input-size 32 --output-base 0 --output-size 32 /tmp/PROGRAM.awlpro
#
# --input-size SIZE : Size of the input area mapping, in bytes.
#
# --output-size SIZE : Size of the output area mapping, in bytes.
#
# --listen HOST:PORT : The HOST and PORT the core server should listen on.
# Defaults to localhost:4151
# You can connect with awlsim-gui to this port
# to watch, debug or change the AWL program.
#
# --loglevel LVL : Change the log level.
#
# --nice NICE : Renice the process. -20 <= NICE <= 19.
# Default: Do not renice.
#
# Last argument : The Awlsim AWL/STL project to load and run.
#
loadusr -Wn awlsim awlsim-linuxcnc-hal --listen localhost:4151 --input-base 0 --input-size 32 --output-base 0 --output-size 32 /tmp/PROGRAM.awlpro
# --- Enable the used input pins ---
# All input pins are deactivated by default.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment