Advanced Search

Search Results (Searched for: )

  • Zayoo
  • Zayoo
29 Oct 2024 14:15

Connecting ClassicLader variables with HAL.

Category: HAL

Hello,
plese could you be so kind and help me connect pyvcp scale value which is i think integer number to ClassicLader %IW0 input variable to use as comparison later in classicladder. 

pyvcp code:<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"my-hscale"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>1</initval>
<min_>0</min_>
<max_>999</max_>
<param_pin>1</param_pin>
</scale>
in hal ini file:

net input-password  pyvcp.my-hscale classicladder.0.in-('%IW0')???

Thank you   
 
  • Aciera
  • Aciera's Avatar
29 Oct 2024 13:51
Replied by Aciera on topic New VFD comms timeout -12

New VFD comms timeout -12

Category: Basic Configuration

Tried using -g in the loadusr command, told me invalid option for g. So not sure how to get into debug mode.


this seems to work for me:
loadusr hy_vfd -g

I do not know how to see any errors from when I try to run it from within Axis. I assume there is the same error.


open a terminal and run:
linuxcnc

This will bring up the config picker, pick your machine config and all debug messages will be printed to the terminal window.
  • btvpimill
  • btvpimill
29 Oct 2024 13:28 - 29 Oct 2024 13:29
Replied by btvpimill on topic New VFD comms timeout -12

New VFD comms timeout -12

Category: Basic Configuration

Tried using -g in the loadusr command, told me invalid option for g. So not sure how to get into debug mode.
attached is the error I get when I try to use it in halrun per Andy example found somewhere around here. This is the response to:
setp vfd.enable 1

I do not know how to see any errors from when I try to run it from within Axis. I assume there is the same error. 
  • PeteTech
  • PeteTech
29 Oct 2024 13:04

LinuxCNC putting out double steps instead of single steps

Category: General LinuxCNC Questions

Thank you for letting us know.

We do have hardware on our suspect list but not likely as restarting LinuxCNC without removing power to the hardware fixes the issue.
  • tommylight
  • tommylight's Avatar
29 Oct 2024 12:11
Replied by tommylight on topic 6i25 with bob. Spindel start/stop

6i25 with bob. Spindel start/stop

Category: Basic Configuration

Invert the spindle on pin in hal ir in PncConf wizard, there is a check mark to the right of the pin .
  • greg23_78
  • greg23_78
29 Oct 2024 10:44

Solution fo "hm2 error finishing read" with no good PC

Category: Computers and Hardware

i did, but still the same.
i have done ping 10.10.10.10 during the nigh and i have lost some packet.

my hardware is Realtek RTL8111/RTL8168
  • Abdulkareem
  • Abdulkareem
29 Oct 2024 10:02
Replied by Abdulkareem on topic calling python file

calling python file

Category: G&M Codes

Thank you i solve the issue by removing the .py extension and adding it to the right directory
  • Aciera
  • Aciera's Avatar
29 Oct 2024 09:50 - 29 Oct 2024 09:50
Replied by Aciera on topic calling python file

calling python file

Category: G&M Codes

 I did as you said but i get an error of unknown m code

Possible causes:
- USER_M_PATH is incorrect (this is supposed to point to the directory that contains your 'M199' file not to the file itself )
- File name is incorrect (Do not add an extension eg .py)
- The file is not marked as executable

 do i need to add REMAP = M199 python = M199(the name of the script)


No, this is not a remap, it's a custom mcode (which lets you use any executable script)
  • Abdulkareem
  • Abdulkareem
29 Oct 2024 09:16
Replied by Abdulkareem on topic calling python file

calling python file

Category: G&M Codes

do i need to add REMAP = M199 python = M199(the name of the script)
  • Abdulkareem
  • Abdulkareem
29 Oct 2024 09:15
Replied by Abdulkareem on topic calling python file

calling python file

Category: G&M Codes

I did as you said but i get an error of unknown m code
  • arijitdutta
  • arijitdutta
29 Oct 2024 08:45
Replied by arijitdutta on topic Procedure to add a flood coolant to 7i96s

Procedure to add a flood coolant to 7i96s

Category: Driver Boards

"High current outputs 0 through 3 use full floating MOSFET switches ( a DC Solid State Relay or SSR ) and can be used just like a switch or relay contact. Maximum voltage is 36 VDC and maximum load current is 2A. Inductive loads must have a flyback diode. The output polarity of outputs 0 through 3 must be observed (reversed outputs will be stuck-on)."

I intend to use a 12v common power supply for both the output supply voltage and the DC motor. I hope that isnt a problem or should I have separate power supply for both? 

Also I think a DC motor is inductive. Do I need to use a 4001 diode to the DC motor?
  • arijitdutta
  • arijitdutta
29 Oct 2024 08:35
Replied by arijitdutta on topic Procedure to add a flood coolant to 7i96s

Procedure to add a flood coolant to 7i96s

Category: Driver Boards

That solves my doubt. Thanks everyone. I will see if I have any problems with the setup. 
  • Rune_cnc
  • Rune_cnc
29 Oct 2024 08:11
6i25 with bob. Spindel start/stop was created by Rune_cnc

6i25 with bob. Spindel start/stop

Category: Basic Configuration

Hi all.

Im new on here.Im struggeling with spindel start up when linuxcnc program startup.

M5 start the spindel.
M3 and M4 turn it off.

Spindel enable seem to have been reversed.Using a 6i25 card with a no name china model bob. I got for free.

So can I make it work or should i buy a different card.
Like a daugther card from mesa.





 
  • Aciera
  • Aciera's Avatar
29 Oct 2024 07:15
Replied by Aciera on topic Cannot stat/ no such file or directory

Cannot stat/ no such file or directory

Category: General LinuxCNC Questions

I have no experience with RTAI but the wiki page, like most things on the wiki, is likely outdated. I would try the install instructions on the github repo:

github.com/NTULINUX/RTAI/blob/master/README.INSTALL
  • Aciera
  • Aciera's Avatar
29 Oct 2024 07:08
Replied by Aciera on topic New VFD comms timeout -12

New VFD comms timeout -12

Category: Basic Configuration

- hy_vfd component has an option for debug mode, which may help:
linuxcnc.org/docs/html/man/man1/hy_vfd.1.html
- make sure you have the vfd set up to accept serial communications (see doc above)
- it's important to share the _exact_ error message you get, otherwise it's just simply impossible to even try to find out where it is comming from.
Displaying 22051 - 22065 out of 22527 results.
Time to create page: 0.443 seconds
Powered by Kunena Forum