- Posts: 45
- Thank you received: 1
Promecor Lathe retrofit with TKXHMI
- fsabbatini
- Topic Author
- Offline
- Senior Member
-
Less
More
4 years 5 months ago #243045
by fsabbatini
Replied by fsabbatini on topic Promecor Lathe retrofit with TKXHMI
Some of it as it diverged a lot, for example Python thing is not well supported (the new interface is C++ with Qt made)
File saving settings is removed, everything is database managed and updated as it runs, not at linuxcnc closing so in case of power outage, values remains.
Python preview is completely broken as I made a “simulation” preview so it does not get affected by endless loops as current Python preview works
All of these makes pretty hard to pull changes without braking users machines
My idea is to open a fork or something in the near future for lcnc modified codebase
Regards
Franco!
File saving settings is removed, everything is database managed and updated as it runs, not at linuxcnc closing so in case of power outage, values remains.
Python preview is completely broken as I made a “simulation” preview so it does not get affected by endless loops as current Python preview works
All of these makes pretty hard to pull changes without braking users machines
My idea is to open a fork or something in the near future for lcnc modified codebase
Regards
Franco!
Please Log in to join the conversation.
4 years 5 months ago #243150
by andypugh
Is this using the (new) tool database interface?
linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.html
I would strongly advocate getting that into LinuxCNC mainline.
Is this using the (new) homing interface?
I can't find any real docs for this, but
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
And sample code:
github.com/LinuxCNC/linuxcnc/blob/master...onents/homecomp.comp
Replied by andypugh on topic Promecor Lathe retrofit with TKXHMI
-industrial tool manager with life manager by part count or by cutting time. Tools offsets and tool wears. Tool manager working as $inumerik
Is this using the (new) tool database interface?
linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.html
-currently executing line showing exactly as it should be! Even in subroutines (for gosh sake!!!)
I would strongly advocate getting that into LinuxCNC mainline.
-ethercat drive homing implemented into homing.c
Is this using the (new) homing interface?
I can't find any real docs for this, but
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
And sample code:
github.com/LinuxCNC/linuxcnc/blob/master...onents/homecomp.comp
Please Log in to join the conversation.
- fsabbatini
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 1
4 years 5 months ago #243300
by fsabbatini
Replied by fsabbatini on topic Promecor Lathe retrofit with TKXHMI
Hi Andy,
My first shot was using tooldb but then I realized that it was not what I really wanted, it is more a patch than a solution. I integrated zeromq with protobuf for messaging so I don’t only send tool information but also work offsets , variables and even settings stored on the db, no need to use file for saving stuff. The advance of this is that it is saved as soon as data changed and not only at powering off.
Sure, I can pull request line showing
About homing, I added a “drive based homing” setting on the ini to let the system it should just use the drive homing and wait for completeness. No need to use the new homing thing
Regards
Franco
My first shot was using tooldb but then I realized that it was not what I really wanted, it is more a patch than a solution. I integrated zeromq with protobuf for messaging so I don’t only send tool information but also work offsets , variables and even settings stored on the db, no need to use file for saving stuff. The advance of this is that it is saved as soon as data changed and not only at powering off.
Sure, I can pull request line showing
About homing, I added a “drive based homing” setting on the ini to let the system it should just use the drive homing and wait for completeness. No need to use the new homing thing
Regards
Franco
Please Log in to join the conversation.
4 years 3 months ago #247932
by rmu
Replied by rmu on topic Promecor Lathe retrofit with TKXHMI
Does this also apply to subroutines in different files?Sure, I can pull request line showing
Please Log in to join the conversation.
- fsabbatini
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 1
4 years 3 months ago #247946
by fsabbatini
Replied by fsabbatini on topic Promecor Lathe retrofit with TKXHMI
Yes my friend, just gcode subroutines and remaps , Python remaps shows line that called them
Please Log in to join the conversation.
4 years 3 months ago #247950
by rmu
Replied by rmu on topic Promecor Lathe retrofit with TKXHMI
Would be really nice if you could PR that. It seems that involves changes all over the board to add the filename wherever line_number is changed.
Please Log in to join the conversation.
- fsabbatini
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 1
4 years 3 months ago #247963
by fsabbatini
Replied by fsabbatini on topic Promecor Lathe retrofit with TKXHMI
You are absolutely right but I have done it better as you would have to hold the file name on real-time and it’s a no no . What I have done is creating a list where every time a file is loaded just append it to a list and get the index into real-time so now you have file number and line number
Please Log in to join the conversation.
4 years 3 months ago #248178
by cakeslob
Replied by cakeslob on topic Promecor Lathe retrofit with TKXHMI
Hey, lookin good. your cnc controller panel, is that a retrofit or did you buy one of those fany panel mount keyboards? was it expensive? I want one but they are so damn expensive......
Also, when you say HMI, you mean in the literal sense? is your screen just a normal HDMI/DVI/VGA monitor? not an industrial PLC HMI?
Also, when you say HMI, you mean in the literal sense? is your screen just a normal HDMI/DVI/VGA monitor? not an industrial PLC HMI?
Please Log in to join the conversation.
4 years 3 months ago #248184
by spumco
Yea, this. Do want, can't justify.
@fsabbatini
There are clearly a bunch of folks here slobbering over your screenset and back-stage improvements.
I've got an older Emco 325-II live-tool C-axis lathe running the PC-based fake "Fanuc" control. It mostly works, but I expect some proprietary component to die if I blink and Emco is useless with older control support.
The single-block improvement you've demonstrated alone is worth me buying components to set up a bench-testing rig just to have something ready when the Emco dies.
What do you need from this community to publish this masterpiece and give a little aid the slower-witted of us in setting something up like this?
Money? Booze? Applause?
Replied by spumco on topic Promecor Lathe retrofit with TKXHMI
Code:
I want one but they are so damn expensive......
Yea, this. Do want, can't justify.
@fsabbatini
Code:
My idea is to open a fork or something in the near future for lcnc modified codebase
There are clearly a bunch of folks here slobbering over your screenset and back-stage improvements.
I've got an older Emco 325-II live-tool C-axis lathe running the PC-based fake "Fanuc" control. It mostly works, but I expect some proprietary component to die if I blink and Emco is useless with older control support.
The single-block improvement you've demonstrated alone is worth me buying components to set up a bench-testing rig just to have something ready when the Emco dies.
What do you need from this community to publish this masterpiece and give a little aid the slower-witted of us in setting something up like this?
Money? Booze? Applause?
Please Log in to join the conversation.
- fsabbatini
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 1
4 years 3 months ago #248244
by fsabbatini
Replied by fsabbatini on topic Promecor Lathe retrofit with TKXHMI
Hey cakeslob, you are right, they are expensive, it cost around 180usd but it is made from stainless stell with high IP, usable in the dirtiest environment. I have been using logitech keyboards and they last as long as a fart in a cage in heavy dirty environment..
when i say HMI is the part of software you interact with. Eveything is running on an industrial panel pc (the motherboards connects to the screen through LVDS signals internally), nice and neat.
when i say HMI is the part of software you interact with. Eveything is running on an industrial panel pc (the motherboards connects to the screen through LVDS signals internally), nice and neat.
Please Log in to join the conversation.
Time to create page: 0.082 seconds
