Results 1 to 2 of 2

Thread: Programming with Focas library

  1. #1
    Registered
    Join Date
    Jul 2008
    Location
    US
    Posts
    1
    Downloads
    0
    Uploads
    0

    Programming with Focas library

    Hey guys, I'm new to the forum and I'm an ME student interning at a manufacturing company. We use mostly 4 axis machines with Fanuc controllers. The project I was just given was to use the Focas1/2 libraries and create a program that will display simple actions (spindle on/off, etc.) of the machines at any time. I have been researching and reading through the Focas documentation but I cannot figure out how to even start this project. I have done a little VBA and C++ and plan on using VB.NET for this project, but I am no programmer. Any help that you guys can provide or even just pointing me towards some tutorials would be amazing.

    Thanks!


  2. #2
    Registered
    Join Date
    Mar 2005
    Location
    France
    Posts
    9
    Downloads
    0
    Uploads
    0
    First Code in VB6 for Focas; Just in ordre to test the connection between your PC and the NControler

    '---------------------
    ' Ethernet connection
    '---------------------
    ' allocate library handle 3
    Declare Function cnc_allclibhndl3 Lib "fwlib32.dll" (ByVal sIPaddr As String, ByVal nPort As Integer, ByVal nTimeout As Long, FlibHndl As Integer) As Integer

    Private Sub Form_Load()
    Dim LibHndl As Integer
    Dim Ret As Integer

    Ret = cnc_allclibhndl3("192.0.0.1", "8193", 10, LibHndl)

    End Sub


Similar Threads

  1. Misumi CAD library
    By nervis1 in forum Solidworks
    Replies: 9
    Last Post: 06-29-2009, 05:49 PM
  2. Problem- tool library...or is it?
    By brooklynmetal in forum BobCad-Cam
    Replies: 2
    Last Post: 06-16-2008, 02:34 PM
  3. How to get more tools in the tool library?
    By clint_so in forum Mastercam
    Replies: 5
    Last Post: 07-24-2007, 11:55 AM
  4. Material library
    By camtd in forum PTC Pro/Manufacture
    Replies: 1
    Last Post: 04-25-2006, 07:43 PM
  5. Program library
    By oil in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 0
    Last Post: 08-05-2005, 09:34 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.