A password will be e-mailed to you
To illustrate the power of FANUC FOCAS, let's consider a simple example. Suppose we want to create a program that reads the current position of a CNC machine's spindle and displays it on a user interface. Using FOCAS, we can write a program in C# that accesses the CNC machine's data and retrieves the spindle position.
| Function | Purpose | |------------------------------|-----------------------------------------| | cnc_rdposition | Read current position (abs/rel/machine) | | cnc_rdtofs / cnc_wrtofs | Read/write tool offsets | | cnc_rdmacro / cnc_wrmacro | Read/write macro variables (#100~) | | cnc_rdalarm | Read active alarms | | cnc_rdoption | Check CNC option configuration | | cnc_rdspeed | Read spindle speed & feed rate | | cnc_rdstatus | Get machine status (run/stop/alarm) | | cnc_start / cnc_stop | Remote cycle start / feed hold |
Current Machine Position (mm): Axis X: 125.432 Axis Y: -50.001 Axis Z: 0.000
To illustrate the power of FANUC FOCAS, let's consider a simple example. Suppose we want to create a program that reads the current position of a CNC machine's spindle and displays it on a user interface. Using FOCAS, we can write a program in C# that accesses the CNC machine's data and retrieves the spindle position.
| Function | Purpose | |------------------------------|-----------------------------------------| | cnc_rdposition | Read current position (abs/rel/machine) | | cnc_rdtofs / cnc_wrtofs | Read/write tool offsets | | cnc_rdmacro / cnc_wrmacro | Read/write macro variables (#100~) | | cnc_rdalarm | Read active alarms | | cnc_rdoption | Check CNC option configuration | | cnc_rdspeed | Read spindle speed & feed rate | | cnc_rdstatus | Get machine status (run/stop/alarm) | | cnc_start / cnc_stop | Remote cycle start / feed hold |
Current Machine Position (mm): Axis X: 125.432 Axis Y: -50.001 Axis Z: 0.000