- Posts: 486
- Thank you received: 0
Limit an Axis or part of Machine travel to specific tasks possible?
7 years 11 months ago #121052
by dgarrett
deb-install example (using sim config ~/linuxcnc/configs/sim/sim.axis/axis.ini):
RIP example (base dir== /home/git/linuxcnc-dev):
Replied by dgarrett on topic Limit an Axis or part of Machine travel to specific tasks possible?
inivar is a provided program (used by the main script named linuxcnc)...how to read INI values in bash
deb-install example (using sim config ~/linuxcnc/configs/sim/sim.axis/axis.ini):
Code:
$ which linuxcnc
/usr/bin/linuxcnc
$ which inivar
/usr/bin/inivar
$ inivar -h
inivar: -var <variable> {-sec <section>} {<-ini inifile>} [-num <nth item>]
$ inivar -ini ~/linuxcnc/configs/sim.axis/axis.ini -sec EMC -var VERSION
1.1
RIP example (base dir== /home/git/linuxcnc-dev):
Code:
$ source /home/git/linuxcnc-dev/scripts/rip-environment
$ which linuxcnc
/home/git/linuxcnc-dev/scripts/linuxcnc
$ which inivar
/home/git/linuxcnc-dev/bin/inivar
$ inivar -h
inivar: -var <variable> {-sec <section>} {<-ini inifile>} [-num <nth item>]
$ inivar -ini /home/git/linuxcnc-dev/configs/sim/axis/axis.ini -sec EMC -var VERSION
1.1
Please Log in to join the conversation.
7 years 11 months ago #121055
by andypugh
Replied by andypugh on topic Limit an Axis or part of Machine travel to specific tasks possible?
I think that the INI file might be an environment variable too?
$INIFILE ?
(Not at a LinuxCNC machine so I can't test if that remains available to M100+)
$INIFILE ?
(Not at a LinuxCNC machine so I can't test if that remains available to M100+)
Please Log in to join the conversation.
Time to create page: 0.029 seconds
