Thread: Hacking a Roland CAMM3 PNC-3000
Threaded View
-
26-09-2020 #10
I can run the motors so X,Y and Z all arrive at their target simultaneously, I can read all the buttons and quadrature encoders, I can light the lights and stuff. I can read a sequence of positions and speeds from a serial host then execute them as a tool path.Whether that is of any use to you rather depends on whether this next bit looks like something you could understand...
;
;***********************************************
;
; Home: Go to the limit switches then return
;
;***********************************************
;
Home:
ld hl,0 ; zero coords so we get the return offset
ld (Xcoord),hl
ld (Ycoord),hl
ld (Zcoord),hl
;
ld a,4 ; Set the sequence so it starts
ld (hseq),a ; with a lift
ld hl,NmiHome ; Tune in to the Home service
ld (NMI),hl
;
call NotIdleLoop; ; returns when stepping is complete
;
ld hl,0 ; We started from zero so the position
ld de,(Xcoord) ; counters will have the distance moved
and a ; To get a return co-ordinate we need
sbc hl,de ; to reverse the counts.
ld (mX),hl ; subtract the position from zero
;
ld hl,0 ; repeat for Y
ld de,(Ycoord)
and a
sbc hl,de
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
NEW MEMBER: Yorkshire based modding / hacking noob says hello
By dynamis_dk in forum New Member IntroductionsReplies: 8Last Post: 27-02-2014, 11:03 PM -
FOR SALE: Roland CAMM3 PNC-3000 Desktop Mill
By danielbriggs in forum Items For SaleReplies: 4Last Post: 25-01-2012, 06:14 PM -
FOR SALE: For Sale! Roland PNC 3000 milling machine
By fidia in forum Items For SaleReplies: 17Last Post: 26-07-2011, 10:07 PM -
NEW MEMBER: Hi From Oxfordshire - with Roland CAMM3 machine
By rowifi in forum New Member IntroductionsReplies: 1Last Post: 15-02-2011, 05:04 AM -
Cheap for hacking
By Robin Hewitt in forum General DiscussionReplies: 12Last Post: 21-11-2008, 01:30 PM



Reply With Quote

Bookmarks