- Posts: 22012
- Thank you received: 3
Mesa 7i92M Support
- tommylight
-
- Away
- Administrator
-
Of course in pncconfig you have to choose 5i25 and prob_rfx2, and in the following pages set the pins and inputs and outputs as you need them. When you disable a stepgen or PWM, those pins can be used as GPIO and assigned as inputs or outputs, you can also name as you see fit those pins, all in pncconf. I had to edit just the limit+home inputs to in_not.
Please Log in to join the conversation.
tommylight wrote: Of course in pncconfig you have to choose 5i25 and prob_rfx2, and in the following pages set the pins and inputs and outputs as you need them.
It is a little harder than that, as the G540 sets input and output directions in hardware.
Please Log in to join the conversation.
tuffduck33 wrote: The message that comes up when I run the linuxcnc gui is : (I am guessing the GIPO pin references are missing?)
On the contrary, the GPIO numbers to Parallel Port pin numbers are listed clearly.Code:hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort hm2/hm2_7i92.0: IO Pin 001 (P2-14): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #0, pin Step (Output) hm2/hm2_7i92.0: IO Pin 003 (P2-15): IOPort hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #0, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 005 (P2-16): StepGen #4, pin Step (Output) hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #1, pin Step (Output) hm2/hm2_7i92.0: IO Pin 007 (P2-17): IOPort hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #1, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #2, pin Step (Output) hm2/hm2_7i92.0: IO Pin 010 (P2-07): StepGen #2, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 011 (P2-08): StepGen #3, pin Step (Output) hm2/hm2_7i92.0: IO Pin 012 (P2-09): StepGen #3, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 013 (P2-10): Encoder #0, pin A (Input) hm2/hm2_7i92.0: IO Pin 014 (P2-11): Encoder #0, pin B (Input) hm2/hm2_7i92.0: IO Pin 015 (P2-12): Encoder #0, pin Index (Input) hm2/hm2_7i92.0: IO Pin 016 (P2-13): IOPort hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort hm2/hm2_7i92.0: IO Pin 018 (P1-14): PWMGen #1, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 019 (P1-02): StepGen #5, pin Step (Output) hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort hm2/hm2_7i92.0: IO Pin 021 (P1-03): StepGen #5, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 022 (P1-16): StepGen #9, pin Step (Output) hm2/hm2_7i92.0: IO Pin 023 (P1-04): StepGen #6, pin Step (Output) hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort hm2/hm2_7i92.0: IO Pin 025 (P1-05): StepGen #6, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 026 (P1-06): StepGen #7, pin Step (Output) hm2/hm2_7i92.0: IO Pin 027 (P1-07): StepGen #7, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 028 (P1-08): StepGen #8, pin Step (Output) hm2/hm2_7i92.0: IO Pin 029 (P1-09): StepGen #8, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 030 (P1-10): Encoder #1, pin A (Input) hm2/hm2_7i92.0: IO Pin 031 (P1-11): Encoder #1, pin B (Input) hm2/hm2_7i92.0: IO Pin 032 (P1-12): Encoder #1, pin Index (Input) hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort
You do need to be aware that P2 is the DB25 connector and P1 is the extra header.
Please Log in to join the conversation.
- tuffduck33
- Topic Author
- Offline
- Senior Member
-
- Posts: 48
- Thank you received: 0
I commented them out so that I could force halcmd show pin and param would work (not sure if that is useful at this point)
Please Log in to join the conversation.
Please Log in to join the conversation.
- tuffduck33
- Topic Author
- Offline
- Senior Member
-
- Posts: 48
- Thank you received: 0
Please Log in to join the conversation.
- tuffduck33
- Topic Author
- Offline
- Senior Member
-
- Posts: 48
- Thank you received: 0
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22012
- Thank you received: 3
I can set it for g540 and give it a go later if that is waht is needed.
Please Log in to join the conversation.
- tuffduck33
- Topic Author
- Offline
- Senior Member
-
- Posts: 48
- Thank you received: 0
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22012
- Thank you received: 3
I know it is for a G540 but what do you need for outputs and inputs.
I can check the charge pump, as i have several check boxes with LED with parallel port connectors, i use them a lot for testing, so i know if it is actualy outputing the pulses.
Please Log in to join the conversation.
