548,478 active members*
2,481 visitors online*
Register for free
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > FOCAS cnc_rddynamic function in the c#
Results 1 to 2 of 2
  1. #1

    Join Date
    Oct 2021

    FOCAS cnc_rddynamic function in the c#

    Hello, I'm stuck on something related to FOCAS function.

    By using the cnc_rddynamic function in Kapware, I can get information such as positions, spindle speed, feed rate from CNC. For example if you look at the picture(figure1) below you may see that I am getting actual speed.

    However, I want to use this function on visual studio with the help of C#, not on Kapware. I wrote my code by looking at the technical document as seen in the picture below. The program did not give any errors, but I always read the value 0(figure3). However, when I look with Kapware, I see some values (figure 1).

    I think I'm making a logical error somewhere in the coding (figure2). Is there anyone who can help with this.

    Attached Thumbnails Attached Thumbnails figure1_kapware-min.jpg   figure2_code.png   figure3_console.jpg  

  2. #2

    Join Date
    Aug 2019

    Re: FOCAS cnc_rddynamic function in the c#

    What is the return code from the function call?
    It it is not 0 (EW_OK) then you need to start there.

Similar Threads

  1. Programming with Focas library
    By SRogers in forum Visual Basic
    Replies: 13
    Last Post: 07-17-2020, 03:02 PM
  2. Fanuc Focas Tutorial
    By Versex in forum Coding
    Replies: 2
    Last Post: 07-15-2020, 12:01 AM
  3. Fanuc FOCAS Library
    By cduve in forum Fanuc
    Replies: 4
    Last Post: 07-08-2020, 04:33 PM
  4. FOCAS. What is that?
    By Leha_Blin in forum Fanuc
    Replies: 2
    Last Post: 06-06-2013, 06:10 PM
  5. Fanuc FOCAS 31ib
    By abhthree in forum Fanuc
    Replies: 0
    Last Post: 01-17-2013, 06:19 PM

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