Flowcode and CNC Machine Component

For general Flowcode discussion that does not belong in the other sections.
Post Reply
stefan.erni
Valued Contributor
Posts: 760
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 150 times
Been thanked: 171 times

Flowcode and CNC Machine Component

Post by stefan.erni »

Hi Ben

Flowcode has a component CNC Machine and Matrix has some CNC Machine on offer.
Is there a CNC machine that can be controlled with FC9?
Not to mill parts but to demo a machine.

regards

Stefan

BenR
Matrix Staff
Posts: 1754
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 445 times
Been thanked: 605 times

Re: Flowcode and CNC Machine Component

Post by BenR »

Hello Stefan,

Flowcode has a CNC component which is basically a 3D model you can move around, you can find more information on it here.
https://www.flowcode.co.uk/wiki/index.p ... NC_Machine

Flowcode can also be used to control a real world CNC machine if this is what you're after.

Probably just a case of opening a .nc G code file and then sending the data line by line to a COM port and maybe awaiting a response. I have a Grbl CNC machine and that's basically what the Grbl software does.

stefan.erni
Valued Contributor
Posts: 760
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 150 times
Been thanked: 171 times

Re: Flowcode and CNC Machine Component

Post by stefan.erni »

Hi Ben

Thats already help Thank you. The controller accept I2C commands or can switche do grbl file.

I'll try connect the wire and move the motors first...

regards

Stefan

stefan.erni
Valued Contributor
Posts: 760
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 150 times
Been thanked: 171 times

Re: Flowcode and CNC Machine Component

Post by stefan.erni »

Hi Ben

I tried the example but the machine doesn't move a bit.
just pressed F5 to start the simulation. Do I have to consider anything else?

https://www.flowcode.co.uk/wiki/index.p ... NC_Machine

regards


Stefan

BenR
Matrix Staff
Posts: 1754
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 445 times
Been thanked: 605 times

Re: Flowcode and CNC Machine Component

Post by BenR »

Hi Stefan,

Many thanks for letting us know I've now hopefully resolved the problem for you via a library update.

stefan.erni
Valued Contributor
Posts: 760
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 150 times
Been thanked: 171 times

Re: Flowcode and CNC Machine Component

Post by stefan.erni »

Hi Ben

Yes perfect. It's moving again.
The CNC machine is really nicely made.

But I can't find the components in FC App Developer.

Are there mechatronics and scenarios for the FC App Developer?

regards

Stefan


Not In FC App Developer
2022-11-23_13-58-37.png
2022-11-23_13-58-37.png (26.17 KiB) Viewed 1147 times
2022-11-23_14-07-53.png
2022-11-23_14-07-53.png (22.06 KiB) Viewed 1147 times

BenR
Matrix Staff
Posts: 1754
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 445 times
Been thanked: 605 times

Re: Flowcode and CNC Machine Component

Post by BenR »

Hello,

The CNC and some other scenarios require stepper motors to move the various components around on the panel and the stepper motors require pins for movements. I'll have a think on if there is a nice way to replicate this for app developer. Maybe some sort of X,Y,Z, translator component?

stefan.erni
Valued Contributor
Posts: 760
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 150 times
Been thanked: 171 times

Re: Flowcode and CNC Machine Component

Post by stefan.erni »

Hi Ben

I have a few suggestions and wishes
the first would be:

The Stepper_nema8 for FC App developer.

With the target handle I can just put the motor pulley over the stepper axis and select shape1 as target
The pulley will turn like the stepper.

regards


Stefan

imported motor pulley
2022-11-24_11-52-58.png
2022-11-24_11-52-58.png (115.23 KiB) Viewed 1127 times
2022-11-23_19-03-24.png
2022-11-23_19-03-24.png (30.02 KiB) Viewed 1127 times

Post Reply