Search the Community

Showing results for tags 'positioning'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 4 results

  1. Positioning with FX5U and FX5-40SSC

    Hi Friends. I need some Help with Positioning. I'm using the FX5U PLC and the FX5-40SSC "Simple" Motion Controller with Servo MR-JE-20B and Servo Motor HG-KN23K which is controlling a Linear Guide. The JOG Modus is Working, Home Position is Working too, but I cant Programm a Position where the Motor have to Drive. I hope someone can Help. Part of My Program looks like:   FX5SSC_1.stsysctrl_d.bPLC_Ready_D:=TRUE; FX5SSC_1.stSysMntr2_D.bReady_D:=TRUE; M_Ax1_PLC_Ready:=TRUE; M_Ax2_PLC_Ready:=TRUE; M_Ax3_PLC_Ready:=TRUE; IF FX5SSC_1.stSysMntr2_D.bReady_D THEN     FX5SSC_1.stSysCtrl_D.bAllAxisServoOn_D:=TRUE;      END_IF; IF M_Ax2_Error_Reset THEN          MOV( bEnable OR PLC_1st_scan , K0 , K4M700 );     M_FX5SSC_OperateError_Ax2 (i_bEN:= TRUE ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2    ,i_bErrReset:= M_Ax2_Error_Reset ,o_bModuleErr=> bEnable ,o_uModuleErrId=> D_Ax2_Operate_Error);      END_IF; IF P_Achse_HomeDrive THEN          M_FX5SSC_StartPositioning_Ax2(i_bEN:= P_Achse_HomeDrive ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2 ,i_uStartNo:= 9001 ,     o_bOK=> bEnable1 ,o_bErr=> bEnable2);          RST( bEnable1 OR bEnable2 , P_Achse_HomeDrive );     P_Achse_Referenziert:=TRUE;     RST( TRUE , Referenzfahrt_TP_Ein_Aus );      RST( TRUE , Fehleranzeige_P_Achse_nicht_Ref );      END_IF;   SpeicherP1:= REAL_TO_INT (Startposition_TP_P_Achse); M_FX5SSC_SetPositioningData_Ax2(i_bEN:= Beginne_FahrtP ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2 ,i_uDataNo:= 1); M_FX5SSC_StartPositioning_Ax2(i_bEN:= Beginne_FahrtP ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2 ,i_uStartNo:= 1);  M_FX5SSC_ChangeSpeed_Ax2(i_bEN:= Beginne_FahrtP ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2 ,i_udSpeedChangeValue:= 100); M_FX5SSC_ChangePosition_Ax2(i_bEN:= Beginne_FahrtP ,i_stModule:= FX5SSC_1 ,i_uAxis:= 2 ,i_dTargetNewPosition:= REAL_TO_DINT(Startposition_TP_P_Achse) ,i_udTargetNewSpeed:= INT_TO_DWORD(Fahrgeschwindigkeit_TP_P_Achse));       IF StartPAxis THEN          FX5SSC_1.stnAxCtrl1_D[1].dTargetNewPosition_D:=REAL_TO_DINT(Endposition_TP_P_Achse);     FX5SSC_1.stnAxCtrl2_D[1].uPositioningStart_D:=1;      END_IF;
  2. Hi, I am developing Servomotor Drive Module for Mistubishi servomotor to control its positioning and speed. I have combined two FBs of the RD77MS4 FBs 1. SetPositiiningData FB 2. StartPositioning FB  and defined in Local label as  Label Name: i_stModule , Data Type : M+RD77 Class: VAR_INPUT. I get Error Invalid device or invalid constant is used. Can someone tell me how to define Module Label while combining two  FBs using same Module. Please
  3. Hi, I am developing Servomotor Drive Module for Mistubishi servomotor to control its positioning and speed. I have combined two FBs of the RD77MS4 FBs 1. SetPositiiningData FB 2. StartPositioning FB  and defined in Local label as  Label Name: i_stModule , Data Type : M+RD77 Class: VAR_INPUT. I get Error Invalid device or invalid constant is used. Can someone tell me how to define Module Label while combining two  FBs using same Module. Please
  4. hallo everyone ...i use mitsubishi Q00UJCPU and QD77MS2.. i try to make a speed control program and the speed wants to be changed during servo operating, i use dedicated instructions ZP. PSTRT1 (axis 1) and have tryed but it was only successful to change speed with "change speed control" function once ... is it like it? cannot change "change speed control" many times when servo operations?