Need Help! Macro for Rotary Tool Changer


Results 1 to 1 of 1

Thread: Macro for Rotary Tool Changer

  1. #1
    Member
    Join Date
    Oct 2012
    Location
    Netherlands
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Macro for Rotary Tool Changer

    Hello there

    8 tools, BCD encoder (4bit) - CSmio inputs 14, 13, 12, 11
    Geneva Cam sensor (one impulse per rotation of the cam) - CSmio input 10
    Clutch/Brake operated by one relay - CSmio output 2
    Three-phase tool changer motor - CSmio output 2

    In order to make a tool change:
    1. Activate - CSmio output 2
    2. Wait for correct BCD - CSmio inputs 14, 13, 12, 11
    3. When desired BCD achieved wait for Geneva Cam sensor - CSmio input 10
    4. DeActivate - CSmio output 2

    I modified sample macro from CS-Lab to suit my setup. However, I don't know VB good enough to make it work properly.
    Now it stops on random tool station, sometimes even in between. It completely ignores the cam sensor.
    I'd appreciate any help.

    Similar Threads:
    Attached Files Attached Files


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Macro for Rotary Tool Changer

Macro for Rotary Tool Changer