Pressbrake CNC Control Setup Questions

More
3 years 6 months ago #270408 by PCW
That's correct, the encoder hardware is in the FPGA
(the 7I77 just conditions the signals)

7I97 encoder names will be the same (but with 7I97 instead or 7I92)
that is , CARD0 in the ini file will be "7i97" instead or "7i92"

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #270425 by santy
thank you! although it seemed easier now, i quickly ran into problems with analogout. 7i77 uses a different terminology for the "analogout" pins and the 7i97 uses "pwmgen". this caused me some confusion as in my pnc generated config i see:

[HMOT](CARD0).7i77.0.1.analogout0-scalemax

and in this config there is something like:
hm2_7i97.0.pwmgen.01.scale 1

and some of these pins aren't available to directly change either to
[HMOT](CARD0).7i77.0.1

because there i think there is no parameter"pwmgen.01.offset-mode 1" for the 7i77 or 7i92, so im a bit lost as to how to convert this system.

also, you have used a 7i87 to input the pressure. i probably don't have a way to do this in my setup without also buying a 7i87, right? could it still connect to either the 7i77 or the 7i92?

thank you!!
Last edit: 3 years 6 months ago by santy. Reason: add photos of bender.hal and my pnc generated config

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #270426 by PCW
Any PWMgen related line (like setp pwmgen.01.offset-mode 1)
can be copied directly from the sample 7I97 configuration.

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #270436 by santy
i get this error, tried adding the board in the ini file ans the same happened.
tried swapping for hm2_7i92.0. as well but it gives this error

im trying to get to zero erros or maybe just one which would be the lacking analog input which i suppose i can get later

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #270437 by PCW
Sorry about my previous post, I had forgotten that you are trying to convert a 7I97 configuration to a 7I92T/7I77 one.

Is that error from LinuxCNC or halcmd?

If halcmd, you need to launch it with:

halcmd -i <INI file>

Also you don't need to use the ini name substitutions,
you can use use the hm2_xxxx name

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #270476 by santy
The only thing I did was launch ./bender in that directory, with the hal changed. the ini file is the same as the archive you posted to keep the machine parameters.
the screen launches now but it encounters that error instantly.

so i should also launch that command before ./bender or should i add that paragraph somewhere else?

sorry im quite new to this working environment

Please Log in or Create an account to join the conversation.

Time to create page: 0.248 seconds
Powered by Kunena Forum