588,030 active members*
4,204 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > FOCAS2 control of 35i-B FANUC machine
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2016
    Posts
    3

    FOCAS2 control of 35i-B FANUC machine

    I'm trying to control our FANUC 35i-B system (controller? machine? unsure of appropriate terminology for each part of this confusing array of parts).
    It is connected to two AC Servo Motors. These are labelled C1 and C2 on the front panel screen. My understanding is that these are 'axes'. They are also each on a separate 'path'.

    I am able to connect to the system using code like

    Code:
    unsigned short h;
    std::string ip = "10.10.100.35";
    unsigned short port = 8193;
    short ret = cnc_allclibhndl3(ip.c_str(), port, timeout, &h);
    // Check ret for error conditions
    
    // Get some info
    ODBST buf;
    ret = cnc_statinfo(&h, &buf);
    // read the parts of buf...
    
    cnc_freelibhndl(&h);
    However, the results of 'cnc_rdaxisname' give me only one axis (C1), as do 'cnc_exaxisname{,2}', and using cnc_rdaxisdata doesn't give me anything better.

    pmc_get_number_of_pmc returns information indicating only one pmc unit, and trying to set the unit with any value other than 1, using 'pmc_select_pmc_unit(handle, value);' gives me an error. (Setting the value to 1 gives no error).

    Where is my second axis/path?

    If I just want to set the axes to some constant speeds, what do I need to do?

    Apologies for the probably stupid questions.

  2. #2

    Re: FOCAS2 control of 35i-B FANUC machine

    Fanuc uses G-Code programming to position the servos to and at a specified feed rate. If you want to run them at a constant speed all day long then you will have to use the ladder and set them up as PMC controlled axes.

Similar Threads

  1. [Help] Focas2 issues
    By s001133 in forum Fanuc
    Replies: 2
    Last Post: 08-31-2015, 06:47 AM
  2. What is Focas2
    By Darkphoenix in forum Fanuc
    Replies: 1
    Last Post: 09-26-2014, 01:58 PM
  3. RETRO FIT MACHINE W/ OLD FANUC CONTROL
    By BOATDUDEGUY in forum Fanuc
    Replies: 3
    Last Post: 01-15-2012, 01:16 AM
  4. fanuc control 10t machine error lamp on
    By Asfar in forum Fanuc
    Replies: 6
    Last Post: 01-13-2012, 06:14 AM
  5. Replies: 5
    Last Post: 04-17-2008, 02:44 AM

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
  •