When using this equipment, thoroughly read this manual and the associated manuals introduced in this
manual. Also pay careful attention to safety and handle the module properly.
These precautions apply only to this equipment. Refer to the Q173HCPU/Q172HCPU Users manual for a
description of the Motion controller safety precautions.
These SAFETY PRECAUTIONS classify the safety precautions into two categories: "DANGER" and
"CAUTION".
DANGER
!
CAUTION
!
Depending on circumstances, procedures indicated by ! CAUTION may also be linked to serious
results.
In any case, it is important to follow the directions for usage.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always
forward it to the end user.
Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions,
resulting in medium or slight personal injury or physical damage.
A - 1
For Safe Operations
1. Prevention of electric shocks
!
DANGER
Never open the front case or terminal covers while the power is ON or the unit is running, as this
may lead to electric shocks.
Never run the unit with the front case or terminal cover removed. The high voltage terminal and
charged sections will be exposed and may lead to electric shocks.
Never open the front case or terminal cover at times other than wiring work or periodic
inspections even if the power is OFF. The insides of the Motion controller and servo amplifier are
charged and may lead to electric shocks.
When performing wiring work or inspections, turn the power OFF, wait at least ten minutes, and
then check the voltage with a tester, etc.. Failing to do so may lead to electric shocks.
Be sure to ground the Motion controller, servo amplifier and servomotor. (Ground resistance :
or less) Do not ground commonly with other devices.
100
The wiring work and inspections must be done by a qualified technician.
Wire the units after installing the Motion controller, servo amplifier and servomotor. Failing to do
so may lead to electric shocks or damage.
Never operate the switches with wet hands, as this may lead to electric shocks.
Do not damage, apply excessive stress, place heavy things on or sandwich the cables, as this
may lead to electric shocks.
Do not touch the Motion controller, servo amplifier or servomotor terminal blocks while the power
is ON, as this may lead to electric shocks.
Do not touch the built-in power supply, built-in grounding or signal wires of the Motion controller
and servo amplifier, as this may lead to electric shocks.
2. For fire prevention
!
CAUTION
Install the Motion controller, servo amplifier, servomotor and regenerative resistor on inflammable
material. Direct installation on flammable material or near flammable material may lead to fire.
If a fault occurs in the Motion controller or servo amplifier, shut the power OFF at the servo
amplifier’s power source. If a large current continues to flow, fire may occur.
When using a regenerative resistor, shut the power OFF with an error signal. The regenerative
resistor may abnormally overheat due to a fault in the regenerative transistor, etc., and may lead
to fire.
Always take heat measures such as flame proofing for the inside of the control panel where the
servo amplifier or regenerative resistor is installed and for the wires used. Failing to do so may
lead to fire.
A - 2
3. For injury prevention
!
CAUTION
Do not apply a voltage other than that specified in the instruction manual on any terminal.
Doing so may lead to destruction or damage.
Do not mistake the terminal connections, as this may lead to destruction or damage.
Do not mistake the polarity ( + / - ), as this may lead to destruction or damage.
Do not touch the servo amplifier's heat radiating fins, regenerative resistor and servomotor, etc.,
while the power is ON and for a short time after the power is turned OFF. In this timing, these
parts become very hot and may lead to burns.
Always turn the power OFF before touching the servomotor shaft or coupled machines, as these
parts may lead to injuries.
Do not go near the machine during test operations or during operations such as teaching.
Doing so may lead to injuries.
4. Various precautions
Strictly observe the following precautions.
Mistaken handling of the unit may lead to faults, injuries or electric shocks.
(1) System structure
!
CAUTION
Always install a leakage breaker on the Motion controller and servo amplifier power source.
If installation of an electromagnetic contactor for power shut off during an error, etc., is specified in
the instruction manual for the servo amplifier, etc., always install the electromagnetic contactor.
Install the emergency stop circuit externally so that the operation can be stopped immediately and
the power shut off.
Use the Motion controller, servo amplifier, servomotor and regenerative resistor with the combi-
nations listed in the instruction manual. Other combinations may lead to fire or faults.
If safety standards (ex., robot safety rules, etc.,) apply to the system using the Motion controller,
servo amplifier and servomotor, make sure that the safety standards are satisfied.
Construct a safety circuit externally of the Motion controller or servo amplifier if the abnormal
operation of the Motion controller or servo amplifier differ from the safety directive operation in the
system.
In systems where coasting of the servomotor will be a problem during the forced stop, emergency
stop, servo OFF or power supply OFF, use dynamic brakes.
Make sure that the system considers the coasting amount even when using dynamic brakes.
In systems where perpendicular shaft dropping may be a problem during the forced stop,
emergency stop, servo OFF or power supply OFF, use both dynamic brakes and electromagnetic
brakes.
The dynamic brakes must be used only on errors that cause the forced stop, emergency stop, or
servo OFF. These brakes must not be used for normal braking.
A - 3
!
CAUTION
The brakes (electromagnetic brakes) assembled into the servomotor are for holding applications,
and must not be used for normal braking.
The system must have a mechanical allowance so that the machine itself can stop even if the
stroke limits switch is passed through at the max. speed.
Use wires and cables that have a wire diameter, heat resistance and bending resistance
compatible with the system.
Use wires and cables within the length of the range described in the instruction manual.
The ratings and characteristics of the parts (other than Motion controller, servo amplifier and
servomotor) used in a system must be compatible with the Motion controller, servo amplifier and
servomotor.
Install a cover on the shaft so that the rotary parts of the servomotor are not touched during
operation.
There may be some cases where holding by the electromagnetic brakes is not possible due to the
life or mechanical structure (when the ball screw and servomotor are connected with a timing belt,
etc.). Install a stopping device to ensure safety on the machine side.
(2) Parameter settings and programming
!
CAUTION
Set the parameter values to those that are compatible with the Motion controller, servo amplifier,
servomotor and regenerative resistor model and the system application. The protective functions
may not function if the settings are incorrect.
The regenerative resistor model and capacity parameters must be set to values that conform to
the operation mode, servo amplifier and servo power supply module. The protective functions
may not function if the settings are incorrect.
Set the mechanical brake output and dynamic brake output validity parameters to values that are
compatible with the system application. The protective functions may not function if the settings
are incorrect.
Set the stroke limit input validity parameter to a value that is compatible with the system
application. The protective functions may not function if the setting is incorrect.
Set the servomotor encoder type (increment, absolute position type, etc.) parameter to a value
that is compatible with the system application. The protective functions may not function if the
setting is incorrect.
Set the servomotor capacity and type (standard, low-inertia, flat, etc.) parameter to values that
are compatible with the system application. The protective functions may not function if the
settings are incorrect.
Set the servo amplifier capacity and type parameters to values that are compatible with the
system application. The protective functions may not function if the settings are incorrect.
Use the program commands for the program with the conditions specified in the instruction
manual.
A - 4
!
CAUTION
Set the sequence function program capacity setting, device capacity, latch validity range, I/O
assignment setting, and validity of continuous operation during error detection to values that are
compatible with the system application. The protective functions may not function if the settings
are incorrect.
Some devices used in the program have fixed applications, so use these with the conditions
specified in the instruction manual.
The input devices and data registers assigned to the link will hold the data previous to when
communication is terminated by an error, etc. Thus, an error correspondence interlock program
specified in the instruction manual must be used.
Use the interlock program specified in the special function module's instruction manual for the
program corresponding to the special function module.
(3) Transportation and installation
!
CAUTION
Transport the product with the correct method according to the mass.
Use the servomotor suspension bolts only for the transportation of the servomotor. Do not
transport the servomotor with machine installed on it.
Do not stack products past the limit.
When transporting the Motion controller or servo amplifier, never hold the connected wires or
cables.
When transporting the servomotor, never hold the cables, shaft or detector.
When transporting the Motion controller or servo amplifier, never hold the front case as it may fall
off.
When transporting, installing or removing the Motion controller or servo amplifier, never hold the
edges.
Install the unit according to the instruction manual in a place where the mass can be withstood.
Do not get on or place heavy objects on the product.
Always observe the installation direction.
Keep the designated clearance between the Motion controller or servo amplifier and control panel
inner surface or the Motion controller and servo amplifier, Motion controller or servo amplifier and
other devices.
Do not install or operate Motion controller, servo amplifiers or servomotors that are damaged or
that have missing parts.
Do not block the intake/outtake ports of the servomotor with cooling fan.
Do not allow conductive matter such as screw or cutting chips or combustible matter such as oil
enter the Motion controller, servo amplifier or servomotor.
The Motion controller, servo amplifier and servomotor are precision machines, so do not drop or
apply strong impacts on them.
A - 5
!
CAUTION
Securely fix the Motion controller and servo amplifier to the machine according to the instruction
manual. If the fixing is insufficient, these may come off during operation.
Always install the servomotor with reduction gears in the designated direction. Failing to do so
may lead to oil leaks.
Store and use the unit in the following environmental conditions.
Environment
Ambient
temperature
Ambient humidity
Storage
temperature
Atmosphere
Altitude
Vibration
Motion controller/Servo amplifier Servomotor
According to each instruction manual.
According to each instruction manual.
According to each instruction manual.
Indoors (where not subject to direct sunlight).
No corrosive gases, flammable gases, oil mist or dust must exist
1000m (3280.84ft.) or less above sea level
According to each instruction manual
Conditions
0°C to +40°C (With no freezing)
(32°F to +104°F)
80% RH or less
(With no dew condensation)
-20°C to +65°C
(-4°F to +149°F)
When coupling with the synchronization encoder or servomotor shaft end, do not apply impact
such as by hitting with a hammer. Doing so may lead to detector damage.
Do not apply a load larger than the tolerable load onto the servomotor shaft. Doing so may lead
to shaft breakage.
When not using the module for a long time, disconnect the power line from the Motion controller
or servo amplifier.
Place the Motion controller and servo amplifier in static electricity preventing vinyl bags and store.
When storing for a long time, please contact with our sales representative.
A - 6
(4) Wiring
!
CAUTION
Correctly and securely wire the wires. Reconfirm the connections for mistakes and the terminal
screws for tightness after wiring. Failing to do so may lead to run away of the
servomotor.
After wiring, install the protective covers such as the terminal covers to the original positions.
Do not install a phase advancing capacitor, surge absorber or radio noise filter (option FR-BIF)
on the output side of the servo amplifier.
Correctly connect the output side (terminals U, V, W). Incorrect connections will lead the
servomotor to operate abnormally.
Do not connect a commercial power supply to the servomotor, as this may lead to trouble.
Do not mistake the direction of the surge absorbing diode
installed on the DC relay for the control signal output of brake
signals, etc. Incorrect installation may lead to signals not being
output when trouble occurs or the protective functions not
functioning.
Do not connect or disconnect the connection cables between
each unit, the encoder cable or PLC expansion cable while the
power is ON.
Securely tighten the cable connector fixing screws and fixing mechanisms. Insufficient fixing may
lead to the cables combing off during operation.
Do not bundle the power line or cables.
Servo amplifier
VIN
(24VDC)
Control output
signal
RA
(5) Trial operation and adjustment
!
CAUTION
Confirm and adjust the program and each parameter before operation. Unpredictable
movements may occur depending on the machine.
Extreme adjustments and changes may lead to unstable operation, so never make them.
When using the absolute position system function, on starting up, and when the Motion
controller or absolute value motor has been replaced, always perform a home position return.
A - 7
(6) Usage methods
!
CAUTION
Immediately turn OFF the power if smoke, abnormal sounds or odors are emitted from the Motion
controller, servo amplifier or servomotor.
Always execute a test operation before starting actual operations after the program or
parameters have been changed or after maintenance and inspection.
The units must be disassembled and repaired by a qualified technician.
Do not make any modifications to the unit.
Keep the effect or electromagnetic obstacles to a minimum by installing a noise filter or by using
wire shields, etc. Electromagnetic obstacles may affect the electronic devices used near the
Motion controller or servo amplifier.
When using the CE Mark-compliant equipment, refer to the "EMC Installation Guidelines" (data
number IB(NA)-67339) for the Motion controllers and refer to the corresponding EMC guideline
information for the servo amplifiers, inverters and other equipment.
Use the units with the following conditions.
Item
Input power
Input frequency 50/60Hz ±5%
Tolerable
momentary
power failure
Q61P-A1 Q61P-A2 Q61P Q62P Q63P Q64P
100 to 120VAC
(85 to 132VAC) (170 to 264VAC) (85 to 264VAC) (15.6 to 31.2VDC)
+10% +10%+10%+30% +10%
200 to 240VAC
-15%
200 to 240VAC
-15%
Conditions
100 to 240VAC
20ms or less
-15%
24VDC
-35%
100 to 120VAC
(7) Corrective actions for errors
!
CAUTION
If an error occurs in the self diagnosis of the Motion controller or servo amplifier, confirm the
check details according to the instruction manual, and restore the operation.
If a dangerous state is predicted in case of a power failure or product failure, use a servomotor
with electromagnetic brakes or install a brake mechanism externally.
Use a double circuit construction so that the electromagnetic brake operation circuit can be
operated by emergency stop signals set externally.
Shut off with servo ON signal OFF,
alarm, magnetic brake signal.
Servomotor
RA1
Shut off with the
emergency stop
signal(EMG).
EMG
-15%
+10%
-15%
(85 to 132VAC/
170 to 264VAC)
/
Electromagnetic
brakes
24VDC
A - 8
!
CAUTION
If an error occurs, remove the cause, secure the safety and then resume operation after alarm
release.
The unit may suddenly resume operation after a power failure is restored, so do not go near the
machine. (Design the machine so that personal safety can be ensured even if the machine
restarts suddenly.)
(8) Maintenance, inspection and part replacement
!
CAUTION
Perform the daily and periodic inspections according to the instruction manual.
Perform maintenance and inspection after backing up the program and parameters for the Motion
controller and servo amplifier.
Do not place fingers or hands in the clearance when opening or closing any opening.
Periodically replace consumable parts such as batteries according to the instruction manual.
Do not touch the lead sections such as ICs or the connector contacts.
Do not place the Motion controller or servo amplifier on metal that may cause a power leakage or
wood, plastic or vinyl that may cause static electricity buildup.
Do not perform a megger test (insulation resistance measurement) during inspection.
When replacing the Motion controller or servo amplifier, always set the new module settings
correctly.
When the Motion controller or absolute value motor has been replaced, carry out a home position
return operation using one of the following methods, otherwise position displacement could occur.
1) After writing the servo data to the Motion controller using programming software, switch on the
power again, then perform a home position return operation.
2) Using the backup function of the programming software, load the data backed up before
replacement.
After maintenance and inspections are completed, confirm that the position detection of the
absolute position detector function is correct.
Do not short circuit, charge, overheat, incinerate or disassemble the batteries.
The electrolytic capacitor will generate gas during a fault, so do not place your face near the
Motion controller or servo amplifier.
The electrolytic capacitor and fan will deteriorate. Periodically replace these to prevent secondary
damage from faults. Replacements can be made by our sales representative.
A - 9
(9) About processing of waste
When you discard Motion controller, servo amplifier, a battery (primary battery) and other option articles,
please follow the law of each country (area).
!
CAUTION
This product is not designed or manufactured to be used in equipment or systems in situations
that can affect or endanger human life.
When considering this product for operation in special applications such as machinery or systems
used in passenger transportation, medical, aerospace, atomic power, electric power, or
submarine repeating applications, please contact your nearest Mitsubishi sales representative.
Although this product was manufactured under conditions of strict quality control, you are strongly
advised to install safety devices to forestall serious accidents when it is used in facilities where a
breakdown in the product is likely to cause a serious accident.
(10) General cautions
!
CAUTION
All drawings provided in the instruction manual show the state with the covers and safety
partitions removed to explain detailed sections. When operating the product, always return the
covers and partitions to the designated positions, and operate according to the instruction manual.
A - 10
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Jun., 2005 IB(NA)-0300111-A First edition
May., 2006 IB(NA)-0300111-B [Additional model]
Software for SV43
[Additional correction/partial correction]
About Manuals
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
About Manuals ...............................................................................................................................................A-15
1.2 Features ................................................................................................................................................... 1- 3
1.2.1 Features of Motion CPU ................................................................................................................... 1- 3
1.2.2 Basic specifications of Q173HCPU/Q172HCPU ............................................................................. 1- 5
1.3.5 Restrictions on motion systems ........................................................................................................ 1-19
2. MULTIPLE CPU SYSTEM 2- 1 to 2-50
2.1 Multiple CPU System ...............................................................................................................................2- 1
2.4.2 Release of self-diagnosis error ......................................................................................................... 2-50
3. COMMON PARAMETERS 3- 1 to 3-40
3.1 System Settings .......................................................................................................................................3- 1
3.1.1 System data settings ......................................................................................................................... 3- 2
A - 12
3.1.2 Common system parameters ........................................................................................................... 3- 3
3.3.3 Absolute position detection system .................................................................................................. 3-31
3.3.4 Function selection A-1....................................................................................................................... 3-31
3.3.5 Auto tuning mode .............................................................................................................................. 3-31
3.3.6 Auto tuning response ........................................................................................................................3-32
3.3.19 Function selection C-1 .................................................................................................................... 3-36
3.3.20 Function selection C-2 .................................................................................................................... 3-37
3.3.21 Analog monitor 1 output.................................................................................................................. 3-37
3.3.22 Analog monitor 2 output.................................................................................................................. 3-38
3.3.23 Function Selection C-4.................................................................................................................... 3-38
3.3.24 Alarm history clear........................................................................................................................... 3-38
3.3.25 Output signal device selection 1 .....................................................................................................3-39
3.3.26 Output signal device selection 2 .....................................................................................................3-39
3.3.27 Output signal device selection 3 .....................................................................................................3-39
3.3.28 Function selection D-3 .................................................................................................................... 3-40
4. AUXILIARY AND APPLIED FUNCTIONS 4- 1 to 4-47
4.1 Limit Switch Output Function ................................................................................................................... 4- 1
4.1.2 Limit output setting data .................................................................................................................... 4- 4
4.2 Absolute Position System ........................................................................................................................4- 8
4.2.1 Current value control ......................................................................................................................... 4-10
4.3 High-Speed Reading of Specified Data .................................................................................................. 4-11
4.4 ROM Operation Function ......................................................................................................................... 4-12
4.4.1 About the ROM operation function ...................................................................................................4-12
4.4.2 Specifications of LED • switch ..........................................................................................................4-15
4.4.3 ROM operation function details ........................................................................................................ 4-17
4.4.4 Operating procedure of "ROM writing" .............................................................................................4-23
A - 13
4.5 Security Function ..................................................................................................................................... 4-25
4.5.4 Password save .................................................................................................................................. 4-29
4.6 Clear All ....................................................................................................................................................4-30
4.7 Communication via Network .................................................................................................................... 4-31
4.7.1 Specifications of the communications via network........................................................................... 4-32
4.7.2 Access range of the communications via network ...........................................................................4-33
4.8 Monitor Function of the Main Cycle ......................................................................................................... 4-39
4.9 Servo Parameter Reading Function ........................................................................................................ 4-40
4.10 Optional Data Monitor Function............................................................................................................. 4-41
This manual explains how to use the sequence instructions, basic instructions, application instructions and
micro computer program.
(Optional)
QCPU (Q Mode)/QnACPU Programming Manual (PID Control Instructions)
This manual explains the dedicated instructions used to exercise PID control.
(Optional)
QCPU (Q Mode)/QnACPU Programming Manual (SFC)
This manual explains the system configuration, performance specifications, functions, programming,
debugging, error codes and others of MELSAP3.
(Optional)
I/O Module Type Building Block User's Manual
This manual explains the specifications of the I/O modules, connector, connector/terminal block
conversion modules and others.
(Optional)
Manual Name
(3) Servo amplifier
MR-J3- B Servo amplifier Instruction Manual
This manual explains the I/O signals, parts names, parameters, start-up procedure and others for
MR-J3-
(Optional)
Fully Closed Loop Control MR-J3- B-RJ006 Servo amplifier Instruction Manual
This manual explains the I/O signals, parts names, parameters, start-up procedure and others for Fully
Closed Loop Control MR-J3-
(Optional)
B Servo amplifier.
Manual Name
B-RJ006 Servo amplifier.
Manual Number
(Model Code)
SH-080483ENG
(13JR73)
SH-080484ENG
(13JR74)
SH-080485ENG
(13JR75)
SH-080039
(13JF58)
SH-080040
(13JF59)
SH-080041
(13JF60)
SH-080042
(13JL99)
Manual Number
(Model Code)
SH-030051
(1CW202)
SH-030056
(1CW304)
A - 16
1 OVERVIEW
1. OVERVIEW
1.1 Overview
This programming manual describes the common items of each operating system
software, such as the Multiple CPU system of the operating system software packages
"SW5RN-SV
Generic term/Abbreviation Description
Q173HCPU/Q172HCPU or
Motion CPU (module)
Q172LX/Q172EX/Q173PX or
Motion module
MR-J3- B Servo amplifier model MR-J3- B
AMP or Servo amplifier General name for "Servo amplifier model MR-J3- B"
QCPU, PLC CPU or PLC CPU module Qn(H)CPU
Multiple CPU system or Motion system Abbreviation for "Multiple PLC system of the Q series"
CPUn
Programming software package General name for "MT Developer" and "GX Developer"
Operating system software General name for "SW RN-SV Q "
SV13
SV22
SV43 Operating system software for machine tool peripheral use: SW5RN-SV43Q
MT Developer
GX Developer
Manual pulse generator or MR-HDP01 Abbreviation for "Manual pulse generator (MR-HDP01)"
Serial absolute synchronous encoder
or Q170ENC
SSCNET
SSCNET
Absolute position system
Battery holder unit Battery holder unit (Q170HBATC)
External battery General name for "Q170HBATC" and "Q6BAT"
A 0BD-PCF A10BD-PCF/A30BD-PCF SSC I/F board
(Note-3)
(Note-3)
(Q173HCPU/Q172HCPU).
In this manual, the following abbreviations are used.
Q ", "SW6RN-SV Q " for Motion CPU module
Q173HCPU/Q172HCPU/Q173HCPU-T/Q172HCPU-T Motion CPU module
Q172LX Servo external signals interface module/
Q172EX-S2/-S3 Serial absolute synchronous encoder interface module
Abbreviation for "CPU No.n (n= 1 to 4) of the CPU module for the Multiple CPU
system"
Operating system software for conveyor assembly use (Motion SFC) :
SW6RN-SV13Q
Operating system software for automatic machinery use (Motion SFC) :
SW6RN-SV22Q
Abbreviation for Integrated start-up support software package
"MT Developer (Version
Abbreviation for MELSEC PLC programming software package
"GX Developer (Version 6 or later)"
Abbreviation for "Serial absolute synchronous encoder (Q170ENC)"
High speed synchronous network between Motion controller and servo
amplifier
High speed serial communication between Motion controller and servo
amplifier
General name for "System using the servomotor and servo amplifier for
absolute position"
(Note-2)
or later)"
(Note-1)
1
/
1 - 1
1 OVERVIEW
Generic term/Abbreviation Description
SSC I/F communication cable Abbreviation for "Cable for SSC I/F board/card"
Teaching unit
or A31TU-D3 /A31TU-DN
Intelligent function module
A31TU-D3
Abbreviation for "MELSECNET/H module/Ethernet module/CC-Link module/
Serial communication module"
(Note-1) : Q172EX can be used in SV22.
(Note-2) : Refer to Section "1.3.4 Software packages" for the correspondence version.
(Note-3) : SSCNET: S
(Note-4) : Teaching unit can be used in SV13.
/A31TU-DN Teaching unit
ervo System Controller NETwork
(Note-4)
REMARK
For information about the each module, design method for program and parameter,
Motion CPU module/Motion unit Q173HCPU/Q172HCPU User’s Manual
PLC CPU, peripheral devices for PLC program design, I/O
modules and intelligent function module
Operation method for MT Developer Help of each software
• Design method for Motion SFC program
• Design method for Motion SFC parameter
• Motion dedicated PLC instruction
SV13/SV22
SV22
(Virtual mode)
SV43
• Design method for positioning control
• Design method for positioning control
• Design method for mechanical system
• Design method for Motion program
• Motion dedicated PLC instruction
• Design method for positioning control
refer to the following manuals relevant to each module.
Item Reference Manual
Manual relevant to each module
Q173HCPU/Q172HCPU Motion controller (SV13/SV22)
Programming Manual (Motion SFC)
program in the real mode
parameter
program
parameter
Q173HCPU/Q172HCPU Motion controller (SV13/SV22)
Programming Manual (REAL MODE)
Q173HCPU/Q172HCPU Motion controller (SV22)
Programming Manual (VIRTUAL MODE)
Q173HCPU/Q172HCPU Motion controller (SV43)
Programming Manual
1 - 2
1 OVERVIEW
1.2 Features
The Motion CPU and Multiple CPU system have the following features.
1.2.1 Features of Motion CPU
(1) Q series PLC Multiple CPU system
(a) The load of control processing for each CPU can be distributed by
controlling the complicated servo control with the Motion CPU, and the
machine control or information control with the PLC CPU, and flexible
system configuration can be realized.
(b) The Motion CPU and PLC CPU are selected flexibly, and the Multiple CPU
system up to 4 CPU modules can be realized.
The Motion CPU module for the number of axis to be used can be selected.
Q173HCPU : Up to 32 axes
Q172HCPU : Up to 8 axes
(Note): Combination with Q173CPU(N)/Q172CPU(N) is also possible.
The PLC CPU module for the program capacity to be used can be selected.
(One or more PLC CPU is necessary with the Multiple CPU system.)
(3) Connection between the Motion controller and servo amplifier with
high speed synchronous network by SSCNET
(a) High speed synchronous network by SSCNET connect between the
Motion controller and servo amplifier, and batch control the charge of servo
parameter, servo monitor and test operation, etc.
It is also realised reduce the number of wires.
(b) The maximum distance between the Motion CPU and servo amplifier, servo
amplifier and servo amplifier of the SSCNET
set to 50(164.04)[m(ft.)], and the flexibility improved at the Motion system
design.
cable on the same bus was
(4) The operating system software package for your application needs
By installing the operating system software for applications in the internal flash
memory of the Motion CPU, the Motion controller suitable for the machine can be
realized.
And, it also can correspond with the function improvement of the software
package.
(a) Conveyor assembly use (SV13)
Offer liner interpolation, circular interpolation, helical interpolation, constantspeed control, speed control, fixed-pitch feed and etc. by the dedicated
servo instruction. Ideal for use in conveyors and assembly machines.
(b) Automatic machinery use (SV22)
Provides synchronous control and offers electronic cam control by
mechanical support language. Ideal for use in automatic machinery.
(c) Machine tool peripheral use (SV43)
Offer liner interpolation, circular interpolation, helical interpolation, constantspeed positioning and etc. by the EIA language (G-code). Ideal for use in
machine tool peripheral.
This section describes the Q173HCPU/Q172HCPU system configuration, precautions
on use of system, and configured equipments.
1.3.1 Motion system configuration
This section describes the equipment configuration, configuration with peripheral
devices and system configuration in the Q173HCPU/Q172HCPU system.
(1) Equipment configuration in Q173HCPU/Q172HCPU system
Extension of the Q series module
Motion module
(Q172LX, Q172EX, Q173PX)
(Note-1)
BAT
CPU
Q170HBAT
PASSED
DATE
Battery holder unit
(Q170HBATC)
MITSUBISHI
LITHIUM BATTERY
Battery
(Q6BAT)
Power supply module/
QCPU/ I/O module/ Intelligent
function module of the Q series
CPU base unit
(Q33B, Q35B, Q38B, Q312B)
Motion CPU module
(Q173HCPU/Q172HCPU)
SSCNET cable
(MR-J3BUS M(- A/-B))
(Note-5)
Extension cable
(QC B)
(Note-2)
Short-circuit connector for
the teaching unit
(Q170TU TM)
(Note-3)
Cable for the teaching unit
(Q170TUD CBL M(-A))
(Note-4)
Motion module
(Q172LX, Q172EX, Q173PX)
Q6 B extension base unit
(Q63B, Q65B, Q68B, Q612B)
Power supply module/
I/O module/Intelligent function
module of the Q series
(Note-5) (Note-6)
SVO ON
Teaching unit
(A31TU-D3 , A31TU-DN )
Servo amplif ier
(MR-J3- B)
Short-circuit connector for
the teaching unit
(A31TUD3TM)
It is possible to select the best according to the system.
(Note-1) : When using the external battery, be sure to connect the Battery holder unit (Q170HBATC).
And be sure to set the Battery(Q6BAT) to the Battery holder unit (Q170HBATC).
Battery(Q6BAT) is optional.
(Note-2) : It is possible to use only Q173HCPU-T/Q172HCPU-T.
It is packed together with Q173HCPU-T/Q172HCPU-T.
(Note-3) : It varies by the connecting teaching unit.
(Note-4) : It is packed together with Q170TUD CBL M.
(Note-5) : When using the A31TU-D3 /A31TU-DN , be sure to use the Q173HCPU-T/Q172HCPU-T.
(Note-6) : A31TU-D3 /A31TU-DN corresponds to only Japanese.
It does not correspond to display for English.
1 - 10
1 OVERVIEW
(2) Peripheral device configuration for the Q173HCPU/Q172HCPU
The following (a)(b) can be used.
(a) USB configuration
(b) SSCNET configuration
Motion CPU module
(Q173HCPU, Q172HCPU)
USB cable
Personal computer
(Windows 98/2000/XP only)
R
Motion CPU module
(Q173HCPU, Q172HCPU)
SSC I/F communication cable
(Q170CDCBL M,
Q170BDCBL M)
MITSUBISHI
SSCNET
CARD
A30CD-PCF
SSC I/F Card/Board
(A30CD-PCF/A 0BD-PCF)
Personal computer
(Note) : For information about GPP functions of PLC CPU, refer to the operating
manual of PLC. Also, refer to the help of each software for information about
operation of each programming software package.
1 - 11
1 OVERVIEW
1.3.2 Q173HCPU System overall configuration
Motion CPU control module
e
e
l
l
CPU base
unit
(Q3 B)
Q61P-A
PLC CPU/
Motion CPU
Q173H
Qn(H)
CPU
CPU
l
a
n
r
e
t
x
e
o
v
r
e
S
Q172LXQ172PX
s
l
a
n
g
i
s
u
d
o
m
e
c
a
f
r
e
t
n
i
Q172EX
-S2/-S3
u
d
e
s
o
s
u
l
o
u
m
n
p
r
e
o
l
r
c
e
a
h
a
d
u
f
c
o
r
n
n
c
e
a
t
y
n
n
S
e
i
M
(-S1)
e
l
u
d
o
m
r
o
e
t
c
a
r
a
f
e
r
n
e
t
e
n
g
i
QX
QI60
Q6 AD
QY
Q6 DA
I/O module of the Q Series or
Special function module
100/200VAC
Personal Computer
IBM PC/AT
Battery holder
unit
Q170HBATC
Teaching unit
A31TU-D3 /A31TU-DN
Panel Personal Computer
(WinNT/Win98/Win2000/WinXP)
Computer link SSC
Extension
cable
(Note-1)
Cable for the teaching
unit
(Q170TUD CBL M(-A))
SSC I/F
Communication
cable
(Q170CDCBL M/
SSC I/F Card/Board
(A30CD-PCF/A 0BD-PCF)
Extension base unit
(Q6 B)
y
l
p
p
u
s
e
r
l
e
u
d
w
o
o
P
m
UP to 7 extensions
USB
Q170BDCBL M)
SSCNET
cable
SSCNET (CN1)
SSCNET (CN2)
(Note-2)
Analogue input/output
Input/output (Up to 256 points)
Interrupt signals (16 points)
Manual pulse generator 3/module
P
(MR-HDP01)
Serial absolute synchronous encoder cable
(Q170ENCCBL M)
MR-J3- B model Servo amplifier,
Up to 32 axes (Up to 16 axes/system)
External input signals of servo amplifier
(Note-1) : Be sure to use the Q173HCPU-T.
A31TU-D3 /A31TU-DN corresponds to only Japanese.
It does not correspond to display for English.
(Note-2) : QI60 can be used in SV13/SV22.
(Up to 1 module)
M
E
Proximity dog
Upper stroke limit
Lower stroke limit
Number of Inputs
8 axes/module
(Up to 4 modules)
d1
M
E
d16
1 - 12
1 OVERVIEW
CAUTION
Construct a safety circuit externally of the Motion controller or servo amplifier if the abnormal
operation of the Motion controller or servo amplifier differ from the safety directive operation in
the system.
The ratings and characteristics of the parts (other than Motion controller, servo amplifier and
servomotor) used in a system must be compatible with the Motion controller, servo amplifier and
servomotor.
Set the parameter values to those that are compatible with the Motion controller, servo amplifier,
servomotor and regenerative resistor model and the system application. The protective functions
may not function if the settings are incorrect.
When a teaching unit is used, the cable for the teaching unit is necessary between the Motion
CPU (Q173HCPU-T/Q172HCPU-T) and teaching unit. And, connect the short-circuit connector
for teaching unit, after removing the teaching unit or when not using it.
1 - 13
1 OVERVIEW
1.3.3 Q172HCPU System overall configuration
Motion CPU control module
e
e
l
l
CPU base
unit
(Q3 B)
Q61P-A
PLC CPU/
Motion CPU
Q172H
Qn(H)
CPU
CPU
l
a
n
r
e
t
x
e
o
v
r
e
S
Q172LXQ172PX
s
l
a
n
g
i
s
u
d
o
m
e
c
a
f
r
e
t
n
i
Q172EX
-S2/-S3
u
d
e
s
o
s
u
l
o
m
u
n
p
r
e
o
l
c
r
e
a
a
h
d
f
u
c
r
o
n
n
c
e
a
t
y
n
n
i
e
S
M
(-S1)
e
l
u
d
o
m
r
o
e
t
c
a
r
a
f
e
r
n
e
t
e
n
g
i
QX
QY
Q6 AD
Q6 DA
I/O module of the Q Series or
Special function module
QI60
100/200VAC
Personal Computer
IBM PC/AT
Battery holder
unit
Q170HBATC
Teaching unit
A31TU-D3 /A31TU-DN
Panel Personal Computer
(WinNT/Win98/Win2000/WinXP)
Computer link SSC
(Note-1) : Be sure to use the Q173HCPU-T.
A31TU-D3 /A31TU-DN corresponds to only Japanese.
It does not correspond to display for English.
(Note-2) : QI60 can be used in SV13/SV22.
d2
M
E
Proximity dog
Upper stroke limit
Lower stroke limit
(Up to 1 module)
d3
Number of Inputs
8 axes/module
(Up to 1 module)
d8
M
E
1 - 14
1 OVERVIEW
CAUTION
Construct a safety circuit externally of the Motion controller or servo amplifier if the abnormal
operation of the Motion controller or servo amplifier differ from the safety directive operation in
the system.
The ratings and characteristics of the parts (other than Motion controller, servo amplifier and
servomotor) used in a system must be compatible with the Motion controller, servo amplifier and
servomotor.
Set the parameter values to those that are compatible with the Motion controller, servo amplifier,
servomotor and regenerative resistor model and the system application. The protective functions
may not function if the settings are incorrect.
When a teaching unit is used, the cable for the teaching unit is necessary between the Motion
CPU (Q173HCPU-T/Q172HCPU-T) and teaching unit. And, connect the short-circuit connector
for teaching unit, after removing the teaching unit or when not using it.
1 - 15
1 OVERVIEW
1.3.4 Software packages
(1) Software packages
Part name Model name Details Version
SW6RNC-
GSVPROE
MT Developer
SW6RNC-
GSVSETE
(Note) : Operating environment of the MT Developer is WindowsNTR4.0/WindowsR98/WindowsR2000/WindowsRXP English
version only.
(a) Operating system software packages
Application
For conveyor assembly SV13
(Motion SFC)
For automatic machinery SV22
(Motion SFC)
For machine tool peripheral SV43
Q173HCPU Q172HCPU
SW6RN-SV13QK SW6RN-SV13QM
SW6RN-SV22QJ SW6RN-SV22QL
SW5RN-SV43QJ SW5RN-SV43QL
Software package
(b) Integrated start-up support software package
SW6RNC-GSVE (Integrated start-up support software (1 CD-ROM) )
Cam data creation software : SW3RN-CAMP 00M 00M 00M
Digital oscilloscope software : SW6RN-DOSCP 00G 00H 00H
Communication system software : SW6RN-SNETP 00J 00K 00L
Document print software : SW3RN-DOCPRNP,
SW20RN-DOCPRNP
SW6RNC-GSVHELPE (Operation manual (1 CD-ROM) )
Installation manual
SW6RNC-GSVPROE
A30CD-PCF(SSC I/F card (PCMCIA TYPE 1CH/card) )
Q170CDCBL3M (A30CD-PCF cable 3m (9.84ft.) )
00K 00M 00N
00R
00M
00Q
00T
00W
00T
(2) Operating environment of personal computer
Operating environment is shown below.
IBM PC/AT with which WindowsNT
Windows
WindowsNT
Item
(Service Pack 2 or later)
or WindowsR98
CPU PentiumR133MHz or more PentiumR 233MHz or more PentiumR 450MHz or more
Memory capacity Recommended 32MB or more Recommended 64MB or more Recommended 192MB or more
Hard disk free space Hard disk free space is as following list.
Disk drive 3.5inch (1.44MB) floppy disk drive, CD-ROM disk drive
Display 800×600 pixels, 256 colors or more
R
XP English version operates normally.
R
4.0
(Note)
R
4.0/WindowsR98/WindowsR2000/
WindowsR2000 WindowsRXP
(Note) : Impossible to use USB connection.
1 - 16
Size
1 OVERVIEW
It is necessary the following capacity depending on the installed software.
Model name
SW6RNC-GSVE SW6RNC-GSVHELPE
SW6RN-GSV13P 65MB 40MB
SW6RN-GSV22P 66MB 45MB
SW6RN-GSV43P 55MB 32MB
SW3RN-CAMP 5MB 3MB
SW6RN-DOSCP 35MB 10MB
Standard 60MB
SW6RN-SNETP
Custom (When all selection) 60.5MB
3MB
SW3RN-DOCPRNP 45MB 5MB
SW20RN-DOCPRNP 45MB 5MB
(Note-1) : WindowsNTR, WindowsRare either registered trademarks or trademarks of Microsoft Corporation
in the United States and/or other countries.
(Note-2) : Pentium
United States and other countries.
R
are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the
(3) Operating system(OS) type/version
(a) Confirmation method in the operating system(OS)
SOFTWARE
PACKAGE
3.5
inch
1)
2)
3)
T
MITSUBISHI ELECTRIC CORPORATION ALL
RIGHTS RESERVED
4)
5)
1) OS software TYPE
2) Software version
3) OS software version
4) Serial number
5) Number of FD
Example) When using the Q173HCPU, SV13 and version A.
1) SW6RN-SV13QK
2) BCD-B14W311
3) A
(b) Confirmation method in the SW6RN-GSV P
The operating system(OS) type/version of the connected CPU is displayed
on the installation screen of the SW6RN-GSV
(Motion SFC-compatibl e OS)
SV1 3 QKVER3
J or L : Q173HCPU
K or M: Q172HCPU
Indicates Motion SFC compatib ility.
P.
00 A
OS version
Indicates teaching unit usable.
U
1 - 17
1 OVERVIEW
(4) Relevant software packages
(a) PLC software package
Model name Software package
GX Developer SW D5C-GPPW-E
(Note) : =used "6" or later.
(b) Servo setup software package
Model name Software package
MR Configurator MRZJW3-SETUP221E
POINT
(1) When the operation of Windows is not unclear in the operation of this software,
refer to the manual of Windows or guide-book from the other supplier.
(2) The screen might not be correctly displayed depending on the system font size
of WindowsNT
Be sure to use the small size fonts.
R
4.0/WindowsR98/WindowsR2000/WindowsRXP.
1 - 18
1 OVERVIEW
1.3.5 Restrictions on motion systems
(1) It is not allowed to use the Motion CPU as the control CPU of a module installed
on the QA1S6
CPU.
(2) Motion CPU module cannot be used as standalone module. It must always be
used in combination with the PLC CPU module (version that supports Multiple
CPU systems). Moreover, it must be installed on the right side of PLC CPU
module. PLC CPU module cannot be installed in a position to the right of Motion
CPU module.
(3) Personal computer CPU unit must be installed on the right side of Motion CPU
module. Motion CPU module cannot be installed in a position to the right of
personal computer CPU unit.
(4) Make sure to use the PLC CPU module in the "Q mode."
(5) Motion CPU module cannot be set as the control CPU of intelligent function
module or Graphic Operation Terminal (GOT).
(6) SSCNET
teaching unit connecting cable which connects the Motion CPU and A31TUD3
secure sufficient space for pulling out the cable when designing the control panel.
(7) Motion CPU module is one module element of Q series multiple PLC system. It
must be set the parameters of Q series multiple PLC system for each PLC CPU.
Motion CPU module must also be set to support the Multiple CPU system in the
system settings.
(8) Make sure to use the Motion CPU as the control CPU of motion modules
dedicated for Motion CPU (e.g., Q172LX, Q172EX
operate correctly if PLC CPU is set and installed as the control CPU by mistake.
Motion CPU is treated as a 32-point intelligent module by PLC CPU of other CPU.
It cannot be accessed from other CPU.
(9) When a Multiple CPU system is configured, make sure to configure the modules
so that the total current consumption of individual modules on the CPU base does
not exceed the 5VDC output capacity of power supply module.
(10) Motion modules (Q172LX, Q172EX, Q173PX) is to do selection whether to be
necessary referring to the "3. DESIGN" of the "Q173HCPU/Q172HCPU User's
Manual" for the system design.
cable which connects the Motion CPU and servo amplifier, and the
/A31TU-DN
B extension base unit. PLC CPU must be used as the control
(Note-1)
are pulled from the bottom part of unit. Make sure to
(Note-2)
, Q173PX). They will not
1 - 19
1 OVERVIEW
(11) Installation position of the Q172EX
(Note-2)
is only CPU base unit.
(12) When combining the Q173HCPU(-T)/Q172HCPU(-T) with Q173CPU(N)/
Q172CPU(N)/Q173CPUN-T/Q172CPUN-T, set as following combination.
If it is used in combination except for the following, the Q173HCPU(-T)/
Q172HCPU(-T) does not operate normally, such as Q173HCPU(-T)/
Q172HCPU(-T) does not start or communication error with servo amplifier will
occur.
However, all the operating system software are SV43, there is no restriction for
the combination of Motion CPU.
Installation example of Motion CPU
01
CPU
1
PLC CPU
Power supply
CPU
2
PLC CPU
Power supply
CPU
3
Q17 H
Q17
CPU
CPU
(Note-1)
(Note-2)
012
Q17
Q17 H
CPU
CPU
(Note-1)
(Note-2) (Note-2)
012
Q17
Q17
CPU
CPU
Q17 H
CPU
Q17 H
CPU
Abbreviation Model name
Q17 HCPU
Q17 HCPU(-T)
Q17 CPU Q17 CPU(N)/Q17 CPUN(-T)
(Note-1) :Be sure to install the following operating
system software to the Q17 CPU.
Application Version
SV13/SV22 00R or later
(Note-2): There is no restriction for the operating
system software and version installed to
the Q17 HCPU.
(Note-3): There is no restriction for the operating
system software and version installed to
the Q17 CPU.
PLC CPU
Power supply
(Note-1)
012
CPU
4
PLC CPU
PLC CPU
Power supply
Q17
CPU
(Note-1)
(Note-2)(Note-3)
Q17 H
CPU
(Note-2)
(13) When the operation cycle is 0.4[ms], set the system setting as the axis select
switch of servo amplifier "0 to 7".
If the axis select switch of servo amplifier "8 to F" is set, the servo amplifiers are
not recognized.
(Note-1) : Teaching unit can be used in SV13. It cannot be used in SV22/SV43.
(Note-2) : Q172EX can be used in SV22. It cannot be used in SV13/SV43.
1 - 20
2 MULTIPLE CPU SYSTEM
2. MULTIPLE CPU SYSTEM
2.1 Multiple CPU System
2.1.1 Overview
(1) Multiple CPU System
Multiple (up to 4 modules) PLC CPUs and Motion CPUs are installed to the CPU
base unit, and each CPU controls the I/O modules and intelligent function
modules of the CPU base unit/extension base unit slot by slot in the Multiple
CPU system.
Each Motion CPU controls the servo amplifiers connected by SSCNET
(2) Distributed system configuration
(a) By distributing such tasks as servo control, machine control and information
(b) You can increase the number of control axes by using a multiple Motion
(c) You can reduce the PLC scan time of the overall system by using a multiple
(3) Communication among the CPUs in the Multiple CPU system
(a) Transmission of data among the CPUs in the Multiple CPU system is
(b) You can access the device data and start the Motion SFC program
2
cable.
control among multiple processors, the flexible system configuration can be
realized.
CPUs. It is possible to control up to 96 axes by using three Q173HCPUs.
PLC CPUs and distributing the PLC control load among them.
performed automatically using the multiple CPU automatic refresh function.
This makes it possible to use the device data of the other CPUs as the
device data of the self CPU.
(SV13/SV22)/Motion program (SV43) from the PLC CPU to the Motion CPU
by Motion dedicated PLC instruction.
2 - 1
2 MULTIPLE CPU SYSTEM
2.1.2 Installation of PLC CPU and Motion CPU
Up to a total four PLC CPUs and Motion CPUs can be installed in the CPU base unit,
in the four slots starting from the CPU slot (the slot located to the immediate right of the
power supply module) to slot 2 in series.
There must be no non-installation slot left, between a PLC CPU and a Motion CPU, or
between Motion CPUs.
When two or more Motion CPUs are installed, they are installed together in the slots
provided to the right of one or more PLC CPUs. (PLC CPU cannot be installed to the
right of a Motion CPU.)
(1) When the high performance model PLC CPU is used.
Number of
CPUs
Installation positions of PLC CPUs/Motion CPUs
012
CPU
2
I/O, etc.
Power supply
PLC CPU
Motion CPU
012
CPU
I/O, etc.
012
CPU
3
PLC CPU
Power supply
CPU
Power supply
4
CPU
Power supply
PLC CPU
012
PLC CPU
PLC CPU
012
PLC CPU
Motion CPU
I/O, etc.
Motion CPU
PLC CPU
Motion CPU
Motion CPU
Motion CPU
PLC CPU
Power supply
CPU
Power supply
Motion CPU
012
PLC CPU
PLC CPU
I/O, etc.
Motion CPU
Motion CPU
Motion CPU
(2) When the basic model PLC CPU is used.
Multiple CPU system up to 3 modules (PLC CPU 1, Motion CPU 1, Personal
computer CPU
1).
2 - 2
2 MULTIPLE CPU SYSTEM
2.1.3 Precautions for using Q series I/O modules and intelligent function modules
(1) Modules controllable by the Motion CPU
I/O modules (QX , QY , QH , QX Y , Q6 AD , Q6 DA , interrupt
module (QI60) and motion modules (Q172LX, Q172EX, Q173PX) can be
controlled by the Motion CPU.
(2) Compatibility with the Multiple CPU system
(a) All I/O modules (QX , QY , QH , QX Y , Q6 AD , Q6 DA )
support the Multiple CPU system.
(b) The interrupt module (QI60), which is currently not subject to function
upgrade, supports the Multiple CPU system.
(c) The intelligent function modules support the Multiple CPU system only when
their function version is B or later. These modules cannot be controlled by
the Motion CPU, so be sure to use the PLC CPU as a control CPU.
(d) All motion modules (Q172LX, Q172EX, Q173PX) support the Multiple CPU
system. These modules cannot be controlled by the PLC CPU, so be sure to
use the Motion CPU as a control CPU.
(3) Access range from a non-control CPU
(a) The Motion CPU can access only the modules controlled by the self CPU. It
Buffer memory
cannot access the modules controlled by other CPUs.
(b) Access range from a non-control CPU for the modules controlled by the
Motion CPU are shown below.
I/O setting from outside the group
Access target
Input (X)
Output (Y)
Read
Write
(setting from the PLC CPU)
Not received Received
REMARK
• The function version of an intelligent function module can be checked on the rated
plate of the intelligent function module or in the GX Developer's system monitor
product information list.
• Refer to the "Q173HCPU/Q172HCPU User's Manual" for the model name which
can be controlled by the Motion CPU.
2 - 3
2 MULTIPLE CPU SYSTEM
2.1.4 Modules subject to installation restrictions
(1) Modules subject to installation restrictions in the Motion CPU are sown below. Use
within the restrictions listed below.
Description Model name
Servo external signals
interface module
Serial absolute synchronous
interface module
Manual pulse generator
interface module
Input module QX
Output module QY
Input/output
composite module
Analogue input module Q6 AD
Analogue output module Q6 DA
Interrupt module QI60 1 module
(Note-1) : When the Manual pulse generator and the serial encoder are used at the same time with the SV22, the
Q173PX installed in the slot of the smallest number is used for manual pulse generator input.
(Note-2) : SV22 only.
Description Model name
Servo external signals
interface module
Manual pulse generator
interface module
Input module QX
Output module QY
Input/output
composite module
Analogue input module Q6 AD
Analogue output module Q6 DA
(a) SV13/SV22
Maximum installable modules per CPU
Q173HCPU Q172HCPU
Q172LX 4 modules 1 module
Q172EX
(Note-2)
Q173PX
(Note-1)
QH
QX Y
(Incremental serial encoder use)
(Manual pulse generator only use)
6 modules 4 modules
4 modules
(Note-2)
1 module
(Incremental serial encoder use)
(Manual pulse generator only use)
Total 256 points
3 modules
1 module
(b) SV43
Maximum installable modules per CPU
Q173HCPU Q172HCPU
Q172LX 4 modules 1 module
Q173PX
QH
QX Y
1 module
(Manual pulse generator only use)
Total 256 points
(Manual pulse generator only use)
1 module
(2) Modules controlled by a Motion CPU cannot be installed in the extension base
unit QA1S6
Q6
B.
B. Install them in the CPU base unit Q3 B or extension base unit
(Note-2)
2 - 4
2 MULTIPLE CPU SYSTEM
(3) A total of eight base units including one CPU base unit and seven extension base
units can be used. However, the usable slots (number of modules) are limited to
64 per system including vacant slots. If a module is installed in slot 65 or
subsequent slot, an error (SP. UNIT LAY ERROR) will occur. Make sure all
modules are installed in slots 1 to 64. (Even when the total number of slots
provided by the CPU base unit and extension base units exceeds 65 (such as
when six 12-slot base units are used), an error does not occur as long as the
modules are installed within slots 1 to 64.)
2 - 5
2 MULTIPLE CPU SYSTEM
2.1.5 Processing time of the Multiple CPU system
(1) Processing of the Multiple CPU system
Each CPU module of the Multiple CPU system accesses to the modules
controlled by self CPU with which the CPU base unit or extension base unit is
installed, and the other CPU through the bus (base unit patterns and extension
cables). However, a multiple CPU module cannot use the bus simultaneously.
When a multiple CPUs have accessed the bus simultaneously, the CPUs which
performed buss access later remain in "waiting state" until the CPU currently
using the bus completes its processing. In a Multiple CPU system, the above
waiting time (duration while a CPU remains in waiting state) causes an I/O delay
or prolonged scan time.
(2) When the waiting time becomes the longest
In the Multiple CPU system, the wait time of self CPU becomes the longest in the
following conditions:
• When is using a total of four PLC CPUs/Motion CPUs are used in the Multiple
CPU system.
• When the extension base units are used.
• When the intelligent function modules handling large volumes of data are
installed in the extension base unit(s).
• When a total of four CPUs are used and the four CPUs have simultaneously
accessed a module installed in an extension base unit.
• When there are many automatic refresh points between a PLC CPU and a
Motion CPU.
(3) When shortening the processing time of the Multiple CPU system
The processing time of the Multiple CPU system can be shortened in the
following methods:
• Install all modules with many access points such as MELSECNET/10(H) and
CC-Link refreshes together in the CPU base unit.
• Control all modules with many access points such as MELSECNET/10(H) and
CC-Link refreshes using only one PLC CPU so that they are not accessed by
two or more CPUs simultaneously.
• Reduce the number of refresh points of MELSECNET/10(H), CC-Link, etc.
• Reduce the number of automatic refresh points of the PLC CPUs/Motion
CPUs.
2 - 6
2 MULTIPLE CPU SYSTEM
2.1.6 How to reset the Multiple CPU system
With the Multiple CPU system, resetting the PLC CPU of CPU No. 1 resets the entire
system.
When the PLC CPU of CPU No. 1 is reset, the CPUs, I/O modules and intelligent
function modules of all CPUs will be reset.
To recover any of the CPUs in the Multiple CPU system that generated a CPU stop
error, reset the PLC CPU of CPU No. 1 or restart the power (i.e., turning the power
ON, OFF and then ON).
(If the PLC CPUs or Motion CPUs of CPU Nos. 2 through 4 generated a CPU stop
error, they cannot be recovered by resetting the corresponding CPU.)
Qn(H)
CPU
01234
Q173H
Q173H
CPU
CPU
567
Q173H
CPU
Power supply
CPU
CPU
No. 1
CPU
CPU No. 1 can reset the entire Multiple CPU system.
No. 3
No. 2
CPU
No. 4
These CPUs must not be reset.
If one of them is reset, all CPU
in the Multiple CPU system generate
a MULTI CPU DOWN error.
POINT
(1) In a Multiple CPU system, the PLC CPUs/Motion CPUs of CPU No. 2, 3 or 4
cannot be reset individually.
When a PLC CPU or Motion CPU of CPU No. 2, 3 or 4 is reset while the
Multiple CPU system is operating, the other CPUs generate a MULTI CPU
DOWN error (error code: 7000) and the entire system stops.
Note that depending on the timing at which the PLC CPU or Motion CPU of
CPU No. 2, 3 or 4 is reset, the PLC CPU of a the other CPU may stop due to
an error other than MULTI CPU DOWN.
(2) Resetting CPU No. 2, 3 or 4 generates a MULTI CPU DOWN error regardless
of the operation mode set in the Multiple CPU Settings tab. (Stop/continue all
CPUs upon error in CPU No. 2, 3 or 4.) (Refer to Section 2.1.7 for the setting
of operation mode in Multiple CPU Settings.)
2 - 7
2 MULTIPLE CPU SYSTEM
2.1.7 Processing at a CPU DOWN error occurrence by a PLC CPU or Q173HCPU/
Q172HCPU
In the Multiple CPU system, the system operates differently when CPU No. 1
generated a CPU DOWN error as compared with when CPU No. 2, 3 or 4 did.
(1) When CPU No. 1 generated a CPU DOWN error
(a) When the PLC CPU of CPU No. 1 generated a CPU DOWN error, all
PLC CPU/Q173HCPU/Q172HCPU of CPU Nos. 2, 3 and 4 generate a
MULTI CPU DOWN error (error code: 7000) and the Multiple CPU system
(Note-1)
stops.
(b) Recover the system using the procedure below:
1) Check the cause of the error that occurred in CPU No. 1 using the PC
diagnostic function of GX Developer.
2) Remove the cause of the error.
3) Reset the PLC CPU of CPU No. 1 or restart the power.
Resetting the PLC CPU of CPU No. 1 or restarting the power resets all
CPUs in the Multiple CPU system and the system is recovered.
(2) When CPU No. 2, 3 or 4 generated a CPU DOWN error
If the PLC CPU, Q173HCPU or Q172HCPU of CPU No. 2, 3 or 4 generated a
CPU DOWN error, the entire system may or may not stop depending on the
setting of "Operation Mode" in the Multiple CPU Settings tab.
By default value, all CPUs will stop when any of the CPUs generates a CPU stop
error. If you do not wish to stop all CPUs following an error generated in the
PLC CPU, Q173HCPU or Q172HCPU of a specific CPU or CPUs, click and
uncheck the CPU or CPUs that will not stop all CPUs upon generating an error.
(See arrow A.)
A
2 - 8
2 MULTIPLE CPU SYSTEM
(a) When a CPU DOWN error occurs in the CPU of the CPU in a checked "Stop
(b) When a CPU DOWN error occurs in the CPU of the PLC in an unchecked
POINT
(Note-1) : When a CPU DOWN error occurs, the CPU detecting the error will generate a
MULTI CPU DOWN error.
Therefore, the system may enter a MULTI CPU DOWN mode after detecting the
CPU DOWN error in the CPU generating a MULTI CPU DOWN error, instead of
the error in the CPU that generated the CPU DOWN error in the first place. In
this case, the common error-data area may store a CPU number different from
one corresponding to the CPU that generated the CPU DOWN error first.
When recovering the system, remove the cause of the error present in the CPU
not stopped by a MULTI CPU DOWN error.
In the screen below, the cause of the error present in CPU No. 2, which does
not have a MULTI CPU DOWN error, should be removed.
all CPUs upon error in CPU No. n" item, all PLC CPU/Q173HCPU/
Q172HCPU of the other CPUs will generate a MULTI CPU DOWN error
(error code: 7000) and the Multiple CPU system will stop.
"Stop all CPUs upon error in CPU No. n" item, all CPUs of the other CPUs
will generate a MULTI CPU ERROR (error code: 7020) and continue their
operation.
(Note-1)
2 - 9
2 MULTIPLE CPU SYSTEM
(c) Use the following procedure to recover the system:
1) Check the CPU generating the error and cause of the error using the PC
diagnostic function of GX Developer.
2) If the error occurred in a Q173HCPU/Q172HCPU and the error code is
10000, check the cause of the error using error list of SW6RN-GSV
3) Remove the cause of the error.
4) Reset the PLC CPU of CPU No. 1 or restart the power.
5) Resetting the PLC CPU of CPU No. 1 or restarting the power resets all
CPUs in the Multiple CPU system and the system will be recovered.
(3) Operation at a Motion CPU error
Category Type of error Operation Remark
System setting error
WDT error Varies depending on the error.
Operation
disable errors
Operation
continuous
enable errors
Self-diagnosis error Stops at a CPU DOWN error.
Other CPU DOWN error
Self-diagnosis error
Motion SFC error
Minor error
Major error
Servo error
Servo program setting
(Note-1)
error
Motion program setting
(Note-2)
error
Operations at a Motion CPU error are shown below.
Does not operate from the
beginning (does not run).
Operation corresponding to
STOP (M2000 OFF). Depends on
the "Operation mode upon CPU
stop error" setting.
Operation continues when the
(Note-1)
/
continuous error occurred.
Processing stops for each
program or axis instead of the
Motion CPU stopping all the
processing.
• All actual output PY points turn OFF.
No effect on other CPUs.
• All actual output PY points turn OFF.
Other CPUs may also stop depending on
the parameter setting.
• All actual output PY points turn OFF.
• Only the applicable program stops (the
program may continue depending on the
type of error).
• Actual output PY retains output.
• No effect on other CPUs.
(Note-1) : SV13/SV22 use
(Note-2) : SV43 use
P.
2 - 10
2 MULTIPLE CPU SYSTEM
2.2 Starting Up the Multiple CPU System
This section describes a standard procedure to start up the Multiple CPU system.
2.2.1 Startup Flow of the Multiple CPU System
Multiple CPU system
Multiple CPU system design
Clarify control/function executed by each
CPU.
PLC CPU
Motion CPU
PLC CPU
Device application and assignment
Secure the refresh points continuously
for automatic refresh of device data.
Module select
Select modules to be used in the Multiple
CPU system.
Module install
Install the selected modules to the CPU
base unit or extension base unit.
GX developer start
Start the GX Developer (Ver.6 or later).
Parameters, etc. create
Create the parameter setting such as
Multiple CPU setting and control CPU
setting, and the PLC programs.
Connect between the personal
computer and PLC CPU
Connect between the personal computer
running GX Developer and PLC CPU
No.1 by USB cable.
• Refer to Section 2.3 for automatic refresh
function of device data.
• Refer to the "Q173HCPU/Q172HCPU User's
Manual" for module select.
• Refer to the "Q173HCPU/Q172HCPU User's
Manual" for install method or install position of
modules.
• Refer to Section 2.1.4 of the "Q173HCPU/
Q172HCPU User's Manual" for restrictions of
module install.
• Refer to the GX Developer manual for GX
Developer start.
• Create the parameters for CPU No. 1 to 4 and
PLC programs.
• Refer to the "QCPU User's Manual" (Function
Explanation/Program Fundamentals)" for PLC
settings.
Motion CPU
PLC CPU
Connect between the personal
computer and Motion CPU
Connect between the personal computer
running SW6RN-GSV P and Motion
CPU by SSC I/F communication cable.
When the USB cable is used to
communicate with the Motion CPU,
connect the cable to any one of the PLC
CPU/Motion CPU in the Multiple CPU
system.
Multiple CPU system power ON
Turn ON the power of Multiple CPU
system in the following state of PLC
CPU.
RUN/STOP switch : STOP
RESET/L.CLR switch : OFF
1)
2 - 11
2 MULTIPLE CPU SYSTEM
1)
Write to the PLC CPU
Write the parameters and PLC programs
PLC CPU
Motion CPU
PLC CPU
PLC CPU
Motion CPU
to the PLC CPU (CPU No.1).
Set the connect destinations of PLC CPU
(CPU No. 2 to 4), and write them.
SW6RN-GSV P start
Start the SW6RN-GSV P.
System settings and program, etc. create
Create the system settings, servo data
and Motion SFC program (SV13/SV22)/
Motion program (SV43).
Write to the Motion CPU
Write the system settings, servo data
and Motion SFC program (SV13/SV22)/
Motion program (SV43).
PLC CPU (CPU No.1) reset
Set the RESET/L.CLR switch to RESET
position.
Set RUN/STOP switch for all CPUs to
RUN position.
Set the RUN/STOP switch for each CPU
(CPU No.1 to 4) to RUN position.
• Refer to the help for operation of
SW6RN-GSV P.
• Refer to Section 3.1 for system settings.
• Refer to the Programming Manual of each
operating system software for details of program.
Release PLC CPU (CPU No.1) reset
PLC CPU
PLC CPU
Motion CPU
Change back the RESET/L.CLR switch
to OFF position and release the reset.
Check of state for all CPUs
Check whether all CPUs in the Multiple
CPU system become RUN state/error by
reset release of the PLC CPU (CPU
No.1).
Check and correct the error details
If an error has occurred, check and
correct the error details using the PC
diagnostic function of GX developer and
error list monitor of SW6RN-GSV P.
Each CPU debug
Execute the individual debug of PLC
CPU/Motion CPU (CPU No. 1 to 4) and
debug as the Multiple CPU system.
Actual operation
Check in the automatic operation.
Actual operation
(Note) : Installation of the operating system software is required to the Motion CPU module before start of
the Multiple CPU system.
Refer to Chapter 5 of the "Q173HCPU/Q172HCPU User's Manual" for installation of the Motion
CPU operating system software.
2 - 12
2 MULTIPLE CPU SYSTEM
2.3 Communication between the PLC CPU and the Motion CPU in the Multiple CPU System
The following tasks can be performed between the PLC CPU and the Motion CPU in
the Multiple CPU system.
• Data transfer between CPUs by the automatic refresh function of the shared CPU
memory
• Control instruction from the PLC CPU to Motion CPU by the Motion dedicated
Instructions
• Reading/writing device data from the PLC CPU to Motion CPU by the dedicated
instruction
2.3.1 Automatic Refresh Function of The Shared CPU Memory
(1) Automatic refresh function of the shared CPU memory
(a) The automatic refresh function of the shared CPU memory is executed
automatically the data transfer between CPUs in the Multiple CPU system
during END processing in the PLC CPU or during main cycle processing
(free time except motion control) in the Motion CPU.
When the automatic refresh function is used, the data in the device memory
of the other CPU is read automatically, so the device data of other CPU can
be used as the device data of self CPU.
The diagram below illustrates the automatic refresh operation involving 32
points (B0 to B1F) for the PLC CPU of CPU No.1 and 32 points (B20 to
B3F) for the Motion CPU of CPU No.2.
CPU No.1 (PLC CPU)
CPU No.2 (Motion CPU)
Shared CPU memory
Self CPU operation data area
System area
Automatic refresh area
User-defined area
1) Written via END processing
of CPU No.1
Device memory
B0 to B1F (CPU No.1)
B20 to B3F (CPU No.2)
3) Reading via main cycle
processing of CPU No.2
4) Reading via END
processing of CPU No.1
Shared CPU memory
Self CPU operation data area
System area
Automatic refresh area
User-defined area
2) Written via main cycle processing
of CPU No.2
Device memory
B0 to B1F (CPU No.1)
B20 to B3F (CPU No.2)
Processing details of CPU No.1 (PLC CPU) at the END processing.
1) : Data of transmitting devices B0 to B1F for CPU No.1 is transferred to the
automatic refresh area of shared memory in the self CPU.
4) : Data in the automatic refresh area of shared memory in CPU No.2 is
transferred to B20 to B3F in the self CPU.
2 - 13
2 MULTIPLE CPU SYSTEM
(b) Executing the automatic refresh function
(c) To execute the automatic refresh function, for the Motion CPU the number of
Type of refresh device
Number of refresh device range settings 4 ranges (Bit and word may be mixed.)
Number of refresh words per CPU A maximum of 8k words
Number of transmitting words per CPU A maximum of 2k words (Set in units of 2 words.)
Processing details of CPU No.2 (Motion CPU) at main cycle processing.
2) : Data of transmitting devices B20 to B3F for CPU No.2 is transferred to
the automatic refresh area of shared memory in the self CPU.
3) : Data in the automatic refresh area of shared memory in CPU No.1 is
transferred to B0 to B1F in the self CPU.
By the above operations, the data written to B0 to B1F in CPU No.1 can be
read as B0 to B1F of CPU No.2, while the data written to B20 to B3F in CPU
No.2 can be read as B20 to B3F of CPU No.1. B0 to B1F of CPU No.1 can
be read or written freely using CPU No.1, but B20 to B3F correspond to the
refresh area for the data of CPU No.2 and can only be read, not written, by
CPU No. 1. Similarly, B20 to B3F of CPU No.2 can be read or written freely
using CPU No.2, but B0 to B1F correspond to the refresh area for the data
of CPU No.1 and thus can only be read, not written, by CPU No.2.
The automatic refresh function can be executed regardless of whether the
applicable PLC CPU and Motion CPU are in the RUN or STOP state.
When a CPU DOWN error will occur in the PLC CPU or Motion CPU, the
automatic refresh function is not executed.
When one CPU generated a CPU DOWN error, the other CPU free from
CPU DOWN error retains the data saved immediately before the CPU
DOWN error occurred. For example, if CPU No.2 generated a CPU DOWN
error while B20 was ON in the operation block diagram in (a), B0 of CPU
No.1 remains ON. If necessary, interlocking is performed using other-CPU
DOWN detection signals M9244 to M9247.
transmitting points for the CPU and the devices whose data is stored
(devices to which the automatic refresh function is executed) must be set in
Multiple CPU Settings of System Settings. For the PLC CPU, the applicable
parameters must be set identically in Multiple CPU Settings of PC
parameters.
Item Description
Bit
Word D, W, # (Set in modules of 2 words.)
Y, M, B (Set the first device No. as a multiple of 16 in
modules of 32 bits.)
CAUTION
If necessary, perform interlocking during the execution of the automatic refresh function using
(a) When executing the automatic refresh function of shared CPU memory, set
• Set the transmitting
range for each CPU.
the number of each CPU's transmitting points and devices in which data is to
be stored using Multiple CPU Settings of System Settings.
Refer to the "QCPU User's Manual (Functions Explanation/Program
Fundamentals)" about the setting of the PLC CPU.
• Select the setting No..
• Set the first device No. from which the
automatic refresh function is executed.
(Number of specified points are continuously
used from the device No. to be set.)
• 2k points (2k words)
per CPU
• 8k points (8k words)
for all CPUs
• Set in units of
2 points (2 words).
(b) Setting number selection/send range (refresh range) for each CPU
1) The refresh setting of four ranges can be set by setting selection.
For example, ON/OFF data may be refreshed using bit-device setting,
while other data may be refreshed using word device setting.
2) The number of points in the shared CPU memory set in units of 2 points
(2 words) is set in the range for each CPU. (2 points if word device is
specified for the CPU-side device, or 32 points if bit device is specified.)
Data of the CPUs for which "0" is set as the number of points
representing the send range of the CPU will not be refreshed.
Assume that 32 points (B0 to B1F) of CPU No.1 and 32 points (B20 to
B3F) of CPU No.2 are to be refreshed. Since one point in the shared
CPU memory corresponds to 16 bit-device points, the number of
transmitting points becomes 2 for CPU No. 1 and also 2 for CPU No. 2.
3) The maximum number of transmitting points combining all four ranges is
2k words per CPU (PLC CPU or Motion CPU) or 8k points (8k words) for
all CPUs.
• Setting two points in shared
CPU memory and specifying
the bit device for the CPU side device creates 32 bit device points.
• Data in CPU No.3 and 4 is not refreshed since the number of points is set to 0.
2 - 15
y
2 MULTIPLE CPU SYSTEM
4) The shared CPU memory to be occupied during execution of the
automatic refresh function covers all areas corresponding to settings 1 to
4.
When the number of transmitting points is set, the first and last
addresses of the shared CPU memory to be used are indicated in
hexadecimals.
The CPU for which the number of transmitting points is set in settings 1
and 2 use the last address of shared CPU memory in setting 2. (In the
example below, CPU No.1 and No.2 are using the area up to 811H,
while CPU No.4 is using the area up to 821H.)
The CPU for which the number of transmitting points is set only in
setting 1 use the last address of shared CPU memory in setting 1. (In
the example below, CPU No.3 is using the last address in setting 1).
• Send range for
CPU No.1
• Last address of
CPU-side device
• Last address of the shared CPU
memor
for each CPU
5) Set the same number of transmitting points for all CPUs in the Multiple
CPU system.
If any of the CPUs has a different number of transmitting points, a
PARAMETER ERROR will be occurred.
(c) CPU-side device
The following devices can be used for automatic refresh. (Other devices
cannot be set in SW6RN-GSV
Settable device Restriction
Data resister (D)
Link resister (W)
Motion resister (#)
Link relay (B)
Internal relay (M)
Output (Y)
P.)
None
• Specify 0 or a multiple of 16 as the first No..
• One transmitting point occupies 16 points.
1) As for the CPU-side devices, the devices corresponding to the total
number of transmitting points set for CPU No.1 to 4 in one setting range
are used in succession starting from the device No. to be set.
Set a device number that ensures enough devices for the set
transmitting points.
When bit device is specified for the CPU-side device, the number of
transmitting points is multiplied by 16.
2 - 16
2 MULTIPLE CPU SYSTEM
Setting 1: Link relay
Setting 2: Link register
2) Set the CPU-side device as follows.
• Settings 1 to 4 may use different devices.
If the device ranges do not overlap, the same device may be used for
settings 1 to 4.
• Settings 1 to 4 may use
different devices.
Setting 3: Link relay
• The same device may be used for
settings 1 to 4.
In setting 1 shown to the left, 160 points
from B0 to B9F are used. Therefore,
setting 3 can use device No. after BA0.
Device numbers may not overlap even
partially, such as specifying B0 to B9F
in setting 1 and B90 to B10F in setting 3.
• The first and last addresses are calculated
automatically in SW6RN-GSV P.
2 - 17
2 MULTIPLE CPU SYSTEM
Refresh settings of CPU No.1
• The devices in settings 1 to 4 can be set individually for each CPU.
For example, you may set link relay for CPU No.1 and internal relay
for CPU No.2.
• When the CPU-side device
for CPU No.1 is different
from that for CPU No.2.
Refresh settings of CPU No.2
• Set the same number of points for all CPUs.
• When the CPU-side device
for CPU No.1 is the
same as that for CPU
No.2.
2 - 18
2 MULTIPLE CPU SYSTEM
Shared CPU memory
of other CPU
CPU No.2
Maximum
2k words
CPU No.3
Maximum
2k words
CPU No.4
Maximum
2k words
CPU No.2
transmitting data (No.1)
CPU No.2
transmitting data (No.2)
CPU No.2
transmitting data (No.3)
CPU No.2
transmitting data (No.4)
CPU No.3
transmitting data (No.1)
CPU No.3
transmitting data (No.2)
CPU No.3
transmitting data (No.3)
CPU No.3
transmitting data (No.4)
CPU No.4
transmitting data (No.1)
CPU No.4
transmitting data (No.2)
CPU No.4
transmitting data (No.3)
CPU No.4
transmitting data (No.4)
Read via END processing
3) The block diagram below illustrates the automatic refresh operation over
four ranges of setting 1: link relay (B), setting 2: link register (W), setting
3: data register (D), and setting 4: internal relay (M).
CPU No.1
g
n
i
s
s
g
n
i
Shared CPU memory
CPU No.1
transmitting data
(No.1)
CPU No.1
transmitting data
(No.2)
CPU No.1
transmitting data
(No.3)
CPU No.1
transmitting data
(No.4)
User-defined area
Maximum
2k words
of CPU No.1
Device
Setting 1
B0
to
Setting 2
W0
receiving data (No.2)
receiving data (No.2)
receiving data (No.2)
Setting 3
D0
Setting 4
M0
M0
CPU No.1
transmitting data
(No.1)
CPU No.2
receiving data (No.1)
CPU No.3
receiving data (No.1)
CPU No.4
receiving data (No.1)
CPU No.1
transmitting data
(No.2)
CPU No.2
CPU No.3
CPU No.4
CPU No.1
transmitting data
(No.3)
CPU No.2
receiving data (No.3)
CPU No.3
receiving data (No.3)
CPU No.4
receiving data (No.3)
CPU No.1
transmitting data
(No.4)
CPU No.2
receiving data (No.4)
CPU No.3
receiving data (No.4)
CPU No.4
receiving data (No.4)
Write during END processing
p
D
N
E
g
n
i
r
u
d
e
t
i
r
W
p
D
N
E
g
n
i
r
u
d
e
t
i
r
Maximum
8k words
W
c
o
r
p
D
N
E
g
n
i
r
u
d
e
t
i
r
W
e
c
o
r
s
s
e
c
o
r
g
n
i
s
s
e
2 - 19
2 MULTIPLE CPU SYSTEM
(3) Automatic refresh settings 2 (Manual setting)
(a) When the automatic refresh setting (Manual setting) of Motion CPU is used,
there are the following advantages.
1) A device setting which executes the automatic refresh setting between
the PLC CPU and Motion CPU can be performed flexibly.
2) Because it is made not to execute the automatic refresh setting between
the Motion CPU using a dummy setting, it is not necessary to use the
user device for the automatic refresh vainly, and a main cycle can also
be shortened.
3) It is possible to execute the automatic refresh of Motion device (#) to the
PLC CPU directly. Similarly, it is possible to execute the automatic
refresh for data of the PLC CPU to the Motion device (#) directly.
Refer to the "QCPU User's Manual (Functions Explanation/Program
Fundamentals)" about the setting for the PLC CPU.
• The first device can be arbitrarily set up for
every CPU. "DUMMY(*)" can be set to the
first device except the self CPU.
• The motion device (#) can be set as a first
device.
(b) Setting selection/send range (refresh range) for each CPU
1) The refresh setting of four ranges can be set by setting selection.
For example, ON/OFF data may be refreshed using bit-device setting,
while other data may be refreshed word device setting.
2) The number of points in the shared CPU memory is set in units of 2
points (2 words) is set in the send range for each CPU. (2 points if word
device is specified for the CPU-side device, or 32 points if bit device is
specified.)
Data of the CPU for which "0" is set as the number of points
representing the transmitting range of the CPU may not be refreshed.
3) The maximum number of transmitting points combining all four ranges is
2k words per CPU (PLC CPU or Motion CPU) or 8k points (8k words) for
all CPUs.
4) If "*" is set as the first device setting column A of each automatic refresh
setting, the first device for every CPU can be arbitrarily set up by the
user in the column of B.
2 - 20
2 MULTIPLE CPU SYSTEM
5) "DUMMY" setting can be set to the first device column B of the
automatic refresh setting. ("DUMMY" setting cannot be set to the self
CPU.) "DUMMY" setting should set "*" as the first devise column B. The
self CPU does not execute the automatic refresh to the other CPU which
carried out "DUMMY(*)" setting.
A
B
• A white portion can be set.
6) Set the same number of transmitting points for all CPUs in the Multiple
CPU system.
If any of the CPUs has a different number of transmitting points, a
PARAMETER ERROR will be occurred.
2 - 21
2 MULTIPLE CPU SYSTEM
(c) CPU-side device
• Self CPU (CPU No.2)
Refresh setting 1
The following devices can be used for automatic refresh. (Other devices
cannot be set in SW6RN-GSV
Settable device Restriction
Data resister (D)
Link resister (W)
Motion resister (#)
Link relay (B)
Internal relay (M)
Output (Y)
P.)
None
• Specify 0 or a multiple of 16 as the first No..
• One transmitting point occupies 16 points.
• If the device No. does not
overlap, it is right.
• The device of CPU No.4
at setting 1 is not refreshed
by the CPU No.2.
• Self CPU (CPU No.2)
Refresh setting 2
• If the device No. does not
overlap, it is right.
• The device of CPU No.4
at setting 2 is not refreshed
by the CPU No.2.
2 - 22
2 MULTIPLE CPU SYSTEM
[Dummy setting]
Usually, the automatic refresh setting is executed between PLC CPU and Motion
CPU for the instructions to each Motion CPU and the monitor of a state by the
PLC CPU at the time of operation. However, the automatic refresh is not
necessary between each Motion CPU. In this case, because it is made not to
execute the automatic refresh setting between the Motion CPU using a dummy
setting, it is not necessary to use the user device for the automatic refresh vainly,
and a main cycle can also be shortened.
Example of the automatic refresh setting using the "Dummy setting" is as follows.
Motion CPU No.2
Read data of
CPU No.3
• PLC CPU (CPU No.1)
Automatic refresh setting 1
• Motion CPU (CPU No.2)
Automatic refresh setting 1
PLC CPU No.1
This part is not
•
refreshed so that
a dummy setting.
Motion CPU No.4
• Motion CPU (CPU No.3)
Automatic refresh setting 1
• The device of CPU No.2 and No.4 are not refreshed by the CPU No.3.
• Motion CPU (CPU No.4)
Automatic refresh setting 1
Motion CPU No.3
Read data of
CPU No.3
• The device of CPU No.2 is not refreshed by the CPU No.4.• The device of CPU No.4 is not refreshed by the CPU No.2.
Although the example of a setting is the case of the automatic refresh setting 1,
the automatic refresh setting 2 - 4 can be also set similarly.
2 - 23
2 MULTIPLE CPU SYSTEM
(4) The layout example of automatic refresh setting
The layout example of automatic refresh when Read/Write does a Motion
dedicated device in the Motion CPU with PLC CPU is shown below.
(a) SV13
• Overall configuration
Table of the internal relays Table of the data registers
Device No. Application Device No. Application
M0 D0
to
M2000 D640
to
User device
(2000 points)
Common device
(320 points)
to
to
Axis monitor device
(20 points
Control change register
(2 points
32 axes)
32 axes)
M2320 D704
to
M2400 D758
to
M3040
to
M3072
to
M3136
to
M3200
to
M3840
Special relay allocated device
(Status)
(80 points)
Axis status
(20 points
Unusable
Common device
(Command signal)
(64 points)
Special relay allocated device
(Command signal)
(64 points)
Axis command signal
(20 points
32 axes)
32 axes)
to
to
D800
to
Common device
(Common signal)
(54 points)
Common device
(Monitor)
(42 points)
User device
(7392 points)
to
M8191
User device
(4352 points)
D8191
2 - 24
)
)
2 MULTIPLE CPU SYSTEM
CPU No.1 (PLC CPU
1) PLC CPU (1 module) + Motion CPU (1 module)
The outline operation and the automatic refresh setting are as follows.
CPU No.2 (Motion CPU
Internal relays
Command device for
M0
the Motion CPU
M768
Monitor device for
the Motion CPU
M1824
M8191
Data registers
Command device for
D0
the Motion CPU
D118
Monitor device for
the Motion CPU
D758
D8191
(768 points)
(1056 points)
(118 points)
(640 points)
M0
M2000
M3055
M3072
M3839
M3840
M8191
D0
D640
D758
D8191
Internal relays
Monitor device
(1056 points)
Command device
(768 poi nts)
Data registers
Monitor device
(640 points)
Command device
(118 poi nts)
•
Automatic refresh setting 1
CPU
No.1 48 M0 M767No.1 48 M3072 M3839
No.2 66 M768 M1823No.2 66 M2000 M3055
No.3 No.3
No.4 No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
Automatic refresh setting 2
•
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
No.1 118 D0 D117 No.1 118 D640 D757
No.2 640 D118 D757 No.2 640 D0 D639
No.3 No.3
No.4 No.4
CPU share memory G Dev. starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
POINT
Although it has set up so that 32 axes may be assigned in the above assignment
example, reduce the number of assignment automatic refresh points a part for the
number of axes to be used.
2 - 25
2 MULTIPLE CPU SYSTEM
CPU No.1 (PLC CPU)
2) PLC CPU (1 module) + Motion CPU (2 modules)
The outline operation and the automatic refresh setting are shown
below.
CPU No.2 (Motion CPU)
Command device for
M0
the Motion CPU No.2
(768 points)
Monitor device for
M768
the Motion CPU No.2
(1056 points)
Command device for
M1824
the Motion CPU No.3
(768 points)
Monitor device for
M2592
the Motion CPU No.3
(1056 points)
M3648
M8191
Command device for
D0
the Motion CPU No.2
(118 points)
Monitor device for
D118
the Motion CPU No.2
(640 points)
Command device for
D758
the Motion CPU No.3
(118 points)
Monitor device for
D876
the Motion CPU No.3
(640 points)
D1516
D8191
Internal relays
Data registers
Internal relays
M0
M2000
Monitor device
(1056 points)
M3055
M3072
Command device
(768 points)
M3839
M3840
M8191
CPU No.3 (Motion CPU)
Internal relays
M0
M2000
Monitor device
(1056 points)
M3055
M3072
Command device
(768 points)
M3839
M3840
M8191
CPU No.2 (Motion CPU)
Data registers
D0
Monitor device
(640 points)
D640
Command device
(118 poi nts)
D758
D8191
CPU No.3 (Motion CPU)
Data registers
D0
Monitor device
(640 points)
D640
Command device
(118 points)
D758
D8191
2 - 26
2 MULTIPLE CPU SYSTEM
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
•
Automatic refresh setting 1
CPU
No.1 48 M0 M767No.1 48 M3072 M3839
No.2 66 M768 M1823No.2 66 M2000 M3055
No.3 0 No.3 0
No.4
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 2
•
CPU
No.1 118 D0 D117 No.1 118 D640 D757
No.2 640 D118 D757 No.2 640 D0 D639
No.3 0 No.3 0
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. Starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 3
•
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
No.1 48 M1824 M2591No.1 48
No.2 0 No.2 0
No.3 66 M2592 M3647No.3 66
No.4
CPU share memory G Dev. Starting M1824CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
**
**
No.4
(Note) : A dummy setting is made so that an excessive device
may not be refreshed in the Motion CPU No.2.
Automatic refresh setting 4
•
CPU
No.1 118 D758 D875 No.1 118
No.2 0 No.2 0
No.3 640 D876 D1515 No.3 640
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. starting D758CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
**
**
No.4
(Note) : A dummy setting is made so that an excessive device
may not be refreshed in the Motion CPU No.2.
2 - 27
2 MULTIPLE CPU SYSTEM
•
Automatic refresh setting 1
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 48
No.2 66
No.3 0
No.4
(Note) : A dummy setting is made so that an excessive device may not be refreshed in the
CPU
No.1 118
No.2 640
No.3 0
No.4
(Note) : A dummy setting is made so that an excessive device may not be refreshed in the
CPU share memory G Dev. starting *
Point Start End Start End
**
**
Motion CPU No.3.
Automatic refresh setting 2
•
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU share memory G Dev. starting *
Point Start End Start End
**
**
Motion CPU No.3.
Automatic refresh setting 3
•
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 48 M3072 M3839
No.2 0
No.3 66 M2000 M3055
No.4
CPU
No.1 118 D640 D757
No.2 0
No.3 640 D0 D639
No.4
CPU share memory G Dev. starting *
Point Start End Start End
Automatic refresh setting 4
•
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU share memory G Dev. starting *
Point Start End Start End
POINT
In the case of the combination "PLC CPU (1 module) + Motion CPU (3 modules)"
with SV13, make all the devices of all the CPUs refresh as mentioned above
because the setting that Read/Write is made of the PLC CPU cannot be executed.
2 - 28
2 MULTIPLE CPU SYSTEM
(b) SV22
• Overall configuration
Table of the internal relays Table of the data registers
Device No. Application Device No. Application
M0 D0
to
M2000 D640
to
M2320 D704
to
M2400 D758
to
M3040 D800
to
M3072 D1120
to
M3136 D1240
to
M3200 D1560
to
M3840
to
M4000
to
M4640
to
M4688
to
M4800
to
M5440
to
M5488
to
M5520
to
M5584
to
M5600
to
M8191
User device
(2000 points)
Common device
(320 points)
Special relay allocated device
(Status)
(64 points)
Axis status
(20 points 32 axes)
Unusable
Common device
(Command signal)
(64 points)
Special relay allocated device
(Command signal)
(64 points)
Axis command signal
(20 points
Unusable
Virtual servomotor axis status
(20 points
(Mechanical system setting axis only)
Synchronous encoder axis status
(4 points
Unusable
Virtual servomotor axis command
signal
(20 points
(Mechanical system setting axis only)
Synchronous encoder axis
command signal
(4 points
Cam axis command signal
(1 points
(Mechanical system setting axis only)
The outline operation and the automatic refresh setting are as follows.
CPU No.2 (Motion CPU
Internal relays
M0
Real command device for
the Motion CPU
M768
Real monitor device for
the Motion CPU
M1824
Virtual command device for
the Motion CPU
M2528
Virtual monitor device for
the Motion CPU
M3232
M8191
Data registers
D0
Real command device for
the Motion CPU
D118
Real monitor device for
the Motion CPU
D758
Virtual monitor device for
the Motion CPU
D1418
D8191
(768 points)
(1056 points)
(704 points)
(704 points)
(118 points)
(640 points)
(660 points)
Internal relays
M0
M2000
Real monitor device
(1056 points)
M3055
M3072
Real command device
(768 points)
M3839
M4000
Virtual monitor device
(704 points)
M4703
M4800
Virtual command device
(704 points)
M5504
M8191
Data registers
D0
Real monitor device
(640 points)
D640
Real command device
(118 points)
D757
D800
Virtual monitor device
(660 points)
D1460
D8191
2 - 30
2 MULTIPLE CPU SYSTEM
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
•
Automatic refresh setting 1
CPU
No.1 48 M0 M767No.1 48 M3072 M3839
No.2 66 M768 M1823No.2 66 M2000 M3055
No.3 No.3
No.4
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 2
•
CPU
No.1 118 D0 D117 No.1 118 D640 D757
No.2 640 D118 D757 No.2 640 D0 D639
No.3 No.3
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. Starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 3
•
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
No.1 44 M1824 M2527No.1 44 M4800 M5503
No.2 44 M2528 M3231No.2 44 M4000 M4703
No.3 No.3
No.4
CPU share memory G Dev. Starting M1824CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 4
•
CPU
No.1 0 No.1 0
No.2 660 D758 D1417 No.2 660 D800 D1459
No.3 No.3
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. starting D758CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
POINT
In the case of the combination "PLC CPU (1 module) + Motion CPU (2 modules)"
with SV22, make all the devices of all the CPUs refresh as mentioned above
because the setting that Read/Write is made of the PLC CPU cannot be executed.
2 - 31
2 MULTIPLE CPU SYSTEM
(c) SV43
• Overall configuration
Table of the internal relays Table of the Data registers
Device No. Application Device No. Application
M0 D0
to
M2000 D640
to
M2320 D704
to
M2400 D758
to
M3040 D800
to
User device
(2000 points)
Common device
(Status)
(320 points)
Special relay allocated device
(Status)
(80 points)
Axis status
(20 points
Unusable
(32 points)
32 axes) to
to
to
to
to
Axis monitor device
(20 points
Control change register
(2 points
Common device
(Common signal)
(54 points)
Common device
(Monitor)
(42 points)
Axis monitor device 2
(20 points
32 axes)
32 axes)
32 axes)
M3072 D1440
to
M3136 D1536
to
M3200 D1632
to
M3840 D1650
to
M4000 D1690
to
M4320
to
M4400
to
M4720
to
M8191
Common device
(Command signal)
(64 points)
Special relay allocated device
(Command signal)
(64 points)
Axis command signal
(20 points
User device
(160 points) to
Axis I/O signal
(Axis status 2)
(10 points
Unusable
(80 points)
Axis I/O signal
(Axis command signal 2)
(10 points
User device
(3472 points)
32 axes)
32 axes)
32 axes)
to
to
to
to
D8191
Control program monitor device
(6 points
Control change register 2
(Override ratio)
(3 points
User device
(18 points)
Tool length offset data setting
register
(2 points
User device
(6502 points)
16 programs)
32 axes)
20)
2 - 32
)
2 MULTIPLE CPU SYSTEM
CPU No.1 (PLC CPU
1) PLC CPU (1 module) + Motion CPU (1 module)
The outline operation and the automatic refresh setting are shown
below.
CPU No.2 (Motion CPU)
M0
M768
M1824
M2144
Internal relays
Command device for
the Motion CPU
Monitor device for
the Motion CPU
Command device for
the Motion CPU
Monitor device for
the Motion CPU
M2464
M8191
Data registers
Command device for
D0
the Motion CPU
Monitor device for
D118
the Motion CPU
D758
Command device for
the Motion CPU
D854
Monitor device for
the Motion CPU
D1632
D8191
(768 points)
(1056 points)
(320 poi nts)
(320 poi nts)
(118 poi nts)
(640 poi nts)
(96 points)
(778 points)
M0
M2000
M3055
M3072
M3839
M4000
M4319
M4400
M4719
M4720
M8191
D0
D640
D758
D1536
D1632
D8191
Internal relays
Monitor device
(1056 points)
Command device
(768 points)
Monitor device
(320 points)
Command device
(320 points)
Data registers
Monitor device
(640 points)
Command device
(118 points)
Monitor device
(778 points)
Command device
(96 points)
•
Automatic refresh setting 1
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
No.1 48 M0 M767No.1 48 M3072 M3839
No.2 66 M768 M1823No.2 66 M2000 M3055
No.3 No.3
No.4 No.4
Automatic refresh setting 2
•
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
CPU share memory G Dev. starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
No.1 118 D0 D117 No.1 118 D640 D757
No.2 640 D118 D757 No.2 640 D0 D639
No.3 No.3
No.4 No.4
2 - 33
2 MULTIPLE CPU SYSTEM
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
•
Automatic refresh setting 3
CPU
No.1 20 M1824 M2143No.1 20 M4400 M4719
No.2 20 M2144 M2463No.2 20 M4000 M4319
No.3 No.3
No.4 No.4
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
Automatic refresh setting 4
•
CPU
No.1 96 D758 D853No.1 96 D1536 D1631
No.2 778 D854 D1631 No.2 778 D758 D1535
No.3 No.3
No.4 No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
POINT
Although it has set up so that 32 axes may be assigned in the above assignment
example, reduce the number of assignment automatic refresh points a part for the
number of axes to be used.
2 - 34
)
)
2 MULTIPLE CPU SYSTEM
CPU No.1 (PLC CPU
2) PLC CPU (1 module) + Motion CPU (2 modules)
The outline operation and the automatic refresh setting are as follows.
CPU No.2 (Motion CPU
Command device for
M0
the Motion CPU No.2
(768 points)
Monitor device for
M768
the Motion CPU No.2
(1056 points)
Command device for
M1824
the Motion CPU No.3
(768 points)
Monitor device for
M2592
the Motion CPU No.3
(1056 points)
M3648
M8191
Command device for
D0
the Motion CPU No.2
(118 points)
Monitor device for
D118
the Motion CPU No.2
(640 points)
Command device for
D758
the Motion CPU No.3
(118 points)
Monitor device for
D876
the Motion CPU No.3
(640 points)
D1516
D8191
Internal relays
Data registers
Internal relays
M0
M2000
Monitor device
(1056 points)
M3055
M3072
Command device
(768 points)
M3839
M3840
M8191
CPU No.3 (Motion CPU)
Internal relays
M0
M2000
Monitor device
(1056 points)
M3055
M3072
Command device
(768 points)
M3839
M3840
M8191
CPU No.2 (Motion CPU)
Data registers
D0
Monitor device
(640 points)
D640
Command device
(118 poi nts)
D758
D8191
CPU No.3 (Motion CPU)
Data registers
D0
Monitor device
(640 points)
D640
Command device
(118 points)
D758
D8191
2 - 35
2 MULTIPLE CPU SYSTEM
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
•
Automatic refresh setting 1
CPU
No.1 48 M0 M767No.1 48 M3072 M3839
No.2 66 M768 M1823No.2 66 M2000 M3055
No.3 0 No.3 0
No.4
CPU share memory G Dev. starting M0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 2
•
CPU
No.1 118 D0 D117 No.1 118 D640 D757
No.2 640 D118 D757 No.2 640 D0 D639
No.3 0 No.3 0
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. Starting D0CPU share memory G Dev. starting *
Point Start End Start End
CPU
No.4
Point Start End Start End
Automatic refresh setting 3
•
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU
No.1 48 M1824 M2591No.1 48
No.2 0 No.2 0
No.3 66 M2592 M3647No.3 66
No.4
CPU share memory G Dev. Starting M1824CPU share memory G Dev. starting *
Point Start End Start End
CPU
Point Start End Start End
**
**
No.4
(Note): A dummy setting (*) is made so that an excessive device may not be
refreshed in the Motion CPU No.2.
•
Automatic refresh setting 4
CPU
No.1 118 D758 D875 No.1 118
No.2 0 No.2 0
No.3 640 D876 D1515 No.3 640
No.4
PLC CPU (CPU No.1) Motion CPU (CPU No.2)
Send range for each CPU CPU side device Send range for each CPU CPU side device
CPU share memory G Dev. starting D758CPU share memory G Dev. starting
Point Start End Start End
CPU
Point Start End Start End
**
**
No.4
(Note): A dummy setting (*) is made so that an excessive device may not be
refreshed in the Motion CPU No.2.
*
2 - 36
2 MULTIPLE CPU SYSTEM
•
Automatic refresh setting 1
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 48
No.2 66
No.3 0
No.4
(Note): A dummy setting (*) is made so that an excessive device may not be
CPU share memory G Dev. starting *
Point Start End Start End
**
**
refreshed in the Motion CPU No.2.
Automatic refresh setting 2
•
(Note): A dummy setting (*) is made so that an excessive device may not be
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 118
No.2 640
No.3 0
No.4
CPU share memory G Dev. starting *
Point Start End Start End
**
**
refreshed in the Motion CPU No.2.
•
Automatic refresh setting 3
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 48 M3072 M3839
No.2 0
No.3 66 M2000 M3055
No.4
CPU share memory G Dev. starting *
Point Start End Start End
•
Automatic refresh setting 4
Motion CPU (CPU No.3)
Send range for each CPU CPU side device
CPU
No.1 118 D640 D757
No.2 0
No.3 640 D0 D639
No.4
CPU share memory G Dev. starting *
Point Start End Start End
2 - 37
2 MULTIPLE CPU SYSTEM
POINT
In the case of the combination "PLC CPU (1 module) + Motion CPU (3 modules)"
with SV43, make all the devices of all the CPUs refresh as mentioned above
because the setting that Read/Write is made of the PLC CPU can not be executed.
2 - 38
2 MULTIPLE CPU SYSTEM
2.3.2 Control Instruction from the PLC CPU to The Motion CPU (Motion dedicated
instructions)
Control can be instructed from the PLC CPU to the Motion CPU using the Motion
dedicated PLC instructions listed in the table below.
Refer to the "Q173HCPU/Q172HCPU Motion controller (SV13/SV22) Programming
Manual (Motion SFC)" or "Q173HCPU/Q172HCPU Motion controller (SV43)
Programming Manual" for the details of each instruction.
(Control may not be instructed from the Motion CPU to another Motion CPU.)
Description
Instruction name
SV13/SV22 SV43
Start request of the Motion SFC
S(P).SFCS
S(P).SVST
S(P).CHGA
S(P).CHGV Speed change request of the specified axis
S(P).CHGT Torque control value change request of the specified axis
S(P).GINT
program (Program No. may be
specified.)
Start request of the specified servo
program
Current value change request of the
specified axis
Execute request of an event task to
the other CPU (Motion CPU)
Start request of the specified Motion
program (Control program)
Start request of the specified Motion
program (Axis designation program)
Home position return request of the
specified axis
Unusable
By using the S(P).SFCS instruction of the Motion dedicated instruction, the Motion
SFC of the Motion CPU from the PLC CPU can be started.
<Example>
PLC CPUMotion CPU
Start request
S(P). SFCS instruction
Motion SFC
POINT
One PLC CPU can execute a total of up to 32 "Motion dedicated instructions" and
"dedicated instructions excluding the S(P).GINT" simultaneously.
When Motion dedicated instructions and dedicated instructions excluding the
"S(P).GINT" are executed simultaneously, the instructions will be processed in the
order received.
If the command which has not completed processing becomes 33 or more, an
OPERATION ERROR (error code: 4107) will be occurred.
2 - 39
2 MULTIPLE CPU SYSTEM
2.3.3 Reading/Writing Device Data
Device data can be written or read to/from the Motion CPU by the PLC CPU using the
dedicated instructions listed in the table below.
Refer to the "Q173HCPU/Q172HCPU Motion controller (SV13/SV22) Programming
Manual (Motion SFC)" or "Q173HCPU/Q172HCPU Motion controller (SV43)
Programming Manual for the details of each instruction.
(Data cannot be written or read to/from the PLC CPU by another PLC CPU, to/from the
PLC CPU by the Motion CPU, or to/from a Motion CPU by another Motion CPU.)
Instruction name Description
S(P).DDWR
S(P).DDRD
For example, by using the S(P). DDWR dedicated instruction, the device data of the
PLC CPU can be written to the device data of the Motion CPU.
<Example>
PLC CPUMotion CPU
Write a device data of the self CPU (PLC CPU) to a device of the other
CPU (Motion CPU).
Read a device data of other CPU (Motion CPU) to a device of the self
CPU (PLC CPU).
S(P). DDWR instruction
Read device memory
Write device
memory.
Device memoryDevice memory
POINT
(1) One PLC CPU can execute a total of up to 32 "Motion dedicated instructions"
and "dedicated instructions excluding the S(P).GINT" simultaneously.
When Motion dedicated instructions and dedicated instructions excluding the
S(P).GINT are executed simultaneously, the instructions will be processed in
the order received.
If the command which has not completed processing becomes 33 or more, an
OPERATION ERROR (error code: 4107) will be occurred.
(2) Data refresh via the S(P).DDRD/S(P).DDWR is not synchronized with data
refresh via the automatic refresh function of shared CPU memory.
Do not issue S(P).DDRD/S(P).DDWR instructions to the devices whose data in
shared CPU memory is being refreshed.
2 - 40
2 MULTIPLE CPU SYSTEM
2.3.4 Shared CPU Memory
Shared CPU memory is used to transfer data between the CPUs in the Multiple CPU
system and has a capacity of 4096 words from 0H to FFFH.
Shared CPU memory has four areas: "self CPU operation data area", "system area",
"automatic refresh area" and "user-defined area".
When the automatic refresh function of shared CPU memory is set, the area
corresponding to the number of automatic refresh points starting from 800H is used as
the automatic refresh area.
The user-defined area begins from the address immediately next to the last address of
the automatic refresh area.
If the number of automatic refresh points is 18 (12H points), the area from 800H to
811H becomes the automatic refresh area and the area after 812H becomes the userdefined area.
The diagram below shows the structure of shared CPU memory and accessibility from
a PLC program.
Shared CPU memory
0H
Self CPU operation
to
data area
1FFH
200H
to
7FFH
800H
Automatic refresh area
System area
Self CPU
(Note-1)
Write
Not allowed
Not allowed
Not allowed
Read
Not allowed
Not allowed
Not allowed
Other CPU
Write
Not allowed
Not allowed
Not allowed
(Note-2)
Read
Allowed
Allowed
Not allowed
to
Not allowed Not allowed
Allowed
FFFH
User-defined area
Allowed
REMARK
(Note-1) : Use the S. TO instruction to write to the user-defined area of the self CPU
in the PLC CPU.
Use the MULTW instruction to write to the user-defined area of the self
CPU in the PLC CPU.
(Note-2) : Use the FROM instruction/intelligent function module device (U
read the shared memory of the Motion CPU from the PLC CPU.
Use the MULTR instruction to read the shared memory of other CPU in
the Motion CPU.
\G ) to
2 - 41
2 MULTIPLE CPU SYSTEM
(1) Self CPU operation data area (0H to 1FFH)
(a) The following data of the self CPU are stored in the Multiple CPU system,
Table 2.1 Table of Contents Stored in the Self CPU Operation Data Area
This area is used to check whether data is stored or not in the
self CPU operation data area (1H to 1FH) of the self CPU.
• 0: Data is not stored in the self CPU operation data area.
• 1: Data is stored in the self CPU operation data area.
The error number of an error generated during diagnosis is
stored as a BIN code.
The year and month when the error number was stored in
address 1H of shared CPU memory is stored in 2-digit BCD
code.
The date and hour when the error number was stored in
address 1H of shared CPU memory is stored in 2-digit BCD
code.
The minutes and seconds when the error number was stored in
address 1H of shared CPU memory is stored in 2-digit BCD
code.
Category codes indicating the nature of the stored common
error data and individual error data are stored.
Common data corresponding to the error number of an error
generated during diagnosis is stored.
Not used
(Note)
Corresponding
special resister
—
D9008
D9010
D9011
D9012
D9013
D9014
—
1DH Switch status CPU switch status
1EH LED status CPU-LED status
1FH CPU operation status CPU operation status
The switch status of the CPU is stored.
The bit pattern of the CPU LED is stored
The operation status of the CPU is stored.
(Note) : Refer to the corresponding special register for details.
(b) The self CPU operation data area is refreshed every time the applicable
register has been changed.
However, the refresh timing may be delayed by up to the main cycle time.
(It updates using idle time during motion control. The maximum main cycle
time: several milliseconds to several hundred milliseconds).
(c) The data of the self CPU operation data area can be read from the PLC
CPU of the other CPU by the FROM instruction.
However, since there is a delay in data update, use the data that has been
read as an object for monitoring only.
(d) Self CPU operation data area used by Motion dedicated PLC instruction
(30H to 33H)
The complete status of the to self CPU high speed interrupt accept flag from
CPUn is stored in the following address.
Table 2.2 Self CPU Operation data Area used by the Motion Dedicated PLC Instruction
Shared
memory
address
30H(48) To self CPU high speed interrupt accept flag from CPU1
31H(49) To self CPU high speed interrupt accept flag from CPU2
32H(50) To self CPU high speed interrupt accept flag from CPU3
33H(51) To self CPU high speed interrupt accept flag from CPU4
Name Description
This area is used to check whether to self CPU high speed interrupt accept flag
from CPUn can be accepted or not.
0: To self CPU high speed interrupt accept flag from CPUn accept usable.
1: To self CPU high speed interrupt accept flag from CPUn accept disable.
2 - 42
D9200
D9201
D9015
2 MULTIPLE CPU SYSTEM
(2) System area (200H to 7FFH)
This area is used by the operating systems (OS) of the PLC CPU/Motion CPU.
OS uses this area when executing dedicated Multiple CPU communication
instructions.
• System area used by Motion dedicated PLC instruction (204H to 20DH)
The complete status is stored in the following.
Table 2.3 Table of System Area used by the Motion Dedicated PLC Instruction
Shared
memory
address
204H(516) Start accept flag (Axis1 to 16)
205H(517) Start accept flag (Axis17 to 32)
206H(518) Speed changing flag (Axis1 to 16)
207H(519) Speed changing flag (Axis17 to 32)
208H(520)
20CH(524)
20DH(525)
Synchronous encoder current value
changing flag (Axis1 to 12)
Cam shaft within-one-revolution current
value changing flag (Axis1 to 16)
Cam shaft within-one-revolution current
value changing flag (Axis17 to 32)
Name Description
(Note-1)
(Note-1)
(Note-1)
The start accept flag is stored by the 1 to 32 axis, each bit.
(As for a bit's actually being set Q173HCPU : J1 to J32/
Q172HCPU : J1 to J8.)
OFF : Start accept flag usable
ON : Start accept flag disable
204H(516) address
205H(517) address
J16
J32
The speed changing flag is stored by the 1 to 32 axis, each bit.
(As for a bit's actually being set Q173HCPU : J1 to J32/
Q172HCPU : J1 to J8.)
OFF : Start accept usable
ON : Start accept disable
206H(518) address
207H(519) address
J16
J32
The synchronous encoder current value change flag is stored
by the 1 to 16 axis, each bit.
(As for a bit's actually being set Q173HCPU : E1 to E12/
Q172HCPU : E1 to E8.)
OFF : Start accept usable
ON : Start accept disable
208H(520) address
E16
The cam shaft within-one-revolution current value changing
flag is stored by the 1 to 32 axis, each bit.
(As for a bit's actually being set Q173HCPU : C1 to C32/
Q172HCPU : C1 to C8.)
OFF : Start accept usable
ON : Start accept disable
20CH(524) address
20DH(525) address
C16
C32
(Note-1): Usable in SV22.
b1 b0b15
J2
J1
J17
b1 b0b15
J2
J1
J17
b1 b0b15
E2 E1
b1 b0b15
C2
C1
C17
2 - 43
2 MULTIPLE CPU SYSTEM
(3) Automatic refresh area
This area is used at the automatic refresh of the Multiple CPU system.
This area cannot be written using S. TO instruction/read using FROM instruction
of the PLC CPU and written using MULTW instruction/read using MULTR
instruction of the Motion CPU.
(4) User-defined area
This area is used for the communication among each CPU in the Multiple CPU
system using FROM/S. TO instructions and the intelligent function module
devices of the PLC CPU. (Among each CPU communicates using the MULTR/
MULTW instruction of the operating control program (SV13/SV22)/Motion
program (SV43) in the Motion CPU.)
Refer to the Programming Manual of each operating system software for MULTR
instruction or MULTW instruction.
After point set in the automatic refresh area is used.
(If the automatic refresh function is not executed, the area from 800H to FFFH
can be used as a user-defined area.)
2 - 44
2 MULTIPLE CPU SYSTEM
2.4 Multiple CPU Error Codes
2.4.1 Self-diagnosis error code
This section explains the self-diagnosis error code. A self-diagnosis error code is
stored in D9008.
And, it can be confirmed with device monitor of the PC diagnosis/SW6RN-GSV
GX Developer.
Each digit is defined as the error code as follows.
The characteristic error of Motion CPU is 10000 (the error code which occurs except
the PLC CPU).
Digit
Tens digit
Hundreds digit
Thousands digit : Big classification (Factor)
Millions digit
:
:
Details code
:
: Super classification
(Except the PLC CPU)
Big classification
1
Internal hardware
Handling
2
3
Parameter
4
Program
5
Watch timer
The correspondence
6
which becomes d ouble
7
Indicates Multiple CPU
8
9
Outside diagnosis
P of
2 - 45
2 MULTIPLE CPU SYSTEM
Table 2.4 Multiple CPU errors which occurs in the Motion CPU (1000 to 10000)
Middle
classification
CPU (hard)
error
Error
Error messages
1000
1001
1002
1003
MAIN CPU DOWN
In the CPU,
RAM error
(RAM ERROR)
FUSE BREAK OFF 1300 — — — OFF/ON Flickers/ON
1004
1005
1006
1007
1008
1009
1105 —
code
Classification code
Error information
— — — OFF Flickers Stop Always
Occurs CPU LED status
Single
composition
Multiple
composition
Operating
RUN ERROR
OFF Flickers Stop
status of CPU
Stop/Continue
(Note-7)
Diagnostic
timing
At power supply
ON/at reset
Always
Module
error (hard)
Base
Power
supply
Battery (BATTERY ERROR)
Handling the
intelligent
function
module/
Multiple
CPU
module
SP. UNIT DOWN 1401 Module No.
Q bus error
(CONTROL-BUS
ERROR)
Detection of AC/DC
DOWN (AC/DC DOWN)
Intelligent function
module installation error
(SP. UNIT LAY
ERROR)
1413 Module No.
1414 Module No.
1415 Base No.
1416 Module No.
1500 —
1600 ON OFF
1601
2121
2124
2125
2126 Module No.
(Note-2)
(Note-1)
Drive name
Module No.
(Note-1)
—
—
OFF Flickers Stop
OFF Flickers Stop Always
OFF Flickers Stop Always
OFF Flickers Stop Always
OFF Flickers Stop
ON OFF Continue Always
Continue Always
BAT. ALM
LED ON
OFF Flickers Stop
At power supply
ON/at reset
At power supply
ON/at reset
At power supply
ON/at reset
(Note-1) : CPU No. is stored in slot No. of the common information classification.
(Note-2) : Base No. in "common information classification code" of "error information classification code" is 0 : CPU base, 1 to 7 : Number of extension bases.
(Note-3) : Because a stop error or CPU No. except CPU No. that it was reset becomes MULTI CPU DOWN simultaneously, a stop error or CPU No. except CPU
(Note-4) : W hen an error occurs in the Motion CPU and so on except PLC CPU, if a PC diagnosis is made in the CPU except P LC CPU from GX Developer via
(Note-5) : The Motion SFC error detection signal (M2039) turned on at the error detection (SV13/SV22). A self-diagnosis error flag (M9008) and a diagnosis error
(Note-6) : MOTION RUN LED turns off at the stop error occurrence. (The condition of RUN LED does not change.)
(Note-7) : Operating status of CPU at the error occurrence can be set in the parameter. (LED display also changes continuously.)
No. that it was reset may store in the classification of error information depending on timing.
PLC CPU, the error code "10000" is indicated.
flag (M9010) do not turn on at the error detection. The error code "10000" being set in D9008 is reset in the Motion SFC error detection signal (M2039)
ON
OFF (SV13/SV22).
2 - 46
2 MULTIPLE CPU SYSTEM
Error code Error contents and cause Corrective action Remark
1415 Fault of the CPU or extension base unit was detected.
1416 Bus fault was detected at power-on or reset.
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1105 Shared CPU memory fault in the CPU.
1300
1401
1413
1414
Run-away or failure of main CPU
(1) Malfunctioning due to noise or other reason
(2) Hardware fault
There is an output module with a blown fuse.
There was no response from the motion module or intelligent
function module during initial communications.
An error is detected on the Q bus.
(1) Measure noise level.
(2) Reset and establish the RUN status again. If the same error is
displayed again, this suggests a CPU hardware error. Explain
the error symptom and get advice from our sales
representative.
(1) Measure noise level.
(2) Reset and establish the RUN status again. If the same error is
displayed again, this suggests a CPU hardware error. Explain
the error symptom and get advice from our sales
representative.
Check ERR. LED of the output modules and replace the module
whose LED is lit.
The Motion dedicated module, the intelligent function module, the
CPU module or the base unit has hardware error.
Explain the error symptom and get advice from our sales
representative.
A special function module, the CPU module, or the base unit has
hardware error. Explain the error symptom and get advice from
our sales representative.
1500
1600
1601 Battery voltage has dropped below stipulated level. Replace the battery.
2121 A CPU module is installed in a slot except CPU slot, 0 to 2 slot. A CPU module is installed to a CPU slot or 0 to 2 slot.
2124
2125
2126
A momentary power interruption of the power supply occurred.
The power supply went off.
(1) Voltage of the CPU has dropped below stipulated level.
(2) The lead connector of CPU battery has not been installed.
(1) A module is installed in slot 65 or subsequent slot.
(2) A module is installed in a base for which "None" is set in the base
settings.
(1) A module which the PLC CPU cannot recognize has been
installed.
(2) There was no response from the intelligent function module.
CPU module locations in a Multiple CPU system is either of the
following.
(1) There are non-installation slots between the CPU modules.
(2) The modules except the PLC CPU are installed between the PLC
CPU modules.
Check the power supply.
(1) Replace the battery.
(2) If the battery is for internal RAM or for the back-up power
function, install a lead connector.
(1) Remove a module of slot 65 or subsequent slot.
(2) Remove a module of base for which "None" is set in the base
settings.
(1) Install a usable module in the PLC CPU.
(2) The intelligent function module has hardware error. Explain
the error symptom and get advice from our sales
representative.
(1) There must be non-installation slots between the CPU
modules in the Multiple CPU system. (When the noninstallation slots are reserved, cancel the reservation.)
(2) Remove the modules except the P LC CPU installed between
the PLC CPU modules, and shift over to the slots with the
PLC CPU modules in the Multiple CPU system.
: It occurs in the CPU (CPU No.) which detected a error.
: It occurs in all CPU No. at the time of the Multiple CPU composition.
: It does not occur.
2 - 47
2 MULTIPLE CPU SYSTEM
Table 2.4 Multiple CPU errors which occurs in the Motion CPU (1000 to 10000) (continued)
Middle
classification
Error messages
Error
code
Error information
Classification code
Occurs CPU LED status
Single
composition
Multiple
composition
RUN ERROR
status of CPU
Operating
Diagnostic
timing
Parameter
Multiple
CPU
PARAMETER
ERROR
Other issue
opportunity CPU
weight occasion error
(MULTI CPU DOWN)
3001
3010 —
3012 —
3013
7000
7002 —
7003
File name
Module No.
(Note-1) (Note-3)
Module No.
(Note-1)
—
—
—
OFF Flickers Stop
OFF Flickers Stop
At power
supply ON/
at reset/
at Stop
Always
At power
supply ON/
at reset
Run
Multiple CPU start
error
(MULTI EXE.
ERROR)
Multiple CPU start
error
(MULTI CPU
ERROR)
CPU error except for
CPU error
except for
PLC CPU
(Note-1) : CPU No. is stored in slot No. of the common information classification.
(Note-2) : Base No. in "common information classification code" of "error information classification code" is 0 : CPU base, 1 to 7 : Number of extension bases.
(Note-3) : Because a stop error or CPU No. except CPU No. that it was reset becomes MULTI CPU DOWN simultaneously, a stop error or CPU No. except CPU
(Note-4) : W hen an error occurs in the Motion CPU and so on except PLC CPU, if a PC diagnosis is made in the CPU except P LC CPU from GX Developer via
(Note-5) : The Motion SFC error detection signal (M2039) turned on at the error detection (SV13/SV22). A self-diagnosis error flag (M9008) and a diagnosis error
(Note-6) : MOTION RUN LED turns off at the stop error occurrence. (The condition of RUN LED does not change.)
PLC CPU
(CONT. UNIT
ERROR)
(Note-4) (Note-5)
No. that it was reset may store in the classification of error information depending on timing.
PLC CPU, the error code "10000" is indicated.
flag (M9010) do not turn on at the error detection. The error code "10000" being set in D9008 is reset in the Motion SFC error detection signal (M2039)
ON
OFF (SV13/SV22).
7010
7020
10000 — Except for PLC CPU ON
Module No.
(Note-1)
Module No.
(Note-1)
—
—
OFF Flickers Stop
ON ON Continue Always
ON : System
setting
error/
servo
error
OFF : other
error
Stop : System
setting
error
Continue : other
error
At power
supply ON/
at reset
At power
supply ON/
at reset/
at Stop
Run
2 - 48
2 MULTIPLE CPU SYSTEM
Error code Error contents and cause Corrective action Remark
(1) Read the error detailed information at the peripheral device,
check and correct the parameter items corresponding to the
3001 Parameter contents have been destroyed.
3010
3012
3013
7000
7002
7003
The number of CPU modules set in the parameter differ from the real
installation in a Multiple CPU system.
The reference CPU No. set in the parameter differ from the setting in
a Multiple CPU system.
Multiple CPU automatic refresh setting is any of the followings in a
Multiple CPU system.
(1) When a bit device is used as a refresh device, a number except a
multiple of 16 is set as the refresh first device.
(2) A non-specifiable device is specified.
(3) The number of transmitting points is an odd number.
In a Multiple CPU system, a CPU fault occurred at the CPU where "all
station stop by stop error of CPU was selected" in the operating
mode.
(It occurs in the CPU except for the CPU that suspension of a system
is chosen.)
In a Multiple CPU system, CPU No.1 resulted in stop error at poweron and the other CPU cannot start. (This error occurred at CPU No.2
to 4)
At initial communication in a Multiple CPU system, no response is
given back from the target CPU of initial communication.
numerical values (parameter No.).
(2) If the error still occurred after correcting of the parameter
settings, it may be an error for internal RAM of CPU or
memory. Explai n the error symptom and get advice from our
sales representative.
Match (preset count of Multiple CPU setting) – (CPU (empty)
setting in I/O assignment) with the real installation of CPUs.
Match the setting in the parameter with that of the reference CPU
No. (CPU No.1).
Check the following in the Multiple CPU automatic refresh
parameters and make correction.
(1) When specifying the bit device, specify a multiple of 16 for the
refresh first device.
(2) Specify the device that may be specified for the refresh
device.
(3) Set the number of transmitting points to an even number.
Read the individual information of the error at the peripheral
device, check the error of the CPU resulting in CPU fault, and
remove the error.
Reset the PLC CPU and run it again. If the same error is
displayed again, it is a hardware fault of any CPU. Explain the
error symptom and get advice from our sales representative.
7010
7020
10000
(1) A fault CPU is installed in a Multiple CPU system.
(2) CPUs of unmatched versions are installed in a Multiple CPU
system.
(This error is detected at the PLC CPU of function version B .)
(3) Any CPU No. among CPU No.2 to 4 was reset, after power supply
on a Multiple CPU system.
(This error occurs by the reset CPU No..)
In a Multiple CPU system, a CPU fault occurred at the CPU where "all
station stop by stop error of CPU was not selected" in the operation
mode. (The error is detected at the PLC CPU of other than the CPU
No. where the CPU fault occurred.)
The error which a Motion CPU was characteristic of occurred.
It is set when an error all to set with the system setting error, the
Motion CPU is detected. (Minor error, major error, servo error and
various errors)
The CPU No. of the function version A or the break down module
is exchanged for the CPU module of the function version B, after
it began to read the individual information of the error at the
peripheral devices.
Read the individual information of the error at the peripheral
device, check the error of the CPU resulting in CPU fault, and
remove the error.
Use the software package of the applicable CPU module to
check the details of the error that occurred.
: It occurs in the CPU (CPU No.) which detected a error.
: It occurs in all CPU No. at the time of the Multiple CPU composition.
: It does not occur.
2 - 49
2 MULTIPLE CPU SYSTEM
2.4.2 Release of self-diagnosis error
The CPU can perform the release operation for errors only when the errors allow the
CPU to continue its operation.
To release the errors, follow the steps shown below.
(1) Eliminate the error cause.
(2) Store the error code to be released in the special register D9060.
(3) Turn the special relay M9060 off to on.
(4) The target error is released.
After the CPU is reset by the release of error, the special relays, special registers and
LEDs for the error are returned to the states under which the error occurred.
If the same error occurs again after the release of the error, it will be registered again.
2 - 50
3 COMMON PARAMETERS
3. COMMON PARAMETERS
3.1 System Settings
In the Multiple CPU system, the common system parameters and individual
parameters are set for each CPU and written to each CPU.
(1) The base settings, Multiple CPU settings and Motion slot settings are set in the
common system parameter setting.
(2) The basic system settings, self CPU installation position setting, servo
amplifier/motor setting, high-speed read setting and battery setting are set in the
individual parameter setting.
(3) The data setting and correction can be performed in dialog form using a
peripheral device.
3
3 - 1
3 COMMON PARAMETERS
3.1.1 System data settings
Common
system
parameters
Individual
parameters
The table below lists the system data items to be set.
Item Setting range Initial value Remark
Base setting
Multiple CPU
setting
Motion slot
setting
Basic
system
setting
Self CPU installation position setting
Amplifier setting
High-speed data read setting
Battery setting
CPU base 2/3/5/8/10/12 slots CPU base: 2 slots
Extension base None/2/3/5/8/10/12 slots None
Number of Multiple
CPUs
Automatic refresh
setting
Error operation mode
at the stop of CPU
Module arrangement
Individual module
Operation cycle
Operation at STOP to
RUN
Forced stop
Latch range
(Note) : The forced stop can also be executed by the forced stop terminal of servo amplifier besides the forced stop input setting.
(Note)
2/3/4 modules 2 modules
Up to 2k words of devices
(D/W/#/M/Y/B) can be set
per CPU for settings 1 to 4.
Stop/do not stop all CPUs
upon an error in CPU Nos.
1/2/3/4.
(The setting range varies
depending on the number
of Multiple CPUs installed.)
Within the CPU base and
extension base slots
Varies depending on the
module.
0.4ms/0.8ms/1.7ms/3.5ms
/7.1 ms/14.2ms/Auto
M2000 is turned on with
switch (STOP to RUN).
/M2000 becomes a switch
set (STOP to RUN) +
register by single-unit with
turning on.
None/X(PX) (0 to 1FFF)/M
(0 to 8191)
M (0 to 8191)/B (0 to
1FFF)/F (0 to 2047)/D (0 to
8191)/W (0 to 1FFF)
Set self CPU/another CPU/
CPU (empty) for slots 0/1/2.
(The setting range varies
depending on the number
of Multiple CPUs installed.)
Q173HCPU:
Up to 2 systems, 32 axes.
Q172HCPU:
Up to 1 system, 8 axes
External signal input setting
Amplifier input invalid/
Amplifier input valid
Input filter setting
None/0.8ms/1.7ms/2.6ms
/3.5ms
One Q172EX/Q173PX
module and one input
module.
External battery unused/
External battery used
None
Stop all CPUs upon
error in CPU Nos.
1/2/3/4
None
Varies depending on the
module.
Auto Set the operation cycle of motion control.
M2000 is turned on with
switch (STOP to RUN).
None Set the bit device used for forced stop.
None Set the latch range of device memory.
None
(When two CPUs are
installed, slot 0 is fixed
as the self CPU.)
None
Amplifier input invalid
3.5ms
None
External battery unused
Set the number of slots in the CPU base
or extension base.
Set the total number of Multiple CPUs
including PLC CPU(s).
Set the automatic refresh between CPUs
using Multiple CPU shared memory.
Set whether or not to stop the entire
system when a CPU stop error occurs in
each CPU.
Install the modules controlled by the self
CPU in the CPU base and/or extension
base(s).
Set detailed items for each module
controlled by the self CPU.
Set the condition in which the PLC ready
flag (M2000) turns on.
Set the installation position of the self
CPU in the CPU base.
Set the model name, axis No. and other
details for the servo amplifiers.
Set the high-speed read data. Refer to
Section 4.3 for the high-speed read
function.
Set whether or not to use an external
battery. If the power supply is down for
one month or longer, data must be
backed up with an external battery. Refer
to "Q173HCPU/Q172HCPU User’s
Manual" for external battery.
3 - 2
3 COMMON PARAMETERS
3.1.2 Common system parameters
(1) Parameters for operating the Multiple CPU system
In the Multiple CPU system, the common system parameters and individual
parameter for each CPU are set and written into each CPU. Regarding the
Motion CPU, the items in System Settings related to the entire Multiple CPU
system must be identical to the parameter settings in the PLC CPU.
PLC CPU
parameters
PLC CPU
parameters
Motion CPU
parameters
Motion CPU
parameters
Common system
parameters
Individual
parameter
Common system
parameters
Individual
parameter
Qn(H)
Qn(H)
CPU
CPU
Power supply
Common system
parameters
Individual
parameter
Q173H
Q172H
CPU
CPU
Common system
parameters
Individual
parameter
Parameter write
3 - 3
3 COMMON PARAMETERS
(2) Parameters common throughout the Multiple CPU system
In the Motion CPU, during initialization the parameters in the table below are
verified against the parameters in the PLC CPU of CPU No. 1. Unmatched
parameters generate a PARAMETER ERROR (error code: 3012), so the
parameters show below must be set identically between Motion CPUs and the
PLC CPU of CPU No.1. (If the system settings are changed in a Motion CPU, it is
necessary to reset. Therefore, the parameters are checked only during
initialization.)
PLC CPUs can use the parameters of the other CPUs via "Multiple CPU
parameter utilization" in GX Developer. Since Motion CPUs don't have this
function, however, the common parameters must be set for each Motion CPU.
Table of Parameters common throughout the Multiple CPU system
Type of parameter
Name in Motion CPUName in PLC CPU
Number of Multiple CPUs Number of CPU modules
Multiple CPU settings
Motion slot settings
Base settings
Operation mode
Automatic refresh setting
Control
CPU
I/O assignment
Basic
settings
Verification item Remark
Operation mode when a CPU
stop error occurred
Number of automatic refresh
points
Control CPU No.
Total number of bases
Base
Base No.
Number of base slots
• Only the module numbers
set in System Settings on
the Motion CPU side are
verified.
• Not verified if base settings
are omitted on the PLC
CPU side.
3 - 4
3 COMMON PARAMETERS
(a) Multiple CPU settings
• Multiple CPU Settings (Motion CPU setting) in SW6RN-GSV P
Set the following items identically in Multiple CPU Settings (Motion CPU
setting) in SW6RN-GSV
P and in Multiple CPU Settings (PLC CPU setting)
in GX Developer.
• Number of CPU modules
• Operation mode when a CPU stop error occurred
• Number of automatic refresh points (Settings 1 to 4 must be the same for
all CPUs)
Number of CPU modules
Error operation made at
the stop of CPU
• Multiple PLC Setting (PLC CPU setting) in GX Developer
Number of automatic
refresh points
3 - 5
3 COMMON PARAMETERS
(b) Motion slot settings
Set the modules controlled by the self CPU by the Motion Slot Settings
(Motion CPU setting) in SW6RN-GSV
Motion CPU control as the CPU number of the Motion CPU in I/O
Assignment Settings (PLC CPU setting).
• Motion Slot Setting (Motion CPU setting) in SW6RN-GSV P
P. In GX Developer, set the slot for
Control CPU No.
• I/O Assignment Setting (PLC CPU setting) in GX Developer
(Note): Motion slot setting items are different depending on the operating system software.
3 - 6
3 COMMON PARAMETERS
(c) Base settings
Set the total number of bases and number of slots in each base identically
between Base Settings (Motion CPU setting) in SW6RN-GSV
Assignment Settings (PLC CPU setting) in GX Developer. In GX Developer,
the detailed settings may be omitted by setting the base mode "Automatic".
• Base Settings (Motion CPU setting) in SW6RN-GSV P
P and I/O
Total number of bases
and number of slots in
each base
• I/O Assignment Settings (PLC CPU setting) in GX Developer
(Note) : Only the Motion CPU
may be set without
setting the PLC CPU.
3 - 7
3 COMMON PARAMETERS
POINT
GOT is recognized as an intelligent function modules "16 points 10 slots" on the
base (number of extension bases and slot No. are set in the GOT parameter.) for
bus connection with GOT.
Set the one extension base (16 points
"10 slots" as number of extension bases for connection with GOT in the system
setting (base setting).
<Example>
10 slots) for connection with GOT, then set
When the "2nd stage" of extension base is set as connection with GOT.
(Set "10" slot as "2nd stage" of extension base in the base setting.)
If the bus connection with GOT is executed without above settings in the
base setting of system setting, "SP.UNIT LAY ERROR" (error code: 2124)
will occur.
3 - 8
3 COMMON PARAMETERS
3.1.3 Individual parameters
(1) Basic system settings
The following explains each item to be set in Basic System Settings.
(a) Operation cycle setting
(b) Operation setting upon STOP
1) Set the of motion operation cycle (cycles at which a position command is
computed and sent to the servo amplifier).
The setting range is 0.4ms/0.8ms/1.7ms/3.5ms/7.1ms/14.2ms/Automatic
setting. The actual operation cycle corresponding to 0.4ms is 0.444...ms.
Similarly, 0.8ms corresponds to 0.888…ms, 1.7ms to 1.777...ms, 3.5ms
to 3.555...ms, 7.1ms to 7.111...ms, and 14.2ms to 14.222…ms,
respectively.
2) The default value is "Automatic setting". When "Automatic setting" is
selected, the operation cycle is set according to the table below based
on the number of axes for servo amplifier set in the System Settings.
Operating system Number of axes Operation cycle setting
1 to 3 axes 0.4 ms
SV13
SV22/SV43
4 to 10 axes 0.8 ms
11 to 20 axes 1.7 ms
21 to 32 axes 3.5 ms
1 to 5 axes 0.8 ms
6 to 14 axes 1.7 ms
15 to 28 axes 3.5 ms
29 to 32 axes 7.1 ms
3) If the duration of motion operation has exceeded the operation cycle, the
operation cycle over flag (M2054) turns ON. Even when "Automatic
setting" is selected, the duration of motion operation may exceed the
operation cycle depending on the control conditions. The actual duration
of motion operation (unit:μs) is stored in the D9188, and the current
setting of operation cycle (unit:μs) is stored in the D9197. Monitor these
special registers and adjust the set value of operation cycle so that the
actual duration of motion operation will not exceed the set operation
cycle. (A WDT or other error may occur in the Motion CPU.)
RUN
Set the condition in which the "PLC ready" flag (M2000) turns ON. Select
one of the following:
1) M2000 ON upon switching (STOP
RUN) (default)
Condition in which the M2000 turns from OFF to ON
• Change the RUN/STOP switch from the STOP side to the RUN side.
• With the RUN/STOP switch set to the RUN side, turn ON the power
or cancel the reset.
3 - 9
3 COMMON PARAMETERS
(c) Forced stop input setting
(d) Latching range setting
Condition in which the M2000 turns from ON to OFF
• Change the RUN/STOP switch from the RUN side to the STOP side.
2) M2000 ON upon switching (STOP
(The M2000 turns ON when the switch is set to the RUN side and 1 is
set in the setting register.)
Condition in which the M2000 turns from OFF to ON
• With the RUN/STOP switch set to the RUN side, set 1 in the setting
register for "PLC ready" flag (D704). (The Motion CPU detects a
change from 0 to 1 in the lowest bit in the D704).
Condition in which the M2000 turns from ON to OFF
• With the RUN/STOP switch set to the RUN side, set 0 in the setting
register for "PLC ready" flag (D704). (The Motion CPU detects a
change from 1 to 0 in the lowest bit in the D704).
• Change the RUN/STOP switch from the RUN side to the STOP side.
Specify the bit device used for executing a forced stop in which all servoamplifier axes are stopped immediately.
Either X (PX) or M can be specified. No default value has been set. The set
bit device is designated as contact B and performs the following control in
response to ON/OFF of the device.
• Bit device is turned OFF … Forced stop input is ON (forced stop)
• Bit device is turned ON … Forced stop input is OFF (forced stop is
released.)
Set the following latching ranges for M, B, F, D and W, respectively.
• Range in which the latch can be cleared with the latch clear key (Latch (1))
• Range in which the latch cannot be cleared with the latch clear key (Latch
(2))
RUN) + 1 set in setting register
3 - 10
3 COMMON PARAMETERS
(2) Individual module settings
The setting items for each module are shown below.
Setting items for each module
Module name Item Setting range Initial value
External signal setting
Servo external
Q172LX
Q172EX
Q173PX
QI60 Interrupt module Input response time 0.1/0.2/0.4/0.6/1 ms 0.2 ms 1 (SV13/SV22) 1 (SV13/SV22)
signals input
module
Serial encoder
input module
Manual pulse
generator input
module
DOG/CHANGE turning
OFF to ON/ON to OFF
Input response time
Serial encoder setting Used/Unused Unused
Serial encoder selection Q170ENC/MR-HENC Q170ENC
Input response time
High-speed read setting Used/Unused Unused
Manual pulse generator
setting
(SV13/SV43)
Manual pulse generator/
Serial encoder setting
(SV22)
Input response time
High-speed read setting Used/Unused Unused
Set the number of axes for
which the 8 axes input is used.
DOG/CHANGE input turning
OFF to ON or turning ON to
OFF
0.4/0.6/1 ms
(DOG/CHANGE response time)
0.4/0.6/1 ms
(TREN response time)
Used only Used
Used/Unused
0.4/0.6/1 ms
(TREN response time)
Unused
Turning
OFF to ON
0.4 ms
0.4 ms
P
Used
0.4 ms
Number of usable modules
Q173HCPU Q172HCPU
4 1
6 (SV22) 4 (SV22)
1 (SV13/SV43)
4 (SV22)
1 (SV13/SV43)
3 (SV22)
3 - 11
3 COMMON PARAMETERS
Setting items for each module (Continued)
Module name Item Setting range Initial value
First I/O No. 00 to FF0 (in units of 16 points) 0
Number of I/O points 0/16/32/64/128/256 16
High-speed read setting Used/Unused Unused
QX Input module
QY Output module
Input/Output
QH /QX Y
Q6 AD
Q6 DA
composite
module
Analogue input
module
Analogue
output module
Input response time setting
(setting for high-speed
input module in
parentheses)
First I/O No. 00 to FF0 (in units of 16 points) 0
Number of I/O points 0/16/32/64/128/256 16
First I/O No. 00 to FF0 (in units of 16 points) 0
Number of I/O points 0/16/32/64/128/256 16
Input response time setting 1/5/10/20/70 ms 10 ms
High-speed read setting Used/Unused Unused
First I/O No. 00 to FF0 (in units of 16 points) 0
Input range setting
Temperature drift
compensation
Resolution mode Normal/High Normal
Operation mode
First I/O No. 00 to FF0 (in units of 16 points) 0
Output range setting
HOLD/CLEAR function
setting
Output mode
Resolution mode Normal/High Normal
Operation mode
Number of usable
modules
Q173HCPU Q172HCPU
1/5/10/20/70 ms
(0.1/0.2/0.4/0.6/1 ms)
4 to 20mA/0 to 20mA/1 to 5V/0 to
5V/-10 to 10V/0 to 10V/User range
Used/None Used
Normal (A/D conversion)/Offset
gain setting
4 to 20mA/0 to 20mA/1 to 5V/0 to
5V/-10 to 10V/User range
CLEAR only CLEAR
Normal (Asynchronous)/
Synchronous output
Normal (D/A conversion)/
Offset gain setting
10 ms
(0.2 ms)
4 to 20mA
Normal
(A/D
conver-
sion)
4 to 20mA
Normal
(Asyn-
chro-nous)
Normal
(D/A
conver-
sion)
Total 256
points or
less
Total 256
points or
less
3 - 12
3 COMMON PARAMETERS
(3) External signal input
Servo external signal (Upper stroke limit/Lower stroke limit/Stop signal/Proximity
DOG) can be selected for every axis from the following two methods.
(a) Q172LX Servo external signals interface module use
(b) Servo amplifier input device use (MR-J3-B use only)
(Note): Refer to the "MR-J3-B Servo Amplifier Instruction Manual" for pin configurations.
Set the servo external signals interface module, and set axis No. as the
"External signal setting" in the system setting.
Set "Amplifier input valid" as the external signal input setting in the "Amplifier
setting" of system setting.
There are following restrictions to use.
• Count type home position return cannot be used.
• Speed/position switching control cannot be executed.
• Stop signal (STOP) cannot be used.
The correspondence of external signal and input device is shown below.
External signals
Upper stroke limit (FLS) DI1
Lower stroke limit (RLS) DI2
Proximity DOG (DOG) DI3
Input device (CN3)
(Note)
Set the external signal setting in the "Input Filter Setting".
Refer to the Programming Manual of the operating system software for the
software and correspondence version compatible with the external signal
setting.
3 - 13
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.