2 (67) CWP3 CW pulse output signal for Axis #3 27 (83) CWP4 CW pulse output for Axis #4
PG Terminal Block 2
3 (68)
CWP3
Inverted CW pulse output for Axis #3 28 (84)
CWP4
Inverted CW pulse output for Axis #4
4 (69) CCWP3 CCW pulse output for Axis #3 29 (85) CCWP4 CCW pulse output for Axis #4
5 (70)
6 (71)
CCWP3
+ DRST
COM3
Inverted CCW pulse output for Axis #3 30 (86)
DRST3 +COMMON 31 (87)
CCWP4
+ DRST
COM4
Inverted CCW pulse output for Axis #4
DRST4 +COMMON
7 (72) DRST3 Drive Reset signal for Axis #3 32 (88) DRST4 Drive Reset signal for Axis #4
8 (73) DEND3 Detection End signal for Axis #3 33 (89) DEND4 Detection End signal for Axis #4
9 (74) - Not used 34 (90) - Not used
10 (75) - Not used 35 (91) - Not used
11 (76) - Not used 36 (92) - Not used
12 (77) - Not used 37 (93) - Not used
13 (78) - Not used 38 (94) - Not used
14 (79) +ZORG3 Encoder Phase +Z signal for Axis #3 39 (95) +ZORG4 Encoder Phase +Z signal for Axis #4
15 (80) -ZORG3 Encoder Phase -Z signal for Axis #3 40 (96) -ZORG4
Encoder Phase -Z signal for Axis #4
16 (81) - Not used 41 (97) - Not used
17 (98) - Not used 42 (99) - Not used
18 (59) - Not used 43 (100) GND Ground
19 (62)
SVON3
Servo ON output signal for Axis #3 44 (63)
SVON4
Servo ON output signal for Axis #4
20 (12) ALM3 Alarm input signal for Axis #3 45 (13) ALM4 Alarm input signal for Axis #4
21 (51) CWLM3 CW limit signal for Axis #3 46 (55) CWLM4 CW limit signal for Axis #4
22 (52) CCWLM3 CCW limit signal for Axis #3 47 (56) CCWLM4 CCW limit signal for Axis #4
23 (53) NORG3 Near-to-origin signal for Axis #3 48 (57) NORG4 Near-to-origin signal for Axis #4
24 (54) ORG3 Origin signal for Axis #3 49 (58) ORG4 Origin signal for Axis #4
25 (15) EXTV External power supply for Input circuit 50 (65) EXTVGND
RC700 / RC90 option PG motion system Rev.517
Input circuit
2. Hardware
Command pulse input
Command pulse input
Deviation counter clear
150Ω or more *2
(For 5V spec *1)
Servo ON
(For 24V spec)
Detection End output
Alarm output
Z phase output
Signal ground
Motor driver
External power source
*1 : For the 24V spec input circuit
on the driver side, refer to
2.3.3. Output Circuit - DRST.
*2 : If the current limiting resistance
of input circuit on the driver
side is 150Ω or less, ensure
more than 150Ω with the
external resistor.
+DRST
COM
2.4.5 Typical Applications
Example of connection with the servo motor driver
18 RC700 / RC90 option PG motion system Rev.5
Stop generating pulse gradually (by decelerating) or rapidly.
stop function is supported only by the software.
Emergency stop must also be supported in hardware also.
Make sure to install an additional circuit for the purpose of
at the input of Emergency Stop
.
2.5 Safety Features
The PG Motion System supports the same safety features as for standard robots. The
following table describes how each system safety feature is supported for PG robots.
Safety Features Supported Function on the PG Board
Emergency Stop Input
Safety Door Input The function of this input is same as for a standard robot.
High/Low Power Mode The function of this mode is same as for a standard robot.
2. Hardware
You may select either of the two patterns in the software. This
emergency
stopping the motor physically in case of emergency. Refer to
the sample circuit diagram on the next page in which the motor
drive power is turned OFF
signal to the Controller. For more details, refer to the Robot
Controller manual.
The acceleration/deceleration is set as follows for the Low
Power and High Power state respectively:
Low Power : Acceleration and deceleration will be limited
The acceleration and deceleration value of
default are fixed as follows:
Acceleration : 10%
Deceleration : 5%
High Power : The maximum speed, acceleration and
deceleration will be operable at the set-up
maximum value in the software.
Enable Switch Input The function of this input is same as for a standard robot.
Mode Switch Input The function of this input is same as for a standard robot.
For more Safety Features, refer to the Robot Controller manual or the Safety Chapter in the
EPSON RC+ User’s Guide.
RC700 / RC90 option PG motion system Rev.5 19
2. Hardware
External +24 V
Fuse
1A or less
External +24 V GND
External +24 V
AC Power
Source
Noise
Filter
Circuit
Breaker
External safety relay
(Simple Chart)
RC700
/ RC90
CAUTION
■
Always take anti-surge measures for coils (electromagnetic contactors, relays,
etc.) or contacts. If anti
flow. The reverse current may cause damage to peripheral equipment.
2.5.1 Typical Application of Emergency Stop Circuit
Connecting external safety relay
-surge measures are not taken, a reverse current may
20RC700 / RC90 option PG motion system Rev.5
3. Software
This chapter describes the software setup to use the PG Motion System.
3.1 Creating PG Robots in EPSON RC+
The PG Motion System can control up to four axes per PG board, so there can be from one
to four PG robots per board, depending on the number of axes per robot.
3. Software
NOTE
If you are also using PG boards for Conveyor Tracking in the same system, those boards are
only used for conveyor tracking encoders. PG boards used for the PG Motion System are
used separately, but are enumerated in the system along with the PG boards used for
conveyor tracking. If you add a PG board to the system for use with the motion system
and there is already one or more boards used for conveyor tracking, then the PG board #
will be the next board after the conveyor tracking PG boards. For example, if you add 1
PG board for conveyor tracking, and then add a board for PG motion, that board will be #2.
To create a PG robot in EPSON RC+, follow these steps:
(3) Select a PG parameter of the PG robot you want to edit the setting.
3. Software
(4) Follow the instruction in 3.2.3 PG Parameter and follows to change the parameter
settings.
Click
PG robot parameters with extra caution.
parameters are set improperly, the robot may move unexpectedly. The
CAUTION
Apply
to save the new settings.
robot is extremely hazardous and may cause
robot and / or peripheral equipment.
RC700 / RC90 option PG motion system Rev.5 23
3. Software
3.2.2 PG Parameters
This dialog allows you to configure the parameters for the new robot. If you already
have a data file from a previously created PG robot, click OK to accept default
parameters, then use the Load Parameters button to load the data file.
If you have a PG robot data file previously created
Load the data file by following the instruction in the section 3.2.4 Backup and Restore
Parameter Data.
If you don't have a data file, then proceed to the following sections to configure the
PG robot parameters.
If you don’t have a data file
Set the PG robot parameter in the dialog shown below.
User Model Name
Name the model of the manipulator here. You may create your own type-name using a
maximum of 32 alphanumeric characters.
The User Model Name entered here will appear as the robot type in Robot Configuration.
The User Model Name does not affect robot operation.
Model Version
This indicates the data version in a 4-digit hexadecimal number. This information does
not affect robot operation. The version number is for your own use to indicate different
versions of robots using the same User Model Name.
Home Speed
This parameter sets the speed when Home is executed, specified by percentage of
maximum speed. The value must be an integer in the range of 1 to 100.
Home Accel
This parameter sets the acceleration when HOME is executed, specified by percentage of
maximum acceleration. The value must be an integer in the range of 1 to 100.
Mcal Speed
This parameter sets the speed when MCAL is executed, specified by percentage of
maximum speed. The value must be an integer in the range of 1 to 100.
24 RC700 / RC90 option PG motion system Rev.5
3. Software
NOTE
Mcal Accel
This parameter sets the acceleration when MCAL is executed, specified by percentage of
maximum acceleration. The value must be an integer in the range of 1 to 100.
Specify this parameter so that MCAL is completed within 120 seconds.
If the calibration of each joint is not completed within 120 seconds during MCAL execution,
then error 4083: MCAL did not complete in time will occur.
3.2.3 PG parameter Joint
RC700 / RC90 option PG motion system Rev.5 25
3. Software
Alarm Logic
The ALM input logic is defined as follows when you select either Active High or Active
Low from the drop-down list:
Active High
Active Low
The alarm status is active when the input at the ALM input terminal is
at High Active.
The alarm status is active when the input at the ALM input terminal is
at Low Active.
Cal Direction
This setting defines the direction for the joint to move when calibrating the mechanical
origin:
Normal
Reverse
The joint moves in the normal direction during calibration of the
mechanical origin.
The joint moves in the reverse direction during calibration of the
mechanical origin.
Cal Jog Delay
The Jog Delay sets the delay (in msec) per pulse for the low speed, pulse-by-pulse
operation during signal detection.
The value must be an integer in the range of 0 to 1275 and a multiple of 5 (msec).
Cal Limit Delay
The Limit Delay sets the time duration (in msec) before reverse motion starts after either
the CCW or CW Limit is detected during calibration.
The value must be an integer in the range of 0 to 1275 and a multiple of 5 (msec).
Cal Org Detect Speed
This is the speed for detecting the sensor edge in pulses/sec.
The value must be an integer in the range of 1 to 65535.
Cal Scan Delay
The Scan Delay sets the time duration (in msec) before reverse motion starts after the stop
command is input during calibration.
The value must be an integer in the range of 0 to 1275 and a multiple of 5 (msec).
Cal Type ORG
The Calibration Type specifies the calibration method used to calibrate the mechanical
origin. There are seven calibration types 0, 1, 2, 3, 4, 5 and 10. For details of each
type, refer to 4. Calibration Types.
26 RC700 / RC90 option PG motion system Rev.5
3. Software
the motion commands for
are
Clear MCal
The check on this box clears the existing MCAL records when either MOTOR OFF or
SFREE is executed. Execution of either MOTOR OFF or SFREE necessitates
execution of MCAL after the motor is let go of servo by either of these commands.
False
True
The MCAL records will not be cleared when either MOTOR OFF or SFREE is
executed. If it is a stepping motor that is driving the joint, this box must be left
unchecked.
The MCAL records will be cleared when either MOTOR OFF or SFREE is
executed. Execution of either MOTOR OFF or SFREE necessitates execution of
MCAL after the motor is let go of servo by either of those commands. If it is a
servo motor connected to the SVON output that is driving the joint, this box must
be checked.
Continuous Motion
Enables the continuous rotation in the any direction. This is used in the rotary table or
other controls. This is for only the Joint type robots.
DisabledContinuous operation is not enabled (Default)
Continuous operation is enabled
If the continuous operation is enabled, normal absolute position
Abled
management is not executed. In addition, only
the continuous rotation (PG_Scan, PG_SlowStop, PG_FastStop)
enabled and the manipulator will not move with other motion commands.
PG_Scan 0 : Continuous motion in CW direction.
Default Horder
When Home (a command to move to the user-defined home position) is executed, each
joint will be moved to the -defined home position in the order as specified by the Horder
command.
When the user clicks Default button in the Tool | Robot manager | Home Config, these
values will be used.
For the details, refer to 3.3.3 [Home Config].
Default MCORDR
When MCAL (calibration to the home position) is executed, each joint will be calibrated
to the mechanical home position in the order as specified by the MCORDR command.
When you click Default button in the Tool | Robot manager | Mcal Order, these values
will be used.
For the details, refer to 3.3.4 [Mcal Order].
RC700 / RC90 option PG motion system Rev.5 27
3. Software
Initial Pulse Width
Use this parameter to control the initial pulse width to prevent power swing at the stepper
motor. The value in the range of 1 to 8388607.
Limit Stop Mode
This specifies how the robot will be stopped when a limit signal is turned OFF. Select
from the drop-down list box either Rapid Stop (stop immediately) or Decel Stop
(gradually decelerate to stop).
Margin Pulses
During the calibration without the acceleration or deceleration, when the calibration
signal is detected, the arm stops after moving for the part of margin pulses in the traveling
direction. This is used to prevent the false detection by the origin signal chattering or
hunting. The value must be an integer in the range of 1 to 65535.
Max Accel, Max Decel Max, Speed
These correspond with the SPEL+ commands SPEED 100, and ACCEL 100, 100, whose
values are percentages.
maximum speed [pulse/sec] Real value from 0.1 to 6553400.0
maximum acceleration [pulse/sec2]
Real value from 200.0 to 400000000.0
maximum deceleration [pulse/sec2]
Max Range, Min Range
This is the default working range for the robot. The value must be a signed integer in
the range of −2147483648 to 2147483647.
When the user clicks Default button in the Tool | Robot manager | Range, these values
will be used.
For the details, refer to 3.3.2 [Range].
Motor Type
Specifies the target motor type. Select either Servo or Stepper.
If Servo is selected, the following signals will become effective: Positioning Output of
the servo drive (DEND), Counter Reset Input (DRST) and Servo ON (SVON).
Origin Pulses
Specifies the pulse position after the calibration. The specified pulse value is the
position at where the arm is after the calibration with MCal. The value must be a
positive / negative integer.
Physical / Logical Pulses
Set the relation of the direction of the motor rotation and the pulse values (coordinate
values) in SPEL+. Select Same or Reverse from the drop-down list.
Same As physical encoder values increase, SPEL+ pulse values increase.
Reverse As physical encoder values increase, SPEL+ pulse values decrease.
28 RC700 / RC90 option PG motion system Rev.5
3. Software
For this setting, the pulse signal is generated from the CWP output
For this setting, the pulse in + (CW) direction is generated from the
When the relative motion is enabled, normal absolute position management
is not executed. The point data for the motion command is considered as
degrees
from the current position.
Pulse Output
Select the pulse output type from the drop-down list to match to the motor drive’s
specification:
Pulse / Direction
CW / CCW
while the Direction signal will be generated from the CCWP output.
The direction will be + (CW) when CCWP is low, and – (CCW)
when CCWP is high.
CWP terminal while the pulse in – (CCW) direction will be generated
from the CCWP terminal.
Reduction Ratio Joint, Reduction Ratio Pulses
This defines the number of pulses that correspond with the travel distance in millimeters
or degrees.
This sets the pulse number to the reduction ratio pulse, travel distance (angle) to the
reduction ratio joint.
Input range is an integer from 1.0 ~ 1000000.0.
Relative Motion
This enables the relative rotary motion in any directions. This is used to control such as
the rotary index. This is for only the Joint type robots.
DisabledRelative motion is not enabled (Default)
Relative motion is enabled
Abled
SCurve
This sets the acceleration speed curve to Straight or S-curve Acceleration/Deceleration.
Specify the joint designated as Z-joint (vertical operation joint) when the JUMP command
is executed in SPEL+. For Cartesian robots, the Z joint is fixed at joint #3.
the relative travel amount from the current position.
Go XY(100, 0, 0, 0) ‘ Moves 100 mm or 100
S-curve Acceleration/Deceleration
In the S-curve Acceleration/Deceleration, it creates an
acceleration/decelerat
ion curve which changes the speed smoothly.
Also, it can prevent the triangle drive in small distance motions.
RC700 / RC90 option PG motion system Rev.5 29
3. Software
3.2.4 Backup and Restore Parameter Data
After creating a PG robot, you can save its parameter data in a file. This file can be used
as a backup, and can also be used to create PG robots on other systems.
To backup PG robot parameter data:
(1) Select System Configuration from the Setup menu.
(2) Select the Robot from the System Configuration.
(3) Select the desired PG robot from the list of Robot, and then select a PG parameter.
(4) Click the <Save>button.
(5) Browse to the desired location and enter the desired filename.
(6) Click the <Save>button.
30 RC700 / RC90 option PG motion system Rev.5
3. Software
To restore PG robot parameter data:
(1) Select System Configuration from the Setup menu.
(2) Select the Robot from the System Configuration
(3) Select the desired PG robot from the list of Robot, and then select a PG parameter.
(4) Click the <Load>button.
(5) Browse to the desired location and select the desired filename.
(6) Click the <Open> button. The parameters are now loaded.
RC700 / RC90 option PG motion system Rev.5 31
3. Software
3.3 [Robot Manager] Configuration
After the PG robot parameter configuration is completed, now you need to set the parameters
in the [Robot Manager].
3.3.1 Overview of [Robot Manager]
This is used to control the robot motors and power, jog robots, teach points, and view/edit
several parameters for the robot.
For the details, refer to EPSON RC+ Users Guide: 5.11.1 [Robot Manager Command]
(Tools Menu).
This section describes an instruction for the PG robot parameter setting.
How to edit the [Robot Manager]
(1) Start the EPSON RC+.
(2) Select the Robot Manager from the Tools menu.
(3) Follow the instruction in the section 3.3.2 [Range] or later to change the parameters.
(4) Click the <Apply> button and save the new settings.
32 RC700 / RC90 option PG motion system Rev.5
3. Software
3.3.2 [Range]
Set the robot motion range. Click the <Default> button if you want to load the default
values set in the section 3.2.3 PG parameter Joint.
For each Joint (J1 through J4), specify the minimum value in the box on your left and the
maximum on the right. The value must be a signed integer in the range of -2147483647
to 2147483647.
3.3.3 [Home Config]
When HOME (a command to move to the user-defined home position) is executed, each
joint will be moved to the user-defined home position in the order as specified by the
HORDR command.
Click the <Default> button if you want to load the default values set in the section 3.2.3 PG
parameter Joint.
RC700 / RC90 option PG motion system Rev.5 33
3. Software
NOTE
J1 through J6 represent Joint #1 through Joint #6 respectively and, they are moved to the
user-defined home position in the order as specified by Step 1 through Step 4. In the
illustrated example, the Joint #2 will be moved to the user-defined home position after Joint
#1 is calibrated and moved to the waiting position.
3.3.4 [Mcal Order]
Specify this parameter so that MCAL is completed within 120 seconds.
If the calibration of each joint is not completed within 120 seconds during MCAL execution,
then error 4083, MCAL did not complete in time, will occur.
When MCAL (calibration to the home position) is executed, each joint will be calibrated to
the mechanical home position in the order as specified by the MCORDR command. The
values to be entered here specify the default values for MCORDR.
Click the <Default> button if you want to load the default values set in the section 3.2.3 PG
parameter Joint.
J1 through J6 represent Joint #1 through Joint #6 respectively and they will be calibrated in
the order as specified by Step 1 through Step 4. In the illustrated example, the Joint #2
will be calibrated to the origin position after Joint #1 is calibrated and moved to the origin
position.
34 RC700 / RC90 option PG motion system Rev.5
3.4 Using PG Robots in EPSON RC+
Joint #
Joint Name
1 X 2 Y 3 Z 4
U
Joint
J1
J2
J3
J4
J5
J6
J7
Position
CX(Here)
CY(Here)
CZ(Here)
CU(Here)
CV(Here)
CW(Here)
CR(Here)
coordinate
CX(Pn)
CY(Pn)
CZ(Pn)
CU(Pn)
CV(Pn)
CW(Pn)
CR(Pn)
PG robots behave similar to standard robots. You use Robot Control Panel, Jog & Teach,
Point Editor, etc. the same as you would with standard robots.
Refer to the EPSON RC+ User's Guide for details on using the GUI and program
development.
The following sections contain additional information that is specific to PG robots.
3.4.1 PG Cartesian Robots
PG Cartesian robots can be from 1 to 4 joints. The joint names are shown in the table
below.
3. Software
Current
Point
Joint #3, if used, is fixed as the Z joint. You cannot set which joint is the Z joint for a PG
Cartesian robot.
Vision Guide supports Cartesian robots with 2 or more joints.
PG Cartesian robots support Arm, Tool, and Local.
PG Joint robots do not have an XY coordinate system.
Vision Guide does not support Joint robots (since there is no XY coordinate system).
PG Joint robots do not support Arm, Tool, and Local.
The table below shows the functions used to retrieve coordinates for joint robots.
Normally, for Joint robots, use Agl and PAgl functions. However, you can also use the
CX, CY, CZ, CU functions, as shown.
Agl(1)
PAgl(Pn, 1)
3.4.2 PG Joint Robots
Agl(2)
PAgl(Pn, 2)
Agl(3)
PAgl(Pn, 3)
Agl(4)
PAgl(Pn, 4)
Agl(5)
PAgl(Pn, 5)
Agl(6)
PAgl(Pn, 6)
Agl(7)
PAgl(Pn, 7)
3.4.3 Tuning
Tuning for PG robot drives is handled by the third party motor drive. Refer to the drive
manufacturer's instructions on how to tune the drive. EPSON RC+ does not provide any
commands for tuning the drive. However, if the drive can be controlled from a DLL, it is
possible to execute DLL functions from a SPEL+ program.
RC700 / RC90 option PG motion system Rev.5 35
3. Software
3.4.4 Motion Commands
PTP (point to point) motion commands are supported for PG robots. These include Go,
TGo (Cartesian only), and Jump.
Joint motion is not synchronized for PG robots. When a motion command using more than
one joint is executed, the joints do not complete their motion at the same time.
CP motion (linear interpolated) commands are not supported. These include Move,
TMove, Arc, and Curve.
The Jump motion command is supported for PG robots that have a Z joint.
PASS operation with CP ON is not continuous. A PASS operation cannot be continued to
the next operation as one smooth continuous motion in which an action to the first PASS
operation/command slows down to move into another action in accelerating motion.
Attempting a PASS operation via CP ON command will only operate the manipulator by
one motion at a time.
3.4.5 SLock and SFree
Connecting the servo drive to the SVON signal enables servo excitation control via the
SLock and SFree commands. However, MCal must be executed before servos can be set
to free. (This is because the manipulator is possibly out of position while at servo-free.)
In order to ensure MCal execution, set as follows in the software: Enable the [Clear MCal]
in the Configuration dialog | System the Robot.
When you execute a manipulator motion command without executing MCal command, error
message “Error 4014: MCAL has not completed.” is displayed.
The stepper motor itself is not capable of controlling excitation, and normally, the SVON
output signal cannot be used. However, by executing SFree, the manipulator can be
operated in a pseudo servo-free state when the motor is actually engaged. When you
execute SFree, make sure to execute SLock in order to restore the excitation state.
3.4.6 Dry Run
PG robots are not directly supported in Dry Run. For PG robots to be used, the PG board
hardware must exist on the system. If you enable Dry Run in EPSON RC+, the PG robots
will continue to operate from the hardware.
36 RC700 / RC90 option PG motion system Rev.5
3. Software
3.4.7 PG Signal Status Display
Input and output status of the PG board can be displayed on the EPSON RC+ GUI.
When the PG robot is selected, open the [I/O Monitor] of the EPSON RC and select [PG
Status] tab.
The [PG Status] tab cannot be displayed in the [I/O Monitor] in the Operator mode.
DRIVE signal turns “On” while the pulse waveform is output. It does not represent the
status of the pulse waveform itself.
RC700 / RC90 option PG motion system Rev.5 37
4. Calibration Types
Standard Number
4. Calibration Types
The table below lists the seven Calibration Types. These calibration types determine
how the mechanical origin is determined during MCal.
Cal
Number of
Type
0 1 OFF 2 C Shorter
1 1 ON 2 C Shorter
2 1 OFF 4 B Longer
3 1 ON 4 B Longer
4 2 OFF 4 or 5 A Longest
5 2 ON 4 or 5 A Longest
10 2 ON 2 C Shortest
sensors
*1: A is highest accuracy followed by B and then C.
*2: Complete the calibration of each joint within 120 seconds.
Sensor Status when
calibration is complete
of Steps
Accuracy
Calibration
*1
Time
*2
38 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
The arrow indicates the two types of operation speed as follows:
Run at the speed as specified in the MCAL tab of the PG Robot
Configuration dialog.
Run at the speed as specified in the Origin Edge Detect Speed in
the Calibration tab of the PG Robot Configuration dialog.
The following symbols marked next to (Pause) in the illustration indicates the
duration of time to pause as follows:
or The starting position of the search for the mechanical origin.
Pause
The position for the calibration to complete. (A target origin)
The accelerating or decelerating motion in the direction of arrow
while detecting signals. (Dotted Line indicates a motion to return
to the origin from outside the Permissible Working Range.)
The motion without acceleration or deceleration in the direction of
arrow while detecting signals.
The motion in the slow speed pulse by pulse in the direction of
arrow while detecting signals.
Calibration Sequence per Calibration Type
The following conventions and symbols are used in the Calibration Sequence diagram in
the following pages:
LD Pause for delay time as specified in
the PG Robot Configuration dialog.
SD Pause for delay time as specified in
the PG Robot Configuration dialog.
JD Pause for delay time as specified in
PG Robot Configuration dialog.
RC700 / RC90 option PG motion system Rev.5 39
Limit Delay
Scan Delay
Jog Delay
on Calibration tab of
on Calibration tab of
on Calibration tab of the
4. Calibration Types
Cal Type 0 ORG pulse width : 1 msec or over
Cal Type 1 ORG pulse width : 1 msec or over
Cal Type 2 ORG pulse width : 1 msec or over
Cal Type 3 ORG pulse width : 1 msec or over
Cal Type 4 NORG pulse width : 1 msec or over
The interval between the NORG signal edge and ORG signal edge:
5 msec or over
+ZORG/-ZORG pulse width : 10 µsec or over (when a servo motor
is used.)
Cal Type 5 NORG pulse width : 1 msec or over
The interval between the NORG signal edge and ORG signal edge:
5 msec or ove
r
+ZORG/-ZORG pulse width : 10 µsec or over (when a servo motor
is used)
Cal Type 10 NORG Signal width : 1 msec or over
The interval between the NORG signal edge and ORG signal edge
must be sufficient to enable the robot to stop by deceleration.
Whichever Calibration Type is specified, wiring must be done in such a way to prevent
chattering. Also, the following signal conditions must be satisfied:
40 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
<1
<2>
<3>
<4>
<1> <2
When the starting position is in the range of A above. (Operation: 2 steps)
target origin
Working Range
CW (CCW)
Calibration Type 0
For Calibration Type 0, calibration is accomplished using one sensor. Place the sensor
closer to the CCW Limit position. Configure the sensor to detect the ORG signal edge
( ↑ ) in the CW direction.
CCW (CW)
Limit Position
ORG
CW LIMIT
CCW LIMIT
CW (CCW) direction CCW (CW) direction
Limit Position
C
>
When the starting position is in the range of B above. (Operation: 4 steps)
>
LD
When the starting position is in the range of C above. (Operation: 3 steps)
C B A
SD
SD
SD
<1>
<2>
<3>
NOTE
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
RC700 / RC90 option PG motion system Rev.5 41
SD
SD
4. Calibration Types
LD
SD
<1>
<2>
When the starting position is in the range of B above. (Operation: 4 steps)
SD
<3>
<4>
SD
<1>
<2>
When the starting position is in the range of A above. (Operation: 2 steps)
SD
<1>
<2>
When the starting position is in the range of C above. (Operation: 3 steps)
SD
<3>
A
CCW (CW)
Limit Position
target origin
ORG
CW LIMIT
CCW LIMIT
CW (CCW)
Limit Position
Working Range
CW (CCW) direction
CCW (CW) direction
C
C B
Calibration Type 1
For Calibration Type 1, calibration is accomplished using one sensor. Place the sensor
closer to the CCW Limit position. Configure the sensor to detect the ORG signal edge
( ↓ ) in the CCW direction.
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
42 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
<1>
<2>
When the starting position is in the range of C above. (Operation: 3 steps)
SD
<3>
JD
JD
SD
<1>
<2>
When the starting position is in the range of A above. (Operation: 4 steps)
<3>
<4>
SD
LD
JD
<1>
<2>
When the starting position is in the range of B above. (Operation: 4 steps)
SD
<3>
<4>
A
CCW (CW)
Limit Position
target origin
ORG
CW LIMIT
CCW LIMIT
CW (CCW)
Limit Position
CW (CCW) direction
Working Range
CCW (CW) direction
C C B
Calibration Type 2
For Calibration Type 2, calibration is accomplished using one sensor. Place the sensor
closer to the CCW Limit position. Configure the sensor to detect the ORG signal edge
( ↑ ) in the CW direction.
NOTE
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
RC700 / RC90 option PG motion system Rev.5 43
4. Calibration Types
JD
SD
<1>
<2>
When the starting position is in the range of A above. (Operation: 4 steps)
<3>
<4>
SD
LD
JD
<1>
<2>
When the starting position is in the range of B above. (Operation: 4 steps)
SD
<3>
<4>
<1>
<2>
When the starting position is in the range of C above. (Operation: 3 steps)
SD
<3>
JD
A
CCW (CW)
Limit Position
target origin
ORG
CW LIMIT
CCW LIMIT
CW (CCW)
Limit Position
Working Range
CW (CCW) direction
CCW (CW) direction
C C B
Calibration Type 3
For Calibration Type 3, calibration is accomplished using one sensor. Place the sensor
closer to the CCW Limit position. Configure the sensor to detect the ORG signal edge
( ↓ ) in the CCW direction.
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
44 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
SD
<1>
<2>
When the starting position is in the range of A above. (Operation: 2 steps)
SD
A
CCW (CW)
Limit Position
target origin
NORG
CW LIMIT
CCW LIMIT
CW (CCW)
Limit Position
Roughly positioned
(the first step in this calibration)
Roughly positioned
(the first step in this calibration)
Roughly positioned
(the first step in this calibration)
LD
SD
<1>
<2>
When the starting position is in the range of B above. (Operation: 3 steps)
SD
<3>
<1>
<2>
When the starting position is in the range of C above. (Operation: 2 steps)
SD
SD
Working Range
CW (CCW) direction
CCW (CW) direction
C C B
Calibration Type 4
In Calibration Type 4, calibration is accomplished using two sensors. Use the NORG
signal for rough positioning first. Then, to position more closely, pick up the ORG signal
(if a stepper motor is used) or ZORG signal (if a servo motor is used). Place the NORG
sensor in the direction of CCW Limit Position. Place the ORG sensor on the motor’s
rotation axis and, leave +ZORG disconnected when a stepper motor is used. When a servo
motor is used, connect the +Z Phase of the servo motor to +ZORG and -Z Phase to -ZORG
respectively. Leave ORG disconnected when a servo motor is used. The sequence of
rough positioning in Calibration Type 4 using NORG signal is as follows:
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
RC700 / RC90 option PG motion system Rev.5 45
4. Calibration Types
ORG
NORG
JD
ORG = HIGH (sensor: OFF)
when the NORG ( ↑ ) is detected.
JD
SD
ORG = LOW (sensor: ON)
when the NORG ( ↑ ) is detected.
ORG
NORG
If a stepper motor is used, the following sequence follows according to the ORG signal
status when the NORG ( ↑ ) is detected:
46 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
SD
<1>
<2>
When the starting position is in the range of A above. (Operation: 2 steps)
SD
A
CCW (CW)
Limit Position
target origin
NORG
CW LIMIT
CCW LIMIT
CW (CCW)
Limit Position
Roughly positioned
(the first step in this calibration)
Roughly positioned
(the first step in this calibration)
Roughly positioned
(the first step in this calibration)
LD
SD
<1>
<2>
When the starting position is in the range of B above. (Operation: 3 steps)
SD
<3>
<1>
<2>
When the starting position is in the range of C above. (Operation: 2 steps)
SD
SD
Working Range
CW (CCW) direction
CCW (CW) direction
C C B
Calibration Type 5
For Calibration Type 5, calibration is accomplished using two sensors. Use the NORG
signal for rough positioning first. Then, to position more closely, pick up the ORG signal
(if a stepper motor is used) or ZORG signal (if a servo motor is used). Place the NORG
sensor in the direction of CCW Limit Position. Place the ORG sensor on the motor’s
rotation axis and, leave +ZORG unconnected when the stepper motor is used. When a
servo motor is used, connect the +Z Phase of the servo motor to +ZORG and the -Z Phase
to -ZORG. Leave ORG disconnected when a servo motor is used. The sequence of
rough positioning for Calibration Type 5 using NORG signal is as follows:
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
RC700 / RC90 option PG motion system Rev.5 47
4. Calibration Types
ORG
NORG
JD
SD
JD
ORG = LOW (sensor: ON)
when the NORG ( ↑ ) is detected.
ORG
NORG
ORG = HIGH (sensor: OFF)
when the NORG ( ↑ ) is detected.
If a stepper motor is used, the following sequence occurs according to the ORG signal status
when the NORG ( ↑ ) detected:
48 RC700 / RC90 option PG motion system Rev.5
4. Calibration Types
LD
<1>
<2>
When the starting position is in the range of B above. (Operation: 3 steps)
SD
<3>
<1>
<2>
When the starting position is in the range of A above. (Operation: 2 steps)
A
CCW LIMIT
CCW (CW)
Limit Position
target origin
NORG
CW LIMIT
CW (CCW)
Limit Position
ORG
Working Range
CW (CCW) direction
CCW (CW) direction
B
Calibration Type 10
In ORG Type 10, calibration is accomplished using two sensors. Detect either the NORG
or ORG signal edge in the CW direction. In the end, detect ORG signal edge ( ↓ ) in the
CW direction. Keep both the NORG and ORG signals either one pulse or at the same level
as CCW:
The above motion direction is subject to and affected by the Direction parameter in the
System Configuration | Robot. The directions shown above without parentheses indicate
the motion direction when Normal is selected while those marked in parentheses indicate
the motion direction when Reverse is selected.
RC700 / RC90 option PG motion system Rev.5 49
5. Troubleshooting
Robot operating speed does not increase
Cause
Solution
invalid settings.
Motor oscillates
Wiring for the Motor Power signal or the
5. Troubleshooting
This chapter describes how to deal with common problems that can occur when using the
PG motion system.
Most of the errors that occur when a PG board is installed in your system for the first time
are likely due to any of the following: wrong wiring, wrong parameter or the servo drive
settings. When a trouble happens, read this and the drive’s manual carefully.
The SPEL+ Power setting is set to Low. Set Power to High.
There are invalid parameter settings.
Cause Solution
Encoder signal is incorrect between the
drive and motor.
The gain setting on the drive is not
appropriate for the load.
Refer to the section 3.3 [Robot Manager] Configuration and ensure that there are no
Check the wiring and correct if necessary.
Reset the gain properly by referring to the
drive’s manual.
50 RC700 / RC90 option PG motion system Rev.5
5. Troubleshooting
Motor does not run
Cause Solution
The safeguard input signal is not
connected properly or the safeguard is
open.
The pulse output signal from the PG
Board is not connected properly to the
drive.
Pulse output from the PG Board is not
compatible with the input to the drive.
The maximum frequency of the general
pulse output is not set properly.
When the safeguard is open, the robot can
only be operated by a teaching device.
Assure that the safeguard input is wired
properly and operate with the safeguard
closed. Refer to the Robot Controller manual
and the EPSON RC+ User’s Guide for more
details.
Make sure that the wiring is connected
properly.
Check the settings on both the PG Board and
the drive. Certain models of drives require
turning off the power in order to validate the
new settings.
Make sure that the settings comply with the
drive’s specifications.
The control mode for the drive is not set
at the position control mode.
Either the output from the drive signal to
the motor or receiving the pulse input
from the PG Board is prohibited at the
drive settings.
Either the torque limit signal or speed
limit signal is input to the drive.
The gain setting for the drive is not
appropriate for the load.
The drive is outputting the alarm signal.
Check the settings.
Check the signal settings at the drive.
Check the signal settings at the drive.
Set the gain properly by referring to the
drive’s manual.
Find out the cause and cancel that situation
by referring to the drive’s manual.
RC700 / RC90 option PG motion system Rev.5 51
5. Troubleshooting
Rotation of motor is unstable. Motor rotation position varies.
PG Robot Configuration dialog when the
Error 4004, Event waiting error with the Motion Control Module occurs
Cause Solution
The origin sensor is too close to the
encoder Z phase.
The setting for the maximum frequency
of the generated pulse is not appropriate.
Excessive power swing at the stepper
motor.
The wiring that connects the PG Board
to the drive is too long.
There is a powerful noise source in the
surrounding area.
There is no check at the Clear MCAL
check box on the Calibration tab of the
servo motor is used.
The [Clear MCal] may be set to “
False
”
in the System Configuration | Robot when
you use the servo motor.
Adjust the origin sensor position.
Set the maximum frequency value within the
range specified in the drive’s specifications.
Find out the cause of the overload to cancel
the situation or run with lower speed /
acceleration.
Keep the wiring as short as possible. (The
length recommended is 1.5 meters or
shorter.)
See the section 2.4.1 Minimizing Noise Interference. Also refer to the related
sections for the wiring and noise
countermeasures in the drive’s manual.
Refer to the section 3.4.5 Calibration Parameters. Check Clear MCAL for each
joint that uses a servo motor.
Refer to the section 3.2.3 PG parameter Joint
and set the [Clear MCal] to “
True
”.
Cause Solution
The servo motor is oscillating and the
position completion signal is not output.
The positioning cannot be carried out
because the servo motor’s joint is
interfering with an obstacle. It is
possible that the servo motor’s enforcing
operation obstructs the positioning.
52 RC700 / RC90 option PG motion system Rev.5
Adjust the gain to prevent the servo motor
from oscillating.
Connect the DEND input to GND to disable
wait for positioning.
Error 4083, MCAL did not complete in time. occurs
Cause Solution
5. Troubleshooting
The calibration of each joint was not
completed within 120 seconds during
MCAL execution.