Re: getting started with CNC



Jim Wilson wrote:
Bill Roberto wrote...


But you're saying the cable should be like this:

    DB9              DB25
TXD   3  -----\/-----  2  TXD
RXD   2  -----/\-----  3  RXD
RTS   7  -,        ,-  4  RTS
CTS   8  -'        `-  5  CTS
DSR   6  -,        ,-  6  DSR
CD    5  -|        |-  8  CD
DTR   1  -'        `- 20  DTR
SG    4  ------------  7  SG

(I'm guessing there's another RTS/CTS jumper on the DB9 side.) Right? Or still shaky?

Here is the exact pin to pin I use on all Fanucs, Fadals, and Haas'.

DB9  2 ------------ DB25 2
     3 ------------      3
     5 ------------      7
                         4&5 jump
                         6,8,& 20 jump





Sounds like this data could be embedded in the part program, but you're saying that it is usually entered manually just before runtime. Did I get that right?

The program references pre set offset tables via G code. i.e.

%
O0001(SAMPLE)
G0G40G49G80G90
T1M6
S5000M3
G54X-2.Y0 (PICK UP FIXTURE OFFSET)
G43Z1.H1M8 (PICK UP HEIGHT OFFSET)
Z.1
G1Z-.5F50.
G41X-1.D31 (PICK UP CUTTER COMP OFFSET)
X3.
Y-3.
X0
Y1.
G40Y2.
G0Z1.M9
G91G28Z0
G90
M30
%



Send Z axis home. Zero the digital readout if necessary. Touch the top of your part with your tool. (or whatever you are programming as zero). The value in the digital readout is your Z offset value.


Ok. Same as I do now on my manual mill.

Thanks again for all your help. Machine arrives tomorrow.

Jim

Good luck. .



Relevant Pages

  • Re: Advice on good forth coding
    ... Are you saying that my comments are too short and not clear? ... (opcode offset offset' ... This is a bit complicated by the fact that the JUMP ... The literal instruction has a 7 bit offset. ...
    (comp.lang.forth)
  • Re: nk.nb0 startup prolems
    ... > So now I have a file that has a jump at the beginning of the image. ... > to offset the start of virtual ram to leave seom physical ram space the OS ... >> Applied Data Systems ... >>> I put some data constants in startup.s, then did a search for them ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Which assembler can handle the BIG stuff ?
    ... Here is a sample extract from the Windows kernal... ... >>One entry contains an offset and the other contains an offset and a segment. ... It is a list of pointers, not a jmp table. ... >A jump table is a list of addresses or offsets to jump to. ...
    (alt.lang.asm)
  • Re: Advice on good forth coding
    ... There is no 32 bit offset. ... Or at least some kind of opcode sometime. ... I explained how the literal instruction worked, ... jump and the location is in the same code section. ...
    (comp.lang.forth)
  • Re: nk.nb0 startup prolems
    ... So now I have a file that has a jump at the beginning of the image. ... to offset the start of virtual ram to leave seom physical ram space the OS ... "Michael Schaffner, P.E." ... >> I put some data constants in startup.s, then did a search for them ...
    (microsoft.public.windowsce.platbuilder)