Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linuxcnc retrofit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Machines et équipements
Méca Heavy
Mori Seiki SL0
linuxcnc retrofit
Commits
7429903e
Commit
7429903e
authored
Dec 02, 2020
by
electrolab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Z axis position display + scaling
parent
1e4c9ac1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
29 deletions
+34
-29
maurice.hal
maurice.hal
+3
-4
maurice.ini
maurice.ini
+25
-19
maurice.xml
maurice.xml
+6
-6
No files found.
maurice.hal
View file @
7429903e
...
...
@@ -16,10 +16,9 @@ setp lcec.0.1.drivecontrol-1 1
setp lcec.0.1.drivecontrol-2 1
net Xachse_AF joint.0.amp-enable-out => lcec.0.0.drivecontrol-3
net Yachse_AF joint.1.amp-enable-out => lcec.0.1.drivecontrol-3
net Xachse_fb lcec.0.0.pos => joint.0.motor-pos-fb
net Xachse_cmd joint.0.motor-pos-cmd => lcec.0.0.poscommand
net Yachse_fb lcec.0.1.pos => joint.1.motor-pos-fb
net Yachse_cmd joint.1.motor-pos-cmd => lcec.0.1.poscommand
net Zachse_AF joint.1.amp-enable-out => lcec.0.1.drivecontrol-3
net Zachse_fb lcec.0.1.pos => joint.2.motor-pos-fb
net Zachse_cmd joint.2.motor-pos-cmd => lcec.0.1.poscommand
maurice.ini
View file @
7429903e
...
...
@@ -43,12 +43,13 @@ TASK = milltask
CYCLE_TIME
=
0.005
[HAL]
HALUI
=
halui
HALFILE
=
maurice.hal
[HALUI]
[TRAJ]
COORDINATES
=
XZ
COORDINATES
=
X
Z
LINEAR_UNITS
=
mm
ANGULAR_UNITS
=
deg
DEFAULT_LINEAR_VELOCITY
=
100
...
...
@@ -58,30 +59,30 @@ MAX_LINEAR_VELOCITY = 400
EMCIO
=
io
CYCLE_TIME
=
0.100
TOOL_TABLE
=
tool.tbl
TOOL_CHANGE_POSITION
=
2 0 1
TOOL_CHANGE_WITH_SPINDLE_ON
=
1
[KINS]
KINEMATICS
=
trivkins coordinates=XZ
#This is a best-guess at the number of joints, it should be checked
JOINTS
=
2
KINEMATICS
=
trivkins
JOINTS
=
3
[AXIS_X]
MIN_LIMIT
=
-200
MAX_LIMIT
=
5
00
MAX_VELOCITY
=
375.
0
MIN_LIMIT
=
-200
0
MAX_LIMIT
=
20
00
MAX_VELOCITY
=
1
0
MAX_ACCELERATION
=
2000.0
[JOINT_0]
TYPE
=
LINEAR
HOME
=
0.0
MAX_VELOCITY
=
375
.0
MAX_VELOCITY
=
10
.0
MAX_ACCELERATION
=
2000.0
STEPGEN_MAXACCEL
=
0
SCALE
=
1
FERROR
=
1
MIN_FERROR
=
2000
MIN_LIMIT
=
-200
MAX_LIMIT
=
5
00
MIN_LIMIT
=
-200
0
MAX_LIMIT
=
20
00
HOME_DELAY
=
5
HOME_VEL
=
1
HOME_OFFSET
=
100.0
...
...
@@ -91,24 +92,29 @@ HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS
=
NO
HOME_SEQUENCE
=
0
[AXIS_Z]
MIN_LIMIT
=
-200
MAX_LIMIT
=
200
MAX_VELOCITY
=
40
0.0
MIN_LIMIT
=
-200
0
MAX_LIMIT
=
200
0
MAX_VELOCITY
=
1
0.0
MAX_ACCELERATION
=
2000.0
[JOINT_1]
# JOINT_1: not used, home immediately:
HOME_SEARCH_VEL
=
0
HOME_LATCH_VEL
=
0
HOME_SEQUENCE
=
0
[JOINT_2]
TYPE
=
LINEAR
HOME
=
0.0
MAX_VELOCITY
=
40
0.0
MAX_VELOCITY
=
1
0.0
MAX_ACCELERATION
=
2000.0
STEPGEN_MAXACCEL
=
0
SCALE
=
1
SCALE
=
0.00
1
FERROR
=
1
MIN_FERROR
=
2000
MIN_LIMIT
=
-200
MAX_LIMIT
=
200
MIN_LIMIT
=
-200
0
MAX_LIMIT
=
200
0
HOME_DELAY
=
5
HOME_VEL
=
1
HOME_OFFSET
=
150.0
...
...
maurice.xml
View file @
7429903e
...
...
@@ -2,7 +2,7 @@
<master
idx=
"0"
appTimePeriod=
"1000000"
refClockSyncCycles=
"1"
>
<slave
idx=
"0"
type=
"generic"
vid=
"0000060A"
pid=
"00000001"
configPdos=
"true"
>
<sdoConfig
idx=
"6060"
subIdx=
"0"
><sdoDataRaw
data=
"08"
/></sdoConfig>
<sdoConfig
idx=
"6098"
subIdx=
"0"
><sdoDataRaw
data=
"
23
"
/></sdoConfig>
<sdoConfig
idx=
"6098"
subIdx=
"0"
><sdoDataRaw
data=
"
07
"
/></sdoConfig>
<sdoConfig
idx=
"6093"
subIdx=
"1"
><sdoDataRaw
data=
"00 80 00 00"
/></sdoConfig>
<sdoConfig
idx=
"6093"
subIdx=
"2"
><sdoDataRaw
data=
"E2 04 00 00"
/></sdoConfig>
<syncManager
idx=
"0"
dir=
"out"
></syncManager>
...
...
@@ -10,13 +10,13 @@
<syncManager
idx=
"2"
dir=
"out"
>
<pdo
idx=
"1602"
>
<pdoEntry
idx=
"6040"
subIdx=
"00"
bitLen=
"16"
halPin=
"drivecontrol"
halType=
"bit"
/>
<pdoEntry
idx=
"607A"
subIdx=
"00"
bitLen=
"32"
halPin=
"poscommand"
halType=
"float"
scale=
"
1
00"
/>
<pdoEntry
idx=
"607A"
subIdx=
"00"
bitLen=
"32"
halPin=
"poscommand"
halType=
"float"
scale=
"
200
00"
/>
</pdo>
</syncManager>
<syncManager
idx=
"3"
dir=
"in"
>
<pdo
idx=
"1A02"
>
<pdoEntry
idx=
"6041"
subIdx=
"00"
bitLen=
"16"
halPin=
"drivestatus"
halType=
"bit"
/>
<pdoEntry
idx=
"6064"
subIdx=
"00"
bitLen=
"32"
halPin=
"pos"
halType=
"float"
scale=
"0.0
1
"
/>
<pdoEntry
idx=
"6064"
subIdx=
"00"
bitLen=
"32"
halPin=
"pos"
halType=
"float"
scale=
"0.0
0005
"
/>
</pdo>
</syncManager>
<dcConf
assignActivate=
"300"
sync0Cycle=
"*1"
sync0Shift=
"250000"
/>
...
...
@@ -24,7 +24,7 @@
</slave>
<slave
idx=
"1"
type=
"generic"
vid=
"0000060A"
pid=
"00000001"
configPdos=
"true"
>
<sdoConfig
idx=
"6060"
subIdx=
"0"
><sdoDataRaw
data=
"08"
/></sdoConfig>
<sdoConfig
idx=
"6098"
subIdx=
"0"
><sdoDataRaw
data=
"
23
"
/></sdoConfig>
<sdoConfig
idx=
"6098"
subIdx=
"0"
><sdoDataRaw
data=
"
07
"
/></sdoConfig>
<sdoConfig
idx=
"6093"
subIdx=
"1"
><sdoDataRaw
data=
"00 80 00 00"
/></sdoConfig>
<sdoConfig
idx=
"6093"
subIdx=
"2"
><sdoDataRaw
data=
"E2 04 00 00"
/></sdoConfig>
<syncManager
idx=
"0"
dir=
"out"
></syncManager>
...
...
@@ -32,13 +32,13 @@
<syncManager
idx=
"2"
dir=
"out"
>
<pdo
idx=
"1602"
>
<pdoEntry
idx=
"6040"
subIdx=
"00"
bitLen=
"16"
halPin=
"drivecontrol"
halType=
"bit"
/>
<pdoEntry
idx=
"607A"
subIdx=
"00"
bitLen=
"32"
halPin=
"poscommand"
halType=
"float"
scale=
"100"
/>
<pdoEntry
idx=
"607A"
subIdx=
"00"
bitLen=
"32"
halPin=
"poscommand"
halType=
"float"
scale=
"100
00
"
/>
</pdo>
</syncManager>
<syncManager
idx=
"3"
dir=
"in"
>
<pdo
idx=
"1A02"
>
<pdoEntry
idx=
"6041"
subIdx=
"00"
bitLen=
"16"
halPin=
"drivestatus"
halType=
"bit"
/>
<pdoEntry
idx=
"6064"
subIdx=
"00"
bitLen=
"32"
halPin=
"pos"
halType=
"float"
scale=
"0.01"
/>
<pdoEntry
idx=
"6064"
subIdx=
"00"
bitLen=
"32"
halPin=
"pos"
halType=
"float"
scale=
"0.0
00
1"
/>
</pdo>
</syncManager>
<dcConf
assignActivate=
"300"
sync0Cycle=
"*1"
sync0Shift=
"250000"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment