Nembered Paramenters accessibility.
06 May 2013 22:22 #33679
by bigalex
Replied by bigalex on topic Numbered Parameters accessibility.
Ok now I understand .
So do you think that is possible to ask to the developers board of LCNC to examine this issue ?
I know that Michael Haberler is really into the deep of LCNC .
Do you know how to ask to him an opinion about it ?
Just to know .......
bigalex
So do you think that is possible to ask to the developers board of LCNC to examine this issue ?
I know that Michael Haberler is really into the deep of LCNC .
Do you know how to ask to him an opinion about it ?
Just to know .......
bigalex
Please Log in or Create an account to join the conversation.
06 May 2013 23:26 #33682
by ArcEye
Replied by ArcEye on topic Numbered Parameters accessibility.
If you want to put in a Feature Request, first create a sourceforge log in account.
Then go to sourceforge.net/tracker/?group_id=6744&atid=356744
Before you do that I should search the developers list archives to make sure the topic has not already been discussed and decided in some direction
sourceforge.net/mailarchive/forum.php?forum_name=emc-developers
regards
Then go to sourceforge.net/tracker/?group_id=6744&atid=356744
Before you do that I should search the developers list archives to make sure the topic has not already been discussed and decided in some direction
sourceforge.net/mailarchive/forum.php?forum_name=emc-developers
regards
Please Log in or Create an account to join the conversation.
06 May 2013 23:38 #33683
by bigalex
Replied by bigalex on topic Numbered Parameters accessibility.
Hi ArcEye.
Thanks a lot for the indications.
bigalex
Thanks a lot for the indications.
bigalex
Please Log in or Create an account to join the conversation.
07 May 2013 06:53 #33690
by mhaberler
Replied by mhaberler on topic Nembered Paramenters accessibility.
Hi
please explain what you are trying to do (not how to use a specific mechanism you are thinking of, which might or might not work for the underlying problem).
-Michael
please explain what you are trying to do (not how to use a specific mechanism you are thinking of, which might or might not work for the underlying problem).
-Michael
Please Log in or Create an account to join the conversation.
07 May 2013 14:16 - 07 May 2013 14:38 #33703
by bigalex
Replied by bigalex on topic Nembered Paramenters accessibility.
Hi Michael.
I'm very pleased to meet you.
For the application I'm thinking about (I did already this kind of application with other CNC and Motion Controller)
I need to access at the Numbered Parameter for the setup of the machine cycle .
The machine I have to control with LCNC is a multi axis manipolator (aka robot) with cartesian or cylindrical achitecture up to 6 axis.
I have a set of subs and programs (G code) that describe the cycle of the machine (it is quite complicated).
All the subs and programs are pre-programmed and parametric using Numbered Parameters for each single position, speed and settings values.
So the operator do not have to edit or handle any kind of G code file .
The operators on this machine have a very low level skills (aluminum foundry operators) so it is a must to reduce the overall operating complexity.
Usually I make a GUI (aka HMI panel pages) and the operator/supervisor can modifiy the cycle parameters values to adapt
the machine cycle with the production needs.
All this values have to be "retain" after a control shut down.
The Numbered Parameters have to be accessible also during the machine run (G code main program in execution) .
So I would like to access at the Numbered Parameter from pyVCP or GladeVCP or a python script/program or whatever solution
is possible to use.
If you need more info let me know.
I have also another need related to this application and I would like to have your opinion about .
This is the topic to refer to
Thanks a lot.
bigalex
I'm very pleased to meet you.
For the application I'm thinking about (I did already this kind of application with other CNC and Motion Controller)
I need to access at the Numbered Parameter for the setup of the machine cycle .
The machine I have to control with LCNC is a multi axis manipolator (aka robot) with cartesian or cylindrical achitecture up to 6 axis.
I have a set of subs and programs (G code) that describe the cycle of the machine (it is quite complicated).
All the subs and programs are pre-programmed and parametric using Numbered Parameters for each single position, speed and settings values.
So the operator do not have to edit or handle any kind of G code file .
The operators on this machine have a very low level skills (aluminum foundry operators) so it is a must to reduce the overall operating complexity.
Usually I make a GUI (aka HMI panel pages) and the operator/supervisor can modifiy the cycle parameters values to adapt
the machine cycle with the production needs.
All this values have to be "retain" after a control shut down.
The Numbered Parameters have to be accessible also during the machine run (G code main program in execution) .
So I would like to access at the Numbered Parameter from pyVCP or GladeVCP or a python script/program or whatever solution
is possible to use.
If you need more info let me know.
I have also another need related to this application and I would like to have your opinion about .
This is the topic to refer to
Thanks a lot.
bigalex
Last edit: 07 May 2013 14:38 by bigalex.
Please Log in or Create an account to join the conversation.
07 May 2013 19:46 #33714
by mhaberler
Sorry, we're not ready to dicuss what mechanism you need yet when it is still unclear what goals you actually have, can we stay at a conceptual level for the moment please
do you need to control _what_ is being executed (one of several functions in _a_ program, or one of several programs) based on external inputs?
do you need to control _how_ it is executed (say by varying parameters)?
is it both?
are you selecting a procedure to load and run (say a certain ngc file/routine), or a subroutine in a program, or parameters thereof, or all of this?
Can you post a simple outline of the NGC file(s), indicating what needs to be driven where and how?
-m
Replied by mhaberler on topic Nembered Paramenters accessibility.
Hi Michael.
I'm very pleased to meet you.
For the application I'm thinking about (I did already this kind of application with other CNC and Motion Controller)
I need to access at the Numbered Parameter for the setup of the machine cycle .
Sorry, we're not ready to dicuss what mechanism you need yet when it is still unclear what goals you actually have, can we stay at a conceptual level for the moment please
do you need to control _what_ is being executed (one of several functions in _a_ program, or one of several programs) based on external inputs?
do you need to control _how_ it is executed (say by varying parameters)?
is it both?
are you selecting a procedure to load and run (say a certain ngc file/routine), or a subroutine in a program, or parameters thereof, or all of this?
Can you post a simple outline of the NGC file(s), indicating what needs to be driven where and how?
-m
Please Log in or Create an account to join the conversation.
07 May 2013 20:17 #33722
by bigalex
Replied by bigalex on topic Nembered Paramenters accessibility.
Hi Michael.
I try to be clear as is possible so sorry if I don't .
The whole machine cycle is executed by a G code program that I call MAIN.
Into the MAIN I describe the machine cycle (sequences of movements and logical elaboration)
calling , during the MAIN execution, G code subs like this :
o<fournace_scooping> sub
IF #1001 = 1 ......
......
o<100>
......
......
o<100>
o<101>
......
......
o<101>
G01 ...........................
M1xx M1xx
G0 .................
G1 .................
M1xx
.....
.....
o<fournace_scooping> endsub)
and syncronizing the G code program with the PLC task (Classic Ladder and Modbus) and HAL logic (outside world)
using custom M1xx functions.
The values for the axis positions , speeds and other selection values are stored into Numbered Parameters.
i.e. G01 X#2101 Y#2102 F#2110 .
I will use Numbered Parameters because I need to store the values contained at machine shut down.
The operator/supervisor must be able to change Numbered Parameters values without edit any kind of G code file.
I've not here a sample with G code used on Siemens CNC but I will get it tomorrow.
bigalex
I try to be clear as is possible so sorry if I don't .
The whole machine cycle is executed by a G code program that I call MAIN.
Into the MAIN I describe the machine cycle (sequences of movements and logical elaboration)
calling , during the MAIN execution, G code subs like this :
o<fournace_scooping> sub
IF #1001 = 1 ......
......
o<100>
......
......
o<100>
o<101>
......
......
o<101>
G01 ...........................
M1xx M1xx
G0 .................
G1 .................
M1xx
.....
.....
o<fournace_scooping> endsub)
and syncronizing the G code program with the PLC task (Classic Ladder and Modbus) and HAL logic (outside world)
using custom M1xx functions.
The values for the axis positions , speeds and other selection values are stored into Numbered Parameters.
i.e. G01 X#2101 Y#2102 F#2110 .
I will use Numbered Parameters because I need to store the values contained at machine shut down.
The operator/supervisor must be able to change Numbered Parameters values without edit any kind of G code file.
I've not here a sample with G code used on Siemens CNC but I will get it tomorrow.
bigalex
Please Log in or Create an account to join the conversation.
07 May 2013 20:44 #33726
by bigalex
Replied by bigalex on topic Nembered Paramenters accessibility.
Hi Michael.
An example of how the parameters are used on Siemens is here .
This parameters are accessible , from the HMI panel display, while the machine is running .
I hope this help my explanation.
bigalex
An example of how the parameters are used on Siemens is here .
This parameters are accessible , from the HMI panel display, while the machine is running .
I hope this help my explanation.
bigalex
Please Log in or Create an account to join the conversation.
07 May 2013 20:50 - 07 May 2013 21:47 #33728
by bigalex
Replied by bigalex on topic Nembered Paramenters accessibility.
Hi Michael.
An example of how the parameters are accessible from a Siemens OCX .
But this is only an example just to help .
bigalex
An example of how the parameters are accessible from a Siemens OCX .
But this is only an example just to help .
bigalex
Last edit: 07 May 2013 21:47 by bigalex.
Please Log in or Create an account to join the conversation.
07 May 2013 23:44 #33738
by BigJohnT
Replied by BigJohnT on topic Numbered Paramenters
Why can't you just write over the G code file when they change a parameter and then reload using the python interface?
John
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.458 seconds