All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording,
or otherwise, without the prior written permission of Yaskawa. No patent liability is assumed
with respect to the use of the information contained herein. Moreover, because Yaskawa is constantly striving to improve its high-quality products, the information contained in this manual is
subject to change without notice. Every precaution has been taken in the preparation of this
manual. Nevertheless, Yaskawa assumes no responsibility for errors or omissions. Neither is
any liability assumed for damages resulting from the use of the information contained in this
publication.
About this Manual
This manual describes the specifications of MECHATROLINK-II commands used for the following
MECHATROLINK-II communications reference input type SERVOPACKs, the basic operations using these
commands, and the parameters for these commands.
• Σ-V Series SERVOPACKs (Model: SGDV-11, and -15)
• DC Power Input Σ-V Series SERVOPACKs (Model: SGDV-E11)
• Large-Capacity Σ-V Series SERVOPACKs (Model: SGDV-11)
Targeted Readers
Users who incorporate MECHATROLINK-II commands in controllers
Users who design applications for host controllers that directly transmit MECHATROLINK-II commands
Related Documentation
Refer to the following manuals for information on Σ-V series SERVOPACKs, including hardware, adjustment
methods, and trial operation.
Σ-V Series Product CatalogKAEP S800000 42
Large-Capacity Σ-V Series CatalogKAEP S800000 86
Σ-V Series User’s Manual Setup Rotational MotorSIEP S800000 43
Σ-V Series User’s Manual Setup Linear MotorSIEP S800000 44
Σ-V Series User’s Manual Design and Maintenance
Rotational Motor/MECHATROLINK-II Communications Reference
Σ-V Series User’s Manual Design and Maintenance
Linear Motor/MECHATROLINK-II Communications Reference
DC Power Input Σ-V Series User’s Manual Setup Rotational MotorSIEP S800000 80
DC Power Input Σ-V Series User’s Manual Design and Maintenance
Σ-V Series User’s Manual for Use with Large-Capacity Models Setup Rotational MotorSIEP S800000 89
Σ-V Series User’s Manual for Use with Large-Capacity Models Design and Maintenance
Be sure that you fully understand each command and use the commands in the order
appropriate for your application.
Incorrect usage of the commands can result not only unexpected motions, but in a serious accident.
Special care and verification must be taken for usage of the commands in order to avoid
accidents.
Be sure to also establish safety measures for the system.
General Precautions
Observe the following general precautions
• The products shown in illustrations in this manual are sometimes shown without covers or protective guards.
Always replace the cover or protective guard as specified first, and then operate the products in accordance with
the manual.
• The drawings presented in this manual are typical examples and may not match the product you received.
• If the manual must be ordered due to loss or damage, inform your nearest Yaskawa representative or one of the
offices listed on the back of this manual.
to ensure safe application.
iii
Warranty
(1)Details of Warranty
Warranty Period
Warranty Scope
The warranty period for a product that was purchased (hereinafter called “delivered product”) is one year from
the time of delivery to the location specified by the customer or 18 months from the time of shipment from the
Yaskawa factory, whichever is sooner.
Yaskawa shall replace or repair a defective product free of charge if a defect attributable to Yaskawa occurs
during the warranty period above. This warranty does not cover defects caused by the delivered product reaching the end of its service life and replacement of parts that require replacement or that have a limited service
life.
This warranty does not cover failures that result from any of the following causes.
1. Improper handling, abuse, or use in unsuitable conditi
logs or manuals, or in any separately agreed-upon specifications
2. Causes not attributable to the delivered product itself
3. Modifications or repairs not performed by Yaskawa
4. Abuse of the delivered product in a manner in which it was not originally intended
5. Causes that were not foreseeable with the
ment from Yaskawa
6. Events for which Yaskawa is not responsible, such as natural or human-made disasters
scientific a
ons or in
nd technological understanding at the time of ship-
environments not described in product cata-
(2)Limitations of Liability
1. Yaskawa shall in no event be responsible for any damage or loss of opportunity to the customer that arises
due to failure of the delivered product.
2. Yaskawa shall not be responsible for any programs (inclu
execution of the programs provided by the user or by a third party for use with programmable Yaskawa
products.
3. The information described in product catalogs or manuals
chasing the appropriate product for the intended application. The us
are no infringements of intellectual property rights or other proprietary rights of Yaskawa or third parties,
nor does it construe a license.
4. Yaskawa shall not be responsible for any damage arising
or other proprietary rights of third parties as a result of using the information described in catalogs or manuals.
g parameter settings) or the results of program
din
is p
rovided for the purpose of the customer pur-
e thereof does not guarantee that there
from
infringements of intellectual property rights
iv
(3)Suitability for Use
1. It is the customer’s responsibility to confirm conformity with any standards, codes, or regulations that
apply if the Yaskawa product is used in combination with any other products.
2. The customer must confirm that the Yaskawa product is suitable for the systems, machines, and equipment
used by the
3. Consult with Yaskawa to determine whether use in the
application is acceptable, use the product with extra allowance in ratings and specifications, and provide
safety measures to minimize hazards in the event of failure.
• Outdoor use, use involving potential chemical contamination
tions or environments not described in product catalogs or manuals
• Nuclear energy control systems, combustion systems,
tems, medical equipment, amusement machines, and installati
ernment regulations
• Systems, machines, and equipment
• Systems that require a high degree of reliability, such as systems th
systems that operate continuously 24 hours a day
• Other systems that require a simi
4. Never use the product for an application involving serious risk to life or property without first ensuring that
the system
Yaskawa product is properly rated and installed.
5. The circuit examples and other application examples described in product catalogs and manuals are for reference. Check the functionality and safety
product.
6. Read and understand all use prohibitions and
prevent accidental harm to third parties.
customer
is designed to secure the required level of safety with risk warnings and redundancy, and that the
.
applications is acceptable. If use in the
or electrical interference,
, aviation systems, vehicle sys-
ons subject to separate industry or gov-
at supply gas, water, or electricity, or
Yaskawa product correctly to
or use in condi-
that may
high degree of safety
lar
present a risk to life or property
he actual devices and equipment to be used before using the
of t
precautions, and operate the
following
railroad systems
(4)Specifications Change
The names, specifications, appearance, and accessories of products in product catalogs and manuals may be
changed at any time based on improvements and other reasons. The next editions of the revised catalogs or
manuals will be published with updated code numbers. Consult with your Yaskawa representative to confirm
the actual specifications before purchasing a product.
This manual describes commands for the application layer.
1.1.2Frame Structure
A MECHATROLINK-II command is composed of a main command and a subcommand as shown below. It
can also be used only with a main command.
Classifi-
cation
Control
Field
Informa-
tion
Field
ByteCommandResponse
003H (Fixed)01H (Fixed)
1 to 16 Used by main command.
Used by subcommands. The subcommands for servo drives use only 17th to 29th byte. Therefore,
17 to 31
only 17th to 29th byte are described in this manual.
Note: In some main commands, subcommand cannot be used.
The application layer interfaces with only the information field.
1-2
1
MECHATROLINK-II Commands
1.1.3State Transition Diagram
P1/ Waits for connection establishment
P2/ Asynchronous communications state
P3/ Synchronous communications state
Sends CONNECT
(Asynchronous communications)
Sends SYNC_SET
Power ON
Start
Sends CONNECT
(Synchronous communications)
Communications
error
Communications
error
The primary (master) and secondary (slave) station state transitions are shown in the following diagrams.
Primary Station (Master Station) State Transition
1.1 MECHATROLINK-II Communications
Secondary Station (Slave Station) State Transition
Start
Power ON
P1/ Waits for connection establishment
Sends CONNECT
(Asynchronous communications)
Receives CONNECT
P2/ Asynchronous communications state
Receives DISCONNECT
Sends SYNC_SET
PhaseAbbreviationDescription
1P1Waiting for establishment of connection.
P3/ Synchronous communciations state
2P2Asynchronous communications enabled. Only asynchronous commands can be used.
3P3
Synchronous communications enabled. Both synchronous and asynchronous commands
can be used.
Communications
error
Receives DISCONNECT
Communications
error
Communications
error
1-3
1 MECHATROLINK-II Commands
1.1.4 Terminology
1.1.4Terminology
This section defines the terminology used in this manual.
(1)Transmission Cycle and Communications Cycle
Transmission Cycle:
The transmission cycle is the cycle in the MAC (Media Access Control) layer. It is the communications cycle
for physically sending data to the transmission path.
The transmission cycle is unaffected by the services provided by the application layer.
Communications Cycle:
The communications cycle is the cycle for application layer. The communications cycle is set to an integral
multiple of the transmission cycle.
(2)Synchronization Classification
MECHATROLINK-II commands include both synchronous and asynchronous commands.
• Synchronous Commands (Classification S):
For commands of this type, commands are sent and response are received every communications cycle.
A response to a command that has been sent to a slave station is received at the next communications cycle.
The WDT (Watchdog Timer) in the frames are refreshed and checked every communications cycle. Synchronous commands can be used only during synchronous communications (Phase 3).
• Asynchronous Commands (Classification A):
For commands of this type, commands are sent asynchronously to the communications cycle.
Subsequent commands can be sent after confirming the completion of processing of the slave station that
received the command.
The WDT (Watchdog Timer) in the frames are not checked.
1-4
1
MECHATROLINK-II Commands
1.2MECHATROLINK-II Command List
1.2.1Main Commands (In command code order)
The MECHATROLINK-II main commands used for Σ-V series servo drives are listed below.
1.2 MECHATROLINK-II Command List
Command
Code
00HNOPNothing is performed.3.2.1
01HPRM_RDReads the specified parameter.3.2.13
02HPRM_WRSaves the specified parameter.3.2.6
03HID_RDReads the device ID.3.2.5
04HCONFIGEnables the current parameter settings.3.2.8
05HALM_RDReads the current alarm or warning status, and the alarm history.3.2.15
06HALM_CLRClears the current alarm or warning status, and the alarm history.3.2.16
0EHCONNECTRequests to establish a MECHATROLINK connection.3.2.3
0FHDISCONNECTRequests to releases connection.3.2.2
1CHPPRM_WRSaves the parameters in non-volatile memory.3.2.7
20HPOS_SETSets the coordinates.3.2.17
21HBRK_ONTurns the brake signal off and applies the holding brake.Appendix A
22HBRK_OFFTurns the brake signal on and release the holding brake.Appendix A
23HSENS_ONTurns the encoder power supply on, and gets the position data.3.2.9
24HSENS_OFFTurns the encoder power supply off.3.2.11
25HHOLD
28HLTMOD_ONEnables the position data latch by the external signal input.4.2.2
29HLTMOD_OFFDisables the position data latch by the external signal input.4.2.3
30HSMONMonitors the SERVOPACK status.3.2.14
31HSV_ONTurns the servo of the motor on.3.2.10
32HSV_OFFTurns the servo of the motor off.3.2.12
34HINTERPOLATEStarts interpolation feeding.4.2.4
35HPOSING
36HFEEDStarts constant speed feeding at the target speed (TSPD)4.2.6
38HLATCH
39HEX_POSING
3AHZRETPerforms a homing.4.2.9
3CHVELCTRLControls speed.4.2.10
3DHTRQCTRLControls torque (force).4.2.11
3EHADJUsed to monitor and adjust data for maintenance.3.2.18
3FHSVCTRL
CommandFunctionReference
From current motion status, performs a deceleration stop and positioning
according to the deceleration value set in the parameter.
Starts positioning to the target position (TPOS) at the target speed
(TSPD).
Performs interpolation feeding and latches the position using the specified
latch signal.
Moves toward the target position (TPOS) at the target speed (TSPD).
When a latch signal is input midway, positioning is performed according
to the final travel distance for external position specified in the parameter
from the latch signal input position.
Performs general-purpose servo control. This command is compatible
with MECHATROLINK version 1.0 and earlier.
Appendix B
4.2.1
4.2.5
4.2.7
4.2.8
1-5
1 MECHATROLINK-II Commands
1.2.2 Subcommands (In command code order)
1.2.2Subcommands (In command code order)
The MECHATROLINK-II subcommands used for Σ-V series servo drives are listed below.
Command
Code
00HNOPSame function as of the main command NOP6.2.1
01HPRM_RDSame function as of the main command PRM_RD6.2.2
02HPRM_WRSame function as of the main command PRM_WR6.2.3
05HALM_RDSame function as of the main command ALM_RD6.2.4
1CHPPRM_WRSame function as of the main command PPRM_WR6.2.5
28HLTMOD_ONSame function as of the main command LTMOD_ON6.2.6
29HLTMOD_OFFSame function as of the main command LTMOD_OFF6.2.7
30HSMONSame function as of the main command SMON6.2.8
CommandFunctionReference
1-6
1.2 MECHATROLINK-II Command List
1
MECHATROLINK-II Commands
1.2.3Combination of MECHATROLINK-II Main Commands and Subcommands
Subcommands can be used by combining as listed below.
This section describes command execution timing at a slave station and monitored data input timing at the
master station.
These timings are constant, regardless of the transmission cycle and communications cycle.
1.3.1Command Data Execution Timing
Motion commands (such as POSING and INTERPOLATE) and the OPTION in the command data field are
executed 312.5 μs after they are received.
1.3.2Monitored Data Input Timing
The monitor, I/O, and status data are the data of 312.5 μs before the response is sent.
Command
Transmission cycle
Master sent
Slave sent
Received
Position and signal data 312.5 μs before
Sent
Response
1-8
1
MECHATROLINK-II Commands
1.4Data Order
Data in MECHATROLINK-II commands and responses is stored in little endian byte order.
For example, 4-byte data “0x1234ABCD” in hexadecimal is stored from the least significant byte as shown
below.
ByteData
1CD
2AB
334
412
1.4 Data Order
1-9
2
Operation Sequence
2
Operation Sequence
This chapter describes basic operation sequences through MECHATROLINK-II communications.
This section describes how to set communications specifications before starting communications, and how to
confirm the communications status.
2.1.1Setting MECHATROLINK-II Communications
(1)When the Σ-V Series SERVOPACKs (SGDV-A11, -A15, -D11,
-D15, -F11, -F15) are Used
The rotary switch (SW1) and DIP switch (SW2), which are located near the top under the front cover of the
SERVOPACK, are used as shown below to set the MECHATROLINK-II communications specifications.
Setting the Communications Specifications
Set the communications specifications using the DIP switch (SW2).
SW2FunctionSettingDescriptionFactory setting
Pin 1 Sets the baud rate.
Sets the number of
Pin 2
transmission bytes.
Pin 3 Sets the station address.
Pin 4 Reserved. (Do not change.)OFF–OFF
• When connecting to a MECHATROLINK-I network, turn OFF pins 1 and 2.
• When using a MECHATROLINK-I network (Baud rate: 4 Mbps), the settings for the
number of transmission bytes is disabled and the number of transmission bytes is
always 17.
OFF4 Mbps (MECHATROLINK-I)
ON10 Mbps (MECHATROLINK-II)
OFF17 bytes
ON32 bytes
OFFStation address = 40H + SW1
ONStation address = 50H + SW1
ON
ON
OFF
2-2
2.1 Preparing for Operation
2
Operation Sequence
Setting the Station Address
The following table lists the possible settings of the rotary switch (SW1) and the DIP switch (SW2) that can be
combined to form a station address.
The factory setting for the station address is 41H (Bit 3 of SW2 = OFF, SW1 = 1)
Bit 3 of SW2SW1Station AddressBit 3 of SW2SW1Station Address
OFF0DisabledON050H
OFF141HON151H
OFF242HON252H
OFF343HON353H
OFF444HON454H
OFF545HON555H
OFF646HON656H
OFF747HON757H
OFF848HON858H
OFF949HON959H
OFFA4AHONA5AH
OFFB4BHONB5BH
OFFC4CHONC5CH
OFFD4DHOND5DH
OFFE4EHONE5EH
OFFF4FHONF5FH
Turn the power OFF and then ON again to validate the new settings.
2-3
2 Operation Sequence
OFF
ON
SW2 (factory setting)
1234
OFF
ON
SW1 (factory setting)
1234
2.1.1 Setting MECHATROLINK-II Communications
(2)When the DC Power Input Σ-V Series SERVOPACKs (SGDV-E11) are Used
The DIP switches (SW1 and SW2), which are on the front cover of the SERVOPACK, are used as shown
below to set the MECHATROLINK-II communications specifications.
Setting the Communications Specifications
Set the communications specifications using the DIP switch (SW2).
SW2FunctionSettingDescriptionFactory setting
Pin 1 Sets the baud rate.
Sets the number of
Pin 2
transmission bytes.
Pin 3 Sets the station address.
Pin 4 Reserved. (Do not change.)OFF–OFF
OFF4 Mbps (MECHATROLINK-I)
ON10 Mbps (MECHATROLINK-II)
OFF17 bytes
ON32 bytes
OFFStation address = 40H + SW1
ONStation address = 50H + SW1
ON
ON
OFF
• When connecting to a MECHATROLINK-I network, turn OFF pins 1 and 2.
• When using a MECHATROLINK-I network (Baud rate: 4 Mbps), the settings for the
number of transmission bytes is disabled and the number of transmission bytes is
always 17.
2-4
2.1 Preparing for Operation
2
Operation Sequence
Setting the Station Address
The following table lists the possible settings of the DIP switches (SW1 and SW2) that can be combined to
form a station address.
The factory setting for the station address is 41H (Bit 3 of SW2 = OFF, Bit 1 of SW1 = ON, Bit 2 of SW1 =
OFF, Bit 3 of SW1 = OFF, Bit 4 of SW1 = OFF).
Setting
Bit 3 of SW2Bit 1 of SW1Bit 2 of SW1Bit 3 of SW1Bit 4 of SW1
OFFOFFOFFOFFOFFDisabled
OFFONOFFOFFOFF41H
OFFOFFONOFFOFF42H
OFFONONOFFOFF43H
OFFOFFOFFONOFF44H
OFFONOFFONOFF45H
OFFOFFONONOFF46H
OFFONONONOFF47H
OFFOFFOFFOFFON48H
OFFONOFFOFFON49H
OFFOFFONOFFON4AH
OFFONONOFFON4BH
OFFOFFOFFONON4CH
OFFONOFFONON4DH
OFFOFFONONON4EH
OFFONONONON4FH
ONOFFOFFOFFOFF50H
ONONOFFOFFOFF51H
ONOFFONOFFOFF52H
ONONONOFFOFF53H
ONOFFOFFONOFF54H
ONONOFFONOFF55H
ONOFFONONOFF56H
ONONONONOFF57H
ONOFFOFFOFFON58H
ONONOFFOFFON59H
ONOFFONOFFON5AH
ONONONOFFON5BH
ONOFFOFFONON5CH
ONONOFFONON5DH
ONOFFONONON5EH
ONONONONON5FH
Station Address
Turn the power OFF and then ON again to validate the new settings.
2-5
2 Operation Sequence
4
3
5
2
6
1
7
C
8
0
F
9
E
A
D
B
ON
OFF
1 234
S3
S2
2.1.1 Setting MECHATROLINK-II Communications
(3)When the Large-Capacity Σ-V Series SERVOPACKs (SGDV-H11,
-J11) are Used
The rotary switch (S2) and DIP switch (S3), which are located near the top under the plastic cover of the SERVOPACK, are used as shown below to set the MECHATROLINK-II communications specifications.
Setting the Communications Specifications
Set the communications specifications using the DIP switch (S3).
S3FunctionSettingDescriptionFactory setting
Pin 1 Sets the baud rate.
Sets the number of
Pin 2
transmission bytes.
Pin 3 Sets the station address.
Pin 4 Reserved. (Do not change.)OFF–OFF
OFF4 Mbps (MECHATROLINK-I)
ON10 Mbps (MECHATROLINK-II)
OFF17 bytes
ON32 bytes
OFFStation address = 40H + S2
ONStation address = 50H + S2
ON
ON
OFF
• When connecting to a MECHATROLINK-I network, turn OFF pins 1 and 2.
• When using a MECHATROLINK-I network (Baud rate: 4 Mbps), the settings for the
number of transmission bytes is disabled and the number of transmission bytes is
always 17.
2-6
2.1 Preparing for Operation
2
Operation Sequence
Setting the Station Address
The following table lists the possible settings of the rotary switch (S2) and the DIP switch (S3) that can be
combined to form a station address.
The factory setting for the station address is 41H (Bit 3 of S3 = OFF, S2 = 1)
Bit 3 of S3S2Station AddressBit 3 of S3S2Station Address
OFF0DisabledON050H
OFF141HON151H
OFF242HON252H
OFF343HON353H
OFF444HON454H
OFF545HON555H
OFF646HON656H
OFF747HON757H
OFF848HON858H
OFF949HON959H
OFFA4AHONA5AH
OFFB4BHONB5BH
OFFC4CHONC5CH
OFFD4DHOND5DH
OFFE4EHONE5EH
OFFF4FHONF5FH
Turn the power OFF and then ON again to validate the new settings.
2-7
2 Operation Sequence
When lit: CONNECT execution completed
When unlit: CONNECT execution not completed
When lit: During data link communications.
When unlit: Communications not established.
2.1.2 Checking the Communications Status
2.1.2Checking the Communications Status
Turn ON the control and main circuit power supplies and use the following procedure to confirm that the SERVOPACK is ready for communications.
(1)Operation Procedure
When the Σ-V Series SERVOPACKs (SGDV-A11, -A15, -D11,
-D15, -F11, -F15) or the Large-Capacity Σ-V Series SERVOPACKs
(SGDV-H11, -J11) are Used
ProcedureOperation
1Confirm that the wiring is correctly made.
Turn ON the SERVOPACK control and main circuit power supplies.
When the control power is being normally supplied to the SERVOPACK, POWER LED on the SERVO-
2
PACK is lit.
When the main circuit power supply is ON, CHARGE is lit.
3Turn ON the controller power supply and start MECHATROLINK communications.
Check the communications status.
When communications in the data link layer have started, COM LED on the SERVOPACK is lit.
Note: If COM LED is not lit, check the communications settings of SW1, SW2, and the controller, and then
turn the power supplies OFF and ON again.
When the MECHATROLINK-II connection in the application layer is established, the 7-segment LED indicates the completion of CONNECT execution as shown below.
4
When the DC Power Input Σ-V Series SERVOPACKs (SGDV-E11) are Used
ProcedureOperation
1Confirm that the wiring is correctly made.
2Turn ON the SERVOPACK control and main circuit power supplies.
3Turn ON the controller power supply and start MECHATROLINK communications.
Check the communications status.
When communications in the data link layer have started, COM LED on the SERVOPACK is lit.
Note: If COM LED is not lit, check the communications settings of SW1, SW2, and the controller, and then
turn the power supplies OFF and ON again.
4
2-8
2.2 Operation Sequence for Managing Parameters Using a Controller
2
Operation Sequence
2.2Operation Sequence for Managing Parameters Using a
Controller
When the parameters are managed by a controller, the parameters are automatically transmitted from the controller to the SERVOPACK when the power is turned ON. Therefore, the settings of SERVOPACK do not
need to be changed when the SERVOPACK is replaced.
ProcedureOperationCommand to Send
1Turn on the control and main circuit power supplies.NOP
2Reset the previous communications status.
3Establish communications connection and starts WDT count.CONNECT
4Check information such as device ID.ID_RD
5Get device setting data such as parameters.PRM_RD, ADJ
6Set the parameters required for device.PRM_WR
7Enable the parameter settings (Setup).CONFIG
8Turn the encoder power supply to the position data.SENS_ON
9Turn the servo on.SV_ON
10Start operation.–
11Turn the servo off.SV_OFF
12Disconnect the communications connection.DISCONNECT
13Turn the control and main circuit power supplies.–
DISCONNECT
*
∗ If the connection cannot be released normally, send DISCONNECT command for 2 or more communications cycles,
and then send CONNECT command.
2-9
2 Operation Sequence
2.3.1 Setup Sequence
2.3Operation Sequence for Managing Parameters Using a
SERVOPACK
To manage the parameters by using SERVOPACK’s non-volatile memory, save the parameters in the non-volatile memory at setup and use an ordinary operation sequence.
2.3.1Setup Sequence
ProcedureOperationCommand to Send
1Turn on the control and main circuit power supply.NOP
2Reset the previous communications status.
3Establish communications connection and start WDT count.CONNECT
4Check information such as device ID.ID_RD
5Get device setting data such as parameters.PRM_RD, ADJ
Save the parameters required for device in the non-volatile
6
memory.
7Disconnect the communications connection.DISCONNECT
8Turn off the control and main circuit power supplies.–
DISCONNECT
PPRM_WR
Note: Do not use PRM_WR.
*
∗ If the connection cannot be released normally, send a DISCONNECT command for 2 or more communications cycles,
and then send a CONNECT command.
2.3.2Ordinary Operation Sequence
ProcedureOperationCommand to Send
1Turn on the control and main circuit power supplies.NOP
2Reset the previous communications status.
3Establish communications connection and start WDT count.CONNECT
4Check information such as device ID.ID_RD
5Get device setting data such as parameters.PRM_RD, ADJ
6Turn on the encoder power supply to get the position data.SENS_ON
7Turn the servo on.SV_ON
8Start operation.POSING, INTERPOLATE, etc.
9Turn the servo off.SV_OFF
10Disconnect the communications connection.DISCONNECT
11Turn off the control and main circuit power supplies.–
∗ If the connection cannot be released normally, send a DISCONNECT command for 2 or more communications cycles,
and then send a CONNECT command.
DISCONNECT
*
2-10
2.4 Specific Operation Sequences
2
Operation Sequence
2.4Specific Operation Sequences
This section describes operations that use commands in specific sequences.
2.4.1Operation Sequence When Turning the Servo ON
Motor control using a host controller is performed using motion commands only during Servo ON (motor
power ON).
While the SERVOPACK is in Servo OFF status (while current to the motor is interrupted), the SERVOPACK
manages position data so that the reference coordinate system (POS, MPOS) and the feedback coordinate system (APOS) are equal. For correct execution of motion commands, therefore, it is necessary to use the SMON
(Status Monitoring) command after the SERVOPACK status changes to Servo ON, to read the servo reference
coordinates (POS) and send an appropriate reference position.
Confirm the following bit status before sending the SV_ON command:
STATUS field: PON = 1 and ALM = 0
IO Monitor field: HBB = 0
2.4.2Operation Sequence When OT (Overtravel Limit Switch) Signal Is Input
When an OT signal is input, the SERVOPACK prohibits the motor from rotating in the way specified in the
parameter Pn001. The motor continues to be controlled by the SERVOPACK while its rotation is prohibited.
When an OT signal is input, use the following procedure to process the OT signal.
ProcedureOperation
Monitor OT signals (P_OT and N_OT of IO Monitor field). When an OT signal is input, send an appropriate stop command:
While an interpolation command (INTERPOLATE, LATCH) is being executed: Leave the interpolation
command as it is and stop updating the interpolation position. Or, send a HOLD command and SMON
1
command.
While a move command (such as POSING) other than interpolation commands is being executed: Send a
HOLD command.
Check the output completion flag DEN. If DEN = 1, the SERVOPACK completed the OT processing.
2
At the same time, check the flag PSET. If PSET = 1, the motor is completely stopped.
Keep the command used in procedure 1 active until both of the above flags are set to 1.
3Read out the current reference position (POS) and use it as the start position for retraction processing.
Use a move command such as POSING or INTERPOLATE for retraction processing. Continue to use this
4
command until the retraction is finished. If the move command ends without finishing the retraction, restart
the move command continuously from the last target position.
Note 1. When an OT signal is input during execution of motion command ZRET or EX_POSING, the execution of the
command will be cancelled. For retraction, always send a stop command described in procedure 1 first, and then
send a retraction command (move command).
2. In case of OT ON (P-OT or N-OT of IO_MON field = 1) or Software-Limit ON (P_SOT or N_SOT of STATUS
field = 1), the motor may not reach the target position that the host controller specified. Make sure that the axis
has stopped at a safe position by confirming the feedback position (APOS).
The host controller may not be able to monitor a brief change in the P-OT or N-OT signal
to P-OT=1 or N-OT=1. Proper selection, installation and wiring in the limit switch is
required to avoid chattering and malfunctions in the OT signal.
2.4.3Operation Sequence at Emergency Stop (Main Circuit OFF)
After confirming that SV_ON or PON bit in the response data STATUS field is OFF (= 0), send an SV_OFF
command.
During emergency stop, always monitor the SERVOPACK status using a command such as the SMON (Status
Monitoring) command.
2-11
2 Operation Sequence
BB status
(baseblocked)
RUN status
HWBB status
(hard wire baseblocked)
/HWBB1
/HWBB2
STATUS
field
SVON
RUN status
SERVOPACK
status
ON
(Does not request HWBB function)
ON
(Does not request HWBB function)
OFF
(Request HWBB function)
1
01
M-II
command
IO Monitor
field
HBB
10
0
Motion command,
etc.
SV_OFF
command, etc.
SV_ON
command, etc.
BB status
(baseblocked)
SV_OFF
command
BB status
(baseblocked)
RUN status
HWBB status
(hard wire baseblocked)
RUN status
101
100
/HWBB1
/HWBB2
STATUS
field
SVON
SERVOPACK
status
M-II
command
IO Monitor
field
HBB
Motion command, etc.SV_OFF command, etc.
SV_ON
command, etc.
ON
(Does not request HWBB function)
ON
(Does not request HWBB function)
OFF
(Request HWBB function)
2.4.4 Operation Sequence When a Safety Signal is Input
2.4.4Operation Sequence When a Safety Signal is Input
When an HWBB1 or HWBB2 signal is input while the motor is being operated, current to the motor will be
forcibly stopped, and the motor will be stopped according to the setting of the 1st digit of parameter Pn001.
Note: The safety function cannot be used with DC power input Σ-V series SERVOPACKs (SGDV-E11).
[When an HWBB signal is input after the SERVOPACK stops powering the motor]
[When an HWBB signal is input while the SERVOPACK is powering the motor]
When an HWBB Signal is Input
Monitor the HWBB input signal and SCM output signal status, or HBB signal status in IO Monitor field. If a
forced stop status is detected, send a command such as SV_OFF to stop the motor.
Restoration from Stop Status
Reset the HWBB1 or HWBB2 signal, and then send a command other than SV_ON, such as SV_OFF. Then,
restore the controller and system. When the controller and system are restored, turn the servo ON using the
operation sequence to turn the servo ON.
2-12
Note 1. If the SERVOPACK enters HWBB status while sending an SV_ON command, reset the /HWBB1 or /HWBB2
signal and then send a command other than SV_ON, such as SV_OFF. Then, send the SV_ON command again to
restore the normal operation status.
2. If the SERVOPACK enters HWBB status during execution of an SV_OFF, INTERPOLATE, LATCH, POSING,
FEED, EX_POSING, or ZRET command, a command warning will occur since the SERVOPACK status changes
to Servo OFF status. Execute the Clear Alarm or Warning (ALM_CLR) command to restore normal operation.
2.4 Specific Operation Sequences
2
Operation Sequence
2.4.5Operation Sequence at Occurrence of Alarm
When the ALM bit in STATUS field of response turns on (= 1), send SV_OFF command. Use ALM_RD command to check the alarm occurrence status.
To clear the alarm status, send ALM_CLR command after removing the cause of alarm. However, the alarms
that require turning the power supply off and then on again to clear the alarm status, sending ALM_CLR command will not clear the alarm status.
If a communications alarm A.E5or A.E6 occurs, send ALM_CLR command to reset the alarm and then
send SYNC_SET command.
2.4.6When Motion Command Is Interrupted and Servomotor Is in Position
During execution of a Motion command, any one of the following statuses on the SERVOPACK will cause
interruption of the motion command and an in-position status of PSET=1.
• Alarm occurrence (ALM of STATUS field =1) causes Servo-Off (SVON of STATUS field =0).
• Main power supply OFF (PON of STATUS field =0) causes Servo-Off (SVON of STATUS field =0).
• OT ON (P-OT or N-OT of IO_MON field = 1) or Software-Limit ON (P_SOT or N_SOT of STATUS field
= 1) causes the motor to stop.
Even when PSET is 1 in these cases, the motor may not reach the target position that the host controller specified. Obtain the feedback position (APOS) to make sure that the axis has stopped at a safe position.
The host controller may not be able to monitor a brief change in the P-OT or N-OT signal
to P-OT=1 or N-OT=1. Proper selection, installation and wiring in the limit switch is
required to avoid chattering and malfunctions in the OT signal.
2-13
Loading...
+ 112 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.