PlasmaC Fiber laser 1Kw head height control + auto focuas

More
6 years 1 month ago #180574 by PCW
They are both correct
The first column "Pin#" is the DB25 pin number (physical pin)
The second column "I/O" is the GPIO number (which determines the logical GPIO name in hal)

The fifth column "Chan" is the channel number of the pin function (StepGen, PWMGen etc)

Pncconf lists the channel number for StepGens etc and the GPIO number
for pins that are GPIO only

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

More
6 years 1 month ago #180575 by Clive S
To me it looks like you have a choice

P1 PWM on pin 1,16,17

P2 PWM on pin 1,16,17

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

More
6 years 1 month ago #180576 by tommylight

Clive S wrote: What Tom is saying:

Flash the .bit file using the mesaflash utility:
mesaflash --device 7I92 --addr 10.10.10.10 --write name-of-file.bit


It can be confusing the first time you flash a card

Thank you Clive, i do agree that for some strange reason that is confusing for some users.
Will try to avoid that in the future.
The following user(s) said Thank You: Clive S

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

More
6 years 1 month ago #180589 by PCW

Clive S wrote: To me it looks like you have a choice

P1 PWM on pin 1,16,17

P2 PWM on pin 1,16,17


Right, there are 6 PWM gens in the firmware:

PWMGen 0 P2 pin 1
PWMGen 1 P2 pin 16
PWMGen 2 P2 pin 17

PWMGen 3 P1 pin 1
PWMGen 4 P1 pin 16
PWMGen 5 P1 pin 17

(pin numbers are DB25 pin numbers)

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

More
6 years 1 month ago #180593 by taloot
okey clear,


how about limit switch
to which pin it go.. quad A and B ?

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

More
6 years 1 month ago #180594 by tommylight

taloot wrote: how about limit switch
to which pin it go.. quad A and B ?

To any pin that is not used as and stepgen or PWM or encoder.
All of them can be used as inputs or outputs, just set them in hal, like so:
Code:
# --- DOUT-00 --- setp [HMOT](CARD0).gpio.005.is_output true #net dout-00 => [HMOT](CARD0).gpio.005.out net plasmac:float-switch => [HMOT](CARD0).gpio.005.out #setp [HMOT](CARD0).gpio.005.invert_output true
OR
Code:
# --- PROBE-IN --- #net probe-in <= [HMOT](CARD0).gpio.003.in_not
Those are just examples, edit them to suit what you need.
The following user(s) said Thank You: taloot

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

Moderators: snowgoer540
Time to create page: 0.109 seconds
Powered by Kunena Forum