M1. Multi-Axis Servo System Using AC Servo Motors
M1. Multi-Axis Servo System Using AC Servo Motors
1.1. Contents
1
01
07
02
03
06
04 05
01: Main CB
06: Relays
Introduction
2
Technical specifications*:
[1] Direct mounting hole: 2 holes of Ø4.5 (0.18") (mounting screw: M4 screw)
[8] DIN rail mounting groove [DIN rail: DIN46277 35 mm (1.38”) wide]
4
Y-START ON Start input ON
Y-INT0
The PLC can access the buffer memory directly, using sequence programs. The 20SSC-
H uses positioning parameters and data in this area to execute the positioning control. The
data types and their applications are described briefly in the following table. For the detail
specifications, please look up the 20SSC-H manual.
5
1.2.3. MelServo MR-J3-□B
Introduction
The Mitsubishi MELSERVO-J3 series, the general-purpose AC servo, has further higher
performance and higher functions compared to the current MELSERVO-J2-Super series.
The torque limit with clamping circuit is put on the servo amplifier in order to protect the
power transistor of main circuit from the over current caused by rapid
acceleration/deceleation or overload. In addition, torque limit value can be changed to
desired value in the controller.
The MELSERVO MR-J3 has a USB communication function, which uses an installed
PC to perform parameter setting, monitoring, status monitoring, gain control, and AC servo
via MR Configurator software.
6
MELSERVO-J3-□B has absolute position coding with 262144 pulse / loop resolution to
ensure more accurate control over the MELSERVO-J2-Super.
Structure
7
Fig. 1.8: Structure of Melservo MR-J3-20B
01: The 3-digit display, showing the servo status and alarm numbers.
8
Used to connect the servo system controller or the front axis servo amplifier.
Used to connect the rear axis servo amplifier. For the final axis, putting a cap.
10: Charge lamp; lit to indicate that the main circuit is charged. While this lamp is lit,
do not reconnect the cables.
Use the rotary axis setting switch (SW1) to set the control axis number for the servo. If
the same numbers are set to different control axes in a single communication system, the
system will not operater properly. The control axes may be set independently of the
SSCNET cable connection sequence.
Rotary axis setting switch (SW1) SW2 SW2-2: Spare (be sure to
set to the "Down" pos.)
0 Axis No.1 01
4 Axis No.5 05
10
5 Axis No.6 06
6 Axis No.7 07
7 Axis No.8 08
8 Axis No.9 09
9 Axis No.10 10
A Axis No.11 11
B Axis No.12 12
C Axis No.13 13
D Axis No.14 14
E Axis No.15 15
F Axis No.16 16
Example:
Hardware
Model Axis Control
SW1 Axis select
MR-J3-☐BS,
Y-axis 1 Axis No.2
MR-J4-☐B
11
Fig. 1.10: Adjust the number of axis on the model
Note: When running JOG on the MR-Configrutor software, set SW1 to 0, SW2-1 to ON.
Ready ON/Servo ON
Flicker display at occurrence of overload
On the display of a servo amplifier MR-J3-□B, let’s check the communication status with
a controller when the power is ON; check the no. of axis, and diagnose errors when having
alarms.
12
1.2.4. SSCNET III cable
SSCNET III cable uses optical communication, two-way communication with high
transfer rate. This is a specialized cable that can be connected and disconnected easily,
because using optical communication method should be capable of high interference.
With a transfer rate of up to 150 Mbps, the SSCNET III cable can handle up to three
times faster than traditional transmission methods.
✓ Do not let the SSCNET III cable near the main cable, power lines, and installation
standards 100mm (3.94") away from the large power lines, which can cause
excitation or interference wave.
✓ When removing the SSCNET III cable from the FX3U-20SSC-H port, be sure to
attach the protection caps to the cable connectors.
✓ Do not remove the SSCNET III cable from its port while not disconnecting the
FX3U-20SSC-H or Melservo MR-J3-20B power supply. Do not look directly at
the optical fiber head or SSCNET III port, as doing so can cause eye damage.
✓ When handling the SSCNET III cable, do not let them be bumped, side pressure,
excessive tension. Do not allow oils, solvents near the SSCNET III connector.
✓ Do not remove the protection cap from the FX3U-20SSC-H connector until the
SSCNET III cable is connected. To avoid the dust coming in, this affects the speed
of the cable.
13
1.3. Operation of the model
14
✓ Using FX Configurator-FP to modify the buffer memory data including positioning
parameters, servo parameters and table information, then activate a save command
from the buffer memory to the flash memory.
✓ The user table data are declared on the FX-Configurator FP software and loaded
onto the Mitsubishi FX3U-20SSC-H.
✓ The software is switches to "Test Mode” which has control modes (positioning at 1-
step speed, linear interpolation, X-axis table operation, XY-axis table operation,...)
✓ Select target address 1, operation step 1, click start -> the model will move to the
address you selected via USB to RS422 adapter.
✓ SSCNETIII cables are adopted for data communication with dedicated Melservo
(MR-J3-xB)
Note: This model uses screw-pitch with 5mm screws that means every rotation of
the AC servo will make a displacement of 5mm, and with the dedicated module of
FX3U-20SSC-H, 262144 PLS will make the motor turn a round.
15
1.3.4 PLC FX3U-32M
1.4. Experiment
Confirm that the hardware is set up correctly and the PLC is in STOP mode. Turn
the power ON. (Both of the servos should display ‘Ab’ when the power is turned
ON for the very first time.)
on in the Toolbar.
3) Expend the tree of folders in the [File data list] panel on the left-hand side by double
clicking on [Unset file], [Edit], and [Monitor].
16
4) Verify communication
Go to [Online] → [Connection setup] → [Comm. Test]. Verify that the devices are
communicating properly.
Double click on [Positioning parameters] in the [File data list] panel on the left-hand
side to modify the positioning parameters.
Assuming a forced stop switch is not used with the MR-J3-B servos, double click
on [Servo parameters] in the [File data list] panel on the left-hand side to modify the
servo parameters.
Set the following items from the [Kind] column for both the X- and Y- axes:
18
Fig. 1.17: Servo parameters
Reboot the power to the system to enable communication to the MR-J3 servos. This
can be done with a hard boot, or by pressing the ‘System reset’ button. Once
communication is established, the servos will read ‘d01’ and ‘d02’. If
communication is not established, check the servo hardware and servo parameters
again.
Verify that the PLC is in STOP mode before proceeding with this section.
To enter TEST MODE, press the ‘Test On/Off’ button in the Test toolbar or go to
[Online] →[Test] → [Test On/Off]. Select ‘Yes’ and then ‘OK’.
Open up the X- and Y- axis Operation test windows by clicking on the two buttons:
and .
19
➢ Step 3: JOG operation, X-axis
In the [X-axis Operation test] window, click on the [JOG/MPG] tab. Click and hold down
the FWD JOG button. Try changing the JOG speed and JOG instruction evaluation time.
(For more information on the JOG instruction evaluation time, refer to Chapter
8.2.1 in the FX3U-20SSC-H User’s Manual (JY997D21301E))
If positioning does not begin, verify that Positioning and Servo parameters are set for
the X- and Y- axes as described in (6) and (7) of Step 1.
When the zero-point is set, the current address data gets set to the zero-point value. This
is accomplished by directly changing the current address to 0 (or some other address), or by
activating the zero return command in the data-set type OPR mode.
Click on the X-axis and Y-axis [OPR] tabs and then click the [REQ. OPR] button and
select ‘Yes’ anh ‘OK’.
✓ Click on the [Start] button and observe the motor. Click ‘Yes’ and ‘OK’.
✓ If positioning does not begin, verify that Positioning and Servo parameters are
set for the X and Y axes as described in (6) and (7) of Step 1.
21
Operation speed 2: 1,000,000 Hz
✓ Click on the [Start] button and observe the motor. Click ‘Yes’ and ‘OK’.
3,000 (x0.1%)
500 (x0.1%)
10 (x0.1%)
Note: the speed changes that occur with each setting. Finally, click the [Stop]
button, ‘Yes,’ and ‘OK’.
Linear interpolation
✓ Return the X- and Y- addresses to ‘0’ by setting the zero-point according to Step
4: Setting the Zero Point.
✓ Select [Linear interpolation] in the X-axis Pattern drop-down menu of the
[Position start] tab. Set the following X-axis information:
22
X-axis
Y-axis
✓ Click on the [Start] button and observe the motors. Click ‘Yes’ and ‘OK’.
✓ If positioning does not begin, verify that Positioning and Servo parameters are
set for the X and Y axes as described in (6) and (7) of Step 1.
XY-axis table operation
✓ To operate the XY axis table, enter the data in the "XY- axis Table information"
on the FX-Configrutor FP software. And write to the PLC. You can refer to the
example table below
Incremental address
0 -1
specification
Y-axis positioning at
2 -1
1-step speed 2,000,000 1,000,000
23
at 1-step speed -5,000,000 1,000,000
5 Dwell 30 -1
8 Dwell 30 -1
11 Dwell 30 -1
24
interpolation
0 500,000
(CNT,CCW)
13 Dwell 30 -1
16 Dwell 30 -1
2,000,000 262,144
17 Linear interpolation -1
-2,000,000
18 Dwell 150 -1
20 End
With PLS addresses, the numbers can be very large. To reduce the number size, the
25
Position data magnification item can be changed to “3:x1000 times” in the [Positioning
parameters]. If this is changed with data already entered in a table information
window, the fields with addresses that lay outside the range –2,147,483,648 to
2,147,483,647 will be highlighted in RED, indicating they must be changed.
After entering the above table, click on the button or use [Online] →[Write
to module (Ctrl+T)]. Remove checkmarks from [Positioning parameters] and [Servo
parameters] and put a checkmark in [Table information]. Unselect the [X-axis] and [Y-
axis], put a checkmark in [XY- axis], and modify the table number range (table rows)
to 0 – 25. This will decrease the download time to the FX3U-20SSC-H. Unselect the
[Flash ROM write] checkbox, click ‘OK’ and then ‘OK’ again.
Select [XY-axis table operation] in the X-axis Pattern drop-down menu of the
[Position start] tab. Set the [Table operation start No.] as desired (0 in this example)
and begin positioning by pressing the [Start] button, ‘Yes,’ and ‘OK’.
If positioning does not begin, verify that Positioning and Servo parameters are set
for the X and Y axes as described in (6) and (7) of Step 1.
- To use operation monitor during positioning, first enable the XY-operation Table
pattern in TEST MODE and begin its operation by following Section XY-axis table
operation above. Do not stop the operation. Instead, click on the Close button to
exit the X-axis Operation test window.
26
Press the ‘Test On/Off’ button in the Test toolbar and click ‘Yes’ to turn TEST
MODE off. Double-click on [Operation monitor] in the [File data list] panel on the left-
hand side. Click on the [Monitor Start] button and experiment with the [X-axis Operation
status] and [Y-axis Operation status] buttons to monitor axis control data such as target
addresses and operation speeds and servo status. By clicking on the [Signal] button, the
FX3U-20SSC-H monitor data can be displayed for useful feedback. The Operation Monitor
is also helpful for determining positioning errors.
27
Fig. 1.24: Choose PLC series (FX3U)
✓ Select “FXCPU” in the item “PLC series”. Then select “FX3U(C)” in the item
“PLC Type”
✓ Check ‘Ladder’, choose setup project name then enter the project name, after that
choose address of the folder you want to save this project. Then press Creat new
28
control signal from encoder returned makes the AC servo rotate → The machine
moves to the installed position on the FX-Configrutor-FP configuration.
X000 Start NO
X001 Stop NC
M9 Table operation
29
M24 Position, parameter anable Enable the X-
command axis JOG speed
30
PLC program
31
32
33
Note that the M8000 is always ON when the PLC is running
34
Fig. 1.27: Write a program to PLC
35
An example of the interpolation results
Enter the position and frequency values of some points, measure the distance traveled on
the model's table and fill in the following table:
1 200,000PLS; 1000000Hz
2 500,000PLS; 1000000Hz
3 600,000PLS; 1000000Hz
4 700,000PLS; 1000000Hz
5 900,000PLS; 1000000Hz
6 1,000,000PLS; 1000000Hz
36
7 1,200,000PLS; 1000000Hz
8 1,500,000PLS; 1000000Hz
9 2,000,000PLS; 1000000Hz
10 2,500,000PLS; 1000000Hz
Plot and comment on the results from the data obtained in exe. 1
Displacement (mm)
PLS
(With 262144 PLS will make AC servo turn 1 round. All vitmes have a screw pitch of
0.5mm)
Students have to draw some following figures by two methods (manual control on FX-
Configrutor-FP software and programming on GX-Developer/Work2).
The obtained results (figures, data tables, PLC code) have to be included in the report.
37
a.
b.
c.
38
d.
39
e.
f.
40
APPENDIX.
41
1.1 I/O relays [X, Y]
*2. This area is not latched (battery backed). It can be changed to a latched (battery backed)
area by setting the parameters.
42
*3. This area is latched (battery backed). It can be changed to a non-latched (non-battery-
backed) area by setting the parameters.
*4. The characteristics of latch (battery backup) cannot be changed in the parameters.
*4. In FX3U/FX3UC PLCs, retentive type timers are backed up by the battery.
Example:
43
*1. Data registers D1000 and later can be used as file registers in units of 500 points by
setting parameters.
*3. This area is not latched (battery backed). It can be changed to the latched (battery backed)
area by setting parameters.
*4. This area is latched (battery backed). It can be changed to the non-latched (non-battery-
backed) area by setting parameters.
*5. The latch (battery backup) characteristics cannot be changed using parameters.
44
Example:
45
2. Numeric Values Handled in PLC
2.1 Types of numeric values
46
2.3 Specification of Digits for Bit devices (Kn[]***)
The number of digits Kn indicates 4-bit units (digits), for example: K1 to K4 are used
for 16-bit data, K1 to K8 are used for 32-bit data
47
The specification range is as follows:
References
48