spindle orient

  • jefsaro
  • jefsaro's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
05 Jan 2021 17:24 #194157 by jefsaro
spindle orient was created by jefsaro
Engels

hello friends, I have made good progress in the retrofit of my fanuc o mate t milling machine, now I must make the orientation of the spindle and the tool change with the carousel, I have tried the orientation but I have always the same error, can you help me?
i tried with talla 83 program

spindel hal :17 parameter or pin 'hm2-5i25.0.pwmgen.pwm_frequency' not foud

File Attachment:

File Name: Spindel.hal
File Size:6 KB

File Attachment:

File Name: Spindel_20...1-05.hal
File Size:6 KB
Attachments:

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

More
05 Jan 2021 18:50 #194161 by cmorley
Replied by cmorley on topic spindle orient
My guess is the 5i25 doesn't make that pin

add;

show pin hm2_5i25.0

just before that line and then run linuxcnc from the terminal it will show the available pins.

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

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
05 Jan 2021 20:17 #194165 by Todd Zuercher
Replied by Todd Zuercher on topic spindle orient
Possibly because this line is telling the hosmot2 driver not to set up any pwmgens?
loadrt hm2_pci config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"

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

  • jefsaro
  • jefsaro's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
06 Jan 2021 10:05 #194197 by jefsaro
Replied by jefsaro on topic spindle orient
I tried again with the attached files and it is still the same,
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Jan 2021 11:00 #194201 by tommylight
Replied by tommylight on topic spindle orient
Set the
Num_pwmgens=0
To 1.

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

  • jefsaro
  • jefsaro's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
06 Jan 2021 14:24 #194229 by jefsaro
Replied by jefsaro on topic spindle orient
same problem

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Jan 2021 16:37 #194247 by tommylight
Replied by tommylight on topic spindle orient
Can you do a
mesaflash --device 5i25 --readhmid
in a terminal and post the result?

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

  • jefsaro
  • jefsaro's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
07 Jan 2021 06:32 #194323 by jefsaro
Replied by jefsaro on topic spindle orient
jef@jef:~$ mesaflash --device 5i25 --readhmid
You need root privileges (or setuid root) to access PCI hardware
No 5I25 board found
jef@jef:~$ jef
bash: jef: command not found
jef@jef:~$ mesaflash --device 5i25 --readhmid
You need root privileges (or setuid root) to access PCI hardware
No 5I25 board found

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
07 Jan 2021 08:29 #194336 by tommylight
Replied by tommylight on topic spindle orient
sudo mesaflash --device 5i25 --readhmid

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

  • jefsaro
  • jefsaro's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
07 Jan 2021 10:16 #194343 by jefsaro
Replied by jefsaro on topic spindle orient
jef@debian:~$ sudo mesaflash --device 5i25 --readhmid
[sudo] password for jef:
Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA5I25
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 17
Clock Low frequency: 33.3333 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256

Modules in configuration:

Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: IOPort
There are 2 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: QCount
There are 2 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: StepGen
There are 10 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 0 IOPort StepGen 0 Dir/Table2 (Out)
14 1 IOPort StepGen 0 Step/Table1 (Out)
2 2 IOPort StepGen 1 Dir/Table2 (Out)
15 3 IOPort StepGen 1 Step/Table1 (Out)
3 4 IOPort StepGen 2 Dir/Table2 (Out)
16 5 IOPort StepGen 2 Step/Table1 (Out)
4 6 IOPort StepGen 3 Dir/Table2 (Out)
17 7 IOPort StepGen 3 Step/Table1 (Out)
5 8 IOPort StepGen 4 Dir/Table2 (Out)
6 9 IOPort StepGen 4 Step/Table1 (Out)
7 10 IOPort SSerial 0 TXData1 (Out)
8 11 IOPort SSerial 0 RXData1 (In)
9 12 IOPort SSerial 0 TXData2 (Out)
10 13 IOPort SSerial 0 RXData2 (In)
11 14 IOPort QCount 0 Quad-IDX (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-A (In)

IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 17 IOPort StepGen 5 Dir/Table2 (Out)
14 18 IOPort StepGen 5 Step/Table1 (Out)
2 19 IOPort StepGen 6 Dir/Table2 (Out)
15 20 IOPort StepGen 6 Step/Table1 (Out)
3 21 IOPort StepGen 7 Dir/Table2 (Out)
16 22 IOPort StepGen 7 Step/Table1 (Out)
4 23 IOPort StepGen 8 Dir/Table2 (Out)
17 24 IOPort StepGen 8 Step/Table1 (Out)
5 25 IOPort StepGen 9 Dir/Table2 (Out)
6 26 IOPort StepGen 9 Step/Table1 (Out)
7 27 IOPort SSerial 0 TXData3 (Out)
8 28 IOPort SSerial 0 RXData3 (In)
9 29 IOPort SSerial 0 TXData4 (Out)
10 30 IOPort SSerial 0 RXData4 (In)
11 31 IOPort QCount 1 Quad-IDX (In)
12 32 IOPort QCount 1 Quad-B (In)
13 33 IOPort QCount 1 Quad-A (In)

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

Time to create page: 0.184 seconds
Powered by Kunena Forum