Levent1970

Set Current Value to Zero

16 posts in this topic

Hi,

how can i set the Current Value from a Motor to Zero, in Example a Linear Unit is on a Limit Switch, and i want to set This Position as Zero.

Thanks a lot.

Share this post


Link to post
Share on other sites

You might want to specify which compents you are using.

But is sounds like you want to use the homing function. There are several types

Share this post


Link to post
Share on other sites

Yes, the Home function is Right. I Have the FX5U with MR JE 20B and HG-KN23BK.

my Programpart:

IF Referenzfahrt_TP_Ein_Aus THEN
    
    M_Ax2_Jog_RVS:=TRUE;
    
    IF NOT Endschalter_P_Achse_minus THEN
    
        M_Ax2_Jog_RVS:=FALSE;
        U1\G2500:=0;
            
    END_IF;
    
END_IF;

 

Edited by Levent1970

Share this post


Link to post
Share on other sites

You don't have to make a Homeprogram. It's part of the system

Just select in the parameters which type you want to use and than start homing.
There is an example in the manual for setting the home position. Chapter 11.3 and 11.4

 

Share this post


Link to post
Share on other sites

Yes it Works with M_FX5SSC_StartPositioning_01A (M_FX5SSC_StartHoming_Ax2) I set the Parameters for Homeposition but i cant Set the DOG Signal.
 

Share this post


Link to post
Share on other sites

What Do you mean with I cannot set the Dog signal. You do not have one connected ?

 

Share this post


Link to post
Share on other sites

In the Selection for the DOG Signal is "Servo Amplifier" or "Buffer Memory" I have No connection on the Servo Amplifier to Connect a DOG Signal (my Limit Switch).

Where can i set my Limit Switch as my DOG Signal or Use the Buffer Memory to say in example Input X27 is my Limit Switch and i want to set it as my DOG Signal.

Share this post


Link to post
Share on other sites

If you do not use the inputs on the Amplifier than you can use BFM 5928

BFM 5928 Set the status of the upper/lower limit signal, the proximity dog signal and the stop signal. (Cd44)

 

 

 

Cotrol Data  BFM.JPG

I signals on BFM.JPG

Share this post


Link to post
Share on other sites

I Have a Blackout, U1\G5928 is an INT, how can i set my Digital Input x27 to this INT?

Share this post


Link to post
Share on other sites

You can use bit designation like U1\G5928.2

Or move 4 or more inputs Like this mov K1X25... U1\G5928.

 

Share this post


Link to post
Share on other sites

That's how it look's in ladder logic.

DOG.jpg.5ff48d00996dc9afda66ae97727e0db8

Pay attention to logic input selection depending on sensor/switch you are using. NO or NC

You can invert the signal in the program or set Pr.22 in motion module axis parameters.

Logic.jpg.dfbc95b8830e9cef9337a736a48e7d

5b20b5bc974e7_Inputdevice.jpg.d8c2141248

And set your homing method!

homing.jpg.1b1d055ba365e4d23f92f88396774

 

 

Edited by glavanov

Share this post


Link to post
Share on other sites

No Luck, its only Blinking between 0 and and the Current Value, if i move it away from this Point the Current Value is still there.

Share this post


Link to post
Share on other sites

Strange Can you use the HPR method Dataset just to see if it has something to do with the HPR itself.
With Dataset you mov to the desired home postition and the activate HPR that will be 0 or the defined value

Share this post


Link to post
Share on other sites

So, is the HPR working? Witch method do you use? What is the HPR complete flag status in monitor data 31?

Any errors or warnings in axis monitor?

What do you mean... when you drive the motor the current value stay's 0?

How do you drive the Axis... Jog, positioning or speed control?

If Pr.21 is default set, the current feed value in not updated in speed control

If Pr.55 is default set, positioning control is not allowed if HPR is incomplete. Jog, speed control, synchronous control and CAM function can be executed.

Share this post


Link to post
Share on other sites

Its on "Data Set Method", I'm Driving with Jog.

The Part of my Programm:

IF Referenzfahrt_TP_Ein_Aus THEN
    
      M_Ax2_Jog_RVS:=TRUE;
    
END_IF;

IF NOT Endschalter_P_Achse_minus THEN
    
      M_Ax2_Jog_RVS:=FALSE;
      FX5SSC_1.stnAxCtrl1_D[1].uPositioningStartNo_D:=9003;
      FX5SSC_1.stnCmdGenAxCtrl_D[1].uPositioningStartNo_D:=1;
        
END_IF;

HPr Status:  StatusAxis2HPR:=FX5SSC_1.stnAxMntr_D[1].uStatus_D;    8   (It's Axis 2)

Pr21 is set 1:Update of Feed Current Value

Pr55 is set 1:Positioning Control is Executed

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now