make the machine semi-auto.

Moderators: TomKerekes, dynomotion

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: make the machine semi-auto.

Post by TomKerekes » Tue Aug 03, 2021 3:00 pm

It tells the Interpreter to stop executing GCode after the current line is completed.
Regards,

Tom Kerekes
Dynomotion, Inc.

irmad
Posts: 47
Joined: Sun Jun 07, 2020 1:39 pm

Re: make the machine semi-auto.

Post by irmad » Wed Aug 04, 2021 12:19 am

i love dynomotion, I can already display the Axis X indicator ( Y1 )
I am happy with you, always support me, every time there is difficulty.
thank you , sir.
Attachments
IMG_20210803_163645.jpg

irmad
Posts: 47
Joined: Sun Jun 07, 2020 1:39 pm

Re: make the machine semi-auto.

Post by irmad » Thu Aug 05, 2021 11:20 am

hello sir,
now, I want to change the parameter of C Program in KMotionCNC. Is it possible? and how? is there any example about it.

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: make the machine semi-auto.

Post by TomKerekes » Thu Aug 05, 2021 1:55 pm

What parameter do you want to change? Why? KMotionCNC is a C++ MFC Program.
Regards,

Tom Kerekes
Dynomotion, Inc.

irmad
Posts: 47
Joined: Sun Jun 07, 2020 1:39 pm

Re: make the machine semi-auto.

Post by irmad » Fri Aug 06, 2021 12:48 am

I want to change the DAC2 parameter, to adjust the pressure, on materials such as Aluminum, steel, and others.

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: make the machine semi-auto.

Post by TomKerekes » Fri Aug 06, 2021 1:04 am

Hi irmad,

You shouldn't need to change KMotionCNC to have KFLOP set a DAC to a certain value.

You might see this Screen Script Example where the User uses a Combo Box to select a material type. KFLOP can read this selection and set a DAC to an appropriate value.


Regards,

Tom Kerekes
Dynomotion, Inc.

irmad
Posts: 47
Joined: Sun Jun 07, 2020 1:39 pm

Re: make the machine semi-auto.

Post by irmad » Mon Aug 09, 2021 8:43 am

TomKerekes wrote:
Thu Jul 29, 2021 3:32 pm
Sorry I still don't understand the question.

No if the GCode is moving down you can't move up.

Actually if you Feed Hold you can reverse the GCode.



Although with your machine if you need to switch relays to change directions it may not work.
how do you get forward and reverse (feed hold) connected to the C program, sir? because I want to activate the relay up.

then how to make an external button for reverse (feed hold)? because I don't know the command to enable reverse in C program. I tried to write DoPC(PC_COMM_REVERSE) but it didn't work.
Attachments
IMG_20210809_153334.jpg

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: make the machine semi-auto.

Post by TomKerekes » Mon Aug 09, 2021 3:55 pm

Line in the example I asked you to look at it would be something like:

DoPCFloat(PC_COMM_SET_FRO,-0.2);
Regards,

Tom Kerekes
Dynomotion, Inc.

irmad
Posts: 47
Joined: Sun Jun 07, 2020 1:39 pm

Re: make the machine semi-auto.

Post by irmad » Thu Aug 12, 2021 12:15 pm

sir, what is the difference between these two commands.

Code: Select all

SetFROwRateTemp <F> <R>
and

Code: Select all

SetFROTemp <F>
earlier I tried to write SetFROTemp (-0.2); when in feedhold, and the axis can move up, only the movement falters. such as less stable acceleration and velocity.

how to make the movement when going up, the movement is smooth and a little fast?

and which command from the two codes above is better and suitable for press brake machines?

to continue the g code after the feedhold is released, the movement is smooth according to the feedrate that I specified in the g code line. only sometimes the plate bending results change degrees. but not much.

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: make the machine semi-auto.

Post by TomKerekes » Sat Aug 14, 2021 7:30 am

Hi irmad,

The first command allows setting the rate to go to the new feed rate. That shouldn’t be needed on a machine like yours.

To reverse faster use a larger negative number like -0.5

Maybe you need to change your pressures when reversing?
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply