PnCConf questions
03 Jan 2013 16:49 #28337
by gandalf69
PnCConf questions was created by gandalf69
I have a 5i25 connected to a 7i77 which has VFIELD and VIN. There is nothing connected to the 7i77 or to P2 of the 5i25.
1) On the Mesa Config page tab the firmware (7i77x1) reverts to prob_rfx2 each time I open PnCConf. It doesn't seem to change any of the settings. Any ideas?
2)On the Mesa Config page what are I/O Connector 2 and 3 tabs? I assume they are not the 5i25 connectors since P2 is unused when using a 7i77 daughter board.
3) On the I/O connector tabs do the Num(bers) have any significance?
4) On the I/O Connector 3 tab I selected XYZA and spindle encoders (and PWMs on SS1 tab). I expect to see all encoders going to P3 of the 5i25. If I run LinuxCNC the red LED on the 7i77 changes to a green flash and the hm2 section under dmesg is:
hm2: loading Mesa HostMot2 driver version 0.15
[10552.095036] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[10552.095085] hm2_pci 0000:01:08.0: PCI INT A -> Link[LNKA] -> GSI 16 (level, low) -> IRQ 16
[10552.095089] hm2_pci: discovered 5i25 at 0000:01:08.0
[10552.096105] hm2/hm2_5i25.0: Smart Serial Firmware Version 33
[10552.221805] hm2/hm2_5i25.0: 34 I/O Pins used:
[10552.221810] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[10552.221812] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[10552.221814] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[10552.221817] hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[10552.221820] hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[10552.221823] hm2/hm2_5i25.0: IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[10552.221826] hm2/hm2_5i25.0: IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[10552.221829] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[10552.221832] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[10552.221835] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[10552.221838] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[10552.221840] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[10552.221843] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[10552.221846] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[10552.221848] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[10552.221851] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[10552.221854] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[10552.221856] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[10552.221859] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[10552.221860] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[10552.221862] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[10552.221864] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[10552.221866] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[10552.221868] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[10552.221871] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #3, pin Mux Select 0 (Output)
[10552.221873] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[10552.221876] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[10552.221878] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[10552.221880] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[10552.221882] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[10552.221885] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[10552.221887] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[10552.221889] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[10552.221891] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
[10552.221946] hm2/hm2_5i25.0: registered
[10552.221948] hm2_5i25.0: initialized AnyIO board at 0000:01:08.0
Encoders 3,4,5 are not shown, should they be?
That is probably enough daft questions for one day!
1) On the Mesa Config page tab the firmware (7i77x1) reverts to prob_rfx2 each time I open PnCConf. It doesn't seem to change any of the settings. Any ideas?
2)On the Mesa Config page what are I/O Connector 2 and 3 tabs? I assume they are not the 5i25 connectors since P2 is unused when using a 7i77 daughter board.
3) On the I/O connector tabs do the Num(bers) have any significance?
4) On the I/O Connector 3 tab I selected XYZA and spindle encoders (and PWMs on SS1 tab). I expect to see all encoders going to P3 of the 5i25. If I run LinuxCNC the red LED on the 7i77 changes to a green flash and the hm2 section under dmesg is:
hm2: loading Mesa HostMot2 driver version 0.15
[10552.095036] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[10552.095085] hm2_pci 0000:01:08.0: PCI INT A -> Link[LNKA] -> GSI 16 (level, low) -> IRQ 16
[10552.095089] hm2_pci: discovered 5i25 at 0000:01:08.0
[10552.096105] hm2/hm2_5i25.0: Smart Serial Firmware Version 33
[10552.221805] hm2/hm2_5i25.0: 34 I/O Pins used:
[10552.221810] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[10552.221812] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[10552.221814] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[10552.221817] hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[10552.221820] hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[10552.221823] hm2/hm2_5i25.0: IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[10552.221826] hm2/hm2_5i25.0: IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[10552.221829] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[10552.221832] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[10552.221835] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[10552.221838] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[10552.221840] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[10552.221843] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[10552.221846] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[10552.221848] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[10552.221851] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[10552.221854] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[10552.221856] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[10552.221859] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[10552.221860] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[10552.221862] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[10552.221864] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[10552.221866] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[10552.221868] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[10552.221871] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #3, pin Mux Select 0 (Output)
[10552.221873] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[10552.221876] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[10552.221878] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[10552.221880] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[10552.221882] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[10552.221885] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[10552.221887] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[10552.221889] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[10552.221891] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
[10552.221946] hm2/hm2_5i25.0: registered
[10552.221948] hm2_5i25.0: initialized AnyIO board at 0000:01:08.0
Encoders 3,4,5 are not shown, should they be?
That is probably enough daft questions for one day!
Please Log in or Create an account to join the conversation.
03 Jan 2013 18:01 #28339
by PCW
Replied by PCW on topic PnCConf questions
The number of encoders shown in dmesg is correct.
each _muxed_ encoder instance supports 2 actual encoders
If you show the encoder HAL pins and parameters you will see
that there are 12 encoders available ( if you enable all of them).
each _muxed_ encoder instance supports 2 actual encoders
If you show the encoder HAL pins and parameters you will see
that there are 12 encoders available ( if you enable all of them).
The following user(s) said Thank You: gandalf69
Please Log in or Create an account to join the conversation.
08 Jan 2013 19:22 #28494
by gandalf69
Replied by gandalf69 on topic PnCConf questions
Chris not around?
Anyone game to answer my other questions?
Anyone game to answer my other questions?
Please Log in or Create an account to join the conversation.
09 Jan 2013 14:57 #28511
by cmorley
Sorry I some how missed this:
1) That sounds like a bug. What version are you using?
2) connector 2 and 3 are indeed the 5i25 connector numbers.
3) Yes the numbers are the HAL number (component number)
4) What you need to understand is the 7i77 daughter board passes the encoder signals to the 5i25,
so the encoders really are on the 5i25's P3 connector but you connect to them using the 7i77's connections.
Chris M
Replied by cmorley on topic PnCConf questions
I have a 5i25 connected to a 7i77 which has VFIELD and VIN. There is nothing connected to the 7i77 or to P2 of the 5i25.
1) On the Mesa Config page tab the firmware (7i77x1) reverts to prob_rfx2 each time I open PnCConf. It doesn't seem to change any of the settings. Any ideas?
2)On the Mesa Config page what are I/O Connector 2 and 3 tabs? I assume they are not the 5i25 connectors since P2 is unused when using a 7i77 daughter board.
3) On the I/O connector tabs do the Num(bers) have any significance?
4) On the I/O Connector 3 tab I selected XYZA and spindle encoders (and PWMs on SS1 tab). I expect to see all encoders going to P3 of the 5i25. If I run LinuxCNC the red LED on the 7i77 changes to a green flash and the hm2 section under dmesg is:
That is probably enough daft questions for one day!
Sorry I some how missed this:
1) That sounds like a bug. What version are you using?
2) connector 2 and 3 are indeed the 5i25 connector numbers.
3) Yes the numbers are the HAL number (component number)
4) What you need to understand is the 7i77 daughter board passes the encoder signals to the 5i25,
so the encoders really are on the 5i25's P3 connector but you connect to them using the 7i77's connections.
Chris M
Please Log in or Create an account to join the conversation.
09 Jan 2013 15:07 #28512
by cmorley
Replied by cmorley on topic PnCConf questions
I also see that since you selected 7i77x1 that you won't get the help page that might have explained the numbering system a bit.
selecting 7i77x2 and deselecting half the encoders and half the serial channels should then allow that page to show in the help page.
This deselction is what 7i77x1 does automatically - it's actually the same firmware.
selecting 7i77x2 and deselecting half the encoders and half the serial channels should then allow that page to show in the help page.
This deselction is what 7i77x1 does automatically - it's actually the same firmware.
Please Log in or Create an account to join the conversation.
10 Jan 2013 20:25 - 10 Jan 2013 21:03 #28546
by gandalf69
Thanks Chris.
1) 10.04 with 2.5.1
2) OK
3) OK
4) Understood
Replied by gandalf69 on topic PnCConf questions
I have a 5i25 connected to a 7i77 which has VFIELD and VIN. There is nothing connected to the 7i77 or to P2 of the 5i25.
1) On the Mesa Config page tab the firmware (7i77x1) reverts to prob_rfx2 each time I open PnCConf. It doesn't seem to change any of the settings. Any ideas?
2)On the Mesa Config page what are I/O Connector 2 and 3 tabs? I assume they are not the 5i25 connectors since P2 is unused when using a 7i77 daughter board.
3) On the I/O connector tabs do the Num(bers) have any significance?
4) On the I/O Connector 3 tab I selected XYZA and spindle encoders (and PWMs on SS1 tab). I expect to see all encoders going to P3 of the 5i25. If I run LinuxCNC the red LED on the 7i77 changes to a green flash and the hm2 section under dmesg is:
That is probably enough daft questions for one day!
Sorry I some how missed this:
1) That sounds like a bug. What version are you using?
2) connector 2 and 3 are indeed the 5i25 connector numbers.
3) Yes the numbers are the HAL number (component number)
4) What you need to understand is the 7i77 daughter board passes the encoder signals to the 5i25,
so the encoders really are on the 5i25's P3 connector but you connect to them using the 7i77's connections.
Chris M
Thanks Chris.
1) 10.04 with 2.5.1
2) OK
3) OK
4) Understood
Last edit: 10 Jan 2013 21:03 by gandalf69.
Please Log in or Create an account to join the conversation.
10 Jan 2013 21:42 - 08 Feb 2013 00:28 #28548
by gandalf69
Chris,
1) My Help Page is the same after 'Accept components changes' whether the 7i77x1 or 7i77x2 is chosen.
When choosing the 7i77x2 everything not used is listed as Unused Input/Output/PWM Gen under SS3/4 so there is nothing to deselect.
2) From Help Page under Config Tab
'The help page output tab will show the firmware PIN file,
which shows the default components, their channel number
and their Component number'
and this is the Output tab:
<?xml version="1.0" ?>
<int-pncconf>
<property name="version" type="float" value="1.000000"/>
<property name="always_shortcut" type="bool" value="False"/>
<property name="always_link" type="bool" value="False"/>
<property name="chooselastconfig" type="bool" value="True"/>
<property name="machinename" type="string" value="my_LinuxCNC_machine"/>
<property name="mesablacklist" type="eval" value=""/>
<property name="customfirmwarefilename" type="string" value="~/Desktop/custom_firmware/firmware.py"/>
</int-pncconf>
It doesn't seem to be a PIN file.
3) The info 'Generated by PNCConf...' which appears just before hitting OK to start LinuxCNC is confusing as it states 5i25 with 34I/O pins and 7i77 firmware.
Here's a sample:
P3-17 8 (0 Muxed Encoder 0) x-encoder-a
P3-19 9 (0 Muxed Encoder 1) y-encoder-a
P3-23 11 (1 Muxed Encoder 0) z-encoder-a
P3-47....
These P3 numbers seem to relate to a 5i20 not a 5i25
Replied by gandalf69 on topic PnCConf questions
I also see that since you selected 7i77x1 that you won't get the help page that might have explained the numbering system a bit.
selecting 7i77x2 and deselecting half the encoders and half the serial channels should then allow that page to show in the help page.
This deselction is what 7i77x1 does automatically - it's actually the same firmware.
Chris,
1) My Help Page is the same after 'Accept components changes' whether the 7i77x1 or 7i77x2 is chosen.
When choosing the 7i77x2 everything not used is listed as Unused Input/Output/PWM Gen under SS3/4 so there is nothing to deselect.
2) From Help Page under Config Tab
'The help page output tab will show the firmware PIN file,
which shows the default components, their channel number
and their Component number'
and this is the Output tab:
<?xml version="1.0" ?>
<int-pncconf>
<property name="version" type="float" value="1.000000"/>
<property name="always_shortcut" type="bool" value="False"/>
<property name="always_link" type="bool" value="False"/>
<property name="chooselastconfig" type="bool" value="True"/>
<property name="machinename" type="string" value="my_LinuxCNC_machine"/>
<property name="mesablacklist" type="eval" value=""/>
<property name="customfirmwarefilename" type="string" value="~/Desktop/custom_firmware/firmware.py"/>
</int-pncconf>
It doesn't seem to be a PIN file.
3) The info 'Generated by PNCConf...' which appears just before hitting OK to start LinuxCNC is confusing as it states 5i25 with 34I/O pins and 7i77 firmware.
Here's a sample:
P3-17 8 (0 Muxed Encoder 0) x-encoder-a
P3-19 9 (0 Muxed Encoder 1) y-encoder-a
P3-23 11 (1 Muxed Encoder 0) z-encoder-a
P3-47....
These P3 numbers seem to relate to a 5i20 not a 5i25
Last edit: 08 Feb 2013 00:28 by gandalf69.
Please Log in or Create an account to join the conversation.
08 Feb 2013 00:30 #29764
by gandalf69
Replied by gandalf69 on topic PnCConf questions
4) There seems to be no way inside PNCConf to change the 7i77 Mode from 0 to 1 ( loadrt hm2............sserial_port_0=10xxxx).
Is there a way to do this in the custom.hal?
Is there a way to do this in the custom.hal?
Please Log in or Create an account to join the conversation.
08 Feb 2013 04:04 #29769
by cmorley
Replied by cmorley on topic PnCConf questions
No sorry you must edit the main HAL file.
PNCconf only supports mode 0 at this time.
Chris M
PNCconf only supports mode 0 at this time.
Chris M
The following user(s) said Thank You: gandalf69
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.074 seconds