Fanuc and 5i25/7i77 couple

More
9 years 3 months ago - 9 years 3 months ago #96617 by ligthmare
Hi Everybody.

I have bought a plug and go kit 5i25/7i77 for piloting an old hurco cnc machine with fanuc driver.

So i'm trying to conect all the cable but i'm not sur about my choice.

If you can confirm my configuration .


The K1 cable for the drive control


K7 cable for encoder



And the routing on the 7i77 , I have shunt oh1 and oh2 , and also prdy1 and prdy2.

I have connect en0+ to enbl2 and en0- to enbl1
Do I need to conect the End-stop?



And for the rest of the connection I do somthing like this


Thanks for all
Last edit: 9 years 3 months ago by ligthmare.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #96664 by andypugh
Replied by andypugh on topic Fanuc and 5i25/7i77 couple
Your guesses look the same as my guesses....

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97564 by ligthmare
Thanks for your help!

So I have a problem : when I try to start my PCB (fanuc driver card ) it's turning off when I connect the CN6 cable (encoder from pcb to 7i77)

All the power supply work and the PCB is turning on when my CN6N,L,M cable are unconnected. The Prdy led is green.

Maybe i have a wrong connection.

CN5L (from encoder to PBC)

I have try to connect 1,2,3 to 0v 4,5,6 and 20 (SGL) to 5v, and also with SGL unconnected .

I don't know what is this SGL?

[img

image missing http://image.noelshack.com/minis/2017/33/3/1502883107-screenshot-08162017-07-16-21-am.png
image missing http://image.noelshack.com/minis/2017/33/3/1502883107-screenshot-08162017-07-20-54-am.png

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97567 by andypugh
Replied by andypugh on topic Fanuc and 5i25/7i77 couple
If the PCB is already working then I would guess that you don't need to connect the 5V supply from the 7i77. Try it without that connection.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97576 by ligthmare
Thanks! I have been disconnect the 5v and the pcb let's start .

But i have an error when I try to move one axis : joint 0 following error.

My motor are : fanuc ac motor servo a06b-0513-b002 3phase 8 poles 2000rpm pulse coder

this my .ini

# Generated by PNCconf at Tue Aug 15 10:13:45 2017
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

[EMC]
MACHINE = dorado
DEBUG = 0

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/ligthmare/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000

[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_pci
# BOARD0=5i25

[HAL]
HALUI = halui
HALFILE = dorado.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal

[HALUI]

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_LINEAR_VELOCITY = 25.00
NO_FORCE_HOMING = 1

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
P = 50.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
ENCODER_SCALE = 1.0
OUTPUT_SCALE = 10.0
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0
HOME_OFFSET = 0.0

#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
P = 50.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
ENCODER_SCALE = 1.0
OUTPUT_SCALE = 10.0
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0
HOME_OFFSET = 0.0

#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
P = 50.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
ENCODER_SCALE = 1.0
OUTPUT_SCALE = 10.0
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.01
HOME_OFFSET = 0.0

#********************
# Spindle
#********************
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97580 by andypugh
Replied by andypugh on topic Fanuc and 5i25/7i77 couple
Does a positive output from the 7i77 make the corresponding encoder count up?

The encoder scale and output scale have to agree on which direction is axis-positive.
You may need to make either the encoder scale or the output scale negative.
Also, an encoder scale of 1 seems _very_ unlikely. 1 count per inch? 1 count per mm? Both are impossible.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 1.737 seconds
Powered by Kunena Forum