Mitsubishi Electric A171SHCPUN User manual

Category
Power generators
Type
User manual

This manual is also suitable for

MOTION CONTROLLER
(SV43)
Programming Manual
type A172SHCPUN, A171SHCPUN
A273UHCPU(32 axis feature)
A173UHCPU(S1)
MITSUBISHI
ELECTRIC
MOTION CONTROLLER (SV43) Programming Manuai,
type A172SHCPUN,A171SHCPUN,A273UHCPU(32 axis feature),A173UHCPU(S1)
I
INTORODUCTION
Thank you for purchasing the Mitsubishi Motion Controller/Personal Machine Controller. This instruction
manual describes the handling and precautions of this unit. Incorrect handing will lead to unforeseen events,
so we ask that you please read this manual thoroughly and use the unit correctly.
Please make sure that this manual is delivered to the final user of the unit and that it is stored for future
reference.
Precautions for Safety
Please read this instruction manual and enclosed documents before starting installation, opera-
tion, maintenance or inspections to ensure correct usage. Thoroughly understand the machine,
safety information and precautions before starting operation.
The safety precautions are ranked as "Warning" and "Caution" in this instruction manual.
!
WARNING
When a dangerous situation may occur if handling is mistaken
leading to fatal or major injuries.
CAUTION
!
When a dangerous situation may occur if handling is mistaken
leading to medium or minor injuries, or physical damage.
Note that some items described as cautions may lead to major results depending on the
situation. In any case, important information that must be observed is described.
II
For Safe Operation
1. Prevention of electric shocks
!
WARNING
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 control unit 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.
Always ground the control unit, servo amplifier and servomotor with Class 3 grounding. Do
not ground commonly with other devices.
The wiring work and inspections must be done by a qualified technician.
Wire the units after installing the control unit, 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 control unit, servo amplifier or servomotor terminal blocks while the power
is ON, as this may lead to electric shocks.
Do not touch the internal power supply, internal grounding or signal wires of the control unit
and servo amplifier, as this may lead to electric shocks.
2. For fire prevention
CAUTION
!
Install the control unit, servo amplifier, servomotor and regenerative resistor on inflammable
material. Direct installation on flammable material or near flammable material may lead to
fires.
If a fault occurs in the control unit or servo amplifier, shut the power OFF at the servo
amplifier's power source. If a large current continues to flow, fires may occur.
When using a regenerative resistor, shut the power OFF with an error signal. The regenera-
tive resistor may abnormally overheat due to a fault in the regenerative transistor, etc., and
may lead to fires.
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 fires.
III
3. For injury prevention
CAUTION
!
Do not apply a voltage other than that specified in A172SHCPUN/A171SHCPUN user's manual,
A273UHCPU user’s manual, A173UHCPU(S1) user’s manual or the instruction manual for the
product you are using 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.
The servo amplifier's heat radiating fins, regenerative resistor and servo amplifier, etc., will
be hot while the power is ON and for a short time after the power is turned OFF. Do not
touch these parts as doing so 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 control unit and servo amplifier power source.
If installation of a magnetic contactor for power shut off during an error, etc., is specified in
the instruction manual for the servo amplifier, etc., always install the magnetic contactor.
Install an external emergency stop circuit so that the operation can be stopped immediately
and the power shut off.
Use the control unit, servo amplifier, servomotor and regenerative resistor with the combi-
nations listed in A172SHCPUN/A171SHCPUN user’s manual or the instruction manual for
the product you are using. Other combinations may lead to fires or faults.
If safety standards (ex., robot safety rules, etc.,) apply to the system using the control unit,
servo amplifier and servomotor, make sure that the safety standards are satisfied.
If the operation during a control unit or servo amplifier error and the safety direction
operation of the control unit differ, construct a countermeasure circuit externally of the
control unit and servo amplifier.
In systems where coasting of the servomotor will be a problem during emergency stop,
servo OFF or when the power is shut 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 emergency stop,
servo OFF or when the power is shut OFF, use both dynamic brakes and magnetic brakes.
The dynamic brakes must be used only during emergency stop and errors where servo OFF
occurs. These brakes must not be used for normal braking.
The brakes (magnetic brakes) assembled into the servomotor are for holding applications,
and must not be used for normal braking.
Construct the system so that there is a mechanical allowance allowing stopping even if the
stroke end limit switch is passed through at the max. speed.
IV
CAUTION
!
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 A172SHCPUN/
A171SHCPUN user’s manual or the instruction manual for the product you are using.
The ratings and characteristics of the system parts (other than control unit, servo amplifier,
servomotor) must be compatible with the control unit, 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 magnetic 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 control unit, 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 unit. 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.
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 unit's instruction manual for the
program corresponding to the special function unit.
V
(3) Transportation and installation
CAUTION
!
Transport the product with the correct method according to the weight.
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 control unit or servo amplifier, never hold the connected wires or
cables.
When transporting the servomotor, never hold the cables, shaft or detector.
When transporting the control unit or servo amplifier, never hold the front case as it may fall
off.
When transporting, installing or removing the control unit or servo amplifier, never hold the
edges.
Install the unit according to A172SHCPUN/A171SHCPUN user's manual, A273UHCPU user’s
manual, A173UHCPU(S1) user’s manual or the instruction manual for the product you are using
in a place where the weight 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 control unit or servo amplifier and control panel
inner surface or the control unit and servo amplifier, control unit or servo amplifier and other
devices.
Do not install or operate control units, 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 control unit, servo amplifier or servomotor.
The control unit, servo amplifier and servomotor are precision machines, so do not drop or
apply strong impacts on them.
Securely fix the control unit and servo amplifier to the machine according to
A172SHCPUN/A171SHCPUN/A273UHCPU/A173UHCPU(S1) user’s manual or the
instruction manual for the product you are using. 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.
Conditions
Environment
Control unit/servo amplifier Servomotor
Ambient
temperature
0°C to +55°C
(With no freezing)
0°C to +40°C
(With no freezing)
Ambient humidity
According to each instruction
manual.
80%RH or less
(With no dew condensation)
Storage
temperature
According to each instruction
manual.
20°C to +65°C
Atmosphere
Indoors (where not subject to direct sunlight).
No corrosive gases, flammable gases, oil mist or dust must exist.
Altitude 1000m or less above sea level.
Vibration According to each instruction manual.
VI
CAUTION
!
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 unit for a long time, disconnect the power line from the control unit or
servo amplifier.
Place the control unit and servo amplifier in static electricity preventing vinyl bags and store.
When storing for a long time, contact the Service Center or Service Station.
(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 sequence ex-
pansion cable while the power is ON.
Servo amplifier
VIN
(24VDC)
Control output
signal RA
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.
(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 controller or
absolute value motor has been replaced, always perform a home position return.
VII
(6) Usage methods
CAUTION
!
Immediately turn OFF the power if smoke, abnormal sounds or odors are emitted from the
control unit, 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 magnetic obstacles to a minimum by installing a noise filter or by using
wire shields, etc. Magnetic obstacles may affect the electronic devices used near the control
unit or servo amplifier.
When using the CE mark-compatible equipment, refer to "EMC Installation Guidelines" (data
number IB(NA)-*****-*) for the motion controller and to the corresponding EMC guideline data for
the servo amplifier, inverter and other equipment.
Use the units with the following conditions.
Item Conditions
Input power
According to A172SHCPUN/A171SHCPUN/
A273UHCPU/A173UHCPU(S1) user’s
manual.
Input frequency
According to A172SHCPUN/A171SHCPUN/
A273UHCPU/A173UHCPU(S1) user’s
manual.
Tolerable momentary
power failure
According to A172SHCPUN/A171SHCPUN/
A273UHCPU/A173UHCPU(S1) user’s
manual.
(7) Remedies for errors
CAUTION
!
If an error occurs in the self diagnosis of the control unit 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 magnetic brakes or install a brake mechanism externally.
Use a double circuit construction so that the
magnetic brake operation circuit can be
operated by emergency stop signals set
externally.
If an error occurs, remove the cause, secure
the safety and then resume operation.
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.)
Servo motor
Magnetic
brakes
Shut off servo ON signal OFF,
alarm, magnetic brake signal.
Shut off with the
emergency stop
signal (EMG).
24VDC
RA1
EMG
VIII
(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
control unit 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 A172SHCPUN/
A171SHCPUN user's manual, A273UHCPU user’s manual, A173UHCPU(S1) user’s manual or
the instruction manual for the product you are using.
CAUTION
!
Do not touch the lead sections such as ICs or the connector contacts.
Do not place the control unit 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 control unit or servo amplifier, always set the new unit settings correctly.
When the 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 PC using peripheral device software, switch on the
power again, then perform a home position return operation.
2) Using the backup function of the peripheral device 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
control unit or servo amplifier.
The electrolytic capacitor and fan will deteriorate. Periodically change these to prevent
secondary damage from faults. Replacements can be made by the Service Center or
Service Station.
(9) Disposal
CAUTION
!
Dispose of this unit as general industrial waste.
Do not disassemble the control unit, servo amplifier or servomotor parts.
Dispose of the battery according to local laws and regulations.
IX
(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.
Revisions
*The manual number is given on the bottom left of the back cover.
Print Date *Manual Number Revision
Feb., 2000 IB(NA)-0300014-A First edition
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.
© 2000 Mitsubishi Electric Corporation
I
CONTENTS
1. GENERAL DESCRIPTION....................................................................................................... 1- 1 to 1-17
1.1 System Configuration....................................................................................................................... 1- 3
1.1.1 A172SHCPUN system overall configuration ............................................................................. 1- 3
1.1.2 A171SHCPUN system overall configuration ............................................................................. 1- 4
1.1.3 A273UHCPU (32 axis feature) system overall configuration..................................................... 1- 5
1.1.4 A173UHCPU (S1) system overall configuration........................................................................ 1- 6
1.1.5 System configuration precautions ............................................................................................. 1- 7
1.2 Table of Software Package.............................................................................................................. 1- 9
1.3 Positioning Control by the Servo System CPU ................................................................................ 1- 9
2. PERFORMANCE SPECIFICATIONS ...................................................................................... 2- 1 to 2-10
2.1 SCPU Performance Specifications .................................................................................................. 2- 1
2.2 PCPU Performance Specifications .................................................................................................. 2- 5
2.3 The Differences between A172SHCPUN/A171SHCPUN and A171S (S3) and the Differences between
A273UHCPU (32 axis feature) and A173UHCPU (S1).................................................................. 2- 9
2.3.1 The differences between A172SHCPUN/A171SHCPUN and A171S(S3)................................ 2- 9
2.3.2 The differences between A273UHCPU and A173UHCPU (S1)................................................ 2-10
3. POSITIONING SIGNALS......................................................................................................... 3- 1 to 3-79
3.1 Internal Relays ................................................................................................................................. 3- 2
3.1.1 Axis status................................................................................................................................ 3-13
3.1.2 Axis command signals.............................................................................................................. 3-24
3.1.3 Common devices...................................................................................................................... 3-35
3.2 Data Registers ................................................................................................................................ 3-41
3.2.1 Axis monitor devices................................................................................................................. 3-50
3.2.2 Control change registers .......................................................................................................... 3-55
3.2.3 Tool length offset data.............................................................................................................. 3-56
3.2.4 Common device ....................................................................................................................... 3-57
3.2.4.1 A172SHCPUN/A171SHCPUN .............................................................................................. 3-57
3.2.4.2 A273UHCPU (32 axis feature)/A173UHCPU (S1)................................................................ 3-60
3.3 Special Relays (SP.M) .................................................................................................................... 3-65
3.4 Special Registers (SP.D) ................................................................................................................ 3-68
3.4.1 A172SHCPUN/A171SHCPUN ................................................................................................. 3-68
3.4.2 A273UHCPU (32 axis feature)/A173UHCPU (S1)................................................................... 3-76
4. PARAMETERS FOR POSITIONING CONTROL .................................................................... 4- 1 to 4-35
4.1 System Settings ............................................................................................................................... 4- 2
4.2 Fixed Parameters............................................................................................................................. 4- 3
4.2.1 Setting the number of pulses per revolution/travel value per revolution/unit magnification....... 4- 4
4.2.2 Upper stroke limit value/lower stroke limit value ....................................................................... 4- 6
4.2.3 Command in-position range...................................................................................................... 4- 7
4.2.4 Rapid feedrate setting ............................................................................................................... 4- 8
II
4.3 Servo Parameters ............................................................................................................................ 4- 9
4.3.1 MR-
-B servo parameters..................................................................................................... 4-10
4.3.2 Position control gain 1, 2 .......................................................................................................... 4-15
4.3.3 Speed control gain 1, 2............................................................................................................. 4-16
4.3.4 Speed integral compensation................................................................................................... 4-17
4.3.5 In-position range....................................................................................................................... 4-17
4.3.6 Feed forward gain..................................................................................................................... 4-17
4.3.7 Load inertia ratio....................................................................................................................... 4-18
4.3.8 Automatic tuning....................................................................................................................... 4-18
4.3.9 Servo responsiveness setting................................................................................................... 4-19
4.3.10 Notch filter .............................................................................................................................. 4-20
4.3.11 Electromagnetic brake sequence........................................................................................... 4-20
4.3.12 Monitor output mode............................................................................................................... 4-20
4.3.13 Optional function 1.................................................................................................................. 4-20
4.3.14 Optional function 2.................................................................................................................. 4-21
4.3.15 Monitor output 1, 2 offset........................................................................................................ 4-22
4.3.16 Pre-alarm data selection......................................................................................................... 4-23
4.3.17 Zero speed ............................................................................................................................. 4-23
4.3.18 Excessive error alarm level .................................................................................................... 4-23
4.3.19 Optional function 5.................................................................................................................. 4-23
4.3.20 PI-PID switching position droop.............................................................................................. 4-24
4.3.21 Torque control compensation factor....................................................................................... 4-24
4.3.22 Speed differential compensation............................................................................................ 4-24
4.4 Home Position Return Data ............................................................................................................ 4-25
4.5 JOG Operation Data ....................................................................................................................... 4-27
4.6 Parameter Block.............................................................................................................................. 4-28
4.6.1 Relationships among the speed limit value, acceleration time,
deceleration time, and rapid stop deceleration time............................................................... 4-31
4.6.2 S curve ratio ............................................................................................................................. 4-33
4.6.3 Allowable error range for circular interpolation......................................................................... 4-34
4.7 Work Coordinate Data .................................................................................................................... 4-35
5. SEQUENCE PROGRAMS AND SFC PROGRAMS ................................................................ 5- 1 to 5-26
5.1 Cautions on Creating a Sequence Program or SFC Program......................................................... 5- 1
5.2 Motion Program Start Request Instruction (DSFRP/SVST)............................................................. 5- 2
5.2.1 Start request instruction for 1 to 3 axes (DSFRP): when using A172SHCPUN/A171SHCPUN
................................................................................................................................................... 5- 2
5.2.2 Start request instruction for 1 to 8/1 to 4 axes (SVST).............................................................. 5- 5
5.3 Home Position Return Instructions (DSFLP/CHGA)........................................................................ 5- 8
5.3.1 DSFLP instruction: when using A172SHCPUN/A171SHCPUN ................................................ 5- 8
5.3.2 CHGA instruction...................................................................................................................... 5-10
5.4 Speed Change Instructions (DSFLP/CHGV) .................................................................................. 5-12
5.4.1 DSFLP instruction (When using A172SHCPUN/A171SHCPUN)............................................. 5-12
5.4.2 CHGV instruction...................................................................................................................... 5-15
5.5 Moving Backward during Positioning .............................................................................................. 5-18
5.6 CHGT instruction............................................................................................................................. 5-20
III
5.7 SFC Programs ................................................................................................................................ 5-22
5.7.1 Starting and stopping SFC programs....................................................................................... 5-22
5.7.2 Motion program start request................................................................................................... 5-23
6. MOTION PROGRAMS FOR POSITIONING CONTROL....................................................... 6- 1 to 6-133
6.1 Motion Program Makeup.................................................................................................................. 6- 1
6.2 Instructions for Creating Motion Programs ...................................................................................... 6- 4
6.3 G Code List ...................................................................................................................................... 6- 8
6.4 Special M Code List ......................................................................................................................... 6- 9
6.5 Instruction Symbol/Character List ................................................................................................... 6-10
6.6 Method for Setting Positioning Data................................................................................................ 6-12
6.6.1 Direct designation (numerical value)........................................................................................ 6-12
6.6.2 Indirect designation (variable: #****)......................................................................................... 6-12
6.6.3 About operational data ............................................................................................................. 6-19
6.6.4 Instruction symbol setting range list ......................................................................................... 6-28
6.6.5 Positioning control unit for 1 axis............................................................................................... 6-30
6.6.6 Control units for interpolation control........................................................................................ 6-30
6.6.7 Control in the control unit of “degree”....................................................................................... 6-32
6.7 About Coordinate Systems.............................................................................................................. 6-34
6.8 G Code............................................................................................................................................ 6-35
6.8.1 G00 PTP positioning at rapid feedrate ..................................................................................... 6-38
6.8.2 G01 CP positioning at speed specified in F.............................................................................. 6-40
6.8.3 G02 Circular interpolation CW (Circular arc center coordinate designation) ........................... 6-42
6.8.4 G03 Circular interpolation CCW (Circular arc center coordinate designation)......................... 6-44
6.8.5 G02 Circular interpolation CW (Radius designation)................................................................ 6-46
6.8.6 G03 Circular interpolation CCW (Radius designation)............................................................. 6-48
6.8.7 G04 Dwell................................................................................................................................. 6-50
6.8.8 G09 Exact stop check .............................................................................................................. 6-52
6.8.9 G23 Cancel, cancel start invalidity............................................................................................ 6-54
6.8.10 G24 Cancel, cancel start........................................................................................................ 6-56
6.8.11 G25 High-speed oscillation..................................................................................................... 6-58
6.8.12 G26 High-speed oscillation stop............................................................................................. 6-60
6.8.13 G28 Home position return ...................................................................................................... 6-62
6.8.14 G30 Second home position return........................................................................................... 6-64
6.8.15 G32 Skip................................................................................................................................. 6-66
6.8.16 G43 Tool length offset (+)....................................................................................................... 6-70
6.8.17 G44 Tool length offset (-) ....................................................................................................... 6-72
6.8.18 G49 Tool length offset cancel................................................................................................. 6-74
6.8.19 G53 Mechanical coordinate system selection........................................................................ 6-76
6.8.20 G54 to G59 Work coordinate system selection....................................................................... 6-78
6.8.21 G61 Exact stop check mode ................................................................................................... 6-80
6.8.22 G64 Cutting mode .................................................................................................................. 6-82
6.8.23 G90 Absolute value command............................................................................................... 6-84
6.8.24 G91 Incremental value command .......................................................................................... 6-86
6.8.25 G92 Coordinate system setting.............................................................................................. 6-88
6.8.26 G100, G101 Time-fixed acceleration/deceleration, acceleration-fixed acceleration/deceleration
switching instructions ........................................................................................................... 6-90
IV
6.9 M Code............................................................................................................................................ 6-92
6.10 Special M Code............................................................................................................................. 6-92
6.10.1 M00 Program stop.................................................................................................................. 6-93
6.10.2 M01 Optional program stop.................................................................................................... 6-95
6.10.3 M02 Program end................................................................................................................... 6-97
6.10.4 M30 Program end................................................................................................................... 6-99
6.10.5 M98, M99 Subprogram call, subprogram end...................................................................... 6-101
6.10.6 M100 Preread inhibit ............................................................................................................. 6-103
6.11 Miscellaneous.............................................................................................................................. 6-105
6.11.1 Program control function (IF, GOTO statement).................................................................. 6-106
6.11.2 Program control function (IF, THEN, ELSE, END statements) ............................................ 6-108
6.11.3 WHILE DO statement........................................................................................................... 6-110
6.11.4 Four fundamental operators, assignment operator (+, -, *, /, MOD, =) ................................ 6-112
6.11.5 Trigonometric functions (SIN, COS, TAN, ASIN, ACOS, ATAN)......................................... 6-114
6.11.6 Real number to BIN value conversion (INT)......................................................................... 6-116
6.11.7 BIN value to real number conversion (FLT) ......................................................................... 6-118
6.11.8 Functions (SQRT, ABS, BIN, BCD, LN, EXP, RND, FIX, FUP)........................................... 6-120
6.11.9 Logical operators (AND, OR, XOR, NOT, <<, >>)................................................................ 6-122
6.11.10 Move block wait functions (WAITON, WAITOFF).............................................................. 6-124
6.11.11 Parameter block change (PB)............................................................................................ 6-126
6.11.12 Torque limit value change (TL)............................................................................................ 6-128
6.11.13 Bit device set, reset functions (SET, RST)......................................................................... 6-130
6.11.14 Conditional branch using bit device (ON, OFF).................................................................. 6-132
7. AUXILIARY AND APPLIED FUNCTIONS................................................................................ 7- 1 to 7-52
7.1 Limit Switch Output Function ........................................................................................................... 7- 2
7.1.1 Limit switch output data............................................................................................................. 7- 2
7.1.2 Limit switch output function ....................................................................................................... 7- 2
7.2 Backlash Compensation Function.................................................................................................... 7- 4
7.3 Torque Limit Function ...................................................................................................................... 7- 6
7.3.1 Torque limit value changing function......................................................................................... 7- 6
7.4 Electronic Gear Function.................................................................................................................. 7- 8
7.5 Absolute Positioning System........................................................................................................... 7-10
7.6 Home Position Return..................................................................................................................... 7-13
7.6.1 Near-zero point dog type home position return ........................................................................ 7-13
7.6.2 Count type home position return .............................................................................................. 7-15
7.6.3 Data setting type home position return..................................................................................... 7-16
7.6.4 Execution of home position return............................................................................................ 7-17
7.7 Speed Change ................................................................................................................................ 7-19
7.8 JOG Operation................................................................................................................................ 7-23
7.8.1 Individual start .......................................................................................................................... 7-23
7.8.2 Simultaneous start.................................................................................................................... 7-27
7.9 Manual Pulse Generator Operation ................................................................................................ 7-31
7.10 Override Ratio Setting Function.................................................................................................... 7-40
7.11 FIN Signal Waiting Function.......................................................................................................... 7-43
7.12 Single Block................................................................................................................................... 7-47
7.13 Enhanced Present Value Control.................................................................................................. 7-51
7.14 High-Speed Reading of Designated Data..................................................................................... 7-52
V
APPENDICES......................................................................................................................APP- 1 to APP-79
APPENDIX 1 SCPU ERROR CODE LIST......................................................................................... APP- 1
Appendix 1.1 SCPU Error Code List ..............................................................................................APP- 1
APPENDIX 2 ERROR CODES STORED BY THE PCPU................................................................. APP- 5
Appendix 2.1 Motion Program Setting Errors................................................................................. APP- 7
Appendix 2.2 Minor Errors..............................................................................................................APP- 8
Appendix 2.3 Major Errors.............................................................................................................APP-16
Appendix 2.4 Servo Errors ............................................................................................................APP-19
Appendix 2.5 PC Link Communication Errors............................................................................... APP-33
Appendix 2.6 LED Indications When Errors Occur at the PCPU.................................................. APP-34
APPENDIX 3 SPECIAL RELAYS AND SPECIAL REGISTERS.......................................................APP-37
Appendix 3.1 Special Relays (SP.M).............................................................................................APP-37
Appendix 3.2 Special Registers (SP.D).........................................................................................APP-40
APPENDIX 4 EXAMPLE PROGRAMS.............................................................................................APP-51
Appendix 4.1 Word Data 1 Word Shift to Left...............................................................................APP-51
Appendix 4.2 Word Data 1 Word Shift to Right............................................................................. APP-53
Appendix 4.3 Reading M Codes....................................................................................................APP-55
Appendix 4.4 Error Code Reading.................................................................................................APP-56
Appendix 4.5 Magnitude Comparison and Four Fundamental Operations of 32-Bit Monitor Data
................................................................................................................................APP-57
APPENDIX 5 SERVO MOTOR TYPE-BASED RATED SPEED AND FEEDBACK PULSE COUNT LIST
....................................................................................................................................APP-59
APPENDIX 6 PROCESSING TIMES................................................................................................APP-60
1. GENERAL DESCRIPTION
1 1
1. GENERAL DESCRIPTION
This manual describes the positioning control parameters, positioning-dedicated
devices, positioning methods and other information required to execute positioning
control with the motion controller (SV43). The motion controller (SV43) uses the
NC language (EIA) (hereafter referred to as the "motion program") as a
programming language.
The motion controller (SV43) can exercise the following positioning control.
Applicable CPU
Number of Axes Controlled in
Positioning Control
A172SHCPUN 8
A171SHCPUN 4
A273UHCPU (32 axis feature) 32
A173UHCPU(S1) 32
In this manual, the above CPUs are collectively referred to as the "servo system
CPUs".
The following software packages are used to make system settings, and to set,
test and monitor the servo parameters and motion programs.
SW2SRX-GSV43P software package
SW2NX-GSV43P software package
.......................Abbreviated to "GSV43P"
CAUTION
!
When designing the system, provide external protective and safety circuits to ensure safety in the
event of trouble with the motion controller.
There are electronic components which are susceptible to the effects of static electricity mounted
on the printed circuit board. When handling printed circuit boards with bare hands you must
ground your body or the work bench.
Do not touch current-carrying or electric parts of the equipment with bare hands.
Make parameter settings within the ranges stated in this manual.
Use the program instructions that are used in programs in accordance with the conditions
stipulated in this manual.
Some devices for use in programs have fixed applications: they must be used in accordance with
the conditions stipulated in this manual.
1. GENERAL DESCRIPTION
1 2
Conventions Used in this Manual
Positioning signals are always indicated in the following order: signal for
A172SHCPUN
signal for A171SHCPUN signal for A273UHCPU (32 axes
feature)
signal for A173UHCPU(S1). If only one positioning signal is indicated,
this means that the signal is used in common by every CPUs.
The explanatory text is written with reference to the A172SHCPU: if you are not
using an A172SHCPUN, the positioning signals should be read as the positioning
signals for the CPU you are using.
(For the positioning signals used with each CPU, refer to Appendix 6.)
3. POSITIONING SIGNALS
3.1.24 Error reset command (M1807+20n/M3207+20n)
A172SHCPUN/A171SHCPUN
A273UHCPU (32 axis feature) /A173UHCPU(S1)
(1) The error reset command is used to clear the minor error code or major error
code storage area of an axis for which the error detection signal has come ON
(M1607+20n), and to reset the error detection signal (M1607+20n).
* *
* *
* *: Error code
00
OFF
OFF
ON
Minor error code storage
area
Major error code storage
area
ON
00
Error reset (M1807+20n)
Error detection (M1607+20n)
(2) The motion program running status is reset if the error is reset during a
temporary stop (M1403+10n) made by the stop command (M1800+20n) during
an automatic start or if the error is reset during a block stop made by M00/M01.
Block stop made by M00/M01
OFF
ON
Temporary stop instruction
(M1500+10n)
DSFRP/SVST instruction
Start acceptance (M2001+n)
Temporary stopping (M1403+10n)
Automatically operating
(M1402+10n)
Error reset (M1807+20n)
(3) When the error reset command is switched on during automatic operation
(M1402+10n ON), the above reset processing is performed after stop processing
is executed under the temporary stop command (M1500+10n).
3 - 19
1. GENERAL DESCRIPTION
1 3
1.1 System Configuration
1.1.1 A172SHCPUN system overall configuration
An example system configuration with A172SHCPUN is shown below.
A172SHCPUN A172S
ENC
A1S
Y42
A6BAT
100/200VAC
d8d2d1
M
E
A1S I/O module or
Special function module
Motor slot
Sequencer slot
Main base unit
(A178B-S1/A17 B)
PC extension base
unit extension cable
(A1SC B for A1S6 B
and A168B)
(A1S NB for A6 B)
P
Manual pulse generator 1
(MR-HDP01)
d3
Termination resistance
SSCNET1
Motion net cable
M
E
M
E
M
E
PC extension unit
Up to one extension base unit for A1S6 B
Up to one extension base unit for A168B(GOT compatible)
Up to one extension bese unit for A6 B
MR-H-B/MR-J2-B/MR-J-B
servo amplifiers Max. 8 axes
PC (DOS/V)
RS422
SSCNET interface card/board
(A30CD-PCF/A30BD-PCF)
SSCNET2
Synchronous encoder 1
(MR-HENC)
E
Limit swith output
module
Battery
Emergency stop input
Communication cable
(A270CDCBL M/A270BDCBL M)
PC (DOS/V)
Brake output
External input signals
FLS Upper limit LS
RLS Lower limit LS
STOP Stop signal
DOG/CHANGE Near-zero point dog/change
over between speed and position
8
TREN Tracking 1
Power supply module
Manual pulse
generator/synchronous
encoder interface module
Synchronous encoder cable 1
(MR-HSCBL M)
NOTES
(1) When using the PC extension base and bus connection type GOT,
choose the A168B as the PC extension base.
When not using the PC extension base, the bus connection type GOT
can be connected directly to the PC extension base connector of the
main base unit.
(2) Use motion slots to mount PC A1S I/O modules if necessary.
(3) When the power supply to the servo system CPU is switched ON and
OFF, erroneous process outputs may temporarily be made due to the
delay between the servo system CPU power supply and the external
power supply for processing (especially DC), and the difference in startup
times.
For example, if the power supply to the servo system CPU comes ON
after the external power supply for processing comes ON at a DC output
module, the DC output module may temporarily give erroneous outputs
when the power to the servo system CPU comes ON. Accordingly a
circuit that ensures that the power supply to the servo system CPU
comes ON first should be constructed.
1. GENERAL DESCRIPTION
1 4
1.1.2 A171SHCPUN system overall configuration
An example system configuration with A171SHCPUN is shown below.
A171SHCPUN
A172S
ENC
A1S
Y42
A6BAT
100/200VAC
P
SSCNET1
Motion net cable
PC (DOS/V)
RS422
SSCNET interface card/board
(A30CD-PCF/A30BD-PCF)
SSCNET2
d2d1
M
E
d3
Termination resistance
MR-H-B/MR-J2-B/MR-J-B
Servo amplifiers MAX.4 axes
M
E
M
E
d4
M
E
E
Motor slot
Sequencer slot
Manual pulse
generator/synchronous
encoder interface module
Limit swith output
module
A1S I/O module or
Special function module
Main base unit
(A178B-S1/A17 B)
Manual pulse generator 1
(MR-HDP01)
Synchronous encoder 1
(MR-HENC)
PC extension base
unit extension cable
(A1SC B for A1S6 B
and A168B)
(A1S NB for A6 B)
PC extension unit
Up to one extension base unit for A1S6 B
Up to one extension base unit for A168B(GOT compatible)
Up to one extension bese unit for A6 B
Power supply module
Emergency stop input
Battery unit
Communication cable
(A270CDCBL M/A270BDCBL M)
PC (DOS/V)
Brake output
External input signals
FLS Upper limit LS
RLS Lower limit LS
STOP Stop signal
DOG/CHANGE Near-zero point dog/speed/
position switching
4
TREN Tracking 1
Synchronous encoder cable 1
(MR-HSCBL M)
NOTES
(1) When using the PC extension base and bus connection type GOT,
choose the A168B as the PC extension base.
When not using the PC extension base, the bus connection type GOT
can be connected directly to the PC extension base connector of the
main base unit.
(2) Use motion slots to mount PC A1S I/O modules if necessary.
(3) Though A172SENC has external input signals for 8 axes, make settings
for the first 4 axes (PXO to PXOF).
(4) When the power supply to the servo system CPU is switched ON and
OFF, erroneous process outputs may temporarily be made due to the
delay between the servo system CPU power supply and the external
power supply for processing (especially DC), and the difference in startup
times.
For example, if the power supply to the servo system CPU comes ON
after the external power supply for processing comes ON at a DC output
module, the DC output module may temporarily give erroneous outputs
when the power to the servo system CPU comes ON. Accordingly a
circuit that ensures that the power supply to the servo system CPU
comes ON first should be constructed.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448

Mitsubishi Electric A171SHCPUN User manual

Category
Power generators
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI