Touch Plate Explanation please

More
5 years 11 months ago #190683 by Aciera
Aha, then your pin assignments are wrong.

This is what you have in "Router.hal" Lines 42 to 63:
Code:
net estop-out => parport.0.pin-01-out net xstep => parport.0.pin-02-out setp parport.0.pin-02-out-reset 1 setp parport.0.pin-03-out-invert 1 net xdir => parport.0.pin-03-out net ystep => parport.0.pin-04-out setp parport.0.pin-04-out-reset 1 setp parport.0.pin-05-out-invert 1 net ydir => parport.0.pin-05-out net zstep => parport.0.pin-06-out setp parport.0.pin-06-out-reset 1 net zdir => parport.0.pin-07-out net astep => parport.0.pin-08-out setp parport.0.pin-08-out-reset 1 net adir => parport.0.pin-09-out net spindle-cw => parport.0.pin-14-out net spindle-pwm => parport.0.pin-16-out net xenable => parport.0.pin-17-out net estop-ext <= parport.0.pin-10-in net probe-in <= parport.0.pin-11-in-not net home-x <= parport.0.pin-12-in net home-y <= parport.0.pin-13-in

Your BOB wants the PWM (Spindle speed) signal on Pin1 so you need to assign the signal "spindle-pwm" to pin1.
So do this:

change line 42 to:
Code:
net estop-out => parport.0.pin-16-out

change line 58 to:
Code:
net spindle-pwm => parport.0.pin-01-out

Save and run.

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

More
5 years 11 months ago #190696 by shortcircuit48
Followed instructions and now GUI works as it should be with now being able to use probe.
Unfortunately I have made very heavy weather with controlling the spindle. I had previously manually switched it off/on from the inverter but that alluded it. Not something I spend a lot of time on but eventually enabled it to switch off and on manually. Programmed off/on via PWM connection and although I get a change in voltage up to about 4 volts nothing happens. Something silly (XSY-AT1-2200X)

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

More
5 years 11 months ago - 5 years 11 months ago #190702 by Aciera
Well the PWM is not really meant to switch the spindle on and off. The pwm is for controlling the spindle speed by way of the 0-10V analog output. Spindle on/off is by way of the "Spindle Switch" relay contact on your BOB. And that in turn is controlled through Pin 17 if the Jumper on the BOB is in place. I'll have to check about the connection in Router.hal...

[edit]

So this is not correct.

net xenable => parport.0.pin-17-out


replace with:

net spindle-on => parport.0.pin-17-out


Then of course you will have to wire the vfd up correctly and probably also set the parameters accordingly.

[edit]

Maybe this helps?

www.mycncuk.com/threads/12091-XSY-AT1-VF...speed-wiring-enquiry
Last edit: 5 years 11 months ago by Aciera.

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

More
5 years 11 months ago #190704 by shortcircuit48
I have a fault report to say net spindle-on => parport.0.pin-17-out this action already done so I will comment out

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

More
5 years 11 months ago - 5 years 11 months ago #190706 by shortcircuit48
\Now able to switch spindle manually off/on through GUI or by running a programme. Hopefully I will be able to vary the speed also, but that is a task for another day.
Quite amazed at the number of views this post has had, so possible a lot more like me learning.
Again a big thanks for your help
Last edit: 5 years 11 months ago by shortcircuit48.

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

More
4 years 11 months ago - 4 years 11 months ago #226502 by shortcircuit48
Having been diverted to other projects I have come back to using my router, well nearly. I can set it up as normal and all is ok. Having used the probe before I decided to use it again but I cannot get it to work. I am using the Gmoccapy platform, on which it did work, following previous advice given. The program loads but I am unable to home or probe. Not sure what I have done but would be very grateful for assistance.
Attach files that I hope are appropriate

File Attachment:

File Name: Router_2021-11-14.ini
File Size:2.53 KB

File Attachment:

File Name: Router_2021-11-14.hal
File Size:4.18 KB

File Attachment:

File Name: Router_202...stepconf
File Size:12.2 KB
Last edit: 4 years 11 months ago by shortcircuit48. Reason: Spelling

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

Time to create page: 0.221 seconds
Powered by Kunena Forum