CR800-R CR800-Q Series Controller Iq Platform Supporting Extended Function Instruction Manual Bfp-A3528b
CR800-R CR800-Q Series Controller Iq Platform Supporting Extended Function Instruction Manual Bfp-A3528b
BFP-A3528-B
Safety Precautions
Always read the following precautions and the separate "Safety
Manual" before starting use of the robot to learn the required
measures to be taken.
CAUTION All teaching work must be carried out by an operator who has received special
training. (This also applies to maintenance work with the power source turned
ON.)
Enforcement of safety training
CAUTION For teaching work, prepare a work plan related to the methods and procedures
of operating the robot, and to the measures to be taken when an error occurs
or when restarting. Carry out work following this plan. (This also applies to
maintenance work with the power source turned ON.)
Preparation of work plan
CAUTION During teaching work, place a sign indicating that teaching work is in progress
on the start switch, etc. (This also applies to maintenance work with the power
source turned ON.)
Indication of teaching work in progress
CAUTION Establish a set signaling method to the related operators for starting work, and
follow this method.
Signaling of operation start
CAUTION As a principle turn the power OFF during maintenance work. Place a sign
indicating that maintenance work is in progress on the start switch, etc.
Indication of maintenance work in progress
CAUTION Before starting work, inspect the robot, emergency stop switch and other
related devices, etc., and confirm that there are no errors.
Inspection before starting work
The points of the precautions given in the separate "Safety Manual" are given below.
Refer to the actual "Safety Manual" for details.
DANGER When automatic operation of the robot is performed using multiple control
devices (GOT, programmable controller, push-button switch), the interlocking of
operation rights of the devices, etc. must be designed by the customer.
CAUTION Use the robot within the environment given in the specifications. Failure to do
so could lead to a drop or reliability or faults. (Temperature, humidity,
atmosphere, noise environment, etc.)
CAUTION Transport the robot with the designated transportation posture. Transporting
the robot in a non-designated posture could lead to personal injuries or faults
from dropping.
CAUTION Always use the robot installed on a secure table. Use in an instable posture
could lead to positional deviation and vibration.
CAUTION Wire the cable as far away from noise sources as possible. If placed near a noise
source, positional deviation or malfunction could occur.
CAUTION Do not apply excessive force on the connector or excessively bend the cable.
Failure to observe this could lead to contact defects or wire breakage.
CAUTION Make sure that the workpiece weight, including the hand, does not exceed the
rated load or tolerable torque. Exceeding these values could lead to alarms or
faults.
WARNING Securely install the hand and tool, and securely grasp the workpiece. Failure to
observe this could lead to personal injuries or damage if the object comes off or
flies off during operation.
WARNING Securely ground the robot and controller. Failure to observe this could lead to
malfunctioning by noise or to electric shock accidents.
CAUTION Indicate the operation state during robot operation. Failure to indicate the state
could lead to operators approaching the robot or to incorrect operation.
WARNING When carrying out teaching work in the robot's movement range, always secure
the priority right for the robot control. Failure to observe this could lead to
personal injuries or damage if the robot is started with external commands.
CAUTION Keep the jog speed as low as possible, and always watch the robot. Failure to do
so could lead to interference with the workpiece or peripheral devices.
CAUTION After editing the program, always confirm the operation with step operation
before starting automatic operation. Failure to do so could lead to interference
with peripheral devices because of programming mistakes, etc.
CAUTION Make sure that if the safety fence entrance door is opened during automatic
operation, the door is locked or that the robot will automatically stop. Failure to
do so could lead to personal injuries.
CAUTION Never carry out modifications based on personal judgments, or use non-
designated maintenance parts.
Failure to observe this could lead to faults or failures.
WARNING When the robot arm has to be moved by hand from an external area, do not
place hands or fingers in the openings. Failure to observe this could lead to
hands or fingers catching depending on the posture.
CAUTION Do not stop the robot or apply emergency stop by turning the robot controller's
main power OFF. If the robot controller main power is turned OFF during
automatic operation, the robot accuracy could be adversely affected. Moreover,
it may interfere with the peripheral device by drop or move by inertia of the arm.
CAUTION Do not turn off the main power to the robot controller while rewriting the
internal information of the robot controller such as the program or parameters.
If the main power to the robot controller is turned off while in automatic
operation or rewriting the program or parameters, the internal information of the
robot controller may be damaged.
DANGER Do not connect the Handy GOT when using the GOT direct connection function
of this product. Failure to observe this may result in property damage or bodily
injury because the Handy GOT can automatically operate the robot regardless
of whether the operation rights are enabled or not.
DANGER Do not connect the Handy GOT to a programmable controller when using an iQ
Platform compatible product with the CR800-R/CR800-Q controller. Failure to
observe this may result in property damage or bodily injury because the Handy
GOT can automatically operate the robot regardless of whether the operation
rights are enabled or not.
DANGER Do not remove the SSCNET III cable while power is supplied to the multiple
CPU system or the servo amplifier. Do not look directly at light emitted from
the tip of SSCNET III connectors or SSCNET III cables of the Motion CPU or
the servo amplifier. Eye discomfort may be felt if exposed to the light.
(Reference: SSCNET III employs a Class 1 or equivalent light source as
specified in JIS C 6802 and IEC60825-1 (domestic standards in Japan).)
DANGER Do not remove the SSCNET III cable while power is supplied to the controller.
Do not look directly at light emitted from the tip of SSCNET III connectors or
SSCNET III cables. Eye discomfort may be felt if exposed to the light.
(Reference: SSCNET III employs a Class 1 or equivalent light source as
specified in JIS C 6802 and IEC60825-1 (domestic standards in Japan).)
DANGER Attach the cap to the SSCNET III connector after disconnecting the SSCNET
III cable. If the cap is not attached, dirt or dust may adhere to the connector
pins, resulting in deterioration connector properties, and leading to malfunction.
CAUTION Make sure there are no mistakes in the wiring. Connecting differently to the way
specified in the manual can result in errors, such as the emergency stop not
being released. In order to prevent errors occurring, please be sure to check
that all functions (such as the teaching box emergency stop, customer emer-
gency stop, and door switch) are working properly after the wiring setup is com-
pleted.
CAUTION Use the network equipments (personal computer, USB hub, LAN hub, etc)
confirmed by manufacturer. The thing unsuitable for the FA environment
(related with conformity, temperature or noise) exists in the equipments
connected to USB. When using network equipment, measures against the noise,
such as measures against EMI and the addition of the ferrite core, may be
necessary. Please fully confirm the operation by customer. Guarantee and
maintenance of the equipment on the market (usual office automation
equipment) cannot be performed.
CAUTION To maintain the safety of the robot system against unauthorized access from
external devices via the network, take appropriate measures.
To maintain the safety against unauthorized access via the Internet, take mea-
sures such as installing a firewall.
*CR800 controller
CAUTION Please install the earth leakage breaker in the primary side power supply of the
controller because of leakage protection.
㻼㼞㼕㼙㼍㼞㼥㻌㼟㼕㼐㼑
Note 1)
㻱㼍㼞㼠㼔㻌㼘㼑㼍㼗㼍㼓㼑㻌 㻭㻯㻵㻺㻌㼏㼛㼚㼚㼑㼏㼠㼛㼞
㻭㻯㻵㻺㻌㼏㼍㼎㼘㼑
㼎㼞㼑㼍㼗㼑㼞㻌㻔㻺㼂㻕 㻔㼍㼠㼠㼍㼏㼔㼙㼑㼚㼠㻕 㻼㻱㻌㻔㼜㼞㼛㼠㼑㼏㼠㼕㼢㼑㻌㼑㼍㼞㼠㼔㻕㻌㼠㼑㼞㼙㼕㼚㼍㼘
㻹㻠㻌㼟㼏㼞㼑㼣
㻿㼑㼏㼛㼚㼐㼞㼥㻌㼟㼕㼐㼑
㻸㻝 㻸㻞 㻸㻟 㻸 㻺
㻳㼞㼛㼡㼚㼐㼕㼚㼓㻌㼏㼍㼎㼘㼑
㻼㻱㻌㼠㼑㼞㼙㼕㼚㼍㼘
㻼㻱㻌㼠㼑㼞㼙㼕㼚㼍㼘
㻼㻱㻌㼠㼑㼞㼙㼕㼚㼍㼘
Note 1) Always use the terminal cover for the earth leakage breaker.
Cable for primary power supply AWG14 (2mm2) or above Prepared by customer.
Tightening torque for terminal
fixing screw is 2 ~ 3Nm.
Thank you for buying the industrial robot MELFA manufactured by Mitsubishi Electric.
This document provides the instructions for iQ Platform supporting extended functions in CR800-R/
CR800-Q series robot controller. Our extended functions allows the sequencer easily to monitor the
robot through CPU buffer memory between sequencer and robot, set up data, and operate the robot
without a program (sequencer direct performance). This document provides a detailed description of
the data configuration of the CPU buffer memory*, monitoring, and operation procedures. (*shared
memory if using the CR800-Q)
Please carefully read and fully understand this document before making use of the extended func-
tions.
<Precautions>
Read "CPU buffer memory" as "CPU shared memory" if using the CR800-Q.
• No part of this manual may be reproduced by any means or in any form, without prior consent
from Mitsubishi.
• The contents of this manual are subject to change without notice.
• The specifications values are based on Mitsubishi standard testing methods.
• The information contained in this document has been written to be accurate as much as possi-
ble. Please interpret that items not described in this document "cannot be performed." or "alarm
may occur".
Please contact your nearest dealer if you find any doubtful, wrong or skipped point.
•This specifications is original.
• Microsoft, Windows, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 are
either registered trademarks or trademarks of Microsoft Corporation in the United States and/or
other countries.
• Windows®XP, Windows Vista®, Windows® 7, Windows® 8, Windows® 8.1 are either product
names of Microsoft Corporation in the United States.
• Ethernet is registered trademarks or trademarks of Xerox Corporation in the United States.
• All other company names and production names in this document are the trademarks or regis-
tered trademarks of their respective owners.
i
Contents
Page
6.2 Operation flow ......................................................................................................................... 6-59
6.3 How to Operate Maintenance ................................................................................................. 6-60
6.3.1 Data List ............................................................................................................................ 6-60
6.3.2 Timing Chart ..................................................................................................................... 6-62
6.3.3 Sample Ladder ................................................................................................................. 6-63
ii
Contents
Page
9.4.2 Robot adjustment program (BFRM.prg) .......................................................................... 9-127
9.5 Sequence program ............................................................................................................... 9-128
9.6 Adjustment ............................................................................................................................ 9-129
9.6.1 Adjustment 1: Adjustment of the common base coordinates .......................................... 9-129
9.6.2 Adjustment 2: Setting of the common tool ...................................................................... 9-130
9.6.3 Adjustment 3: Teaching and parameter setting of the workpiece transport destination . 9-131
9.7 Cooperated operation by robots ........................................................................................... 9-132
9.7.1 Parallel straight motion by robot No.1 ............................................................................. 9-132
9.7.2 Rotating motion by robot No.1 ........................................................................................ 9-132
iii
1Overview
1 Overview
These specifications describe the functions (sequencer direct performances) which extend the CPU buffer
memory in CR800-R series robot controller, exchange various robot information between sequencer and
robot through the extended CPU buffer memory, and operate the robot without a robot program.
Note: These CPU buffer memory extended functions only support MELFA-BASIC V and VI or later. They do
not support MELFA-BASIC IV.
(For more information, refer to Page 13, "2.1.4 Check Robot Language Setting")
Sequencer direct performance does not support mecha 2 and 3 for multiple mecha. It supports addi-
tional axis.
GOT
I/F btwn
No Item Description Update Cycle
Robots
11 Perform sequencer direct Operates the robot from the sequencer
through CPU buffer memory
1.2 Features
(1) Fulfilling functions to monitor and operate robot from GOT. Advances T/B and PC-less solution.
→ Various functions can be performed by reading/ writing the data in CPU buffer memory from GOT.
● Allows you to check activities, position information, and setting values of operation control command and
thereby analyze the operation in case of debugging or problem. (Monitoring current and aimed positions,
activities, and operation control setting values)
● Allows you to read and write the contents of program and variables and thereby change the robot's oper-
ation in case of debugging or problem.
● Allows you to check and set up maintenance status.
● Allows you to check error's detailed content. (Reading error information)
● Allows you to display and check various information in the robot (product, servo information, etc.)
(2) Controls peripheral devices and system according to the robot activities with the sequencer
The sequencer allows you to monitor the data in CPU buffer memory and responsively control the peripheral
device connected to the sequencer according to the monitored value.
● Allows you to control the peripheral devices by monitoring the robot's activities (current speed, arrival fac-
tor to the aimed position, etc.)
● Allows you to generate an alarm to the system and report to the upper side by monitoring the mainte-
nance and servomotor information (load factor, etc.)
(3) Analyzes the data and performs the quality control by logging the robot information through sequencer
Allows you to analyze the system data and perform the products' quality control by sending the logged robot
information in CPU buffer memory to the sequencer and upper device connected to the sequencer.
● Allows you to control the system's operating situation by logging error information.
● Allows you to perform the quality control of product assembly by logging servo monitor information (cur-
rent value, etc.)
1-2Features
1Overview
(4) Allows to operate the robot without learning robot language (sequencer direct performance)
● Allows to operate the robot without knowing robot language.
Allows you to operate the robot by writing predetermined setting value into the specified address in CPU
buffer memory. Therefore, this function can be fulfilled regardless of sequencer language (ladder, ST lan-
guage, SFC, etc.)
● Allows you to select either joint or linear interpolation. Also, allows you to adequately specify the robot
operations such as override, acceleration and deceleration, tool setting.
Command Action
Operation con- Mov Move for joint interpolation
trol Mvs Move for linear interpolation
Ovrd Specify the overall speed
Spd Specify the linear interpolation speed
Accel Specify the acceleration and deceleration speed
Definition com- Tool Specify the tool data
mand
Hand command Hopen/Hclose Open/close a hand
● Allows you to operate the robot with a sense, which is familiar to the sequencer programmer, to move a
positioning unit.
● Allows you to control the system operations only with sequencer.
Makes the program management easy so that a sequencer programmer can support for the change of
system specification and the problem.
● Allows you to control the system settings only with the sequencer in the GOT screen.
A sequencer programmer can support for the change of system specification and the problem so that the
program management gets so easy.
Features 1-3
1Overview
0 0
Robot input
Robot inputarea
area
(Sequencer output
(Sequencer outputarea)
area) User area User area
Extended 0.5K
function area
words
1023 extended
0 0
Robot
Robot outputarea
output area User area User area
(Sequencer
(Sequencer inputarea)
input area)
Note) Only the user area can be referred to by robot program, signal monitor, and dedicated I/O signal allo-
cation. They cannot refer to the extended function area.
800 800
Monitoring area of activities
Reset area of servo monitor information
Reading area of error and product informa- Monitoring area of current and aimed posi-
tion tions
Common area of monitoring function
Monitoring area of general position and joint
information
(Reserved: Future extended area)
1000 1000
(Reserved)
1023 1023
1024 1024
Start
2-6Operation flow
2Preparation for Using Extended Function
When the module configuration screen is closed after arranging the modules, the following dialogue will
appear. Click [Yes] button.
2-8Operation flow
2Preparation for Using Extended Function
GX-Developer multiple CPU setting screen (three robots. The shared memory extended functions are valid
in all robots)
2-10Operation flow
2Preparation for Using Extended Function
Here, sets up the multiple CPUs as a robot's parameter. In the description below, parameter setting screen
of RT ToolBox3 illustrates this setting. This can also be set up by specifying the parameter name in the
teaching box's parameter setting screen.
Table 2-1:Start address of robot input area when the multiple CPU input offset parameter is initial value
CPU buffer Memory Extended Functions
Device No
Invalid Valid
Device #2 (robot 1) 0K 0K
Device #3 (robot 2) 0.5K 1.0K
Device #4 (robot 3) 1.0K 2.0K
The start address of robot's input area may differ, when the valid/invalid setting for CPU buffer memory
extended function may differ in other devices or when a unit other than robot is installed. In these cases, set
up the multiple CPU input offset parameter (QMLTCPUS).
For setting example, refer to Page 14, "2.1.5 Allocation Example of CPU buffer Memory".
About input offset parameter (QMLTCPUS)
Sets up the offset of robot's input signals in multiple CPUs in 1K word unit.
For example, when QMLTCPUS is set to one, the start address of robot's input area is an address
(U3E0\HG1024) offset by 1K word from the start address of transmission area of device #1 (sequencer).
When QMLTCPUS is set to -1 (initial value), the start address of robot's input area is as listed in the table
above.
2.1.3 Set up Parameter for Selecting CPU buffer Memory Extended Function
The parameter "IQMEM" for selecting the CPU buffer memory extended function is 16bit data. Set the bit 0
to one to use the extended functions (monitoring, operation functions). Set the bit 1 to one to use the
sequencer direct performance function. Both bits can be set to one.
For information on how to set up a parameter, refer to Supplement volume "Instruction Manual, Detailed
Description of Functions and Operations."
Array Qty
Parameter
Parameter Character Description Factory Default
Name
Qty
Select CPU buffer IQMEM 1 digit inte- Set validity (1)/ invalidity (0) for the function. 0000000000000000
memory extended ger Sets each bit by allocating a function to each bit.
function 0000000000000000 bit2-15: Not used
|+- bit0: Use the CPU buffer
memory extended function
+-- bit1: Sequencer direct
performance function
To use the CPU buffer memory extended functions and sequencer direct performance functions, set each
bit as follows:
Bit 1 Bit 0
Use the CPU buffer memory extended function 0 1
Use the sequencer direct performance function 1 1
When using the sequencer direct performance function, robot's internal memory is extended as follows:
Robot controller's internal memory
+
Set either bit 0, 1 of
parameter IQMEM to 0
System state
variable for Extend system state
sequencer direct variable
performance
CAUTION When the sequencer direct performance function is valid, external program variable
and system state variable areas are extended in the robot controller (extended vari-
ables). When the function gets invalid, the extended variable area is cleared. Conse-
quently, after the sequencer direct performance function was enabled once, the
robot location was taught, and the data was set, when the parameter is turned back,
be aware that the previous teaching and setting data will disappear.
2-12Operation flow
2Preparation for Using Extended Function
Array Qty
Parameter
Parameter Character Description Factory Default
Name
Qty
Robot language RLNG 1 digit inte- Select the robot language to be used: 3 (RT ToolBox3)
ger 3: MELFA-BASIC VI (RT ToolBox3)
2: MELFA-BASIC V
1: MELFA-BASIC IV
(1) Multiple CPU Configuration with One Sequencer plus One Robot
1) Case 1: Robot: Extended function is enabled, input offset parameter is initial value
The robot uses each 1K word for I/O.
<CR800-R series>
2-14Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
2) Case 2: Robot: Extended function is disabled, input offset parameter is initial value
The robot uses each 0.5K word for I/O.
As the transmission score is set yet in 1K word unit, the transmission score setting is as fol-
lows:
<CR800-R series>
2-16Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
(2) Multiple CPU Configuration with One Sequencer plus Three Robots
1) Case 1: All robots: Extended function is enabled, input offset parameter is initial value
All robots use each 1K word for I/O.
The beginning of robot 2 input area starts at 1.0K offset from the beginning of CPU buffer
memory address, and the beginning of robot 3 input area starts at 2.0K offset from the begin-
ning of CPU buffer memory address.
<CR800-R series>
㼁㻟㻱㻟㼈㻴㻳㻜
Transmission area Transmission area
of Device #4 of Device #4 Robot output
1K word
2-18Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
2) Case 2: All robots: Extended function is disabled, input offset parameter is initial value
All robots use each 0.5K word for I/O.
The beginning of robot 2 input area starts at 0.5K offset from the beginning of CPU buffer
memory address, and the beginning of robot 3 input area starts at 1.0K offset from the begin-
ning of CPU buffer memory address.
The setting is in 1K word unit as follows:
<CR800-R series>
2-20Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
(0.5K x 4) (Empty)
Transmission U3E1\G10000
Transmission area
Robot output
area of Device of Device #2
#2, 1K word (Empty)
(0.5K x 2)
Transmission U3E2\G10000
Transmission area
Robot output
area of Device of Device #3
#3, 1K word (Empty)
(0.5K x 2)
Transmission U3E3\G10000 Transmission area
Robot output
area of Device of Device #4
#4, 1K word (Empty)
(0.5K x 2)
3) Case 3: Robots 1, 2: Extended function is disabled, Robot 3: Extended function is enabled (#1)
By default, the robot 3 input area starts at 2.0K offset from the beginning of CPU buffer mem-
ory (By default, the extended function of robots 1, 2 is also assumed to be enabled, similar to
robot 3). Therefore, the multiple CPU input offset parameter (QMLTCPUS) of robot 3 should
be set to "1."
<CR800-R series>
2-22Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
4) Case 4: Robots 1, 2: Extended function is disabled, Robot 3: Extended function is enabled (#2)
This example allocates 1K area in advance so that the allocation is not changed even when
the extended function is enabled in the future, while the extended function was disabled and
the extended area was not allocated.
Empty area of 0.5K is kept at the back of each transmission area of robot 1 (for robots 2, 3).
By default, the robot 2 input area starts at 0.5K offset from the beginning of CPU buffer mem-
ory (By default, the extended function of robots 1 is also assumed to be disabled, similar to
robot 2). Therefore, the multiple CPU input offset parameter (QMLTCPUS) of robot 2 should
be set to "1".
<CR800-R series>
2-24Operation flow
2Preparation for Using Extended Function
<CR800-Q series>
(Empty)
Transmission U3E0\G11024 Transmission area of Device #1 Robot input
area of Device (for Device #3)
#1, 3K word (Empty)
(1K x 3)
U3E0\G12048
Transmission area of Device #1
Robot input
(for Device #4)
U3E1\G10000 Transmission
Transmission Robot output
area of Device #2
area of Device
(Empty)
#2, 1K word
Transmission
U3E2\G10000 Transmission Robot output
area of Device #3
area of Device
(Empty)
#3, 1K word
Transmission U3E3\G10000
Transmission Robot output
area of Device
area of Device #4
#4, 1K word
3-26
3Monitor Robot Information
Start
Prepare for Using Extended Function … Refer to Page 6, "2 Preparation for Using Extended Function".
Select mecha
Yes
Yes
Monitoring starts
• Monitor position and joint information
Here, selects the monitoring functions output by the robot from the sequencer.
Only the data specified by items (set to "1") selected with each bit can be monitored. For more information
on each monitoring data, refer to Page 32, "3.2 Monitoring Item" and after.
Here, selects the target mecha number of monitoring data output by the robot from the sequencer.
The robot outputs the data with selected mecha number. The number (1 to 3) is selectable for mecha num-
bers. When the number other than 1 - 3 is specified, the data is initialized (zeros are put in the whole target
area)
3-28Operation Flow
3Monitor Robot Information
Sequencer Robot
Robot (1) (2) (3) (4) (5) (6) (7)
Sequencer
Specify mecha 1 2 0 1
No
Mecha No 1 2 0 1
(1) When the sequencer sets the target bit of "Select function" to "ON", the robot sets the target bit of
"Performing function" to "ON" to start the monitoring output of target item. Here, when "Specify
mecha number" is other than 1 - 3, the robot waits to update the data.
(2) When the sequencer sets "Specify mecha number" to one, the robot starts to update mecha 1's data.
(3) When the target bit of "Select function" is set to "ON" while the sequencer sets "Specify mecha num-
ber", the robot starts to update the data of target item while at the same time the robot sets the target
bit of "Performing function" to "ON".
(4) When the sequencer changes "Specify mecha number", the robot outputs the data of specified
mecha.
(5) When the sequencer sets "Mecha number" to other than 1 - 3, the robot clears the output data.
(6) When the sequencer re-sets "Mecha number", the robot outputs the data of target mecha.
(7) When the sequencer sets the target bit of "Select function" to "OFF", the robot sets the target bit of
"Performing function" to "OFF" to initialize the output data.
CAUTION The synchronization of data in CPU buffer memory is guaranteed on a per 32bit (2
word) basis. But, the synchronization in the unit more than this bit cannot be guaran-
teed. Therefore, be aware that the position type and joint type data is guaranteed for
each axis, the data is not guaranteed as a whole.
Here, shows the sample ladder to retrieve current and aimed positions and maintenance information into
the internal device by specifying the monitoring item and mecha number.
[Target function]
Select monitoring items (monitoring current and aimed positions, monitoring data of maintenance infor-
mation) and mecha
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
When the device with desired function to be monitored is set to "ON" of monitoring request (M14) for cur-
rent and aimed positions, monitoring request (M15) for maintenance information, and device of selecting
mechas 1 - 3 (M21 - M23), target data is output to the internal device for monitoring.
The data of current and aimed positions is stored in D1000 - D1071.
The data of maintenance information is stored in D1100 - D1133.
Example:
To output the current and aimed positions data of mecha 1, set M14 and M21 to "ON" (M22 and M23 are
"OFF") to output the monitoring data to D1000 to D1071.
To output the maintenance information data of mecha 1, set M16 and M21 to "ON" (M22 and M23 are
"OFF") to output the monitoring data to D1100 to D1133.
[Device details]
M14: Request to monitor the current and aimed positions
M16: Request to monitor the maintenance information
M21: Selects mecha 1
M22: Selects mecha 2
M23: Selects mecha 3
3-30Operation Flow
3Monitor Robot Information
[Ladder]
U3E0\HG512.4
U3E1\HG512.4
U3E0\HG512.6
U3E1\HG512.6
U3E0\
HG841
U3E0\ U3E1\
HG841 HG731
U3E0\
HG841
U3E0\ U3E1\
HG841 HG731
U3E0\
HG841
U3E0\ U3E1\
HG841 HG731
U3E1\
HG830
U3E1\
HG980
Here, periodically outputs the robot's operation control commands and the setting values for operation con-
trol to the CPU buffer memory.
3-32Monitoring Item
3Monitor Robot Information
<Precautions>
● When the target mecha does not exist, outputs the data zero.
● The value below is output as ColChk:
- When multiple mechas are in use or when the element 1 of parameter COL is zero (collision detection
unavailable),
→ zero is output
- Otherwise (collision detection available):
When being in operation (including step feed, position jump operation, and sequencer direct perfor-
mance),
→ the initial value is the value of element 2 of parameter COL, and then the output value is the
value changed by ColChk command.
When not being in operation (including suspension and jog operation),
→ it is set to the value of element 3 of parameter COL.
● The value below is output as ColLvl:
- When multiple mechas are in use or when the element 1 of parameter COL is zero (collision detection
unavailable) and
being in operation,
→ the initial value is the value of parameter COLLVL, and then the output value is the value
changed by ColLvl command.
When not being in operation,
→ it is the value during automatic operation is held when being in suspension, and it is the value
of parameter COLLVL when being stopped.
- Otherwise (collision detection available),
When being in operation,
→ the initial value is the value of parameter COLLVL, and then the output value is the value
changed by ColLvl command.
When not being in operation,
→ it is the value of parameter COLLVLJG.
● CMP Pos/Tool/Jnt setting values are set to zero when mechas 2, 3 are selected during using multiple
mechas.
(User mecha cannot use compliance)
Here, periodically outputs the robot's activities (current speed, arrival factor to the aimed position, etc.) to
the CPU buffer memory.
<Precautions>
● When the target mecha does not exist, outputs the data zero.
● When the data is dependent on a slot and the slot does not exist which has the control of target mecha,
outputs the data zero. The data dependent on a slot is as follows:
• Current distance remained (M_RDst)
• Arrival factor to the current aimed position (M_Ratio)
• Current acceleration and deceleration state (M_ActSts)
3-34Monitoring Item
3Monitor Robot Information
Sequencer
Update
Addr Description
Cycle
(offset)
870
J1 coordinate value [10-4mm/10-4deg]
871
872
J2 coordinate value [10-4mm/10-4deg]
873
874
J3 coordinate value [10-4mm/10-4deg]
875
876
J4 coordinate value [10-4mm/10-4deg]
877
Current position (joint)
878
J5 coordinate value [10-4mm/10-4deg]
879
880
J6 coordinate value [10-4mm/10-4deg]
881
882
J7 coordinate value [10-4mm/10-4deg]
883
884
J8 coordinate value [10-4mm/10-4deg]
885
886
J1 coordinate value [10-4mm/10-4deg]
887
888
J2 coordinate value [10-4mm/10-4deg]
889
890
J3 coordinate value [10-4mm/10-4deg]
891
892
J4 coordinate value [10-4mm/10-4deg]
893
Aimed position (joint)
894
J5 coordinate value [10-4mm/10-4deg]
895
896
J6 coordinate value [10-4mm/10-4deg]
897
898
J7 coordinate value [10-4mm/10-4deg]
899
900
J8 coordinate value [10-4mm/10-4deg]
901
<Precautions>
• When the target mecha and axis do not exist, outputs the data zero.
• When the origin is not established, outputs zero for the both perpendicular and joint components of current
position.
[Joint data]
• The unit is 10-4mm or 10-4deg.
3-36Monitoring Item
3Monitor Robot Information
Here, periodically outputs the robot's various position type and joint type data to the CPU buffer memory.
The sequencer selects the data output by the robot. The area exists for one pieces of position type data and
three pieces of joint type data and the data output for monitoring can be individually set by the sequencer.
In the sequencer, set up the number for position and joint data output by the robot.
The robot outputs the monitoring data corresponding to the selected data number.
The area exists for one pieces of position type data and three pieces of joint type data and the data can be
individually set.
When the sequencer specifies the data with the number which is out of range, the robot sets all monitoring
data to zero.
b) Robot output
Sequencer
Addr Description
(offset)
906 Position data number [1 - 4]
907 Joint data number-1 [1 - 13]
908 Joint data number-2 [1 - 13]
909 Joint data number-3 [1 - 13]
Joint data
5 12 0 5
number-1
(1) When the sequencer selects "Joint data selection-1," the robot outputs the target data to "Joint data-
1" area.
(2) When the sequencer changes "Joint data selection-1," the robot outputs the changed target data to
"Joint data-1" area.
(3) When the sequencer selects the data out of valid range for "Joint data selection-1," the robot clears
"Joint data-1" (set all components to zero) and outputs zero for "Joint number-1."
(4) When the sequencer reselects "Joint data selection-1", the robot outputs the target data to "Joint
data-1" area.
3-38Monitoring Item
3Monitor Robot Information
Sequencer
Addr Description
(offset)
962
J1 coordinate value
963
964
J2 coordinate value
965
966
J3 coordinate value
967
968
J4 coordinate value
969 Joint data-3 [1 - 13]
970 * The data is similar to Joint data-1
J5 coordinate value
971
972
J6 coordinate value
973
974
J7 coordinate value
975
976
J8 coordinate value
977
<Precautions>
• When the target mecha and axis do not exist, outputs the data zero.
3-40Monitoring Item
3Monitor Robot Information
instruction, minus the servo motor. * The value may vary [10-3Arms] 7.1ms(CR800-Q)
side according to jog and automatic opera-
tions.
Outputs the maximum allowable value 3.5ms(CR800-
(plus side) of the current generated in RNote2) )
10: Allowable current
instruction, plus side
the servo motor. * The value may vary [10-3Arms] 7.1ms(CR800-Q)
according to jog and automatic opera-
tions.
Outputs the effective value of current 28ms
11: Effective current
feedback. [10-3Arms]
Here, periodically outputs the robot’s scheduled maintenance data (grease and belt remaining times) to the
CPU buffer memory.
<Precautions>
● When the target mecha does not exist, outputs all the data with zero.
● When the target mecha exists but the maintenance schedule is not supported, outputs all the data with "-
1".
● When the target axis is not updated by the maintenance schedule, outputs the data "-1".
3-42Monitoring Item
4Reads/Writes Robot's Variables
Start
Prepare for Using Extended Function ··· Refer to Page 6, "2 Preparation
"2. Preparation forExtended
for Using Using Extended Function".
Function."
No
Is variable operation necessary?
Yes
Read Write Read Write Read Write Read Write Read Write
701 (Reserved) (Reserved)
702 Function No 101 102 104 105 107 108 111 112 121 122
703 Slot No Slot number [0, 1 to the value of parameter TASKMAX]
704
705
Program
706
name (Not used)
707
(Not used)
708
709
710
711
712
713 Variable
Variable name [ASCII data, up to 16 characters]
714 name
715
716
717
718 Integer Long-
X coor- J1 coor- precision Single-
precision
dinate dinate integer real num-
719 value value number
value ber value
720 Y coor- J2 coor-
dinate dinate
721 value value
722 Z coor- J3 coor-
dinate dinate
723 value value
724 A coor- J4 coor-
dinate dinate
725 value value
726 B coor- J5 coor-
Variable (Not (Not dinate (Not dinate (Not (Not
727 (Not value value
data used) used) used) used) used)
used)
728 C coor- J6 coor- (Not (Not
dinate dinate used) used)
729 value value
730 L1 coor- J7 coor-
dinate dinate
731 value value
732 L2 coor- J8 coor-
dinate dinate
733 value value
734 Struc-
735 ture flag
(Not
736 Multi- used)
turn
737 data
2) Bit signal
Sequencer Address
Description
Addr (offset) Bit position
700 0 Request for variable operation
2) Bit signal
Sequencer Address
Description
Addr (offset) Bit position
550 0 Variable operation completed
[Slot number]
Select the target slot.
In general, specify a value between 1 and the value of parameter TASKMAX (factory default: 8). In case
of external variable, "0" can be specified.
[Program name]
Program name is displayed in ASCII character.
[Variable name]
To specify a variable name, specify ASCII characters.
<Available character>
Available characters are compliant with robot specification. (Refer to the table below.)
Program Variable
Category Available Characters
Name Name
Alphabetic ABCDEFGHIJKLMNOPQRSTUVWXYZ ○ ○
character abcdefghijklmnopqrstuvwxyz × ○
Figure 0123456789 ○ Note1)
"'&()*+-.,/:;=<>?[\]^{}~|!#$% × × Note2)
Symbol
'_' (underscore) × Note3)
White space Whitespace character × ×
Note1) Only the alphabetic characters are available at the beginning of variable name. A figure is available for
second and after characters.
Note2) Parentheses "()" for specifying an array are available.
Note3) Available for second and after characters. The variable whose second character is underscore '_' is an
external variable.
[Variable data: position, joint, and numeric (Single-precision real number) variables]
• The unit is 10-4mm or 10-4deg.
However, the number of significant figures for position and joint variable data output from the robot is
dependent on the parameter PRGDPNTM (digits after decimal point: factory default is 2 or 3 digits (it may
vary according to the robot model)), and the portion less than the significant figures is rounded off.
For example, when PRGDPNTM is two, to round off 1.2345 gives 12300 and to round off 6.7890 gives
67900.
• Only lower one word is used for the structure flag of position variable, and upper one word is a reserved
area.
• When a variable in undefined state (a variable exists but its data is empty) is read, zero is set to the unde-
fined portion of data.
• Because each component value is handled as a single-precision floating type real number in the robot, the
number of significant figures is about 7 digits.
(The value which can be expressed with 24bit when expressed in binary number is about 7 digits when
expressed in decimal number).
• When the data is successfully written into a variable, the variable data in the robot after the writing is read
again and sent.
Therefore, even when writing into a position or joint variable is successfully ended, the data specified by
the sequencer may be different from the data to be sent by the robot. The robot's posture data or the num-
ber of significant figures of data's digits after decimal point may differ.
4.3.2 Timing Chart
(Variable data)
Variable operation
completed
Completion status
Function No
Slot No
Program name
Variable Name
Variable data
(1) The sequencer sets up "Function number", "Slot number", "Variable name", and "Variable data" (only
for writing variable) and turns ON "Request for variable operation".
(2) When the robot receives "Request for variable operation ON", the robot operates the variable based
on received data. When "Function number", "Slot number", "Variable name", "Variable data", and
"Completion status" are specified after the operation, the robot turns ON "Variable operation com-
pleted".
When the operation cannot be carried out, the robot specifies a number indicating NG and turns ON
"Variable operation completed".
(3) When "Variable operation completed ON" is received, the sequencer turns OFF "Request for variable
operation".
(4) When received "Request for variable operation OFF", the robot turns OFF "Variable operation com-
pleted" and clears the data.
[Target function]
Reads position variable (designation of ASCII character)
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
Turn ON the position variable read trigger (M100) to read the data of position variable P200 in slot 1.
The read position variable data is stored in D118 and after.
When the read handling is completed, M104 is turned ON. In this case, successful completion turns
M102 ON and abnormal completion turns M103 ON.
When M104 is turned ON, turn OFF the position variable read trigger (M100).
[Device details]
D10 - D17: Specify variable name
M100: Position variable read trigger
M101: Position variable successfully received
M102: Position variable reception OK completed
M103: Position variable reception NG completed
M104: Reading position variable completed
[Ladder]
U3E0\
HG702
U3E0\
HG703
U3E0\
HG710
U3E0\HG700.0
U3E1\HG550.0
U3E1\
HG551
U3E1\HG550.0
CAUTION When a program line can be longer than 128 characters, the data after 128th char-
acter cannot be read.
Consequently, when the program whose line is longer than 128 characters is read
and the data is written as-is into the robot, be careful that the data which exceeds
128 characters will be deleted.
Start
No
Is program operation necessary?
Yes
813
814
2) Bit signal
Sequencer Address
Bit Description
Addr (offset)
position
700 1 Request for program operation
Program to be read
Program data [ASCII data, up to 128 characters]
* Shift JIS code for kanji
663
664
2) Bit signal
Sequencer Address
Bit Description
Addr (offset)
position
550 1 Program operation completed
[Slot number]
Select the target slot. Specify a value (factory default: 8) in the range between 1 and the value of param-
eter TASKMAX.
[Program name]
ASCII characters of the output program name.
For information about ASCII data, available characters, refer to Page 46, "(4) Data description".
[Line No]
The line number of the read line is output.
When a program is selected but program is in abeyance (program is not running), the line number of first
line is output.
[Program data]
• The data is in ASCII format and up to 128 characters of program content are stored.
• Shift JIS codes are used for kanji.
• Line number is excluded from the program data.
(Program data)
Program operation
completed
Completion status
Function No
Slot No
Program name
Line No
Program data
(1) The sequencer sets up necessary data of "Function number", "Slot number", "Program name", "Line
number", and "Program data" and turns ON "Request for program operation".
(2) When the robot receives "Request for program operation ON", the robot operates the program based
on received data. When "Function number", "Slot number", "Program name", "Program data", and
"Completion status" are specified after the operation, the robot turns ON "Program operation com-
pleted".
When the operation cannot be carried out, the robot specifies a number indicating NG and turns ON
"Program operation completed".
(3) When "Program operation completed ON" is received, the sequencer turns OFF "Request for pro-
gram operation".
(4) When received "Request for program operation OFF", the robot turns OFF "Program operation com-
pleted" and clears the data.
Here, describes a ladder example which reads the current line of a program performed by the robot.
[Target function]
Reads program's current line (designation of ASCII character)
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
Turn ON the program read trigger (M110) to read the program data of current line in slot 1.
The read program data is stored in D210 and after.
When the read handling is completed, M114 is turned ON. In this case, successful completion turns M112
ON and abnormal completion turns M113 ON.
When M114 is turned ON, turn OFF the program read trigger (M110).
[Device details]
M110: Program read trigger
M111: Program successfully received
M112: Program reception OK completed
M113: Program reception NG completed
M114: Reading program completed
[Ladder]
U3E0\
HG741
U3E0\
HG742
U3E0\HG700.1
U3E1\HG550.1
U3E1\
HG590
U3E1\HG550.1
Start
No
Is program operation necessary?
Yes
2) Bit signal
Sequencer Address
Addr Description
Addr (offset)
(offset)
700 2 Request for maintenance setting
Completion sta-
670 Completion status [1: OK/ other than 1: NG]
tus
671 Function No 6
672 Mecha No Mecha No[1-3]
673
674
675
Mecha No (Not used)
676
677
678
2) Bit signal
Sequencer Address
Addr Description
Addr (offset)
(offset)
550 2 Maintenance setting completed
[Mecha No]
Select the target mecha. Specify a mecha in the range of mechas 1 - 3.
Function No
(Setting data)
Request for
maintenance setting
Maintenance setting
completed
Completion
status
Function No
(Setting data)
(1) The sequencer sets up necessary data of "Function number" and "Setting data" and turns ON
"Request for maintenance setting."
(2) When the robot received "Request for maintenance setting ON," the robot operates the maintenance
setting based on received data. When "Function number", "Setting data", and "Completion status"
are specified after the operation, the robot turns ON "Maintenance setting completed."
When the operation cannot be carried out, the robot specifies a number indicating NG and turns ON
"Maintenance setting completed."
(3) When "Maintenance setting completed ON" is received, the sequencer turns OFF "Request for main-
tenance setting.”
(4) When "Request for maintenance setting OFF" is received, the robot turns OFF "Maintenance setting
completed" and clears the data.
[Target function]
Reset the maximum servo monitor value
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
Turn ON the maintenance setting read trigger (M120) to reset the maximum servo monitor values.
Output data from the robot is stored in D302 and after.
When the reset handling is completed, M124 is turned ON. In this case, successful completion turns
M122 ON and abnormal completion turns M123 ON.
When M124 is turned ON, turn OFF the maintenance setting read trigger (M120).
[Device details]
M120: Maximum servo monitor value reset trigger
M121: Maximum servo monitor value successfully reset
M122: Maximum servo monitor value reset OK completed
M123: Maximum servo monitor value reset NG completed
M124: Maximum servo monitor value reset completed
[Ladder]
U3E0\
HG821
U3E0\
HG822
U3E0\HG700.2
U3E1\HG550.2
U3E1\
HG670
U3E1\HG550.2
Start
Yes
2) Bit signal
Sequencer Address
Addr Description
Addr (offset)
(offset)
700 3 Request for reading information
2) Bit signal
Sequencer Address
Addr Description
Addr (offset)
(offset)
550 3 Reading information completed
When the target information with the specified number does not exist, the robot sets all read data to zero.
Reading information
completed
Completion
status
Function No
(Start No)
Read data
(1) The sequencer sets up necessary data of "Function number" and "Start number" and turns ON
"Request for reading information."
(2) When "Request for reading information ON" is received, the robot specifies requested "Read data"
and "Completion status" and turns ON "Reading information completed."
When the operation cannot be carried out, the robot specifies a number indicating NG and turns ON
"Reading information completed."
(3) When "Reading information completed" is received, the sequencer turns OFF "Request for reading
information."
(4) When "Request for reading information OFF" is received, the sequencer turns OFF "Reading infor-
mation completed."
[Target function]
Read error information
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
Turn ON the error information read trigger (M130) to read the robot error information (first thee pieces of
information from start).
The read error information is stored in D403 and after.
When the read handling is completed, M134 is turned ON. In this case, successful completion turns
M132 ON and abnormal completion turns M133 ON.
When M134 is turned ON, turn OFF the error information read trigger (M130).
[Device details]
M130: Error information read trigger
M131: Error information received successfully
M132: Error information reception OK completed
M133: Error information reception NG completed
M134: Reading error information completed
[Ladder]
U3E0\
HG831
U3E0\
HG832
U3E0\HG700.3
U3E1\HG550.3
U3E1\
HG680
U3E1\HG550.3
CPU buffer
(2) Open/close hand memory
Sequencer Dedicated I/O signal Robot
Input Output
Sequence program
(1) Perform an operation Signal control
(Mov, Mvs, ,..) Request Completioin signal
signal
Working signal
State data
Robot state
(CPU
buffer
memory Position data
extended 1 to 999
function)
(1) The sequencer specifies a command (instruction) to directly operate the robot (sequencer direct per-
formance).
(2) The sequencer controls a hand (dedicated I/O signal control).
(3) The sequencer specifies the command conditions and speed, acceleration, tool setting, etc. for the
sequencer direct performance.
(4) The sequencer prepares up to 999 pieces of position data for sequencer direct performance in the
robot controller.(Teaching data does not occupy all the memory area of the sequencer device.)
(5) The sequencer can move the robot relatively with reference to robot's current position.
(6) The sequencer moves the robot to the position by specifying the position data.
Set up parameters
(Refer to Page
(refer 74, "8.2.1
to "8.2.1. Set upParameter Setting")
parameter")
Start teaching
(Refer to Page
(Refer 75, "8.2.2
to "8.2.2. Teaching")
Teaching.")
… ● "8.3.1Operation
● 8.3.1. Operation Command"
command
Perform sequencer direct
● 8.3.3.
● Control Robot
"8.3.4Control robot hands
Hand"
Run operation command
Control hands
End
Start
Reset sequencer … ● Carry out the reset operation of sequencer or reset the sequencer
by turning ON the power.
No
Is the sequencer successfully restarted?
Yes
End
For information on how to set up parameters, refer to Page 6, "2 Preparation for Using Extended Function".
8-74Operation flow
8Perform Sequencer Direct
8.2.2 Teaching
Here, teaches the position data for performing the robot's sequencer direct.
123 CLOSE
* When an error occurs while displaying the teach confirmation screen, the screen returns to the SQ DIRECT teach
screen by resetting the error.
8-76Operation flow
8Perform Sequencer Direct
2) Description of screens
2-1) Menu screen
<MENU>
1.FILE/EDIT 2.RUN
3.PARAM. 4.ORIGIN/BRK
5.SET/INIT. 6.ENHANCED
123 CLOSE
"6. ENHANCED" is displayed as a menu item. It is always possible to move to the ENHANCED
menu screen.
123 CLOSE
["1. SQ DIRECT" display]
Although the sequencer direct function is valid or not, "1. SQ DIRECT " is displayed.
<SEQUENCER DIRECT>
THE SQ DIRECT IS DISABLE NOW. Warning screen is displayed when above condition
IT CAN BE ENABLED, IF YOU SET UP "b)" is not met
THE "IQMEM" PARAMETER.
123 CLOSE ⇒
● When [F4] (CLOSE) is selected or [RESET] key is pushed, comes back to the
ENHANCED menu screen.
● When an error occurs, changes to the error screen. The screen returns to the ENHANCED
menu screen by resetting the error.
● Push [JOG] key to change to the JOG screen. Push [JOG] key again to change to the
ENHANCED menu screen.
● Push [HAND] key to change to the hand screen. Push [HAND] key again to change to the
ENHANCED menu screen.
● Push [MONITOR] key to change to the monitoring screen. Push [MONITOR] key again to
change to the ENHANCED menu screen.
When the conditions "c)", "d)" above are not met while the conditions "a)", "b)" above are met,
the buttons are grayed out. The warning screen is not displayed.
For information on teaching operation, refer to the description about position edit screen
in "Instruction Manual, Detailed Description of Functions and Operations."
[Position check]
The robot moves to the displayed position while pushing [F1] (MOVE) key.
<Condition>
All the conditions below should be met:
a) In robot controller's MANUAL mode
b) T/B is valid
c) T/B enabled switch (3-positioned switch) is turned ON (intermediate position)
d) Servo is turned ON
[Teaching position]
Push [F2] (TEACH) key to display the confirmation screen below.
<SQ DIRECT>
POSITION 1
RECORD CURRENT POSITION.
OK?
Yes 123 No ⇒
Push [F1] (Yes) key in the confirmation screen to teach you that current position is at the dis-
played position and come back to the screen.
Push [F4] (No) key to come back to the screen without teaching.
[Teaching position]
Teaching in the SQ DIRECT teach screen always sets up current position for mecha 1.
Even when mecha 2 or 3 is selected by T/B, it sets up current position for mecha 1.
8-78Operation flow
8Perform Sequencer Direct
123 CLOSE ⇒
Input a position number and push [EXE] key to come back to the screen and display the tar-
get position.
When a number other than 1 to 999 is entered, the [EXE] key gets unavailable.
Push [F4] (CLOSE) key to come back to the previous screen.
Prepare to perform
Change theMODE
Change the controller’s mode
switch to to "AUTOMATIC".
"AUTOMATIC" on the robot operation panel
(ATTOPMD or ATEXTMD robot output ON)
Yes
Get operation authority (IOENA robot input For information on input/ output signals, refer
to "Instruction Manual, Detailed Description of
Functions and Operations."
No
Is operation authority gotten successfully?
(IOENA robot output ON)
(2) Check error (3) Check program is available (4) Servo ON
Yes
Is program available? No
Reset program (SLOTINIT robot input ON)
(SLOTINIT robot output ON)
Yes
Is servo ON? No
Servo ON (SRVON robot input ON)
(SRVON robot output ON)
Yes
Yes
End
* The order of steps (1) to (4) are not necessarily the same as above. But, in the sequencer, to reset a pro-
gram and turn ON the servo, it is necessary to get external operation authority.
8-80Operation flow
8Perform Sequencer Direct
Sequencer
Output Description Remarks
Addr (offset)
640
X coordinate value [10-4mm/10-4deg]
641
642
Y coordinate value [10-4mm/10-4deg]
643
644
Z coordinate value [10-4mm/10-4deg]
645
646
A coordinate value [10-4mm/10-4deg]
647
648
B coordinate value [10-4mm/10-4deg]
649 Position data 1
650 (5100)
C coordinate value [10-4mm/10-4deg]
651
652
L1 coordinate value [10-4mm/10-4deg]
653
654
L2 coordinate value [10-4mm/10-4deg]
655
656
Structure flag
657
658
Multi-turn data
659
660
X coordinate value [10-4mm/10-4deg]
661
662
Y coordinate value [10-4mm/10-4deg]
663
664
Z coordinate value [10-4mm/10-4deg]
665
666
A coordinate value [10-4mm/10-4deg]
667
668
B coordinate value [10-4mm/10-4deg]
669 Position data 2
670 (5101)
C coordinate value [10-4mm/10-4deg]
671
672
L1 coordinate value [10-4mm/10-4deg]
673
674
L2 coordinate value [10-4mm/10-4deg]
675
676
Structure flag
677
678
Multi-turn data
679
680
X coordinate value [10-4mm/10-4deg]
681
682
Y coordinate value [10-4mm/10-4deg]
683
684
Z coordinate value [10-4mm/10-4deg]
685
686
A coordinate value [10-4mm/10-4deg]
687
688
B coordinate value [10-4mm/10-4deg]
689 Position data 3
690 (5102)
C coordinate value [10-4mm/10-4deg]
691
692
L1 coordinate value [10-4mm/10-4deg]
693
694
L2 coordinate value [10-4mm/10-4deg]
695
696
Structure flag
697
698
Multi-turn data
699
[Command data]
● Command number (524), command data 1 (525), command data 2 (526)
Instruction data (sequencer output 524 - 526) to the robot for sequencer direct performance and returned
data from the robot (robot output 524 - 526). The setting values according to the instructed operations
are as follows:
Joint Moves to the specified position. Mov 1 Destination Z direction tool When the setting
interpola- Specify the Z direction tool distance Position No distance value of data 2 is set
tion to move by specified distance away [10-1mm] to zero, moves to the
to the Z axis direction in the tool specified position.
coordinate system.
Moves the robot to the position with MovA 2 Destination Approach coor-
coordinate value of the destination position num- dinate position
position added by the coordinate of ber number
the approach coordinate position.
Linear Moves to the specified position. Mvs 11 Destination Z direction tool When the setting
interpola- Specify the Z direction tool distance position num- distance value of data 2 is set
tion to move by specified distance away ber [10-1mm] to zero, moves to the
to the Z axis direction in the tool specified position.
coordinate system.
Moves the robot to the position with MvsA 12 Destination Approach coor-
coordinate value of the destination position num- dinate position
position added by the coordinate of ber number
the approach coordinate position.
Note1) These symbols MovA, MvsA are different from the robot language. They are used for description below.
現在位置の姿勢(45度)
Posture of current position (45°) Posture目的位置の姿勢(-45度)
of aimed position (-45°)
Ym
Yt
Tool position
Xm
Tool data
Xt
To decide each data, move the mechanical interface coordinate system at the center of flange in
order of (1) shift amount, (2) Z axis rotation, (3) Y axis rotation, (4) X axis rotation to accord with the
aimed tool coordinate system. In this case, the move amounts (1) - (4) (rotation amounts) indicates
the tool data.
Based on the example shown in the figure above, the figure below shows the steps to decide each
data. In this example, because steps 2 and 4 of steps (1) - (4) are not necessary, the steps 2 and 4
are omitted.
Ym
Zm
(1) Move offset
Yt
Zt
Xm
Zt (3) Rotate -90 deg
Mechanical interface around Y axis
coordinate system
Yt
Xt
Ym
Ym
Zt Yt
Yt
Zm Zm
Xm
Xm
Zt
Xt
100mm
100mm Xt
Ym Ym
Yt
Yt Zm Zt
Zm
Zt Yt
Zt Xm
Xm
100mm 100mm
Shifted Xt Shifted Xt B=-90deg Xt
(3) Hand is tilted by 45deg to the Zm axis of (4) Hand is tilted by 90deg to the Zm axis of
mechanical interface coordinate system: mechanical interface coordinate system:
Tool data: (0,0,100,45,-90,0) Tool data: (0,0,100,90,-90,0)
Yt
Ym Yt
Ym
Zt
Zm Zm
Xt Xt
Xm Zt
Xm
100mm 100mm
Ym Ym
Zm Yt Zm Yt
Zt Zt
Zt Zt
Yt Yt Yt
Xm Xm Yt
100mm A=45deg 100mm
Shifted Xt B=-90deg Xt Shifted Xt B=-90deg Xt
Zt A=90deg
Zt Xt
Xt
Command request
Command
running
Command
completed
Completion status 1
Command data
- Command No 1, 100, 0
- Command data 1
- Command data 2
(1) The sequencer sets up "Command data" and "Condition data" and sends "Command request ON".
(2) When "Command request ON" is received, the robot imports "Command data" and "Condition data".
When the imported data is formal and sequencer direct is practicable, the robot sets up "Command
data" (returned data), sends "Command running ON", and carries out the instructed robot operation.
(3) When the robot successfully completed the operation, the robot sends "Command running OFF", sets
"Completion status" to one, and sends "Command completed ON".
(4) When the sequencer received "Command completed ON", the sequencer imports "Completion sta-
tus" and sends "Command request OFF".
(5) When the robot received "Command request OFF", the robot clears "Completion status" and "Com-
mand data" to zero and sends "Command completed OFF".
Command request
Command running
Command
completed
Other than 1
Completion status
Command data
- Command No 1, 100, 0
- Command data 1
- Command data 2
Robot operation
(1) The sequencer sets up "Command data" and "Condition data" and sends "Command request ON."
(2) When "Command request ON from OFF" is received, the robot imports "Command data" and "Condi-
tion data." When the imported data is not official or when the robot is impracticable of sequencer
direct, the robot sets "Command data" (returned data) and "Completion status" to other than one,
and sends "Command completed ON."
(3) When the sequencer receives "Command completed ON", the sequencer imports "Completion sta-
tus" and sends "Command request OFF".
(4) When the robot receives "Command request OFF", the robot clears "Completion status" and "Com-
mand data" and sends "Command completed OFF".
Command request
Command
running
Command
completed
Completion status 30
Command data
- Command No 1, 100, 0 1, 100, 0
- Command data 1 Stop
- Command data 2
MOV
MOV operation
Robot operation operation
<Suspension handling>
(1) When the robot stops while performing the sequencer direct, the robot sends "Command running
OFF", sets "Completion status" to 30 (suspended), and sends "Command completed ON".
(2) When the sequencer receives "Command completed ON", the sequencer imports "Completion sta-
tus" and sends "Command request OFF".
(3) When the robot receives "Command request OFF", the robot clears "Completion status" and "Com-
mand data" to zero and sends "Command completed OFF".
<Resume handling>
(4) When a resume operation is carried out in the sequencer, the sequencer sets up "Command data"
and "Condition data" and sends "Command request ON".
(5) When "Command request ON" from OFF is received, the robot imports "Command data" and "Condi-
tion data", sets up "Command data" (returned data), sends "Command running ON", and carries out
the instructed robot operation.
Error reset
Command request
Error reset
(ERRRESET)
Command running
Command
completed
Completion status 30
Command data
- Command No 1, 100, 0 1, 100, 0
- Command data 1
- Command data 2
Command request
Operation authority
Mode of a switch
MODE controller
(IOENA) AUTOMATIC→MANUAL
AUTO to MANUAL
Operation authority
(IOENA)
Command running
Command
completed
Completion status 1
30
Command data
- Command No 1, 100, 0
- Command data 1
- Command data 2
MOV operation
Robot operation
(1) When the robot's external operation authority gets invalid while performing the sequencer direct, the
robot stops, sends "Command running OFF", sets "Completion status" to 30 (suspended), and
sends "Command completed ON".
(2) When the sequencer receives "Command completed ON", the sequencer imports "Completion sta-
tus" and sends "Command request OFF".
(3) When the robot receives "Command request OFF", the robot clears "Completion status" and "Com-
mand data" to zero and sends "Command completed OFF".
Command request
Cancel
Command
running
Command
completed
Completion status
Command data
- Command No 1, 100, 0
- Command data 1
- Command data 2
MOV operation
Robot
(1) When the sequencer wants to terminate the robot operation halfway while performing the sequencer
direct, the sequencer sends "Command request OFF".
(2) When the robot receives "Command request OFF", the robot stops, clears "Command data" to zero
and sends "Command running OFF".
[Target function]
Runs an operation command of sequencer direct performance function (moves to position 1 with joint
interpolation (command number: 1))
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
Turn ON the sequencer direct performance trigger (M150) to run an operation command.
Operation result (completion status) is stored in D20.
When the operation is completed, M151 is turned ON. In this case, successful completion turns M152
ON, halfway suspension turns M153 ON, and abnormal completion turns M154 ON.
When M151 is turned ON, turn OFF the sequencer direct performance trigger (M150).
[Device details]
M150: Sequencer direct performance trigger
M151: Sequencer direct performed
M152: Sequencer direct performed successfully
M153: Sequencer direct performed suspendedly
M154: Sequencer direct performed abnormally
Precautions
To run an operation command, put the sequencer and robot in the state below in advance.
(For more information, refer to Page 80, "8.2.3 Prepare to Perform Sequencer Direct")
• The sequencer has gotten the robot's external operation authority.
• The robot is not in H or L level error state.
• The robot can select a program.
• The robot's servo is turned ON.
[Ladder]
U3E1\HG520.0 U3E0\
HG524
U3E0\HG520.0 U3E0\
HG525
U3E0\
HG526
U3E0\
HG530
U3E0\HG520.0
U3E1\HG520.0 U3E0\HG520.0
U3E1\
HG522
The values from left to right corresponds to the hand numbers 1, 2, ... The initial values are as follows:
Hand 1: Accesses the signal numbers 900, 901
Hand 2: Accesses the signal numbers 902, 903
Hand 3: Accesses the signal numbers 904, 905
Hand 4: Accesses the signal numbers 906, 907
<How to set up>
To use double solenoidal type, specify the number by attaching 'D' at the beginning of signal number.
For double solenoidal type, the hands 1 - 4 are available.
To use single solenoidal type, specify the number by attaching 'S' at the beginning of signal number.
For single solenoidal type, the hands 1 - 8 are available.
Example:
(1) To allocate two general-purpose signal numbers beginning with #10 to the hands of double solenoidal
type:
HANDTYPE=D10, D12, , , , ,
(2) To allocate three general-purpose signal numbers beginning with #10 to the hands of single solenoi-
dal type:
HANDTYPE=S10, S11, S12, , , , ,
(3) To allocate general-purpose signal #10 to the hand 1 of double solenoidal type, #12 to the hand 2 of
single solenoidal type:
HANDTYPE=D10, S12, , , , ,
● The tables below list the correspondence to the robot hand output signals, when hand output control sig-
nals (HANDOUT) are set to "10080, 10087":
b) Parameter HANDTYPE=D10,D12, , , , , ,:
Hand No 1 2 3 4
Open/Close Open Close Open Close Open Close Open Close
Robot hand output sig 10 11 12 13 - - - -
Hand output cont sig 10080 10081 10082 10083 - - - -
The areas 10084 - 10087 are not used.
d) Parameter HANDTYPE=D10,S12, , , , , ,:
Hand No 1 2 3 4
Open/Close Open Close Open Close Open Close Open Close
Robot hand output sig 10 11 12 - - - -
Hand output cont sig 10080 10081 10082 - - - -
The areas 10083 - 10087 are not used.
Hand No 5 6 7 8
Open/Close Open Close Open Close Open Close Open Close
Robot hand output sig 10 11 12 13 14 15 16 17
Hand output cont sig 10088 10089 10090 10091 10092 10093 10094 10095
a) T/B is valid:
T/B controls a robot hand. Hand control through external signals is prohibited.
General-purpose Robot Sequencer
input (external
input)
Hand control
permitted?
10079 ? 10072
10087 10080
Hand output
control signal
Hand output
907 900
Hand operation
through T/B
T/B valid
b) T/B is invalid:
Allows you to select either external signals or controller (robot program or forced output) for the robot
hand control according to the hand control permission (HANDENA) signal.
b-1) HANDENA signal is ON: b-2) HANDENA signal is OFF:
External signal controls the robot hand. Controller (robot program or forced output) con-
→ Changes the hand output signal by detecting trols the robot hand.
the edge (ON to OFF or OFF to ON) of gen- → The hand signal control through program
eral-purpose input signal which is allocated to command changes hand output signals.
the hand output control signal.
Sequencer Sequencer
General-purpose Robot (external
General-purpose Robot (external
input input) input input)
Hand control Hand control
permission permission
ON OFF
10079 1 10072 10079 0 10072
10087 10080 10087 10080
Change hand output Hand output Hand output
signal by detecting the control signal control signal
edge (ON to OFF or OFF
to ON) of general-purpose
input signal
External Robot
AUTOMATIC
Mode
Mode of robot
key of robot
controller
controller MANUAL
(2) (4)
Valid
T/B valid/invalid Invalid
(3)
(1)
Hand cont permission
input sig (10072)
(1) When an external controller (sequencer, etc.) sends "Hand control permission input ON" while the
robot is in MANUAL mode and T/B is invalid, the robot sends "Hand control permission output ON"
to enable the hand control through external signal (hand output control signal).
(2) When T/B gets valid, the robot sends "Hand control permission output OFF" to prohibit the hand con-
trol through external signal.
(3) When T/B gets invalid again, the robot sends "Hand control permission output ON" to enable the
hand control through external signal.
(4) When T/B gets valid even while the robot is in MANUAL mode, the robot sends "Hand control permis-
sion output OFF" to prohibit the hand control through external signal.
(Error "H5000 Teaching" occurs.)
External Robot
T/B valid/invalid
Invalid
(1)
Hand cont
permission input
sig (10079)
Hand cont
permission output
sig (10079)
External (GOT, etc.) External (GOT, etc.)
close operation open operation
Hand output
(901: Hand 1 close)
(10049: HNDCNTL1)
(1) An external controller (sequencer, etc.) sends "Hand control permission input ON".
When T/B is invalid, the robot sends "Hand control permission output ON" to enable the hand con-
trol through external signal (hand output control signal).
(2) When "Hand control permission output" is ON, the robot hand output signal changes according to the
edge (ON to OFF or OFF to ON) of signals which are allocated to the hand output control signal.
External Robot
Valid
T/B valid/invalid
Invalid Invalid
T/B valid T/B invalid
Hand cont When an external signal tries to
permission input open/close a hand after the robot side
sig (10079) controlled the hand, single signal may
(2) (4) not open/close the hand.
Hand cont (In this case, to close the hand, open the
permission output hand once.)
sig (10079)
External (GOT, T/B open External (GOT, External (GOT, etc.)
etc.) close operation etc.) close open and close
Hand output control (1)
(5)
signal
(10080: Hand 1 open)
Hand output
(900: Hand 1 open) (3) × ×
(10048: HNDCNTL1)
Hand output
(901: Hand 1 close)
(10049: HNDCNTL1)
× ×
(1) When "Hand control permission output" is ON, the robot hand output signal changes according to the
edge (ON to OFF or OFF to ON) of signals which are allocated to the hand output control signal.
(2) When T/B gets valid, the robot sends "Hand control permission output OFF" to prohibit the hand con-
trol through external signal.
(3) When T/B opens/closes a hand while T/B is valid, the hand output signal changes and the hand oper-
ates.
(4) When T/B gets invalid, the robot sends "Hand control permission output ON" again to enable the
hand control through external signal.
In this case, because the edge of "Hand output control signal" is not detected even when "Hand out-
put control signal" is different from "Hand output", "Hand output" does not change.
(5) To operate a hand, change "Hand output control signal". (Refer to the caution below.)
CAUTION When T/B gets enabled halfway and T/B operates a hand, "Hand output control sig-
nal" from the sequencer may be different from actual "Hand output". In this case,
when "Hand output control signal" from the sequencer is not accorded with actual
"Hand output", as described in the timing chart above, single hand operation may
not complete the hand operation.
External Robot
Valid
T/B valid/invalid
Invalid Invalid
T/B valid T/B invalid
Hand cont
permission input Even after the robot side
sig (10079) (2) (4) controlled a hand, the hand can
be operated without any
Hand cont restriction.
permission output
sig (10079) External (GOT, etc.)
External (GOT, etc.) T/B open
close operation
close operation operation
(1) (5)
Hand output control
signal
(10080: Hand 1 open)
Hand output
(3)
(900: Hand 1 open)
(10048: HNDCNTL1)
Hand output
(901: Hand 1 close)
(10049: HNDCNTL1)
(1) When "Hand control permission output" is ON, the robot hand output signal changes according to the
edge (ON to OFF or OFF to ON) of signals which are allocated to the hand output control signal.
(2) When T/B gets valid, the robot sends "Hand control permission output OFF" to prohibit the hand con-
trol through external signal.
(3) When T/B opens/closes a hand while T/B is valid, the hand output signal changes and the hand oper-
ates.
CAUTION When "Hand control permission output" is OFF, external controller (sequencer, etc.)
reads "Hand output" signals and always output them as "Hand output control sig-
nals," thereby according the hand state with "Hand output control signal".
(4) When T/B gets invalid, the robot sends "Hand control permission output ON" again to enable the
hand control through external signal.
(5) Even after the robot side controlled a hand, the hand can be controlled with "Hand output control sig-
nal" without any restriction.
e) Switch between hand control with external signal and hand control with robot program
External Robot
T/B valid/invalid
Invalid
(1)
Hand cont (4) (6)
perm ission input
sig (10079)
Hand cont
perm ission output
sig (10079)
Because the external hand
External (GOT, etc.) control perm ission is turned External (GOT, etc.)
close operation ON, hand com m ands from open operation
(2) a program are ignored.
Hand output control
signal
(10080: Hand 1 open)
Hand output
(900: Hand 1 open) ×
(10048: HNDCNTL1)
Hand output ×
(901: Hand 1 close)
(10049: HNDCNTL1) (3)
(5)
Hand state Close Open Close Open
(1) To control the robot hand with external signals, send "Hand control permission input ON".
When T/B is invalid, the robot sends "Hand control permission output ON" to enable the hand con-
trol through external signal (hand output control signal).
(2) When "Hand control permission output" is ON, a robot hand can be operated with "Hand output con-
trol signal".
(3) When "Hand control permission output" is ON, the hand will not operate even if a robot program
issues a hand control command.
(4) To control a hand from the robot, send "Hand control permission input OFF".
When the robot confirmed that "Hand control permission output" is OFF, the robot sends "Hand con-
trol permission output OFF".
(5) When "Hand control permission output" is OFF, the robot program's hand control command can oper-
ate the hand. (T/B operation and forced output from RT ToolBox3 also can operate the hand).
When "Hand control permission output" is OFF, external controller (sequencer, etc.) reads "Hand
output" signals and always output them as "Hand output control signals" to accord the hand state
with "Hand output control signal". Then, when "Hand control permission output" is turned ON again,
the hand can be controlled without any restriction.
(6) To control the robot hand with external signals again, send "Hand control permission input ON."
When T/B is invalid, the robot sends "Hand control permission output ON" to enable the hand con-
trol through external signal (hand output control signal).
[Target function]
Controls a robot hand (opens/closes hand 1)
[Target robot]
The target robot is robot 2 of multiple CPUs (robot's multiple CPU input offset parameter is initial value)
[Description]
When the robot is in AUTOMATIC mode, the sequencer controls a robot hand.
When M160 is turned ON (M161 is turned OFF), hand 1 opens. When M161 is turned ON (M160 is
turned OFF), hand 1 closes.
When the robot is in MANUAL mode ("Hand control permission output" is OFF), the sequencer reads
"Hand output signal status" and always outputs it as "Hand output control signal", thereby according the
hand state with "Hand output control signal" output from the sequencer.
Robot's dedicated output and input signals are batch transferred to B0/ B100 and after respectively.
[Device details]
M160: Hand 1 open trigger
M161: Hand 1 close trigger
[Ladder]
U3E1\
HG0
U3E0\
HG0
8.4 Samples
Here, as samples for sequencer direct performance, describes the examples that the robot takes out works.
The examples are a robot program which takes out works, a ladder which uses sequencer direct perfor-
mance command plus hand control function, and an operation setting in the GOT screen.
(2)Mov P_DM(1),-200
(Moves over the takeout (1) HOpen 1 (Opens hand)
position)
200mm
(7) HClose 1 (Closes hand)
(8) Wait M_In(901)=1 (Wait for close signal)
(9) Dly 0.1 (Waits for 0.1)
Fig.8-1:Robot operation
Samples 8-109
8Perform Sequencer Direct
<CR800-Q series>
8-110Samples
8Perform Sequencer Direct
Use the robot input signals (10080 - 10087) to control the robot hand output signal (900 - 907)
Refer to Table 8-2.
[Robot hand]
Table 8-2:Hand output
Hand No 1 2 3 4
Open/Close Open Close Open Close Open Close Open Close
Robot hand output sig 900 901 902 903 904 905 906 907
Hand output control signal 10080 10081 10082 10083 10084 10085 10086 10087
Samples 8-111
8Perform Sequencer Direct
8-112Samples
8Perform Sequencer Direct
Sequencer
Parameter Robot Input Signal Robot Mapping
Robot Output Signal Name Mapping (B)
Name Name
Input Output Output Input
↑ Numeric value input 11 Numeric value output 11 10043 10043 12B 02B
↑ Numeric value input 12 Numeric value output 12 10044 10044 12C 02C
↑ Numeric value input 13 Numeric value output 13 10045 10045 12D 02D
↑ Numeric value input 14 Numeric value output 14 10046 10046 12E 02E
↑ Numeric value input 15 Numeric value output 15 10047 10047 12F 02F
HNDCNTL1 - Hand output signal state 900 - 10048 - 030
↑ - Hand output signal state 901 - 10049 - 031
↑ - Hand output signal state 902 - 10050 - 032
↑ - Hand output signal state 903 - 10051 - 033
↑ - Hand output signal state 904 - 10052 - 034
↑ - Hand output signal state 905 - 10053 - 035
↑ - Hand output signal state 906 - 10054 - 036
↑ - Hand output signal state 907 - 10055 - 037
HNDSTS1 - Hand input signal state 900 - 10056 - 038
↑ - Hand input signal state 901 - 10057 - 039
↑ - Hand input signal state 902 - 10058 - 03A
↑ - Hand input signal state 903 - 10059 - 03B
↑ - Hand input signal state 904 - 10060 - 03C
↑ - Hand input signal state 905 - 10061 - 03D
↑ - Hand input signal state 906 - 10062 - 03E
↑ - Hand input signal state 907 - 10063 - 03F
USRAREA - User defined area 1 - 10064 - 040
↑ - User defined area 2 - 10065 - 041
↑ - User defined area 3 - 10066 - 042
↑ - User defined area 4 - 10067 - 043
↑ - User defined area 5 - 10068 - 044
↑ - User defined area 6 - 10069 - 045
↑ - User defined area 7 - 10070 - 046
↑ - User defined area 8 - 10071 - 047
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
Hand control permis-
HANDENA Hand control permission output 10079 10079 14F 04F
sion input
HANDOUT Hand output control 900 - 10080 - 150 -
Allocation
↑ Hand output control 901 - 10081 - 151 - added with
↑ Hand output control 902 - 10082 - 152 - dedicated I/
O parame-
↑ Hand output control 903 - 10083 - 153 -
ters
↑ Hand output control 904 - 10084 - 154 - HANDENA,
↑ Hand output control 905 - 10085 - 155 - HANDOUT
↑ Hand output control 906 - 10086 - 156 -
↑ Hand output control 907 - 10087 - 157 -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
Samples 8-113
8Perform Sequencer Direct
(2) Details
[Sequencer device mapping]
Device Name Description
M1 Robot transfer instruction Turn it ON when carrying out an operation to take out works in the
system.
M5 System running Turn it ON when system is running.
Turn it OFF when a suspension or error occurred.
M7 Error reset instruction When instructing an error reset in the system, turn it ON.
M200 - M209 Work takeout operation Sets up the flow of work takeout operation.
M240 Sequencer direct practicable condition Turn it ON, when the sequencer direct is practicable.
M250 Sequencer direct performance trigger When requesting for sequencer direct performance, turn it ON.
M251 Sequencer direct performed When the sequencer direct performance is completed, turn it ON.
M252 Sequencer direct performed successfully When the sequencer direct performance is successfully completed,
turn it ON.
M253 Sequencer direct performance sus- When the sequencer direct performance is suspended (paused), turn
pended it ON.
→It is necessary to issue this signal to suspend the system.
M254 Sequencer direct performance error exit When the sequencer direct performance is unavailable, turn it ON.
→It is necessary to issue this signal to admit the system error.
D20 Sequencer direct performance comple- Stores the completion status of sequencer direct performance.
tion status
D104-D106 Command data value Sets up the command data for sequencer direct performance.
D110-D118 Command condition data value Sets up the command condition data for sequencer direct perfor-
mance.
T10 Work takeout position arrival check A timer to set up the delay time for arrival check after moving to the
work takeout position.
T20 Hand close delay timer A timer to set up the delay time after hand close.
[Description]
(1) When M1 (transfer instruction) is turned ON, carries out an operation to take out a work. When the
operation is completed, Work transfer completed (M209) is turned ON.
(2) The robot operates only when the System running (M5) is ON.
When the sequencer direct performance is suspended (M253 is turned ON) and becomes error
(M254 is turned ON), carry out a system control (create it separately) to stop the system and turn
OFF System running (M5). When System running (M5) is turned ON due to the resume, the robot
operation resumes.
(3) The robot hand control in the sequencer is carried out only in AUTOMATIC mode.
(4) When Error reset instruction (M7) is turned ON, the robot error is reset.
8-114Samples
8Perform Sequencer Direct
[Ladder program]
U3E1\
HG0
Batch transfer the
robot output sig-
nal to B0 and
after
Prepare to per-
form sequencer
direct
- Get control
authority
- Error reset
- Program reset
- Servo ON
HOpen 1
Write an operation
flow
Prepare perfor-
mance
Mov P_DM(1),-200
Samples 8-115
8Perform Sequencer Direct
Ovrd 70
Accel 50,50
Mvs P_DM(1)
Dly 0.2
HClose 1
Wait M_In(901)=1
Dly 0.1
Ovrd 100
Accel 100,100
Mvs P_DM(1),-200
Write an opera-
tion flow
Prepare perfor-
mance
End
8-116Samples
8Perform Sequencer Direct
Create com-
mand data of
sequencer direct
performance
Samples 8-117
8Perform Sequencer Direct
U3E1\HG520.0 U3E0\
HG524
U3E0\HG520.0
U3E0\HG520.0
U3E1\HG520.0 U3E0\HG520.0
U3E1\
I/F handling of HG522
sequencer direct
performance
Hand open/close
I/F handling
Batch transfer
the data in B100
and after to the
robot input signal U3E0\
HG0
8-118Samples
8Perform Sequencer Direct
<Sequencer> <Robot>
(FB)
Ladder waiting f or
signal (FB)
Signal output
ladder (FB)
Operation C
Inner sequencer processing
Peripheral
control 4
Samples 8-119
8Perform Sequencer Direct
Select Select
8-120Samples
8Perform Sequencer Direct
The figure below shows the change of pages when entering an operation command in the GOT screen.
Samples 8-121
8Perform Sequencer Direct
<Operating procedure>
8-122Samples
8Perform Sequencer Direct
The robot program and the position edit/variable monitor can the handle position data for sequencer direct
performance.
Workpiece
Fig.9-1:Cooperative operation
CAUTION The accuracy of the transport path by both robots operation and the tracking
intervals of robot No.2 are not guaranteed.
When the operation speed of robot No.1 is set to high, the operation of robot
No.2 may be delayed.
Array Qty
Parameter
Parameter Character Description Factory Default
Name
Qty
Select CPU buffer IQMEM 1 digit inte- Set validity (1)/ invalidity (0) for the function. 0000000000000000
memory extended ger Sets each bit by allocating a function to each bit.
function 0000000000000000 bit2-15: Not used
|+- bit0: Use the extended function
+-- bit1: Sequencer direct
performance function
9-124Outline
9Cooperative operation function
Teaching Teaching
pendant pendant
Controller Controller
Fig.9-2:System configuration
Robot 1 1.prg A program for automatic operation of the robot (actuation between two teach-
(Master) ing positions)
BFRM.prg A program for adjustment of setting the common coordinates in robot No.1 and
robot No.2
Robot 2 1.prg A program for automatic operation of the robot (tracking robot No.1 to its desti-
(Slave) nation)
BFRM.prg A program for adjustment of setting the common coordinates in robot No.1 and
robot No.2
Spd M_NSpd
Dly 0.1
' Send stop command for the cooperative operation '
at operational end position.
M_Mxt(2)=0 ' Stop cooperation.
Wait M_Mxt(3)=0 M_Mxt(3)=0
' Stop cooperation. '
Note 1) Teach the workpiece transport destination to robot No.1. Refer to Page 131, "9.6.3 Adjustment 3:
Teaching and parameter setting of the workpiece transport destination" for details.
9-126Sample program
9Cooperative operation function
Note 1) Set the common frame coordinates to robot No.1 and robot No.2. Refer to Page 129, "9.6.1 Adjust-
ment 1: Adjustment of the common base coordinates" for details.
Note 2) Use the setting of the robot No.1 base coordinates for robot No.2 base coordinates. Refer to Page
129, "9.6.1 Adjustment 1: Adjustment of the common base coordinates" for details.
Note 3) Set the common tool in the robots. Refer to Page 130, "9.6.2 Adjustment 2: Setting of the common
tool" for details.
U3E0\HG512.4
U3E0\HG512.3
U3E0\
HG841
U3E0\HG536.4
U3E0\HG536.3
U3E0\
HG1865
9-128Sequence program
9Cooperative operation function
9.6 Adjustment
9.6.1 Adjustment 1: Adjustment of the common base coordinates
Use the robot program BFRM.prg to set the common coordinates in robot No.1 and robot No.2. (Use the
setting of the robot No.1 base coordinates for robot No.2 base coordinates.)
Common frame
PPL2
PPL3
PPL1
PFR1 PFR2
Inv(PFR1)
Adjustment 9-129
9Cooperative operation function
Common tool
Wprkpiece position
PPK1
PPK2
PBASE
Robot No.1 Robot No.2
(Master) (Slave)
Robot No.1 tool Robot No.2 tool
(PLT1) (PLT2)
9-130Adjustment
9Cooperative operation function
9.6.3 Adjustment 3: Teaching and parameter setting of the workpiece transport destination
Use the robot program 1.prg for robot No.1 to teach the workpiece transport destination (to robot No.1 only).
Set the parameter to enable each extended function for robot No.1 and robot No.2.
Workpiece
P2
P1
PBASE
Robot No.1 Robot No.2
(Master) (Slave)
Fig.9-5:Teaching and parameter setting of the workpiece transport destination
Adjustment 9-131
9Cooperative operation function
P1
P_D5100
PBASE
Robot No.1 Robot No.2
(Master) (Slave)
Fig.9-6:Parallel straight motion
PBASE
When a parameter is changed, make sure to turn on again the robot controller' power supply (OFF to ON) or
reset the sequencer. The parameter setting does not become effective only with the parameter change.
Array Qty
Parameter
Parameter Character Description Factory Default
Name
Qty
Select CPU buffer IQMEM 1 digit inte- Set validity (1)/ invalidity (0) for the function. 0000000000000000
memory extended ger Sets each bit by allocating a function to each bit.
function 0000000000000000 bit2-15: Not used
|+- bit0: Use the extended function
+-- bit1: Sequencer direct
performance function
When sequencer direct performance is valid, external program variables P_DM(1) - P_DM(999) (999 in
total) in the robot controller and system state variables P_D5000, P_D5100 - P_D5102 are extended
(extended variables are referred to as "extended variable", below).
Sequencer direct perform ance is inv alid: Sequencer direct perform ance is v alid:
Program external Program external
v ariables prepared Set both bits 0, 1 of v ariables prepared
Extend and delete
in adv ance param eter IQ MEM to 1 in adv ance
external program
(P_00, etc.) +
v ariables
+
Set either bit 0, 1 of
param eter IQ M EM to 0 System state v ariables
Extend system state
for sequencer direct
v ariables
perform ance
P_D5000, P_D5100 - 5102
Out of memory:
In case of out of memory, errors "C7010 Out of memory", "L4800 System based program unavailable"
occur. Here, because the system based program itself is not created, the variables are not extended.
(5) Treatment when sequencer direct is performed while the variables were not extended
The sequencer direct performance is not received without variable extension.
The completion status is set to the number indicating an impracticable reason (refer to Page 91, "(2) Opera-
tion Command Is Impracticable:").
Array Qty
Parameter
Parameter Character Description Factory Default
Name
Qty
Define function IQSPEC 1 digit inte- Set up function for robots. 0000000000000001
ger Set each function allocated by each bit.
0000000000000000 bit1-15: Not used
+--- bit0: Direction to write
into CPU buffer
memory
The access sequence of the CPU buffer memory before the software version N7 of the robot controller is
direction to the final address from the top address for both of reading and writing. However, the sequencer's
communication specification among iQ Platform multiple CPUs is direction from last to start address for writ-
ing. Thus, when a system is designed according to the CPU buffer memory map specification, the interlock
of dataset may be impossible. (For more information, refer to the Fig. 10-1.)
Therefore, when utilizing CPU buffer memory expanded function, it is necessary to make the CPU buffer
memory access order the same as the specification of the sequencer. We provide the parameter (IQSPEC)
to solve it. The initial value is set to the same specification as the sequencer, so its change by customer is
not necessary at all. But, in order to assure the compatibility with previous models, the behavior based on
the previous specification is possible.
CPU buffermemory
Shared memory
Low Sequencer
Sequencer
Sequencer’s
Sequencer's Write Robot's
handling
handling
Interlock Read
handling
Transmission
data
Robot's writing
Robot’s writing direction
direction
isischanged
changedto tothe
the same
same
asassequencer
sequencer
Robot output
Interlock
Read Write
Transmission
data
High
(2) Error occurred when the parameter ALWENA is set to one (enabled) while the sequencer direct perfor-
mance is valid
(3) Error occurred when MELFA-BASIC IV is selected while the sequencer direct performance is valid
11-136
HEAD OFFICE: TOKYO BUILDING, 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS: 5-1-14, YADA-MINAMI, HIGASHI-KU NAGOYA 461-8670, JAPAN
Authorised representative:
Mitsubishi Electric Europe B.V. FA - European Business Group
Mitsubishi-Electric-Platz 1, D-40882 Ratingen, Germany
Tel: +49(0)2102-4860
Mar., 2018 MEE Printed in Japan on recycled paper. Specifications are subject to change without notice.