MR-J3-xxBS with QD77MS KSS 2013-02-15 - - 1 (26)
Index 1. Function and use... 3 2. About this document... 3 3. Installing the equipment... 3 3.1. MR-J3-BS Servo amplifier...3 3.2. QD77MS External input connector...6 3.3. Encoder inputs...7 3.3.1 Differential-output type... 7 3.3.1. Voltage-output/open-collector type... 8 3.4. Power and control wiring...8 3.5. Connecting the control function wiring...8 4. Operating adjustments and commissioning... 8 4.1. Operation adjustment of parameters...8 4.2. Start up, Step by step...9 5. Description of the sample program... 11 5.1. Function block QD77MS16 _Servo_Control...11 5.2. Function block QD77MS16_PosData...14 5.3. Function block QD77MS16_PosAction...15 5.4. Function block QD77MS16_TorqueControl...15 5.5. Parameter configuration...16 6. Description of the sample program functions... 17 6.1. End limit switches...17 6.2. Calibration of the servo motor absolute encoder...17 6.3. JOG...17 6.4. Absolute positioning...18 6.5. Relative positioning...18 6.6. Scaling the positions and velocities...18 6.6.1. Scaling with pulses... 18 6.6.2. Scaling with degrees... 19 6.7. Emergency stop...20 6.8. Positioning types...21 7. Troubleshooting... 22 7.1. Error and warning code for the MR-J3-BS Servo Amplifier...24 7.2. Error and warning code for the QD77MS-Module...25 7.3. Other failures...25 KSS 2013-02-15 - - 2 (26)
1. Function and use QD77M module can be used to control an Mitsubishi Melservo AC-Servo type MR-J3/MR-J4 via SSCNET III/H. For this purpose we have developed circuit diagrams and a sample PLC-project. This sample PLC-project includes; a PLC-program with function blocks for controlling the servo axis and a Simple Motion Module Setting file with preprogrammed parameters for the servo axis. Example application includes the following features: Reading of the servo motor actual position to the PLC system. Switching on / off the Servo On. Manual operation with adjustable speed. Absolute and relative positioning to the desired position. Acceleration and deceleration with linear or S-shaped ramp. Stop and restart of the ongoing movement. Ability to select either hardware or software limit switch. Resetting an alarm (Alarm Reset). Digital indication that a positioning has been performed. Interpolation between multiple axes. The sample PLC program in a Q03-cpu containing a control example for a servo axis occupies about 1,000 program steps. 2. About this document This Get started document mustn t be seen as a complete manual. It is a tool to quickly and easily get started with a typical application. For further information please refer to the following manuals: Mitsubishi Melservo MR-J3-BS user manual Mitsubishi QD77MS user manual This document describes connections, functionality, applications. The sample PLC-program is designed for GX Works2 (version 1.91V or later). This document and program examples are included in the file KI-Doc_QD77MSXX_MR-J3-XXBS.Zip which is available on our website www.beijer.se, under the support tab. Comments and feedback on our Get Started document can be sent to manual@beijer.se 3. Installing the equipment The following section describes how the hardware and its connectors are to be connected. 3.1. MR-J3-BS Servo amplifier The servo amplifier is connected as drawings in Section 3.4 and 3.5. The drawings show a standard connection of a Mitsubishi servo amplifier MR-J3-BS with servo motor and QD77M. The picture below shows the servo amplifier MR-J3-BS and an explanation of the indicators and connectors. KSS 2013-02-15 - - 3 (26)
Rotary axis setting switch position Function 0 Axis 1 1 Axis 2 2 Axis 3 3 Axis 4 Axis... E Axis 16 F Test mode, used for test driving with MR Configurator2 The table shows the servo amplifier's function depending on the Rotary axis setting switch position. KSS 2013-02-15 - - 4 (26)
Indication Status Function AA Initiate No power to the control system Ab Initiate No power to the control system Wrong Axis number is set. Error communicating with the controller. B# Ready OFF Ready OFF / Servo OFF e.g. When no power supply is present C# Servo OFF Ready ON / Servo OFF d# Servo ON Ready ON / Servo ON (Normal operating mode) The table shows some of the common indications that the display of the servo amplifier can display. For error codes, see section 7.1. # = Servo axis number KSS 2013-02-15 - - 5 (26)
3.2. QD77MS External input connector The signal layout for the QD77MS External input connector is shown. KSS 2013-02-15 - - 6 (26)
3.3. Encoder inputs The following section describes the different encoders and the way to connect them. Both examples below is supplied with 5V DC, meaning a 24V encoder can not be connected 3.3.1. Differential-output type The Differential output type is also widely known as; RS422-encoder or Linedriver. The frequency of the pulse train sent into the QD77MS-module from a differential output type encoder is maximum 1MPPS, the encoder rescale this value into 4MPPS. KSS 2013-02-15 - - 7 (26)
3.3.2. Voltage-output/open-collector type 3.4. Power and control wiring AUTOCAD wiring 3.5. Connecting the control function wiring AUTOCAD wiring 4. Operating adjustments and commissioning The following section describes the operation adjustments of parameters and commissioning. 4.1. Operation adjustment of parameters Before testing the drive, a number of parameters in the servo amplifier and QD77MS-module must be configured. KSS 2013-02-15 - - 8 (26)
This can be done through the software Simple Motion Module Setting Tool. Simple Motion Module Tool can be opened through GX Works2 by clicking Intelligent Function Module - Simple Motion Module Setting in the project tab. Or, if possible use MR Configurator2, opened from the Simple Motion Module Setting Tool. The Simple Motion Module Setting Tool will open and the assistant tab will ask if you want to create a new project or open an existing project PCW-file. Select open existing and select the preconfigured.pcw-file found in the KI-Doc_QD77MSXX_MR-J3-XXBS.Zip The Simple Motion Module Setting Tool replace the *Init blocks found in older sample projects for QD75 module. The Simple Motion Module Setting Tool lets you configure the module parameters, servo parameters and the system structure. 4.2. Start up, Step by step 1. Compile and download the PLC-project to the PLC. Make sure there are no error. 2. Make sure the parameters are set correctly in the Simple Motion Module Setting Tool. 3. Download the parameters in the Simple Motion Module Setting Tool by pressing Online - Write to module the Simple Motion Module Setting Tool uses the same online configuration as the GX Works2 project. After the PLC program is compiled and downloaded into the PLC without errors. It s time to download the parameter into the module. Make sure the parameters are set correctly in the KSS 2013-02-15 - - 9 (26)
Simple Motion Module Settings Tool. While in software Simple Motion Module Setting Toolpress online Write to module, the Simple Motion Module Settings Tool uses the same online configuration as the GX Works2 project. After the parameters are downloaded, check so that there are no faults present. Activate the ServoOn so the amplifier will start to regulate. Servo amplifier will display d followed by the axis number, d1 for axis 1. ServoReady in the function block QD77MS16_Control will be activated. Check that the Speed and Distance scaling are correct. Check that the software and hardware limit switches are correct (SoftLSP, SoftLSN, LSP, LSN) You can now hand-drive the motor. Set suitable JOGSpeed and try to move forward by affecting JOGFwd and backward JOGRev. If you have chosen the servo motor encoder to act as an absolute encoder (PA03=1, in the Simple Motion Module Setting Tool/MR Configurator2) you can now hand drive the servo motor to the position desired to be position Zero/Home. Activate variable StartHome to make the position the Zero/Home position. Check that current position is now showing 0 (see also section 6.2). Now the system is calibrated and you can begin to test drive the machine. Software Simple Motion Module Setting Tool/MR Configurator2 can be of great help to fine tune the servo parameters. KSS 2013-02-15 - - 10 (26)
5. Description of the sample program The sample program is designed for GX Works2 (version 1.91V or later) and Q-series CPU. The sample program contains the following functions: JOG operation at any speed Absolute positioning Relative positioning Stop and restart Management of software and hardware limit Ability to change all of the servo amplifier parameters Resetting the alarms and warnings The.zip file downloadable from Beijer.se contains: GXW2_QD77MS16.GXW is a preconfigured sample project for GX Works2. The project can be downloaded directly (after compilation) and test run. QD77MS16.PCW is a preconfigured Simple Motion Module Setting Tool parameter file. The example program consists of three software components (POU): Function blocks QD77MS16_PosData Function blocks QD77MS16_Control Function blocks QD77MS16_Torque 5.1. Function block QD77MS16 _Servo_Control Input Function HeadAddress Physical address for QD77MS16 AxisNo Specifies what axis the function block operates (1-16) KSS 2013-02-15 - - 11 (26)
SoftLSP Software limits value. If not in use set SoftLSP=SoftLSN=0 SoftLSN Software limits value. If not in use set SoftLSP=SoftLSN=0 InactivateSoftLimits Inactivates softlimits at JOG HomePosition Current position when calibration is done (-2147483648 to 2147483647) JOGFwd Manual control forward JOGRev Manual control backwards JogSpeed JOG speed CommandedPosition Address with absolute positioning or distance with relative positioning.(-2147483648 till 2147483647) (Note! PositionData 100 is used) CommandedSpeed Positioning speed (Note! PositionData 100 is used) CommandedAcc Acceleration time 1-8388608 ms (time from 0 to SpeedLimit) CommandedDec Deceleration time 1-8388608 ms (time from SpeedLimit to 0) Override Superior speed change 1-300% ServoON Used to activate the servo amplifier StopMotor Stop current positioning StartHome Start calibrating. NOTE! If absolute positioning system is used HomePosition is written to EEPROM in servo amplifier. StartAbsolutePos Start absolute positioning. (Note! PositionData 100 is used) StartRelativePos Start relative positioning. (Note! PositionData 100 is used) StartInterruptPos Starts interrupt positioning. External command signal CHG is used for interrupt signal. (Note! PositionData 100 is used). StartSynchronousControl Start synchronous control. Uses the data set in Synchronous Control Parameter in the Simple Motion Module Setting Tool. ResetAlarm Reset alarms and warnings in the module and servo amplifier Output CurrentPosition PosCompleted HomeCompleted ServoReady ServoInPosition Alarm AlarmCode Warning WarningCode AlarmServo Function Current position Positioning done. This signal can be used in a sequence program. Positioning is completed and servomotor is In Position. Calibration done. Servomotor is activated(servoon) and is ready to run Servo in position. (signal from servo) Error has occurred in QD77MS16 or servo amplifier. Error code from both QD77MS16 and servo amplifier. Warning has occurred in LD77M16 (controller warning). QD77MS16 warning code. Alarm in the servo amplifier. Signal from the servo amplifier. KSS 2013-02-15 - - 12 (26)
OperationStatus IndicationLSP IndicationLSN indicationdog IndicationExtSignal Busy BatteryWarning Axis status. 0: Standby, 1: Stopped, 15: Synchronous Mode, 20: Amplifier not connected to power source, 21: Servo OFF Hardware or software positive limits LSP. Normally FALSE Hardware or software negative limits LSP. Normally FALSE Status of Dog input Status of the Digital In 1-4, depending of parameter configuration. (See Pr.80,95 in Simple Motion Module Setting Tool.) Indication that axis is moving Time to change battery on servo amplifier Function block QD77MS16_Control used to control a servo amplifier. To get the servomotor to perform a specific task, only the corresponding input variable to the block is activated. Function block input variables are on the left side and the function block and the Output Variables on the right side. The function block supports all CPU s of the Q-Series. How the Handshake works: Configure a position and speed setup, thereafter start a positioning (*1) keep the start signal high, or else the positioning will stop midways (*2). When the machine has reached the position, output PosCompleted will be activated (*3) and be kept high until start signal is inactivated. Thereafter the output PosCompleted will be inactivated and a new positioning is ready (*4). This way of handshaking is new to QD77-modules, compared to QD75 modules. See the picture below for a flowchart of the handshake. *1. *2. *3. *4. KSS 2013-02-15 - - 13 (26)
5.2. Function block QD77MS16_PosData Function block QD77MS16_PosData used to start any position data. Useful e.g. when to start interpolating movements. The function block supports all CPU s of the Q-Series. How the interpolation works: Each axis of QD77M module may be preprogrammed with 1-100 position data. This example uses position data (PosDataNo) 90 to make a linear movement with two axes. It is always the position data codes utilized by both the master and slave axes. When using the master axis position data 90, this is automatically also the slave position data 90. It is only the position and any Arc_Data (when circular interpolation) that need to be specified for the slave axis. WritePosDataMaster EN Activates writing of position data into QD77MS16. Headaddress Physical address for QD77MS16 AxisNo Specifies the axis (1-16) PosDataNo Specifies what position data the function block will use, 1-99. PosType Type of positioning (See table in section 8.3 for full list) e.g. 16 # B: This setting means that the two axles shall be driven with incremental encoder. InterpolatedAxisNo 1-3 = 0: This setting means that the axis 1 should be a slave axis. = 1: This setting means that the axis 2 should be a slave axis. =15: This setting means that the axis 16 should be a slave axis. Pattern 0:END, 1:Continuously with stop, 3:Continuously without stop AccRamp Used acceleration ramps (0-3) =0: used value entered in Function block =1-3: used values entered in Simple Motion Module Setting Tool DecRamp Used deceleration ramps (0-3) =0: used value entered in Function block =1-3: used values entered in Simple Motion Module Setting Tool M_Code Optional code for every position data (0 if not used) DwellTime Time before next position data can be driven Speed Speed Position End position(abs) or distance(inc) ARC_Data Help point for circular interpolation KSS 2013-02-15 - - 14 (26)
EN HeadAddress WritePosDataSlave AxisNo Specifies the axis (1-16) Activates writing of position data into QD77MS16. Physical address for QD77MS16. PosDataNo Positioning data no. to be driven (1-99) Position End position(abs) or distance(inc) ARC_Data This variable identifies a help point for circular interpolation. At position type 13-14 is a point on the arc and the position type 15-18 is the center point provided. 5.3. Function block QD77MS16_PosAction Function block QD77MS16_PosAction is used to start pre-loaded positions entered in the Simple Motion Module Setting Tool. Input Function HeadAddress Physical address for QD77MS16. AxisNo Specifies the axis (1-16) StartPosNo Positioningdata to run 1-99 StartPositioning Start positiondata specified by StartPosNo Output PosCompleted Function Positioning done. This signal can be used in a sequence program. 5.4. Function block QD77MS16_TorqueControl Input Function HeadAddress Physical address for QD77MS16. AxisNo Specifies the axis (1-16) NewTorqueValue Maximum torque generated by servomotor. 1 TorqueLimit. Changeable at any time. KSS 2013-02-15 - - 15 (26)
Output MotorTorque Function Current torque in x0,1% of servomotor rated torque Function block QD77MS16_Torque is used to control the torque of the servo motor. The function block supports all CPU s of the Q-Series. 5.5. Parameter configuration The parameter configuration of the QD77Module can easily be done in the Simple Motion Module Setting Tool, or the MR Configurator2. Here you configure how many axis you have in your application, also the specific configuration for each axis. Below is the most basic parameters to start the servo axis. Here you set how many axes you have in your application, this is done in the Simple Motion Module Setting Tool. Parameter, configured in Simple Motion Module Setting Tool. Pr No. Name of parameter Description 1 Unit Setting Set what unit to use during positioning, Set either mm, inch, degree or pulses according to control target. 2 No. of pulses per rotation Set the number of pulses required for a complete rotation of the motor shaft 3 Movement amount per rotation Set the movement amount per one motor rotation. 8 Speed limit value Set the maximum speed during positioning, OPR and speed/torque 12 Software stroke limit upper limit value 13 Software stroke limit lower limit value 22 Input signal logic selection: lower limit 22 Input signal logic selection: upper limit operations. Set the upper limit of machine s movement range during positioning control. Set the lower limit of machine s movement range during positioning control. Set the I/O signal that matches the signaling specification of the external device connected to the simple motion module or External Input Signal Device or the external input signal of the servo amplifier. 43 OPR method Set OPR method for machine OPR. 80 External input signal selection Set whether to use the simple motion side or the servo amplifier side or buffer memory of simple motion module for external input signal (upper/lower limit, near-point dog and stop signals). 82 Forced stop valid/invalid selection Set the forced stop input valid/invalid. 97 SSCNET Setting Set whether to use SSCNET III/H or SSCNET III in servo system network. KSS 2013-02-15 - - 16 (26)
Servo Parameter, configured in MR Configurator2. PA No. Name of parameter Description 02 Regenerative option Set this option when using the regenerative option/brake unit/power regeneration converter/power regeneration common converter. 03 Absolute position detection system Set this parameter when using the absolute position detection system in the position control mode. 04 Function selection A-1 The servo forced stop function is avoidable. 08 Auto tuning mode Select the gain adjustment mode. 09 Auto tuning response If the machine hunts of generates large gear sound, decrese the setting value 10 In-position range Set the range, where the positioning completion (INP) is output, in the command pulse unit. Set in the motor encoder unit in semi closed system. Set in the load side encoder unit in fully closed system. 14 Rotation direction selection Select the servo rotation direction. PC No. Name of parameter Description 01 Error excessive alarm level Set error excessive alarm level with rotation amount of servo motor. 02 Electromagnetic brake sequence output Set the delay time (Tb) between electromagnetic brake interlock (MBR) and the base drive circuit is shut-off. 04 Function selection C-1 Select the encoder cable communication method. 17 Function selection C-4 Home position setting condition in the absolute position detection system can be selected. 6. Description of the sample program functions The following sections describe the various features supported by the sample program 6.1. End limit switches Hardware-related limit switches can be connected to the standard input of the PLC. These should be linked to the LSP and LSN on QD77MS16_Control block. One should reduce the time of the filter end limit switch sensors on the input card used to obtain as small delay as possible. It is also important to note that the PLC system's cycle time will affect the time before stopping if common inputs are used. 6.2. Calibration of the servo motor absolute encoder When you have chosen to use the servo motor encoder as an absolute encoder (Amplifier setting = 1) you only need to calibrate the motor once when it is new, or when it has been replaced. In this case the calibration method No.6 is used (OPRMethod = 6 in Pr.43 in Simple Motion Module Setting Tool). You move the servo shaft to the position desired to be zero position and activate input StartHome at function block QD77MS16_Control. One should add input signal StartHome on a protected page of the operator terminal to avoid an inadvertently system reset. 6.3. JOG In JOG mode, the motor hand runs with desired speed without any target position. JOG speed can not be changed during operation, but it is possible to change the overall speed, Override can be set between 1-300% of the set JOG speed. KSS 2013-02-15 - - 17 (26)
6.4. Absolute positioning Absolute positioning means that servomotor runs with desired speed, acceleration time and deceleration time to a specific position. Position and velocity are written to CommandedPosition respectively CommandedSpeed matter in which position the motor is in the running motor to the position that it specified in CommandedPosition. The speed of the positioning is in CommandedSpeed acceleration and deceleration in CommandedAcc and CommandedDec. The start signal is given with a SET instruction of the variable StartAbsolutePos. When positioning initiated reset variable automatically by the function block as an acknowledgment that the positioning is ongoing. When positioning is completed - variable PosCompleted is activated for one program cycle. The ongoing positioning is stopped with STOP. Restart of the stopped positioning is done with Restart 6.5. Relative positioning Relative positioning means that the servo motor runs at the desired speed, acceleration and deceleration a specific distance. The new position = actual position + the old positioning distance. That is, the motor runs the distance set in variable CommandedPosition. If the engine must be operated in a negative direction, enter a negative distance. The speed of the positioning is in CommandedSpeed, with acceleration and deceleration in CommandedAcc and CommandedDec. The start signal is given with a SET instruction that sets the variable StartAbsolutePos. When positioning is started, reset the variable automatically by the function block as an acknowledgment that the positioning is ongoing. When positioning is completed variable PosCompleted will be activated one program cycle. The ongoing positioning is stopped with STOP. Restart of the stopped positioning is done with Restart. 6.6. Scaling the positions and velocities Scaling can be done using pulses or degrees 6.6.1. Scaling with pulses Scaling with pulses / motor to a specific number of pulses / mm is made with Pr.2 and Pr.3 that one finds in the Simple Motion Module Setting Tool. In Pr.2 No. of pulses per rotation you define the number of pulses required for a complete rotation of the motor shaft. (262144 pulses / rev) In Pr.3 Movement amount per rotation you define the movement amount per one motor rotation, to get the desired accuracy. (10000pulses) If the mechanics is moving 50 mm per engine shaft revolution and you want to make as little movement as 0.01 mm you should enter 5000 in Movement amount per rotation. This means that the position setpoints must be expressed with two decimals, i.e. a displacement of 100 pulses will move the mechanics 1.00mm. The speed you enter will be in (0.01 x mm/sec), i.e. a speed value of 1000 will move mechanics at 10 mm/sec. Maximum speed of a motor with a rated speed of 3000 rpm is then 250,000 by: KSS 2013-02-15 - - 18 (26)
SpeedSetpoint (Hz) = Movement amount per rotation * MotorSpeed (RPM) e.g. 250,000=5000*3000 60 60 6.6.2. Scaling with degrees It is preferred to scale with degrees if there is any type of circular feed table. All of the configuration of the parameters is done in the Simple Motion Module Setting Tool. In Pr.1 Unit Setting, set units to Degrees. In Pr.2 No. of pulses per rotation specify the number of pulses per encoder rotation the engine have. (262144 pulses / rev). In Pr.3 Movement amount per rotation specify how many degrees you want per engine revolution to get the desired scaling. If mechanics moves 90 degrees per engine shaft rotation (4 times ratio between the engine and mechanics) you must put value 90 in Pr.3 Movement amount per rotation in the Simple Motion Module Setting Tool. If value is to be entered in PLC function block, value have to be entered with 5 decimals e.g. 9,000,000. You can not decide how many decimal digits to be used as the module automatically starts over at zero degrees when it reaches 360 degrees. This means that the position setpoints must be expressed with five decimals, i.e. a position setpoint of 1,000,000 will be moving mechanics 10 degrees. The speeds you enter will be in x10-3 degrees/min, i.e. a value of 600,000 will move mechanics 600 degrees/min or 10 degrees/sec. Maximum speed of a motor with a rated speed of 3000 rpm then becomes 1,080,000,000x10-3, by: SpeedSetpoint (Hz) (x10-3 degrees/min) = Movement amount per rotation (x10-5 degrees) * MotorSpeed (RPM) * Gear Ratio (times) * 10-2 Gear ratio: How many revolutions the servo motor does to rotate the output shaft one. If no gearbox is used, set the value to 1. Motor Speed (RPM): Preferred maximum speed of the servo motor, for example, the rated speed of the servo motor (1500 rpm or 3000 rpm). KSS 2013-02-15 - - 19 (26)
6.7. Emergency stop At connector CN8, a safety relay or a safety PLC can be connected. The safety logic unit enables the STO function (Safe Torque Off). Once the safety logic unit triggers the STO function, the servo amplifier breaks all power to the servo motor and prevents unexpected restarts. The flow chart below-left shows how the STO function operates after an emergency stop. The picture below-right shows in function blocks the STO function. Motor runs at set point speed. Emergency button is pressed One PLC cycle is needed for the PLC to recognize the EMG buttons status a stop command is issued, and the motor is stopping with set Stop ramp time. After the set time in either safety PLC or safety Relay, the STO (Safe Torque Off) will break power rendering the motor powerless and unable to restart until STO+EMG is firstly reset If the motor has not completely stopped until the time delay triggers the STO1/STO2 the dynamic brake will brake the motor. KSS 2013-02-15 - - 20 (26)
Color coding of the cable used to connect to CN8 Pin No. Signal Lead Color Marking Color 1 Not Used Orange Gray 2 Not Used Orange Red 3 STO1- Yellow Gray 4 STO1+ Yellow Red 5 STO2- Gray Black 6 STO2+ Gray Red 7 STOF2 White Black 8 STOF1 White Red Signal Connector Definition I/O Name pin No. STO1- CN8-3 Inputs STO state 1. D1-1 STO1+ CN8-4 STO state (base shutdown): Open between STO1+ and STO1-. STO release state (in driving): Close between STO1+ and STO1-. Be sure to turn off STO1 after the servo motor stops by the servo-off state or D1-1 with forced stop deceleration by turning off the forced stop 2 (EM2) STO2- CN8-5 Inputs STO state 2. D1-1 STO2+ CN8-6 STO state (base shutdown): Open between STO2+ and STO2-. STO release state (in driving): Close between STO2+ and STO2-. Be sure to turn off STO2 after the servo motor stops by the servo-off state or D1-1 with forced stop deceleration by turning off the forced stop 2 (EM2) TOF2 CN8-7 Outputs TOF to safety PLC etc. D0-1 TOF1 CN8-8 STO state (base shutdown): Between TOF1 and TOF2 are opened. STO release state (in driving): Between TOF1 and TOF2 are closed. D0-1 6.8. Positioning types Below is a table of all available types of positioning module Code (Dec) Code (Hex) Type of positioning Number of Axis 1 1 1 axis linear control (ABS) 1 2 2 1 axis linear control (INC) 1 3 3 1 axis fixed-feed control 1 4 4 1 axis speed control (FWD) 1 5 5 1 axis speed control (RVS) 1 6 6 Speed-position switching control (FWD) 1 7 7 Speed-position switching control (RVS) 1 8 8 Position-speed switching control (FWD) 1 9 9 Position-speed switching control (RVS) 1 KSS 2013-02-15 - - 21 (26)
10 A 2 axis linear interpolation (ABS) 2 11 B 2 axis linear interpolation (INC) 2 12 C 2 axis fixed-feed control 2 13 D Circular interpolation control with sub point designation (ABS) 2 14 E Circular interpolation control with sub point designation (INC) 2 15 F Circular interpolation control with center point designation (ABS/CW) 2 16 10 Circular interpolation control with center point designation (ABS/CCW) 2 17 11 Circular interpolation control with center point designation (INC/CW) 2 18 12 Circular interpolation control with center point designation (INC/CCW) 2 19 13 2 axes speed control (FWD) 2 20 14 2 axes speed control (RVS) 2 21 15 3 axes linear interpolation (ABS) 3 22 16 3 axes linear interpolation (INC) 3 23 17 3 axes fixed-feed control 3 24 18 3 axes speed control (FWD) 3 25 19 3 axes speed control (RVS) 3 26 1A 4 axes linear interpolation (ABS) 4 27 1B 4 axes linear interpolation (INC) 4 28 1C 4 axes fixed-feed control 4 29 1D 4 axes speed control (FWD) 4 30 1E 4 axes speed control (RVS) 4 128 80 NOP instruction - 129 81 Address CHG - 130 82 Jump instruction - 131 83 Declares the beginning of the LOOP to LEND section - 132 84 Declares the end of the LOOP to LEND section - 7. Troubleshooting The following section describes the alarm codes and various faults. For a full list of alarms and warnings, please see the user manual. Error detected by the Simple Motion module include parameter setting range errors, errors at the operation start or during operation and servo amplifier errors. Error can be confirmed with the LED display of Simple Motion module or GX Works2. Refer to the Simple Motion Module Setting Tool Help of GX Works2 for details. Error Code Classification of Error Description 001 to 009 Fatal errors User s manual (Positioning Control) 100 to 199 Common errors of each Simple Motion Module 200 to 299 OPR or absolute position restoration errors 300 to 399 JOG operation or inching operations errors 500 to 599 Positioning operation errors 600 to 699 Synchronous control input axis errors User manual (Synchronous Control) Section 6.2.1 700 to 799 Synchronous control output axis errors User manual (Synchronous Control) Section 6.3.1 800 to 899 I/F (Interface) errors User s manual (Positioning Control) KSS 2013-02-15 - - 22 (26)
900 to 999 Parameter setting range errors 1201 to 1209 Encoder errors 2000 to 2999 Servo amplifier errors of each Simple Motion Module Warnings detected by the Simple Motion module include system warnings, axis warnings and servo amplifier warnings. The warning definitions can be found from the warning codes. Confirming them requires GX Works2. Refer to the Simple Motion Module Setting Tool Help of GX Works2 for details. Warning Codes Classification of Warning Description 100 to 199 Common warnings User s manual (Positioning Control) 300 to 399 JOG operations warnings of each Simple Motion Module 400 to 499 Manual pulse generator operation warnings 500 to 599 Positioning operation warning 600 to 699 Synchronous control input axis warnings User manual (Synchronous Control) Section 6.2.2 700 to 799 Synchronous control output axis warnings User manual (Synchronous Control) Section 6.3.2 800 to 899 Cam operation warnings User manual (Synchronous Control) Section 6.4 900 to 999 System control data setting range check warnings 2000 to 2999 Servo amplifier warnings (The contents of a vary in the model of servo amplifier) User s manual (Positioning Control) of each Simple Motion Module The servo amplifier display shows the warning codes. The warnings do not mean that the servo motor will stop, but they give an indication of an error that must be corrected. Warning codes disappears automatically when the fault is corrected. KSS 2013-02-15 - - 23 (26)
7.1. Error and warning code for the MR-J3-BS Servo Amplifier When an error occurs during operation, the corresponding alarm or warning is displayed. If any alarm or warning has occurred, refer to the MR-J3-BS manual and take the appropriate action. KSS 2013-02-15 - - 24 (26)
When active alarm the servomotor is stopped. The error code generated by the alarm can be read with the function block QD77MS16_Control. Also the display on the servo amplifier displays an error code. Some alarms can be reset with the digital variable alarm while others require that the power supply is turned OFF / ON. 7.2. Error and warning code for the QD77MS-Module Below is a list of common errors in the QD77MS module. Classification of errors Error code Name of Error Common errors 101 PLC READY OFF during operation 102 Servo READY signal OFF during operation 104 Hardware stroke limit (+) 105 Hardware stroke limit (-) 106 Stop signal ON at start 108 Start not possible JOG operation or inching 300 Outside JOG speed range operation errors Positioning operations errors 507 Software stroke limit (+) 508 Software stroke limit (+) 537 PLC READY OFF start 538 READY OFF start Parameter setting range errors 911 Outside acceleration time 0 range 912 Outside deceleration time 0 range Encoder errors 1201 OPR data incorrect 7.3. Other failures Motor actual position is zero or changes after power failure For motor encoders to act as an absolute encoder, parameter PA03 must be set to 0001 in the MR Configurator2 and battery MR-J3BAT be connected in the servo amplifier, at connector CN4. The first time you turn on the power after changing to absolute encoder in Simple Motion Module Setting Tool, error code 25 will be active. Let the servo amplifier to be powered up for a minute and let it fully charge the capacitors. Then turn power OFF/ON to get rid of the error code. ServoReady signal from the servo amplifier not enabled: Is the digital input on the EMG servo amplifier connected to +24 VDC or signal disabled in the Simple Motion Module Setting Tool? Is there an alarm or warning to the servo amplifier display or in the function block QD77MS16_Control? Is the power and control power to the servo amplifier and PLC switched ON? Is the digital ServoON signal from PLC activated? Is the PLC program compiled and downloaded to the PLC system and is the PLC system in RUN position? Is the hardware connected as drawing sections 3.4 and 3.5? KSS 2013-02-15 - - 25 (26)
Run command is not executed: Is the ServoReady signal obtained from the servo amplifier? Is there an alarm or warning in the function block QD77MS16_Control? Is limit switch (LSP and LSN) connected and provides 24 VDC or disabled in the Simple Motion Module Setting Tool. Is limit switches (LSP and LSN) of the function block QD77MS16_Control activated? Is the software limit switches (SoftLSP and SoftLSN) enabled? Is the actual position counted up in the PLC program without the engine moving? When absolute positioning to the position you are already in, no movement will be executed, nor will a relative positioning with zero distance. Alarms on the servo amplifier will not disappear The fault is of a type that requires the control voltage to the servo amplifier is turned OFF. A non-disappearing alarm after the supply voltage is turned OFF/ON check the meaning of the error code in the Melservo-J3 user manual. Changes in parameter values do not provide the expected functionality For certain parameter changes that will alter the operation it is required that the supply voltage is turned OFF/ON. None of the above tips will help Turn off all power to the servo amplifier and restart the PLC system. Try again. Call the Beijer Electronics Support for further assistance. KSS 2013-02-15 - - 26 (26)