Fanuc Focas Python ✦ < TOP >

import pyfocas

# Read the current position of axis 1 position = dev.read_axis_position(1) print(position) fanuc focas python

# Execute a program on the FANUC device dev.execute_program('my_program') import pyfocas # Read the current position of