Chip transport

Chip transport

Anonymous
Not applicable
914 Views
5 Replies
Message 1 of 6

Chip transport

Anonymous
Not applicable

Hello, 

 

I try to adjust a post so that the chip transport go on with manual nc. Unfortunaltely this is not yet possible.

Who can help me

it is going on with m50 and of with m51

 

Greetings Tom

0 Likes
Accepted solutions (1)
915 Views
5 Replies
Replies (5)
Message 2 of 6

andrea.amilo
Community Manager
Community Manager

Hi @Anonymous ,

 

I think you could modify your postprocessor in this way :

 

function onCommand(command) {
  switch (command) {
  case COMMAND_COOLANT_OFF:
    setCoolant(COOLANT_OFF);
    return;
  case COMMAND_COOLANT_ON:
    setCoolant(COOLANT_FLOOD);
    return;
  case COMMAND_START_SPINDLE:
    onCommand(tool.clockwise ? COMMAND_SPINDLE_CLOCKWISE : COMMAND_SPINDLE_COUNTERCLOCKWISE);
    return;
  case COMMAND_LOCK_MULTI_AXIS:
    return;
  case COMMAND_UNLOCK_MULTI_AXIS:
    return;
  case COMMAND_START_CHIP_TRANSPORT:
    writeBlock(mFormat.format(50));
    return;
  case COMMAND_STOP_CHIP_TRANSPORT:
    writeBlock(mFormat.format(51));
    return;
  case COMMAND_BREAK_CONTROL:
    return;
  case COMMAND_TOOL_MEASURE:
    return;
  }

 

Moreover you shoud comment every block you find both 'onCommand(COMMAND_START_CHIP_TRANSPORT); ' and  'onCommand(COMMAND_STOP_CHIP_TRANSPORT);'. E.g:

 

// onCommand(COMMAND_START_CHIP_TRANSPORT);

// onCommand(COMMAND_STOP_CHIP_TRANSPORT);

Please test it carefully and let me know.

 



Andrea Amilo

Senior Technical Consultant

Autodesk Knowledge Network | Fusion 360 Webinars | Autodesk Make
0 Likes
Message 3 of 6

Anonymous
Not applicable

Hello,

 

Every new operation the chip transporter is going on and at the end of every operation the chip transporter is going of. 

Is it possible that the chip transporter only on / off is when i give the commend?

 

See the attachments for the program and the post.

 

Greetings Tom 

0 Likes
Message 4 of 6

andrea.amilo
Community Manager
Community Manager
Accepted solution

Hi @Anonymous,

 

I think that if you comment 'onCommand(COMMAND_STOP_CHIP_TRANSPORT)' at line 795 :

 

    if (!isFirstSection() && properties.optionalStop) {
      //onCommand(COMMAND_STOP_CHIP_TRANSPORT);
      onCommand(COMMAND_OPTIONAL_STOP);
    }

you should have what you needed :

 

NC File.jpg

 

M50/M51 will be present only when and where you program them.

Please let me know.

 



Andrea Amilo

Senior Technical Consultant

Autodesk Knowledge Network | Fusion 360 Webinars | Autodesk Make
0 Likes
Message 5 of 6

Anonymous
Not applicable

Hello,

 

New its is working, thank you!

 

Greetings Tom

0 Likes
Message 6 of 6

projectnandlastrategy
Explorer
Explorer

Hi Tom,

 

It sounds like you're trying to adjust the post so the chip transport works with manual NC, but it's not functioning as expected. If it's running with M50 (on) and M51 (off), you might need to check:

 

  1. Post Processor Settings – Ensure the correct M-codes are implemented in your post-processor.
  2. Machine Compatibility – Some machines require additional parameters or logic for manual NC mode.
  3. G-Code Customization – Try manually inserting M50/M51 in your program and see if it behaves correctly.

Could you share more details about your setup (software, machine type)? That might help in troubleshooting further.

 

Best regards,
Alexander Wilson

0 Likes