B-75114en 02
B-75114en 02
B-75114en 02
OPERATOR'S MANUAL
B-75114EN/02
Before using the Robot, be sure to read the "FANUC Robot Safety Manual (B-80687EN)" and
understand the content.
TABLE OF CONTENTS
B-75114EN/02
TABLE OF CONTENTS
For safe use................................................................................................s-1
1
OVERVIEW ............................................................................................. 1
1.1
1.2
1.3
2.2.2
2.2.3
Settings of FL-net.....................................................................................................7
2.2.3.1
2.2.3.2
2.2.4
2.3
2.3.1
2.3.2
2.4.2
Setting in CNC................................................................................................... 13
Setting in robot controller.................................................................................. 14
2.3.2.1
2.3.2.2
2.4
Setting in CNC..................................................................................................... 9
Setting in robot controller.................................................................................. 11
OUTLINE ..................................................................................................... 21
DATA ARAE OF ROBOT CONNECTION FUNCTION ................................ 23
BUTTON ON MACHINE OPERATORS PANEL ......................................... 25
ROBOT REMOTE OPERATION SCRREN.................................................. 25
SAMPLE LADDER PROGRAM FOR SYSTEM OPERATION ..................... 28
SETTINGS IN ALLOCATION SCREEN....................................................... 30
SETTING OF ROBOT STATUS .................................................................. 33
SETTING IN ROBOT............................................................................. 38
4.1
4.2
TABLE OF CONTENTS
4.3
4.4
4.5
4.6
4.7
4.8
4.9
6.2
B-75114EN/02
6.1.2
6.1.3
6.1.4
6.1.5
I/O Screen...............................................................................................................71
6.2.2
7.2
7.3
7.1.2
7.1.3
7.1.4
Overlap Start...........................................................................................................95
7.1.5
7.1.6
7.2.2
7.2.3
7.2.4
7.2.5
TABLE OF CONTENTS
B-75114EN/02
7.4
7.3.2
7.3.3
NC PROGRAM.................................................................................... 118
8.1
8.2
7.3.1
9.2
9.1.2
9.1.3
9.1.4
9.2.2
9.2.3
10.3
10.4
10.5
10.2.2
10.2.3
10.3.2
Timer ....................................................................................................................134
10.3.3
Keep relay.............................................................................................................134
10.4.2
10.4.3
10.4.4
Transition T1 (Remote Operation Request and the Transition to the State "Remote
Operation") ...........................................................................................................137
c-3
TABLE OF CONTENTS
10.5.2
B-75114EN/02
Transition T2 (End of Remote Operation and the Transition to the State "Idle" (S1))
..............................................................................................................................138
10.6
10.5.3
10.5.4
10.5.5
10.5.6
10.5.7
Override Change...................................................................................................139
10.5.8
10.5.9
10.6.2
10.6.3
10.6.4
10.6.5
10.6.6
10.6.7
10.6.8
10.6.9
10.7
10.7.2
FAILED Signal.....................................................................................................142
10.7.3
UO Signals ...........................................................................................................143
10.7.4
UI Signals .............................................................................................................143
10.7.5
HOLD Signal........................................................................................................143
10.7.6
10.7.7
Resume .................................................................................................................143
10.7.8
10.7.9
Override Output....................................................................................................143
10.8
10.8.2
TABLE OF CONTENTS
B-75114EN/02
10.9
10.8.3
10.8.4
10.8.5
10.8.6
LEVEL1 ...............................................................................................................146
10.9.2
LEVEL2 ...............................................................................................................146
10.9.3
10.9.4
10.9.5
10.9.6
10.9.7
10.9.8
P0013 (NC_HND)................................................................................................148
10.9.9
10.10
10.11
APPENDIX
A
A.2
A.1.2
A.2.2
TABLE OF CONTENTS
A.3
B-75114EN/02
Common Item.......................................................................................................175
A.3.2
A.3.3
ALARM................................................................................................ 178
B.1
B.2
c-6
B-75114EN/02
SAFETY
About the safety instructions for use and usage of CNC, refer to Common to Lathe
System/Machining Center System OPERATORS MANUAL corresponding to your
using CNC.
About the safety instructions for use of Robot, refer to FANUC Robot SAFETY
HANDBOOK.
About usage of Robot, refer to FANUC Robot Series R-30iA CONTROLLER
HANDLING TOOL OPERATORS MANUAL, or FANUC Robot Series R-30iA Mate
CONTROLLER LR HANDLING TOOL OPERATORS MANUAL. If necessary, refer
to FANUC Robot Series R-30iA CONTROLLER MAINTENANCE MANUAL or
FANUC Robot Series R-30iA Mate CONTROLLER MAINTENANCE MANUAL, and
refer to the operators manual for mechanical unit corresponding to your using
mechanical unit, too.
About the safety instructions for use and usage of Machine Tool, refer to the manual
published by Machine Tool Builder.
Index
NOTATION ------------------------------------------------------------------------------------------------------------- s-1
RELATED MANUAL -------------------------------------------------------------------------------------------------- s-2
CONNECTION TO EMERGENCY STOP CIRCUIT ------------------------------------------------------------- s-3
CONNECTION TO SAFETY FENCE SIGNAL ------------------------------------------------------------------- s-3
SAFETY DOOR OF MACHINE TOOL ----------------------------------------------------------------------------- s-4
IN CASE THAT ROBOT IS OPERATED ON CNC OPERATORS PANEL --------------------------------- s-4
IN CASE THAT CNC OPERATORS PANEL IS PLACED INSIDE SAFETY FENACE ------------------ s-5
ABOUT LADDER PROGRAM IN CNC ---------------------------------------------------------------------------- s-5
ABOUT DIFFERENCE BY THE TYPE OF CNC ----------------------------------------------------------------- s-5
ABOUT TOUCH PANEL ---------------------------------------------------------------------------------------------- s-5
NOTATION
This manual contains safety precautions against injury and property damage. Those precautions are labeled
Warning or Caution, according to the degree of importance. Supplementary explanation is given under
Note. Before starting to use a machine and a robot, carefully read the Warning, Caution and Note.
WARNING
Failure to follow the instruction given under Warning can cause fatal or serious
injury to the user. This information is indicated in bold type in a box so that it can be
easily distinguished from the main body of this manual.
s-1
SAFETY
B-75114EN/02
CAUTION
Failure to follow the instruction given under Caution can cause injury to the user or
property damage. This information is indicated in a box so that it can be easily
distinguished from the main body of this manual.
NOTE
The information given under Note is a supplementary explanation, which is neither
a warning nor a caution.
RELATED MANUAL
The related manuals with this function are as follows. Refer to these manuals according to need.
Name
Drawing No.
B-63943EN
B-63945EN
B-63944EN
B-63983EN
B-66284EN
B-64303EN
B-64305EN
B-64304EN
B-64393EN
B-80687EN
B-82595EN
B-82725EN
B-82594EN-2 or
B-83124EN-2
B-82724EN-1 or
B-83134EN-1
B-82674EN
s-2
B-64163EN
B-64453EN
B-82974EN
B-83104EN
SAFETY
B-75114EN/02
Name
Drawing No.
B-82614EN
As the method of emergency stop of the system, the emergency stop of both the machine tool and
the robot are used. If only the shut down of servo power is required, use the servo off signal in
the robot controller.
Connect the emergency stop signal to the EES1, EES11, EES2, EES21 (for dual chain controller)
or EXEMGIN1, EXEMGIN2 (for single chain controller) input signal on the panel board in the
robot controller.
Connect the servo off signal to the EGS1, EGS11, EGS2, EGS21 (for dual chain controller) or
SVOFF1, SVPFF2 (for single chain controller) input signal on the panel board in the robot
controller.
Refer to FANUC Robot Series R-30iA CONTROLLER MAINTENANCE MANUAL or
FANUC Robot Series R-30iA Mate CONTROLLER MAINTENANCE MANUAL for
explanation about how to connect.
Connect the safety fence signal to EAS1, EAS11, EAS2, EAS21 (for dual chain controller) or
FENCE1, FENCE2 (for single chain controller) on panel board in the robot controller so that the
robot is stopped immediately when the safety fence is opened during automatic operation of the
robot. When the robot controller is T1 mode or T2 mode, even if the safety fence is opened, it is
possible to operate the robot by the robot teach pendant. When the robot controller is T2 mode,
because the special speed limitation at program execution is none, it is need to take safety
measures adequately.
By Dual Check Safety (DCS) position check function, it is possible to narrow the motion range
of the robot safely. In order to narrow the motion range of the robot by DCS position check
function, read FANUC Robot Series R-30iA / R-30iA Mate CONTROLLER Dual Check Safety
Function (ISO 13849-1:2006 COMPLIANT) Operation Manual carefully, and adequate risk
assessment is required. For DCS position check function, special hardware for DCS is needed,
and DCS position check function is software option of the robot controller.
If it is need to stop not only the robot but also the machine tool when the safety fence is opened
during automatic operation, connect the signal which indicates the open/close status of the safety
fence to CNC.
s-3
SAFETY
B-75114EN/02
In the system that the safety door of the machine tool limits the operator entering into the motion
range of the robot, connect the signal which indicates the open/close state of safety door of the
machine tool to the robot controller as the safety fence signal in the robot controller.
In order to operate the robot on CNC operators panel, it is required that the robot controller is
AUTO mode and the safety fence is closed.
s-4
B-75114EN/02
SAFETY
In case that CNC operators panel is placed inside the safety fence, it is not possible to operate
the robot by CNC operators panel. Do not display Robot Remote Operation Screen on CNC
operators panel.
s-5
SAFETY
B-75114EN/02
Please do not make the touch panel operation screen where two points or more are pushed at the same
time. When two points or more are pushed at the same time, the touch panel might work as if the
center of the points was pushed. In this case, there is a possibility of the accident due to the
mis-output and the malfunction.
Please do not include the following operations to the touch panel screen.
- Operation related to safeties of life and significant damage, etc.
- Operation that requires emergency and real-time action
There is a possibility of the accident due to the mis-output and the malfunction when the main body,
the unit, and the cable, etc. break down.
Moreover, there is no guarantee of the real time action of the screen.
s-6
1.OVERVIEW
B-75114EN/02
OVERVIEW
This function enables you to connect the machine tool with the robot, and to make them cooperate.
It is composed of the following three functions.
1.1
To use this function, a software option is necessary in both CNC and the robot controller. Table 1.1(a)
shows a supported model and necessary software option in each of CNC and the robot controller.
-1-
1.OVERVIEW
CNC
Robot controller
B-75114EN/02
Moreover, the following options are necessary depending on the connection method between CNC and the
robot controller and the function to use.
About the value and the meaning of middle number xxxx in drawing number in the following description,
please refer to the column corresponding to CNC model in above table 1.1(a).
Robot Controller
Table 1.1(b) shows the type of I/O transmission and necessary option.
Table 1.1 (b)
Type of I/O transmission
I/O Link
FL-net
Series 30i/31i/32i-A
Table 1.1(c) shows the type of I/O transmission and necessary option.
Table 1.1 (c)
Type of I/O transmission
I/O Link
FL-net
Table 1.1(d) shows a type of Ethernet communication in CNC and necessary option.
Table 1.1 (d) Type of Ethernet communication in CNC and necessary option
Type of Ethernet communication
Necessary option in CNC
Embedded Ethernet
FAST Ethernet board
FL-net/Ethernet coexisting function
<None>
Ethernet function (A02B-xxxx-S707)
Control software function for Fast Ethernet (A02B-0303-J561#6569)
Ethernet function (A02B-xxxx-S707)
FL-net/Ethernet coexisting function (A02B-xxxx-R951)
When the ROBOT REMOTE OPERATION screen provided as a sample program of FANUC PICTURE is
used in CNC, the option shown in Table 1.1(e) is necessary.
-2-
1.OVERVIEW
B-75114EN/02
Series 0i-D
Table 1.1(f) shows the type of I/O transmission and necessary option.
Table 1.1 (f)
Type of I/O transmission
I/O Link
FL-net
Table 1.1(g) shows a type of Ethernet communication in CNC and necessary option.
Table 1.1 (g) Type of Ethernet communication in CNC and necessary option
Type of Ethernet communication
Necessary option in CNC
Embedded Ethernet
<None>
When the ROBOT REMOTE OPERATION screen provided as a sample program of FANUC PICTURE is
used in CNC, the option shown in Table 1.1(h) is necessary.
Table 1.1 (h)
Function to use
ROBOT REMOTE OPERATION
screen
1.2
To use this function, CNC and the robot controller are connected by I/O transmission and data
communication.
-3-
1.OVERVIEW
1.3
B-75114EN/02
To use this function, the following items are necessary for CNC.
1. PMC data area from 1:R7000 to 1:R7999
This function uses PMC data area from 1:R7000 to 1:R7999 as a default. When this area has already
been using, other area can be used.
2. Button on machine operator's panel
Please prepare the following three buttons and switch on the machine operator's panel.
Selection switch of interlock mode / stand-alone mode
Robot operation button
Cycle stop button
3. M code
Three M codes, M60, M61 and M62 are used in NC program to request the operation to the robot.
When these M codes have already been using, other M codes can be used.
For details, please refer to "3. SETTING AND CUSTOMIZING IN CNC".
-4-
B-75114EN/02
CNC and the robot controller are connected by using I/O transmission and data communication.
The example of the connection between CNC and the robot is shown below.
Robot
CNC
FL-net
FL-net
Embedded
Ethernet
Ethernet
FL-net
Ethernet
Robot
CNC
FL-net/Ethernet
coexisting function
FL-net/Ethernet
FL-net
Ethernet
Robot
CNC
IO Link
I/O Link
IO Link
Embedded
Ethernet
Ethernet
Ethernet
This chapter explains the following content necessary for I/O transmission and data communication
between CNC and the robot.
Connection of I/O transmission between CNC and the robot controller
Setting of CNC and the robot controller for I/O transmission
Connection of data communication between CNC and the robot controller
Setting of CNC and the robot controller for data communication
2.1
CNC NUMBER
Up to four CNCs can be connected with one robot controller. The robot controller identifies connected
four CNCs by the CNC number.
The robot controller allocates the CNC number to connected CNC in order of the I/O ALLOCATION,
and outputs CNC number to each CNC by I/O signals.
-5-
B-75114EN/02
CNC number is also used in data communication. In the setting of the data communication of the robot
controller, it is necessary to set the CNC number.
2.2
By using FL-net or I/O Link between CNC and the robot controller, I/O signals are connected as follows.
I/O signals used between one CNC and the robot controller are 256 points (bit) for each In/Out.
DI
CNC1
DO
DI
DO
256
256
256
CNC2
257
512
257
512
CNC3
513
768
513
768
CNC4
769
1024
769
1024
256
Robot controller
Fig. 2.2
2.2.1
FL-net board
Switching hub
Ethernet cable
The FL-net board is necessary for each CNC and the robot controller.
One switching hub is necessary.
The cable is necessary for each CNC and the robot controller.
Please connect CNC and the robot controller as shown in the following figure.
For details, please refer to FL-net board CONNECTION MANUAL corresponding to your using CNC.
Switching hub
CNC1
CNC2
Fig. 2.2.1
CNC3
CNC4
Wiring of FL-net
-6-
Robot
controller
B-75114EN/02
2.2.2
When the robot controller and CNC are connected by I/O Link, both CNC and the robot controller are I/O
link master. In this case, I/O Link connecting unit is necessary. When I/O Link is used, the following
devices are necessary.
Table 2.2.2
Devices
The I/O Link Connecting Unit for the number of connected CNC is necessary.
The signal cable and the power supply cable are necessary.
Please connect CNC and the robot controller as shown in the following figure.
For details, please refer to CONNECTION MANUAL (HARDWARE) corresponding to your using CNC.
Robot
controller
CNC1
CNC2
CNC3
CNC4
I/O Link
Connecting
Unit
Fig. 2.2.2
The DI/DO signal cannot be exchanged directly between CNCs. When the signal is exchanged between
CNCs, it is necessary to transmit signals through the robot controller.
2.2.3
Settings of FL-net
When CNC and the robot controller are connected by FL-net, necessary settings are as follows.
Node number
The node number of each equipment is fixed.
The end figure of IP address shows the node number. The node number for the robot controller is fixed as
one. The node number for CNC is assigned to be the order of the CNC number from two.
When standard 192.168.250 is used as a network address, IP address is as follows.
Equipment
Robot
CNC1
CNC2
CNC3
CNC4
1
2
3
4
5
IP address
192.168.250.1
192.168.250.2
192.168.250.3
192.168.250.4
192.168.250.5
B-75114EN/02
15
16
Robot controller
31
32
Output Signals
(1024 points)
47
48
63
64
127
128
143
144
159
160
175
176
191
192
207
208
223
224
239
240
255
Fig. 2.2.3
63
for CNC1
for CNC2
for CNC3
for CNC4
-8-
B-75114EN/02
2.2.3.1
Setting in CNC
15
16
Robot
Controller
(1024 points)
63
64
127
128
143
144
159
160
175
176
191
192
207
208
223
224
239
240
255
31
32
47
48
63
1:R7400
for CNC1
1:R7431
1:R7432
for CNC2
1:R7463
1:R7464
for CNC3
1:R7495
1:R7496
for CNC4
1:R7537
1:R7538
1:R7655
1:R7656
1:R7687
1:R7688
1:R7719
1:R7720
1:R7751
1:R7752
1:R7783
1:R7784
1:R7815
1:R7816
1:R7847
1:R7848
1:R7879
1:R7880
1:R7911
Robot to CNC1
Robot to CNC2
Robot to CNC3
Robot to CNC4
Reserved
CNC1 to Robot
Reserved
CNC2 to Robot
Reserved
CNC3 to Robot
Reserved
CNC4 to Robot
Reserved
PMC area
(Unit is byte)
-9-
B-75114EN/02
Bit
1:R7956
7
Node 7
6
Node 6
5
Node 5
CNC4
4
Node 4
CNC3
3
Node 3
CNC2
2
Node 2
CNC1
1
Node 1
Robot
0
Reserved
1:R7986
1:R7987
Node 247
Reserved
Node 246
Node 254
Node 245
Node 253
Node 244
Node 252
Node 243
Node 251
Node 242
Node 250
Node 241
Node 249
Node 240
Node 248
With the standard setting, bit 1 of 1:R7956 shows the power supply of the robot controller.
IP ADDRESS
The end figure of IP address shows the node number.
The value is decided by the CNC number. When standard 192.168.250 is used as a network address, IP
address is as follows.
Table 2.2.3.1(a) IP address
Item
IP ADDRESS
CNC1
192.168.250.2
CNC2
192.168.250.3
CNC3
192.168.250.4
CNC4
192.168.250.5
AREA1 ADDERSS
It is the first address in common memory area 1 where the output signal of own node is allocated.
The value is decided by the CNC number.
Table 2.2.3.1(b) AREA1 ADDRESS
Item
AREA1 ADDRESS
CNC1
128
CNC2
160
CNC3
192
CNC4
224
AREA1 SIZE
It is a data size of common memory area 1 where the output signal of own node is allocated. The unit is
word. The value is 16 (256 points) and it is fixed.
- 10 -
B-75114EN/02
OWN STATUS
It is unnecessary to set-up item "OWN STATUS" because it is not used.
ENTRY NODE
It is an address in the PMC area to notify the participation of other nodes in the network.
The value of standard setting is 1:R7956. If the PMC data area from 1:R7956 to 1:R7986 can not be used,
please specify the first address of 32 bytes empty area.
NOTE
When the value of item "ENTRY NODE" is changed from a standard setting, it is
necessary to modify the ladder program. For details, please refer to the material
included in CD "Robot connection function sample program" (A08B-9510-J550).
PARAMETER 1, PARAMETER 2
The value of PARAMETER 1 is 0000 0001 and PARAMETER 2 is 0000 0000. They are fixed.
NOTE
When the value of item "PMC ADDRESS" of AREA1 DI/DO is changed from a
standard setting, it is necessary to modify the ladder program. For details,
please refer to the material included in CD "Robot connection function sample
program" (A08B-9510-J550).
AREA1 ADDRESS of AREA1 DI/DO
It is the first address of common memory area 1 allocated to the PMC area.
The value is zero and it is fixed. The common memory area is allocated to the PMC area from the first
byte.
2.2.3.2
In the robot controller, a standard setting concerning the I/O transmission including the setting of FL-net
can be read.
The setting concerning the I/O transmission is decided by the number of connected CNC. Therefore, a
standard setting is read specifying the number of connected CNC. By reading the standard setting, the
following settings are set in addition to FL-net settings.
Allocation of DI/DO, UI/UO, and GI/GO to connect to specified number CNC (Existing
ALLOCATION is overwritten.)
Allocation of I/O internally used (Existing ALLOCATION is overwritten.)
Robot ladder program to connect to CNC (Existing program is overwritten.)
Setting of keep relay related to the specified number CNC
Setting of I/O comment
- 11 -
B-75114EN/02
While holding the PREV key and the NEXT key of teach pendant, turn on the power of the robot
controller. Configuration menu is displayed.
Select "Controlled start". The initial screen of control start menu appears after a while.
Press the MENU key to display the screen menu.
Select the item Machine I/F. The setting screen of Machine I/F appears.
Setup Machine I/F
Initial Setup
1/4
1 CNC to be connected
2 I/O device type
3 Load Setting
4 Override Step
: [ 0]
: [FL-net]
Execute
: [ 10]
[ TYPE ]
Fig. 2.2.3.2
5
6
7
8
Enter the number of CNC connected with the robot controller to the item "CNC to be connected".
When this function is not used, please set zero.
Select "FL-net" for "I/O device type". If FL-net has not been ordered, FL-net cannot be selected.
Move the cursor to the item <Execute> of "Load Setting" and press ENTER key. Press OK for the
confirmation message. When load setting is executed, an existing setting is overwritten.
Press FCTN key and select "START (COLD)" from the Functions menu. The robot controller is
started by the cold start.
NOTE
When standard I/O setting is read, not only the ALLOCATION and comment of
I/O, but also the ladder program is replaced.
When connected number of CNC is increased, the setting of DI/DO and GI area corresponding to
increased CNC is overwritten. When connected number of CNC is decreased, the setting corresponding to
decreased CNC is cleared.
If you return the setting to former value, set the connected CNC to zero, and then read the settings. The
ALLOCATION and comment of I/O is cleared and the ladder program is replaced by the standard ladder
program.
When the I/O device is changed, it is recommended to delete the I/O ALLOCATION in I/O Link screen
of robot controller. For details, please refer to "FANUC Robot Series R-30iA CONTROLLER
HANDLING TOOL OPERATOR'S MANUAL" or "FANUC Robot Series R-30iA Mate CONTROLLER
LR HANDLING TOOL OPERATOR'S MANUAL".
For the setting value read by the above-mentioned procedure, please refer to "Appendix A.2.2 Standard
Setting Value List in Robot Controller ".
- 12 -
B-75114EN/02
2.2.4
When CNC and robot controller are connected by I/O Link, necessary settings are as follows.
2.2.4.1
Setting in CNC
CNC1
1:X0080
DO signal
1
for CNC1 (256points)
256
257
for CNC2 (256 points)
512
1:X0111
1:Y0080
1:Y0111
DI signal
1
for CNC1 (256 points)
256
257
for CNC2 (256 points)
512
Robot to CNC
CNC to Robot
CNC2
1:X0080
1:X0111
1:Y0080
1:Y0111
Robot to CNC
CNC to Robot
2.
3.
4.
5.
6.
7.
8.
9.
B-75114EN/02
The procedure for allocating the I/O Link connecting unit to X address and Y address of PMC is as
follows.
1. Move the cursor to the address of allocating I/O Link connecting unit. 32byte continuous empty area
is necessary.
2. Input the following string with MDI key, and then, press INPUT key.
<Group No.>.0.1./32
Where <Group No.> shows the numerical order of I/O Link connecting unit in the connected I/O
Link devices.
3. Execute the procedure 1 and 2 for both X and Y address.
For details of setting I/O Link, please refer to PMC PROGRAMMING MANUAL corresponding to your
using CNC.
2.2.4.2
In the robot controller, a standard setting concerning the I/O transmission can be read as well as FL-net.
The setting concerning the I/O transmission is decided by the number of connected CNC. Therefore, a
standard setting is read specifying the number of connected CNC. By reading the standard setting, the
following settings are read.
Allocation of DI/DO, UI/UO, and GI/GO to connect to specified number CNC (Existing
ALLOCATION is overwritten.)
Allocation of I/O internally used (Existing ALLOCATION is overwritten.)
Robot ladder program to connect to CNC (Existing program is overwritten.)
Setting of keep relay related to the specified number CNC
Setting of I/O comment
The robot controller internally uses 56 points of DI (DI[1025]-DI[1080]) and 8 points of DO
(DO[1025]-DO[1032]) in addition to the signals for connecting to CNC. These signals are automatically
allocated by reading a standard setting. Please do not change the ALLOCATION of these signals.
While holding the PREV key and the NEXT key of the teach pendant, turn on the power.
Configuration menu is displayed.
Select "Controlled start". The initial screen of control start menu appears after a while.
Press the MENU key to display the screen menu.
Select the item Machine Tool I/F. The setting screen of Machine Tool I/F appears.
Setup Machine I/F
Initial Setup
1/4
1 CNC to be connected
2 I/O device type
3 Load Setting
4 Override Step
: [ 0]
: [I/O Link]
Execute
: [ 10]
[ TYPE ]
Fig. 2.2.4.2
5
6
7
Enter the number of CNC connected with the robot controller to the item "CNC to be connected".
When this function is not used, please set zero.
Select "I/O Link" for "I/O device type".
Move the cursor to the item <Execute> of "Load Setting" and press ENTER key. Press OK for the
confirmation message. When load setting is executed, an existing setting is overwritten.
- 14 -
B-75114EN/02
Press FCTN key and select "START (COLD)" from the Functions menu. The robot controller is
started by the cold start.
NOTE
When standard I/O setting is read, not only the ALLOCATION and comment of
I/O, but also the ladder program is replaced.
When connected number of CNC is increased, the setting of DI/DO and GI area corresponding to
increased CNC is overwritten. When connected number of CNC is decreased, the setting corresponding to
decreased CNC is cleared.
If you return the setting to former value, set the connected CNC to zero, and then read the settings. The
ALLOCATION and comment of I/O is deleted and the ladder program is replaced by the standard ladder
program.
When the I/O device is changed, it is recommended to delete the I/O ALLOCATION in I/O Link screen
of the robot controller. For details, please refer to "FANUC Robot Series R-30iA CONTROLLER
HANDLING TOOL OPERATOR'S MANUAL" or "FANUC Robot Series R-30iA Mate CONTROLLER
LR HANDLING TOOL OPERATOR'S MANUAL".
For the setting value read by the above-mentioned procedure, please refer to " Appendix A.2.2 Standard
Setting Value List in Robot Controller ".
2.3
When the data communication is used, the robot controller is connected with CNC by Ethernet.
The data communication is dispensable. However, when the data communication is not done, a part of
function cannot be used.
2.3.1
Devices
Switching hub
Ethernet cable
Please connect CNC and the robot controller as shown in the following figure.
Switching hub
CNC1
CNC2
Fig. 2.3.1
CNC3
CNC4
Robot
controller
- 15 -
B-75114EN/02
2.3.2
2.3.2.1
Setting in CNC
Items where the setting is necessary are IP address, subnet mask and port number. Please set the value to
item router IP address if necessary.
Please match the value of IP address, the subnet mask, and router IP address to the environment of the
connected network.
The value of port number is 8193.
When FL-net/Ethernet coexistence function is used, the value of IP address defined in FL-net parameter
screen is used by Ethernet communication too. Therefore, IP address is not set from a setting screen of
Ethernet. Moreover, the subnet mask is fixed by 255.255.255.0.
For details of embedded Ethernet, please refer to MAINTENANCE MANUAL corresponding to your
using CNC. For details of FL-net/Ethernet coexistence function, please refer to "FANUC Series
30i/31i/32i -MODEL A FL-net Board CONNECTION MANUAL".
2.
3.
4.
5.
6.
2.
3.
4.
5.
6.
2.3.2.2
It is necessary to set the value to TCP/IP parameter and the client tag to do the data communication by the
robot controller.
The data communication used by this function is based on the client server model. CNC is a server that
provides services, and the robot controller is a client that receives services. The robot controller manages
- 16 -
B-75114EN/02
the setting of the client with the client tag. The client tag is from C1 to C8, and preserves the setting of
eight clients. If the client tag is defined and started, using the dealing service becomes possible.
For details of the client tag, please refer to "FANUC Robot Series R-30iA/R-30iA Mate CONTROLLER
Ethernet function OPERATORS MANUAL".
6.
7.
PORT
PING
HELP
Set the value to item IP addr, Subnet Mask and Router IP addr
Set the value to item "Host Name" and "Internet Address". The host name defined here is used by
the setting of client tag.
2.
3.
4.
If Host Comm screen is being displayed, press PREV key. If another screen is being displayed, press
MENU key and select SETUP, press F1 [TYPE] key and select Host Comm. (When Controlled Start
is executed, press MENU and select Host Comm.)
Press F4 [SHOW] key and select [Clients]. Eights client tags from C1 to C8 is displayed in a list.
Please setup the client tag of MTCOM protocol as needed.
Move the cursor to the tag for set-up, and then press F3 [DETAIL] key.
Move the cursor to the item "Protocol". Press F4 [CHOICE] key and select "MTCOM". The screen
display changes as follows.
- 17 -
B-75114EN/02
Setup Tags
1/7
Tag C1:
Comment
Protocol
Current State
Startup State
Server IP/Hostname
Server Port
CNC No.
Response Timeout
[ TYPE ]
[ACTION]
Fig. 2.3.2.2(b)
: ********************
:
MTCOM
: START
: START
:
CNC1
: 8193
:
1
:
10 sec
LIST
[CHOICE]
On this screen, set the host name registered in TCP/IP setting screen to item "Server IP/Hostname".
Please set the host name or IP address of connected equipment. Usually, the host name registered in
TCP/IP setting screen is used.
Set the number of CNC (1 to 4) to the item "CNC No.". Please set the value up to the number of
connected CNC. The value must not overlap by CNC connected with the robot.
Press F2 [ACTION] and select "DEFINE". Current setting is defined.
To start communication after cold start, move the cursor to the item "Startup State", press F4
[CHOICE] and select "START".
The setting content of other items is as follows.
5.
6.
7.
8.
Table 2.3.2.2
Item
Server Port
Response Timeout
Other items
Explanation
Please set the port number of the server CNC. The standard value is 8193. Usually,
please set the standard value.
Please set the time-out seconds of the communication response.
NOTE
Even if value "START" has been selected for the item "Startup State", in case
that the power supply of CNC is off when the power supply of robot becomes on,
the communication is not begun because it is impossible to communicate to
CNC. In that case, the communication should begin on the host communication
screen of the robot controller by manual operation.
2.4
CNC connected with the robot controller can temporarily be separated from the robot controller. As a
result, it is possible to keep operating by remaining CNC and the robot controller while a certain CNC is
maintained.
2.4.1
In the FL-net setup screen of robot controller, please set the corresponding node DISABLE. As a result,
even if the communication between one CNC and robot controller are not established, the robot controller
can keep being operating. In this case, all I/O signals from CNC becomes invalid. It is the same status as
- 18 -
B-75114EN/02
setting the CNC to stand-alone mode. For detail of CNC stand-alone mode, please refer to "3. SETTING
AND CUSTOMIZING IN CNC".
To connect the separated CNC again, set item area1 to EABLE with the same procedure as shown above.
And make the power supply of the robot controller off and then on.
2.4.2
A special setting by the robot controller is unnecessary when using I/O Link connecting unit. Please make
the CNC stand-alone mode with the switch of interlock mode/stand-alone mode. With this operation,
interlock mode signal becomes off and the robot controller regards this CNC as separated. Even if the
power supply of CNC is off, the interlock mode signal becomes off. It is the same as making the CNC
stand-alone mode. At this time, the alarm is not generated in the robot controller.
- 19 -
B-75114EN/02
The following functions are provided in CNC side as the integration function for intelligent robot and
machine tool.
Table 3 (a)
Screen
ROBOT STATUS screen
And, the following sample ladder programs are provided for the remote operation and the automatic
system operation.
Table 3 (b)
Sample ladder program
For ROBOT REMOTE
OPERATION screen
For automatic operation
The above sample programs (FANUC PICTURE screen data and ladder programs) are provided by CD
Robot connection function sample program (A08B-9510-J550).
This section describes the settings necessary for connecting a CNC to the robot, for using the above
screens and for running the sample ladder programs, and several small works that machine tool builders
should customize.
Hereafter, CNC side function of the integrated function of the intelligent robot and the machine tool is
called "Robot connection function".
- 20 -
B-75114EN/02
3.1
OUTLINE
The following figure shows the outline of the robot connection function.
CNC
(1)
ROBOT
CONNECTION
SETTING screen
Signal name
(2)
(4)
ROBOT
STATUS screen
ROBOT
(7)
(8)
Data area
of Robot connection function
(7)
For automatic
system
operation
(6)
For ROBOT
REMOTE
OPERATION
screen
(5)
PROGRAM
SELECT screen
(6)
ROBOT REMOTE
OPERATION
screen
Button in Machine
operators panel
Ladder program
Sample program
The setting value related with the robot connection function, the signal names notified by the robot and
the robot alarm messages are stored in the above CNC internal data area. And PMC data necessary for
the robot connection function is packed in the above Data area of Robot connection function.
The outline of functions is as follows.
(1) The robot controller sends the signal names and alarm message to CNC by using data communication
function (Ethernet).
The signal names are sent out by the operation of the robot teach pendant.
The alarm message is sent out just when the alarm occurs at the robot.
(2) The robot controller exchanges the signals with CNC by using I/O transmission function (FL-net or
I/O Link).
The signals are packed as a Standard interface signals.
CNC handles Standard interface signals in Data area of Robot connection function.
As for details of Standard interface signals, please see 7. INTERFACE BETWEEN CNC AND
ROBOT.
(3) The ROBOT CONNECTION SETTING screen enables you to register the PMC address of Data
area of Robot connection function to CNC internal data area.
(4) The ROBOT STATUS screen read the PMC address of Data area of Robot connection function
from CNC internal data area. And the screen monitors the signal value of Data area of Robot
connection function, and displays them with the signal names that are preserved in CNC internal
data area. And the robot alarm message is displayed in addition.
- 21 -
B-75114EN/02
(5) The ROBOT PROGRAM SELECT screen enables you to specify the program number of the robot.
The specified program number is written in Standard interface signal of Data area of Robot
connection function.
(6) The ROBOT REMOTE OPERATION screen accesses Data area of Robot connection function. The
ladder program (for ROBOT REMOTE OPERATION screen) writes the indication of the screen into
Standard interface signals. And the indication is transferred to the robot as I/O data.
(7) When starting the automatic system operation, an operator executes NC program in which M codes
are included. The ladder program (for automatic system operation) writes the M code command in
Standard interface signals when it detects the execution of M code. As a result, the indication by M
code is transmitted to the robot.
(8) The button on the machine operators panel is prepared, and it is connected to CNC via I/O Link. And
the signal of these buttons are checked by ROBOT REMOTE OPERATION screen and its ladder
program.
Machine tool builders should set and customize the following.
Assignment of PMC address to Data area of Robot connection function
The PMC address from 1:R7000 to 1:R7999 is assigned to Data area of Robot connection
function as a standard setting. If this area is already used, please modify the PMC address.
Customizing of sample ladder program and a sample ROBOT REMOTE OPERATION screen
data
The sample program is provided by CD-ROM. A machine tool builder can customize these
sample programs according to the actual system, and must check its validity sufficiently. Some
PMC addresses are written in these sample programs. If the location of Data area of Robot
connection function is customized, the default PMC addresses have to be also modified.
- 22 -
B-75114EN/02
3.2
The PMC data used by Robot connection function is packed in Data area of Robot connection function.
The sample of ROBOT REMOTE OPERATION screen and its ladder program is designed to assign
Data area of Robot connection function to PMC address from 1:R7000 to1:R7999. In this case, the
address map is as follows.
1:R7000
1:R7049
1:R7050
1:R7199
1:R7200
1:R7263
1:R7264
1:R7399
1:R7400
1:R7911
1:R7912
1:R7955
(Reserved 44 bytes)
1:R7956
1:R7987
1:R7988
1:R7999
(Reserved 12 bytes)
B-75114EN/02
The DI/DO area for one robot and four CNC is always prepared in the FL-net common memory area
1 regardless of the number of the actual CNCs.
The robot interface area is prepared in PMC address. This area is independent from the
communication protocol and the CNC number. The copy-function of ladder program, which is
separated from the main ladder program, exchanges the data between the FL-net common memory
area 1 and the robot interface area according to its own CNC number.
ROBOT STATUS screen and the main ladder program use the signals of the robot interface area for
their process.
The above mapping makes ROBOT STATUS screen and the main ladder program removed from the
dependence upon CNC number.
1:R7200
1:R7231
1:R7232
1:R7263
Reserved
CNC2 -> Robot
Reserved
CNC3 -> Robot
Reserved
CNC4 -> Robot
Reserved
- 24 -
B-75114EN/02
1:Y0080
1:Y0111
1:R7200
1:R7231
1:R7232
1:R7263
3.3
This function needs the following three buttons on the machine operators panel
Table 3.3 Buttons necessary for the function
Button, Switch
Explanation
The switch with two positions, Stand-alone mode and Interlock mode.
It specifies either of the two modes of the machine tools, the
stand-alone mode or interlock mode.
Stand-alone mode : The machine tool works without the
relationship with the robot .
Interlock mode : The machine tool works in cooperation with
the robot
It is a button that turns the signal on while pressing.
It is used when the operator actually moves the robot with ROBOT
REMOTE OPERATION screen.
It is a button that turns the signal on while pressing.
It is used to direct cycle stop. If cycle stop is directed, automatic
system operation is stopped when the machining of current
work-piece has finished.
Please machine tool builder prepare these three buttons on the machine operator's panel. And, input the
state of these buttons to PMC via I/O Link. In the ladder program, these signals are used to operate the
robot.
3.4
Here, a basic specification of ROBOT REMOTE OPERATION screen is explained for the customization
of the screen.
Please refer to "5.3 ROBOT REMOTE OPERATION SCREEN" for the way to operate screen.
Outline
The ROBOT REMOTE OPERATION screen is a screen for the remote operation of the robot from the
machine tool. Following operations for the robot are provided.
- Jog feed
- Hand operation
- Home position return
- Robot restart
- Override change
- Reset
- 25 -
B-75114EN/02
This is a screen for the maintenance of the robot. It is used on the following situation.
- The robot stopped by some causes while daily operation.
- Recovery without using the robot teach pendant
It is not a screen for a start-up of the system nor for the teaching of the robot.
The ROBOT REMOTE OPERATION screen is offered as not a standard screen of CNC but a sample
screen of FANUC PICTURE.
NOTE
1. For details of customizing the sample screen, please refer to the material
included in CD "Robot connection function sample program" (A08B-9510-J550).
2. About FANUC PICTURE, please refer to "FANUC PICTURE OPERATOR'S
MANUAL".
3. This sample screen doesn't correspond to PANEL i with 19" display.
CAUTION
The machine tool builder must customize this sample screen according to the
specification of the machine. Moreover, the machine tool builder must verify the
safety of the robot operation enough.
CAUTION
1. Please do not make the touch panel operation screen where two points or more
are pushed at the same time. When two points or more are pushed at the same
time, the touch panel might work as if the center of the points was pushed. In
this case, there is a possibility of the accident due to the mis-output and the
malfunction.
2. Please do not include the following operations to the touch panel screen.
- Operation related to safeties of life and significant damage, etc.
- Operation that requires emergency and real-time action
There is a possibility of the accident due to the mis-output and the malfunction
when the main body, the unit, and the cable, etc. break down.
Moreover, there is no guarantee of the real time action of the screen.
B-75114EN/02
Table3.4 Button in machine operator's panel used in ROBOT REMOTE OPERATION screen
Button and switch
Explanation
The procedures for executing Jog feed, Hand operation, Home position return and Restart are as follows.
1. Select the type of operation in ROBOT REMOTE OPERATION screen.
2. The robot works when the robot operation button of the machine operator's panel is pressed.
The sample ladder program for the remote operation screen directs the operation to the robot by the
operation of both the screen and the button. For details, please refer to the material included in CD "Robot
connection function sample program" (A08B-9510-J550).
CAUTION
Because of safety reasons, please don't replace the robot operation button of
machine operator's panel by the button on the screen made by FANUC
PICTURE.
- 27 -
B-75114EN/02
Hand operation
Fig. 3.4
Hand operation and robot status display in ROBOT REMOTE OPERATION screen
Ladder program
The sample ladder for the remote operation screen is offered. This ladder program reads the operator's
instruction from ROBOT REMOTE OPERATION screen and the button of the machine operator's panel,
and operates the robot through standard interface signal. For details, please refer to the material included
in CD "Robot connection function sample program" (A08B-9510-J550).
CAUTION
The machine tool builder must customize this sample ladder program according
to the specification of the machine. Moreover, the machine tool builder must
verify the safety of the robot operation enough.
3.5
For details about the sample ladder program for system operation, please refer to the material included in
CD "Robot connection function sample program" (A08B-9510-J550).
CAUTION
The machine tool builder must customize this sample ladder program according
to the specification of the machine. Moreover, the machine tool builder must
verify the safety of the robot operation enough.
CNC Number
The sample ladder program uses K80.2 and K80.3 of the PMC parameter to acquire own CNC number.
Table 3.5(a) PMC parameter for specifying CNC number
PMC parameter
CNC1
CNC2
CNC3
K80.2
K80.3
0
0
1
0
- 28 -
0
1
CNC4
1
1
B-75114EN/02
- 29 -
3.6
B-75114EN/02
The settings about the allocation of PMC data area are executed in the ALLOCATION screen of the robot
connection function setting.
2.
3.
4.
5.
or
2.
3.
4.
5.
or
- 30 -
B-75114EN/02
2.
Press the vertical soft key [NEXT PAGE] some times until the vertical soft key [ROBOT CON.]
appears.
Press the vertical soft key [ROBOT CON.].
The setting screen of robot connection function is displayed.
3.
4.
Fig. 3.6(c) Setting screen of robot connection function (15 inch display unit)
B-75114EN/02
NOTE
If the value of item "ROBOT DO SIG. PMC ADDR." is changed from the
standard setting, it is necessary to modify the ladder program. For details,
please refer to the material included in CD "Robot connection function sample
program" (A08B-9510-J550).
NOTE
If the value of item "ROBOT DI SIG. PMC ADDR." is changed from the standard
setting, it is necessary to modify the ladder program. For details, please refer to
the material included in CD "Robot connection function sample program"
(A08B-9510-J550).
PMC ADDRESS
BIT
1:R7956
1
1:R7207
4
NOTE
If the value of item POWER ON SIG. PMC ADDR., BIT is changed from the
standard setting, it is necessary to modify the ladder program. For details,
please refer to the material included in CD Robot connection function sample
program(A08B-9510-J550).
CNC
256
- 32 -
512
CNC4
768
B-75114EN/02
OPTION
It is a bit flag for the option setting of the robot connection function.
Bit 0 : ETH
Communication by Ethernet is
not used.
used.
Bit 1 to 7 : Reserved (Please set zero.)
, or
NOTE
Please note the following issues when setting the item "ROBOT DO SIG. PMC
ADDR.", "ROBOT DI SIG. PMC ADDR." and "POWER ON SIG. PMC ADDR.".
1. R address, E address, X address (ROBOT DO SIG. PMC ADDR. and
POWER ON SIG. PMC ADDR. only), and Y address (ROBOT DI SIG. PMC
ADDR. only) can be set.
In case of multi-path PMC, please specify the PMC address like;
<Path number>:<PMC address>.
For example, please specify "2:R500" for R0500 of 2nd path PMC. When the
PMC address only is input like R500, it is processed as the first path PMC
(1:R0500).
If there is no ":" key, "/" or "EOB" key can be used instead.
2. Please input blank (SP) to delete the entered PMC address.
3.7
The robot status is displayed at the right side of the screen on the ROBOT STATUS screen and ROBOT
PROGRAM SELECT screen.
- 33 -
B-75114EN/02
Robot status
The signal name and the value of up to 16 signals are displayed in the robot status.
The signal displayed in this robot status can be changed according to an actual machine.
The procedure to specify the signal type (DI/DO, RI/RO and UI/UO) and number is as follows.
Procedure for displaying ROBOT STATUS screen (10.4 inch display unit)
1.
2.
3.
4.
5.
or
- 34 -
B-75114EN/02
Procedure for displaying ROBOT STATUS screen (7.2/8.4 inch display unit)
1.
2.
3.
4.
5.
or
Procedure for displaying ROBOT STATUS screen (15 inch display unit)
1.
2.
Press the vertical soft key [NEXT PAGE] some times until the vertical soft key [ROBOT CON.]
appears.
Press the vertical soft key [ROBOT CON.].
The setting screen of robot connection function is displayed.
3.
4.
- 35 -
B-75114EN/02
Type
DI
DO
UI
UO
RI
RO
Number of signals
232
216
24
24
8
8
NUMBER
The number of signal displayed in the robot status area can be specified. The range of the number that can
be set according to the selected type is as follows.
Table 3.7(b) Range of number that can be set according to type
Type
Range of number
DI
DO
UI
UO
RI
RO
1 to 256
1 to 256
1 to 24
1 to 24
1 to 8
1 to 8
NOTE
Signal of DI[1] to DI[24] and UI[1] to UI[24] indicate the value of the signal that
CNC outputs to the robot controller. When two or more CNCs are connected
with the robot controller, the value of these signals might be different from the
value of signals in the robot controller because the robot controller exclusively
controls these signals. For details, please refer to 7. INTERFACE BETWEEN
CNC AND ROBOT.
Operation of ROBOT STATUS screen
The procedure of operating the ROBOT STATUS screen is as follows.
- 36 -
B-75114EN/02
Selection of Type
1.
Press the soft key [(OPRT)]. The following soft key is displayed.
10.4/8.4/7.2 inch display unit
15 inch display unit
Fig. 3.7(e) Soft key display of ROBOT STATUS screen
2.
3.
Setting of Number
1.
or
2.
Input the number within the range of selected type, and press MDI key
3.
[INPUT].
The input number is displayed on the screen.
- 37 -
4.SETTING IN ROBOT
B-75114EN/02
SETTING IN ROBOT
In order to interlock CNC and Robot, the following settings are required in the robot controller.
Setting reference position
Setting jog frame
Transfer of I/O comment
Setting alarm message transfer *
Setting step of override change in remote operation *
Setting Program Number Selection (PNS) *
Setting interference prevention space
Setting for CNC Operation screen
Connection retry of data communication *
About the items attached *, it is not need to change the default setting to use this function. If necessary,
change these settings.
4.1
In the ladder program provided by this function, the robot program can be started by CNC only when the
robot is in the reference position 1. In order to execute the robot program interlocking with CNC, the
reference position 1 for the robot must be set in the robot controller. The position that the robot can move
without interference when a robot program is started is required for the reference position of the robot.
Because the robot program is started by CNC repeatedly, any robot programs must be taught so that the
robot starts to move from the reference position and robot ends to move at the reference position.
NOTE
About the explanation for the reference position, refer to FANUC Robot Series
R-30iA Controller HANDLING TOOL OPERATORS MANUAL or FANUC Robot
Series R-30iA Mate CONTROLLER LR HANDLING TOOL OPERATORS
MANUAL.
If you modify the ladder program in the robot controller, above limitations can be changed. For example,
it is possible to start the robot program even if the robot is not the reference position, or it is possible to
start the robot program when the robot is the reference position 2 or 3. About how to modify the ladder
program in the robot controller, refer to 10. ROBOT LADDER PROGRAM
- 38 -
4.SETTING IN ROBOT
B-75114EN/02
REF POSN
No.
1
2
3
Enb/Dsbl
DISABLE
DISABLE
DISABLE
[ TYPE ]
@Pos
FALSE
FALSE
FALSE
DETAIL
1/3
Comment
[
[
[
]
]
]
ENABLE
DISABLE
5
6
1/13
1
+/+/+/+/+/+/-
]
DISABLE
FALSE
DO[
0]
0.000
0.000
0.000
0.000
0.000
0.000
RECORD
7
8
9
10
4.2
Jog frame is a Cartesian coordinate frame defined for robot jog feed operation. Set jog frame in
accordance with the system in order to move the robot by jog feed efficiently. Usually, the machine frame
of the machine tool and the jog frame of the robot do not match. In case that jog frame of the robot does
not match the machine frame of the machine tool, it is difficult to understand the direction that the robot
moves by jog feed. In Jog feed of the robot by remote operation on CNC, the jog frame corresponding to
CNC number is used. For example, the remote jog feed by CNC 2 uses the jog frame 2.
Set the jog frames from jog frame 1 to jog frame 4 so that the jog frame matches the machine frame of the
machine tool attached each CNC. The following explains how to set jog frame 1.
- 39 -
4.SETTING IN ROBOT
B-75114EN/02
NOTE
About the detail of jog frame and how to set jog frame, refer to FANUC Robot
Series R-30iA Controller HANDLING TOOL OPERATORS MANUAL or
FANUC Robot Series R-30iA Mate CONTROLLER LR HANDLING TOOL
OPERATORS MANUAL.
Y
0.0
0.0
0.0
0.0
0.0
/ Direct Entry
1/5
Z
Comment
0.0 [
0.0 [
0.0 [
0.0 [
0.0 [
]
]
]
]
]
CLEAR SETIND
7
8
9
10
Set the cursor to the jog frame number that you want to set.
Press DETAIL (F2).
Press METHOD (F3).
Select Direct Entry in the displayed menu.
SETUP Frames
Jog Frames
Frame Number:
1
1 Comment:
2 X:
3 Y:
4 Z:
5 W:
6 P:
7 R:
Configuration:
[ TYPE ]
DETAIL
Direct Entry
[ OTHER ]
0.000
0.000
0.000
0.000
0.000
0.000
N D B, 0, 0, 0
MOVE_TO
11
12
- 40 -
1/7
RECORD
4.SETTING IN ROBOT
B-75114EN/02
4.3
In this function, it is possible to display the I/O status in the robot controller to the screen on CNC. And it
is possible to display the I/O comments in the robot controller to the screen on CNC by sending the I/O
comments in the robot controller to CNC.
The comments for UI/UO, RI/RO and DI/DO in the robot controller can be send to CNC by
communication. In order to send I/O comments to CNC, data communication between CNC and the robot
is required. About setting for the communication between CNC and the robot, refer to 2.
CONNECTION OF CNC AND ROBOT .
In order to send I/O comments to CNC, manual operation in the robot controller is needed. When I/O
comment is modified, the modified comment is not send to CNC without manual operation.
Note that all CNCs connected by Ethernet will get the I/O comment, regardless of the value of CNC to
be connected.
1/4
[ TYPE ]
<Execute>
:
1
: FL-net
:
[ 10]
:
DISABLE
:
DISABLE
[ OTHER ]
Set the cursor to < Execute > of the item Send I/O Comments to CNC, then press ENTER key to
send I/O comments. It is possible to cancel to send I/O comments by PREV key.
Select ALL or UPDATE by the function key. ALL means that all I/O comments are send to CNC,
and UPDATE means that only the I/O comments modified after last sending are send to CNC. It is
possible to cancel to send I/O comments by PREV key.
NOTE
Please send ALL comment if comments are modified by means other than editing
on teach pendant.
4.4
When the communication between CNC and the robot is available, the message for the alarm occurring in
the robot controller can be displayed in the ROBOT STATUS screen on CNC. There are following 2
setting about the alarm message transfer.
- 41 -
4.SETTING IN ROBOT
Setting
Enable/Disable the
alarm message
transfer
Selection of the kind
of the alarm to
transfer.
B-75114EN/02
When the alarm message transfer is enabled, up to 4 alarm messages are displayed on
CNC. When the alarm message transfer is disabled, the alarm message for the robot is
not displayed on CNC. The default setting is Enable.
Select whether the alarm which severity is WARN is displayed on CNC or not, and select
whether the cause code of the alarm is displayed on CNC or not. In default setting, both
the display of the warning and the display of the cause code are disabled.
[ TYPE ]
DETAIL
1/4
]
]
]
]
[ OTHER ]
Set the cursor to the client tag that you want to set, then press DETAIL (F2) key. The following
screen is displayed.
Setup Machine I/F
MTCOM CNC : 1
1/5
Client Tag C1 :
1 Host Name :
2 Alarm Output
3 Send Warning
4 Send Cause Code
5 Connection retry
[ TYPE ]
LIST
PREV
:
:
:
:
CNC1
Enable
Disable
Disable
Disable
NEXT
Select Enable or Disable about the item Alarm Output, Send Warning and Send Cause Code.
Followings are the description of the setting items.
- 42 -
4.SETTING IN ROBOT
B-75114EN/02
Setting item
Alarm Output
Send Warning
Send Cause Code
If Enable is selected in this item, up to 4 alarm messages are send to CNC when alarm
occurs and the alarms are reset in the robot controller. The default setting is Enable.
If Enable is selected in this item, the message of the alarm which severity is WARN is
send to CNC. The default setting is Disable.
If Enable is selected in this item, the cause code of the alarm is send to CNC. The
default setting is Disable.
4.5
PREV (F3)
NEXT (F4)
It is possible to change the speed override to move the robot by the remote operation on CNC. In default
setting, the step of override change is 10%. It is possible to change the step of override change.
1/4
[ TYPE ]
<Execute>
:
1
: FL-net
:
[ 10]
:
DISABLE
:
DISABLE
[ OTHER ]
5
6
4.6
In this function, the robot program is started from CNC by Program Number Selection function in the
robot controller. In the program number selection function, there are following 3 setting items.
- 43 -
4.SETTING IN ROBOT
B-75114EN/02
Job Prefix
Base Number
Acknowledge pulse width
Do not change Jog Prefix and Base Number in case that the provided ladder program is used. If Base
Number is changed, the robot program selected in CNC is not started correctly. If the Acknowledge pulse
width is changed, the robot ladder program does not work correctly. Only Job Prefix can be change.
When the Job Prefix is changed, modify the program name using new prefix string.
4.7
In case that the machine tool and the robot are interlocked, it is required that the robot cannot enter into
the machine tool while the machine tool is working. On the other hand, it is required that the machine tool
cannot work while the robot enters into the machine tool. This function realizes this mutual interference
prevention by defining the interference prevention signals between CNC and the robot and controlling
these signals appropriately.
In the robot controller, some methods to output the signal to prevent the interference are prepared. For
example, the robot program can check the signal for the machine tool working and output the signal that
indicates that the robot is in the machine tool. And the robot controller can output signal to prevent
interference by the interference prevention space function.
This section describes the setting for interference prevention space function. In interference prevention
space function, the robot cannot enter into the designated area unless the interference prevention input
signal is turned on, and the robot turns off the interference output signal while the robot is in that area.
NOTE
1. About interference prevention space function, refer to FANUC Robot series
R-30iA CONTROLLER HANDLING TOOL OPERATORS MANUAL or FANUC
Robot series R-30iA Mate CONTROLLER LR HANDLING TOOL
OPERATOORS MANUAL.
2. When North America setting (A05B-2500-R650) is ordered, this function is an
option. It is required to order Space Check (A05B-2500-J609).
Procedure to set interference prevention space function
1
2
3
4
[ TYPE ]
GROUP
DETAIL
ENABLE DISABLE
- 44 -
4.SETTING IN ROBOT
B-75114EN/02
Rectangular Space
DETAILED SCREEN
1/7
SPACE :1
GROUP :1
USAGE : Common Space
1 ENABLE/DISABLE: DISABLE
2 Comment:
[
]
3 Output Signal:
DO [
0]
4 Input Signal:
DI [ 0]
5 Priority:
High
6 Inside/Outside:
Inside
7 Common Space Num:
0
[ TYPE ]
SPACE
SETUP
ENABLE DISABLE
6
7
8
9
4.8
In case that you want to define the signals in accordance with 7.4 Other interface signals, set 105
to the item Output Signal, then set 105 to the item Input Signal.
In order to set the space, press SPACE (F2) to display Space Setup screen. In this screen, set the
interference prevention space. There are following two methods to set the interference prevention
space.
a. Move the cursor to each item and enter the coordinate value by numeric keys.
b. Move the robot to the vertex of the rectangular, then, press RECORD (F5) with shift key to
record the robot position.
After setting the space, press PREV key to return to the Detail screen.
Press PREV key again to return to the List screen.
In CNC operation screen on the robot teach pendant, it is possible to operate jog feed of the machine tool
and input tool offset data of CNC. In order to execute these operations, it is need to enable each operation
in Machine interface screen beforehand.
Furthermore, in order to execute jog feed of the machine tool on CNC operation screen, it is need to set
keep relay K0001.0 in PMC to 1 to enable signal process for the machine tool operation.
Procedure to set
1
2
3
4
- 45 -
4.SETTING IN ROBOT
B-75114EN/02
1/4
[ TYPE ]
[ OTHER ]
<Execute>
:
1
: FL-net
:
[ 10]
:
DISABLE
:
DISABLE
ENABLE
DISABLE
5
6
7
8
In order to execute machine tool operation, set keep relay in PMC by the following procedure.
9
10
11
12
PMC<RUNNING>
X Byte
Addr. Symbol 7 6 5 4 3 2 1 0
X0000
00000000
X0001
00000000
X0002
00000000
X0003
00000000
X0004
00000000
X0005
00000000
X0006
00000000
X0007
00000000
X0008
00000000
X0009
00000000
Comment:
[ TYPE ]
[ DATA ]
[ FUNC ]
:
:
:
:
:
:
:
:
:
:
PMC<RUNNING>
X Bit
Address Symbol Port Name
X0000.1 DI1
DI[1]
X0000.2 DI2
DI[2]
X0000.3 DI3
DI[3]
X0000.4 DI4
DI[4]
X0000.5 DI5
DI[5]
X0000.6 DI6
DI[6]
X0000.7 DI7
DI[7]
X0001.0 DI8
DI[8]
X0001.1 DI9
DI[9]
X0001.2 DI10 DI[10]
Comment:
X0000.0
Hex Dec
00
0
00
0
00
0
00
0
00
0
00
0
00
0
00
0
00
0
00
0
BIT
[ TYPE ]
[ DATA ]
Byte Format
[ FUNC ]
X0000.0
Value
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
BYTE
Bit Format
Fig. 4.8(b) PMC screen (Data)
13
14
15
If the keep relay in PMC cannot be modified and the message Protected by K17.4 is displayed, enable
to modify data by the following procedure, then modify the keep relay.
13
14
4.SETTING IN ROBOT
B-75114EN/02
PMC<RUNNING>
Parameters
1 Forbid ladder monitor
2 Use Programmer
3 Stop PMC at startup
4 Use standard ladder
5 Change address value
6 Protect data tbl ctl
[ TYPE ]
[ DATA ]
1/6
K17.0: DISABLE
K17.1: ENABLE
K17.2: DISABLE
K17.3: DISABLE
K17.4: DISABLE
K17.7: DISABLE
16
17
18
4.9
If the robot controller attempt to connect CNC but it fails, the robot controller can repeat this action at
some intervals for a specified period. This behavior can be enabled at Machine interface screen
(Communication detail screen). The period of connection retry is three minutes and interval of connection
retry is ten seconds.
Procedure to set
1
2
3
4
5
[ TYPE ]
DETAIL
1/4
]
]
]
]
[ OTHER ]
Set the cursor to the client tag that you want to set, then press DETAIL (F2) key. The following
screen is displayed.
- 47 -
4.SETTING IN ROBOT
B-75114EN/02
1/5
Client Tag C1 :
1 Host Name :
2 Alarm Output
3 Send Warning
4 Send Cause Code
5 Connection retry
[ TYPE ]
LIST
:
:
:
:
PREV
CNC1
Enable
Disable
Disable
Disable
NEXT
- 48 -
B-75114EN/02
5.1
The status of Robot signals and alarms are displayed on the ROBOT STATUS screen.
2.
3.
4.
2.
3.
4.
- 49 -
B-75114EN/02
2.
Press the vertical soft key [NEXT PAGE] some times until the soft key [ROBOT STATUS] appears
on the screen.
Press the vertical soft key [ROBOT STATUS].
The ROBOT STATUS screen is displayed.
3.
4.
Description
Interlock signals between Robot and CNC
- 50 -
Num. Of signals
24
B-75114EN/02
Item
RO
DO
Description
Signals between Robot and its hand unit.
General-purpose signals between Robot and CNC
Num. Of signals
8
216
Description
Interlock signals between Robot and CNC
Signals between Robot and its hand unit
General-purpose signals between Robot and CNC
Num. Of Signals
24
8
232
Press the soft key [(OPRT)]. The following soft keys appear.
2.
Press the soft key of the signals which you will display.
- Soft key [UO/UI]: Interlock signals between Robot and CNC
- Soft key [RO/RI]: Signals between Robot and its hand unit
- Soft key [DO/DI]: General-purpose signals between Robot and CNC
The selected signals are displayed on the screen.
3.
Scrolling
1.
or
or
or
Number searching
1. Press the cursor key
or
2. Input the signal number to search, and press the soft key [NO. SRH].
3. The searched signal is displayed at the top of the list.
5.2
The robot program and NC program can be managed on the ROBOT PROGRAM SELECT screen by
relating each other.
- 51 -
B-75114EN/02
- 52 -
B-75114EN/02
2. The vertical soft key [NEXT PAGE] some times until the soft key [ROBOT SELECT] appears on the
screen.
3. Press the vertical soft key [ROBOT SELECT].
4. The ROBOT PROGRAM SELECT screen is displayed.
- 53 -
B-75114EN/02
or
NOTE
When you modify the setting of selected work group, please select the same
work group again after the modification is finished. By selecting the work group
again, the modified value is notified to CNC and the robot.
or
NOTE
Some consecutive inputs by EOB are not allowed.
Setting of NC program
There are two methods to select NC program.
The setting operation in the ROBOT PROGRAM SELECT screen
The setting operation in the PROGRAM FOLDER screen
- 54 -
B-75114EN/02
, or
3. Then, the program is selected from the foreground folder of the selected CNC path, and memorized to
the work group.
, or
4. The previously-selected current folder and the device will be displayed on the PROGRAM FOLDER
screen.
Please note that the available soft keys depend on the selected device type. And when CNC_MEM,
MEMCARD or DATA_SV is chosen as the device type, soft key [MACHIN SELECT] is
available.
5. Move the cursor to the program you will select, press the soft key [MACHIN SELECT].
6. The selected NC program will be memorized and displayed on the ROBOT PROGRAM SELECT
screen.
- 55 -
B-75114EN/02
NOTE
The soft key [MACHIN SELECT] is displayed on the PROGRAM FOLDER screen
only when entering from the ROBOT PROGRAM SELECT screen.
, or
3. Press the soft key [DELETE], and the following soft keys will appear.
4. If the soft key [EXEC] is pressed, the highlighted data is deleted. If the soft key [CAN] is pressed, the
deletion is canceled.
5.3
The robot can be remotely operated from the ROBOT REMOTE OPERATION screen of CNC.
The ROBOT REMOTE OPERATION screen is provided as a sample program of FANUC PICTURE.
This section describes the operation procedure of the sample ROBOT REMOTE OPERATION screen.
- 56 -
B-75114EN/02
The 8.4 inch REMOTE OPERATION screen is composed of the following three sub screens.
When calling the ROBOT REMOTE OPERATION screen from other CNC screen, the ROBOT
CONNECTION screen is displayed first. And each sub screen can be changed by the corresponding soft
key.
When pressing the soft key +, the soft keys are changed as follows. The definition of each soft key is
same as that of 10.4 inch ROBOT REMOTE OPERATION screen.
- 57 -
B-75114EN/02
Direction of axis
X+, X-, Y+, Y-, Z+, Z-
- 58 -
B-75114EN/02
Coordinate
JOINT
Direction of axis
J1+, J1-, J2+, J2-, J3+, J3-, J4+, J4-, J5+, J5-, J6+, J6-
Press the soft key [CONNE. OPER.] to move the cursor to OFF of CONNECT. OPER. And the
soft keys, ON and OFF appear.
- 59 -
B-75114EN/02
Cursor
2
3
4
Confirm that the robot state is in the INTERLOCK MODE by using the ROBOT STATUS.
Press the soft key [ON] to acquire the remote operation right of the robot.
When the remote operation right is acquired successfully, the highlighted field is changed to ON,
and own CNC number is displayed at CON. CNC.
NOTE
1. To operate Jog / hand / home position/ override, the remote operation right has
to be acquired.
2. The robot can be reset regardless of the remote operation right.
3. If the remote operation right cannot be acquired because the robot is running a
program, or the other CNC has already acquired the remote operation right, the
message, Failed to get control right of robot. is displayed in the message field
at the bottom of the screen.
4. When the machine tool is in the stand-alone mode, the remote operation right
cannot be acquired. (The message Interlock mode signal is off is displayed in
the screen.)
Jog feed
1. Pressing the soft key [JOG] to move the cursor to COORD.
And select the coordinate system by pressing the soft keys XYZ or JOINT.
- 60 -
B-75114EN/02
Cursor
Fig. 5.3 (g) Selecting of the coordinate system for Jog feed
NOTE
The Cartesian coordinate system is selected initially.
2. Select the axis direction by using the Cursor key
or
COORD.
COORD.
X+
J1 +
X-
J1 -
...
...
Z-
J6 -
Cartesian coord.
Joint coord.
NOTE
Just when the cursor is focusing an axis, the coordinate system cannot be
changed.
3. The robot will be moved according to the selected coordinate system and axis direction just while
being pushing "Robot operation button" of a machine operators panel.
- 61 -
B-75114EN/02
NOTE
The soft key is not available while pushing Robot operation button of a machine
operators panel.
Hand operation
1. Press the soft key [HAND] to move the cursor to <Hand operation> as follows.
Cursor
or
1. <Hand operation1
2. <Hand operation2
...
10. <Hand operation10
3. When one of the hand operations is being selected and "Robot operation button" of a machine
operators panel is pushed, the robot will start the corresponding hand operation.
NOTE
The machine tool builder has to customize the contents of the hand operations
according to the actual system.
Press the soft key [HOME POS.] to move the cursor to HOME POSITION as follows.
- 62 -
B-75114EN/02
Cursor
When HOME POSITION is being selected and "Robot operation button" of a machine operators
panel is pushed, the robot will start returning to the home position.
The robot just moves only while the button is being pushed. When the robot reaches the home
position, RBT HOME POS. of ROBOT STATUS becomes ON. So the button has to be kept
pushing until reaching the home position (until "RBT HOME POS." is "ON").
NOTE
When the robot already reached its home position, the robot does not move any
more even if the button is pushed.
Override change
The override of the robot operation speed can be changed by using the soft key [OVERRIDE].
NOTE
When the soft key is pushed once, its changed width of the override value
depends on the setting of the robot controller. Please see 4.5. SETTING STEP
OF OVERRIDE CHANGE.
Robot restart
If the robot stops the execution by some reason and CNC falls into a waiting state, the system can be
restarted by restarting the robot program without restarting the CNC side.
Note that the robot controller must be in a state that CNC can call the robot program. It is typically
required to reset the robot and return the robot to its home position before restarting the robot program
Please refer to "7.1.3 Recovery from Failure of a Robot Program" for detail.
1
2
Check that CON.CNC is 0. (All CNCs do not have the remote operation right of the robot.)
Press the soft key [RE-START], and the cursor will be moved to RESTART as follows.
- 63 -
B-75114EN/02
Cursor
When RESTART is being selected and "Robot operation button" of a machine operators panel is
pushed, the robot will start the current robot program.
NOTE
The robot restart operation can be executed only when all CNCs are releasing
the robot remote operation right.
If another CNC has acquired the remote operation right when the robot restart
operation is executed in this screen, the robot cannot start the robot program.
Robot reset
When the soft key [ROBOT RESET] is pressed, the robot alarms are cleared.
NOTE
The robot reset operation can be executed regardless of the robot remote
operation right.
- 64 -
B-75114EN/02
The CNC screens displayed on the robot teach pendant are as follows
CNC status display screen: CNC actual position of the tool, occurring alarm in CNC and so on are
displayed on the robot teach pendant.
CNC operation screen: Machine tool operation and input of tool offset in CNC can be executed on the
robot teach pendant.
NOTE
In case that the robot does not communicate with CNC by Ethernet, CNC
data cannot be displayed on the robot teach pendant.
In case that the screen on teach pendant is divided, both CNC status display
screens and CNC operation screens can be displayed in only left side
window. If you try to display these screens in other windows, Hint screen is
displayed in that window.
6.1
- 65 -
B-75114EN/02
(1)
(3)
(2)
(4)
Fig. 6.1(b) Screen format
B-75114EN/02
(1)
(2)
(3)
(4)
(5)
Display
MDI
MEM
RMT
EDIT
HND
JOG
INC
REF
TJOG
THND
****
Display
****
STOP
HOLD
STRT
MSTR
(3) This lamp indicates CNC axis moving status, dwell status.
- 67 -
B-75114EN/02
Display
FIN
***
Display
ALM
BAT
Space
About each status display, refer to Common to Lathe System/Machining Center System
OPERATORS MANUAL corresponding to your using CNC.
6.1.1
In CNC actual position screen, current position of the tool in CNC absolute coordinate and position of the
tool in CNC machine coordinate are displayed. Feed rate and spindle speed are displayed, too.
B-75114EN/02
1.
2.
3.
4.
6.1.2
- 69 -
B-75114EN/02
Occurring alarm
Up to 17 alarms occurring in CNC are displayed in this screen.
Up to 8 alarms are displayed at the same time.
6.1.3
In CNC message screen, the operator messages displayed in CNC are displayed.
Operator message
In case that CNC is set not to display the operator message, no message is displayed in this
screen.
In this screen, up to 254 characters can be displayed. The characters after 254th character in the
operator message cannot be displayed in this screen.
6.1.4
B-75114EN/02
Running program
One block of CNC program is displayed in one line. Up to 37 characters can be displayed in
one line.
6.1.5
I/O Screen
In I/O screen, the I/O data connected with CNC are displayed.
- 71 -
B-75114EN/02
2.
DI signal
Signal status and comments of robot input signal (DI) connected with CNC are displayed.
The comments are same as the comments set in I/O screen for the robot controller.
DO signal
Signal status and comments of robot output signal (DO) connected with CNC are displayed.
The comments are same as the comments set in I/O screen for the robot controller.
Change screen
The displayed I/O can be changed by pressing arrow buttons and by input of signal number.
(1)
(3)
(2)
(4)
Fig. 6.1.5(b)
6.2
B-75114EN/02
(1)
(3)
(2)
6.2.1
B-75114EN/02
In Machine tool operation screen, jog feed of the machine tool can be executed on the robot teach
pendant.
Up to 8 axes can be operated by jog feed per one path.
Up to 5 paths can be operated by switching.
Up to 4 machine tools can be operated by switching.
NOTE
The robot controller only processes the signals to execute jog feed of machine
tool according to the operation in this screen. In order to execute jog feed of
machine tool actually, it is required to create the ladder program in CNC to move
axes in the machine tool according to signals from the robot controller. Please
refer to 7.3 MACHINE TOOL OPERATION ON ROBOT TEACH PENDANT
and create the ladder program in CNC.
In order to execute machine tool operation on this screen, the following settings are required.
Enable machine tool operation in machine interface screen.
Set the keep relay K0001.0 in PMC to 1.
About setting method of these settings, please refer to 4.8 SETTING FOR CNC OPERATION
SCREEN.
B-75114EN/02
5.
Change override
While machine tool operation is enabled, override to execute jog feed of machine tool can be selected by
machine operation speed override button among VFine, Low, Medium and High.
In standard setting, following table indicates the override value for each button.
- 75 -
B-75114EN/02
1%
25%
50%
100%
The output value when each button is pressed can be changed by the system variables
$MTSERV_CFG.$OV_VAL[1]~[4].
Table 6.2.1(b) System variables to define override value for each button
Button
System variables
VFine
Low
Medium
High
$MTSERV_CFG.$OV_VAL[1]
$MTSERV_CFG.$OV_VAL[2]
$MTSERV_CFG.$OV_VAL[3]
$MTSERV_CFG.$OV_VAL[4]
When Machine tool operation screen is displayed, or when selected CNC or path is changed, VFine is
selected automatically.
When the selection of override is changed during machine tool operation, machine tool operation is
stopped.
2.
Select axis and direction for jog feed of machine tool by pressing + or - button in the right side
of position data of each axis. Two or more buttons in these buttons cannot be pressed
simultaneously.
Press M.JOG (F5) key while the shift key is pressed on the robot teach pendant.
NOTE
M.JOG button in machine tool operation screen is not available. Please press
F5 key on the robot teach pendant to operate jog feed.
3.
When the jog feed of the machine tool is executed for the first time after machine tool operation
screen is displayed or the selected CNC or path is changed, the following pop-up dialog box is
displayed to confirm the CNC and Path.
4.
Confirm CNC and path displayed in pop-up dialog box. If CNC and path that you want to operate is
displayed in pop-up dialog box, press YES button. Then, press M.JOG (F5) key while the shift
key is pressed again. If CNC or path is different form CNC or path that you want to operate, press
NO button and select correct CNC and path.
- 76 -
B-75114EN/02
It is possible not to display this pop-up dialog box by setting the system variable. In case that the
system variable $MTSERV_CFG.$JOG_CONFIRM is TRUE, pop-up dialog box is displayed. If the
system variable $MTSERV_CFG.$JOG_CONFIRM is FALSE, pop-up dialog box is not displayed
and the signals for jog feed of the machine tool are output without confirmation.
5.
While the jog feed of machine tool is executed, axis and direction for jog feed cannot be changed. In
order to change axis and direction for jog feed, stop the jog feed and then change axis and direction
for jog feed.
6.2.2
In tool offset screen, tool offset data used in CNC can be input on the robot teach pendant.
Tool offset data in CNC for machining center system and tool offset data in CNC for lathe system are
different. And the required tool offset is different by the option configuration in CNC. In tool offset
screen, the required tool offset data are displayed according to type of CNC.
In order to set tool offset data in this screen, it is needed to set Tool offset data changing to ENBALE in
Machine interface screen in SETUP menu. If Tool offset data changing is set to DISABLE, the back
surface of tool offset data in this screen is gray. Tool offset data that back surface is gray cannot be set.
- 77 -
B-75114EN/02
Fig. 6.2.2(b) Tool offset screen (Machining center system / Tool offset memory A)
- 78 -
B-75114EN/02
Fig. 6.2.2(c) Tool offset screen (Machining center system / Tool offset memory B)
Fig. 6.2.2(d) Tool offset screen (Machining center system / Tool offset memory C)
Lathe system
In CNC for lathe system, the tool offset screen is decided by tool geometry/wear compensation in CNC.
B-75114EN/02
Fig. 6.2.2(e) Tool offset screen (Lathe system / Tool geometry/wear compensation is disabled)
When OFFSET2 button is pressed, Y-axis offset data are displayed. In case that Y-axis offset is
disabled in CNC, OFFSET2 button is not displayed.
Fig. 6.2.2(f) Tool offset screen (Lathe system / Tool geometry/wear compensation is disabled)
B-75114EN/02
Fig. 6.2.2(g) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
Alphabet W in the left of tool offset number represents the wear offset data, and G represents the
geometry offset data. In case that these alphabets are not displayed in the tool offset data display by
setting in CNC, these alphabets are not displayed in this screen, too. When setting for display of W and
G is modified in CNC while tool offset screen is displayed on the robot teach pendant, please press
REFRESH key on the robot teach pendant to reflect the setting in CNC.
In order to display tool offset data to set, change the screen by the buttons under side of screen. The
button corresponding to current screen is green. Table 6.2.2(a) shows the tool offset data displayed by
each button.
Button
WEAR
WEAR2
GEOMETRY
GEOMETRY2
2ND GEOM
- 81 -
B-75114EN/02
Fig. 6.2.2(h) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
Fig. 6.2.2(i) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
- 82 -
B-75114EN/02
Fig. 6.2.2(j) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
Fig. 6.2.2(k) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
- 83 -
B-75114EN/02
Fig. 6.2.2(l) Tool offset screen (Lathe system / Tool geometry/wear compensation is enabled)
In case that tool offset for milling and turning function is enabled
In case that tool offset for milling and turning function is enabled, the following tool offset data are
displayed in tool offset screen.
X-axis wear offset data
Y-axis wear offset data
Z-axis (tool length) wear offset data
X-axis geometry offset data
Y-axis geometry offset data
Z-axis (tool length) geometry offset data
Tool nose radius (tool radius) wear offset data (When tool nose radius offset is enabled in CNC)
Tool nose radius (tool radius) geometry offset data (When tool nose radius offset is enabled in CNC)
Direction of imaginary tool nose (T) (When direction of imaginary tool nose is enabled in CNC)
Fig. 6.2.2(m) Tool offset screen (Tool offset for milling and turning function is enabled)
- 84 -
B-75114EN/02
Alphabet W in the left of tool offset number represents the wear offset data, and G represents the
geometry offset data. In case that these alphabets are not displayed in the tool offset data display by
setting in CNC, these alphabets are not displayed in this screen, too. When setting for display of W and
G is modified in CNC while tool offset screen is displayed on the robot teach pendant, please press
REFRESH key on the robot teach pendant to reflect the setting in CNC.
When OFFSET2 button is pressed, Y-axis wear offset data and Y-axis geometry offset data are
displayed.
Fig. 6.2.2(h) Tool offset screen (Tool offset for milling and turning function is enabled)
The unit and decimal place of tool offset data in this screen are decided by setting in CNC.
The setting range corresponding to the unit and decimal place of tool offset data are as follows.
Table 6.2.2(b) Setting range corresponding to decimal place (Metric input)
Decimal place
Setting range
2 decimal places
3 decimal places
4 decimal places
5 decimal places
6 decimal places
-9999.99mm
-9999.999mm
-9999.9999mm
-9999.99999mm
-999.999999mm
- 85 -
~
~
~
~
~
+9999.99mm
+9999.999mm
+9999.9999mm
+9999.99999mm
+999.999999mm
B-75114EN/02
-999.999inch
-999.9999inch
-999.99999inch
-999.999999inch
-99.9999999inch
~
~
~
~
~
+999.999inch
+999.9999inch
+999.99999inch
+999.999999inch
+99.9999999inch
In case that the setting Tool offset data change in Machine interface screen is set to DISABLE, all
tool offset data in tool offset screen cannot be modified. The back surface of all tool offset data is
gray.
Tool offset data restricted to modify by Setting the tool offset value by MDI key input in CNC
cannot be modified in this screen. The back surface of tool offset data restricted to modify is gray.
NOTE
The back surface of the tool offset data that is restricted to modify is gray. But, in
the following cases, the back surface of the tool offset data that is restricted to
modify may not be gray. In these cases, please press REFRESH (F4) key in
the tool offset screen in order to update the screen.
While tool offset screen is displayed, setting of Tool offset data changing is
modified in Machine interface screen.
While tool offset screen is displayed, setting of Setting the tool offset value
by MDI key input in CNC is modified.
When NO. SRC button is pressed and the tool offset number is input, the tool offset that the
number is input are displayed at the head of the screen. The maximum number of tool offset number
in this screen is same as the maximum number of tool offset number in CNC.
When Prev. button is pressed, previous page is displayed. In case that Prev. button is pressed
when first page is displayed, the last page is displayed.
When Next button is pressed, next page is displayed. In case that Next button is pressed when
last page is displayed, the first page is displayed. The maximum number of tool offset number in this
screen is same as the maximum number of tool offset number in CNC.
- 86 -
B-75114EN/02
In this function, the signals used for interaction between CNC and the robot are defined as the standard
interface signal.
In CNC, the standard interface signals are assigned into the data area for robot connection function in
PMC data area. In the robot, the standard interface signals are assigned into PMC area automatically.
The ladder programs to interlock CNC and the robot through the standard interface signals are provided
to both CNC and the robot. The standard interface signals and the ladder programs realize the following
functions.
7.1
In order to interlock NC Program and the robot program, the robot program is started by the request in
NC Program.
1. The robot program designated by CNC is executed by the start request issued in NC Program.
2. After the robot program is started, NC Program waits until the robot program ends.
3. CNC goes forward the step of NC Program after CNC receives the signal that notifies the
completion of the robot program.
NC Program
Robot Program
Program Start
(Wait)
Program End
Program Start
(Wait)
Program End
In order to shorten the down time of the machine tool, the starting method that the robot program is
started before machining in the machine tool is ended and keeps waiting for the end of machining is used
commonly. This starting method is called "Overlap start".
In overlap start, Service Call signal and Service completed signal to interlock between NC Program and
the robot program are used in addition to the signals needed for the program start. The robot program for
- 87 -
B-75114EN/02
overlap start is divided into three parts, which are pre-service, service and post-service. Sequence of
overlap start is shown below.
1
NC Program issue Program Call signal prior to machining process completed. Specified Robot
Program is launched.
2
This robot program processes the pre-service task and waits for Service Call signal.
3
NC Program issue Service Call signal when machining process is completed. NC Program waits for
Service Completed signal.
4
Robot Program continues and processes the service task and issue Service Completed signal at the
end of the service task.
5
NC Program receives Service Completed signal and continues.
6
Robot Program processes the post-service task. In overlap start, Robot Program does not issue
Completed signal at the end of the robot program.
NC Program
Robot Program
Program Start
Service Call
(Wait)
(Wait)
Service Completed
Program Call
Service Call
(Wait)
(Wait)
Service Completed
7.1.1
In order to interlock NC Program and the robot program, the following signals in the standard interface
signals are used.
This section describes the interface signals in case that only one CNC is connected to the robot controller.
About the interface signals in case that two or more CNCs are connected to the robot controller, refer to
7.1.5 Connection between Multiple CNCs and Robot.
The CNC signal address in the following tables is the address in the robot interface area which is
independent on communication protocol and the CNC number, and the address in case that the standard
setting value is used without change. About the detail of the robot interface area, refer to 3.2 DATA
AREA OF ROBOT CONNECTION FUNCTION.
- 88 -
B-75114EN/02
R7232.0
R7232.1
R7232.2
R7232.3
R7232.4
R7232.5
R7233.0
R7233.1
R7233.2
R7233.3
R7233.4
R7233.5
R7233.6
R7233.7
R7235.0
R7235.1
R7235.2
R7235.3
R7236.1
R7236.2
R7245.1
R7245.6
R7200.0
R7200.1
R7200.2
R7200.3
R7200.4
R7200.5
R7200.6
R7200.7
R7201.0
R7201.1
R7201.2
R7201.3
R7201.4
R7201.5
R7201.6
R7201.7
R7202.0
R7202.1
R7202.2
R7207.0
R7207.1
R7207.2
R7207.3
R7207.5
R7207.6
R7207.7
R7208.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
57
58
59
60
62
63
64
65
R7208.4
R7208.5
R7208.6
R7213.1
69
70
71
106
1
2
3
4
5
6
9
10
11
12
13
14
15
16
25
26
27
28
34
35
106
111
*IMSTP
*Hold
*SFSPD
Cycle stop
Fault reset
Start
PNS1
PNS2
PNS3
PNS4
PNS5
PNS6
PNS7
PNS8
Service Type 1
Service Type 2
Service Type 3
Service Type 4
Interlock Mode
Program Call
Service Call
Cycle Stop
Command enabled
System ready
Program running
Program paused
Motion held
Fault
At perch
TP enabled
Battery alarm
Busy
SNO1
SNO2
SNO3
SNO4
SNO5
SNO6
SNO7
SNO8
SNACK
Program Reply 1
Program Reply 2
Program Reply 3
Program Reply 4
Maintenance State
Service State
Machine Interlock Mode
Remote Operation
Mode
Not Ready
Ready
Completed
Service Completed
In CNC sample ladder, this signal is always ON, or the output of this signal is coupled with the
emergency stop of CNC. These two specifications are switched by the setting of PMC parameter.
In the robot ladder program, the status of this signal is input in peripheral I/O UI[1].
B-75114EN/02
When reset operation is executed in the ROBOT REMOTE OPERATION screen on CNC, CNC
sample ladder turns on this signal for 200ms.
In the robot ladder program, the status of this signal is input in peripheral I/O UI[5]. In addition, if
the following condition is satisfied, the status of this signal is input in peripheral I/O UI[4] at the
same time.
In CNC ladder program, when the robot program number is selected in the ROBOT PROGRAM
SELECT screen on CNC, the robot program number is output by binary code through these signals.
The value of output program number is preserved even if the power of CNC is turned off.
In the robot ladder program, the status of these signals are input in peripheral I/O UI[9] to UI[16].
CNC sample ladder outputs the service type to request of the robot controller by binary code through
these signals before turns on Program Call signal.
In the robot ladder program, these signals are read by binary code, then set to group I/O GI[1]. It is
required to create the robot program so that the service type designated by these signals is executed.
In CNC sample ladder, while CNC is interlock mode, this signal is ON.
The robot ladder program responds to only the request from CNC in which this signal is ON. The
request from CNC in which this signal is OFF is ignored.
When the robot program number is selected in ROBOT PROGRAM SELECT screen on CNC, the
robot program number is output to the signal PNS1 to 8.
In CNC sample ladder, this signal is turned on after Service Type signals are turned on in order to
start the robot program.
In the robot ladder program, when the conditions to start the robot program are satisfied, this signal
is input to peripheral I/O UI[17] and UI[18] in order to start the robot program.
In the system that both NC Program and the robot program are executed in parallel, the work
exchange motion of robot is interlocked with the machine work by this signal. For detail, refer to
7.1.4 Overlap Start.
In CNC sample ladder, this signal is turned on and off by pressing cycle stop button on machine
operators panel. If this signal is ON when the work exchange request is output to the robot
controller, the program cycle is terminated. When not the work exchange request but the work
unload request is output to the robot controller, CNC is reset and rewound, and the process is ended
after the robot operation is completed.
In the robot ladder program, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[1] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[2] is output to this signal.
- 90 -
B-75114EN/02
In the robot ladder program, the status of peripheral I/O UO[3] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[4] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[5] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[6] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[7] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[8] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[9] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[10] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, the status of peripheral I/O UO[11] to DO[18] are output to these
signals.
CNC reads these signals by binary code, and displays the value to Robot Program Number in
ROBOT REMOTE OPERATION screen.
In the robot ladder program, the status of peripheral I/O UO[19] is output to this signal.
In CNC sample ladder, this signal is not used.
In the robot ladder program, in case that the robot program cannot be started when the program start
request is received from CNC, or the robot program is not ended successfully, the binary code to
represent the cause of the failure is output through these signals. These signals are turned off when
Fault reset signal is input from CNC.
CNC reads these signals by binary code, and display the value to the item ROBOT START
RESULT in ROBOT REMOTE OPERATION screen.
Table 7.1.1 Program reply signal
Reply 1
Reply 2
Reply 3
Reply 4
Reply 5
Reply 6
- 91 -
B-75114EN/02
In the robot ladder program, this signal is output if the following conditions are satisfied.
- Mode switch on the robot controller is set to T1 or T2 mode.
- Teach pendant of the robot controller is enabled.
In CNC sample ladder, this signal is not used.
In the robot ladder program, this signal is output if the following conditions are satisfied.
- Mode switch on the robot controller is set to AUTO mode.
- Teach pendant of the robot controller is disabled.
If this signal is turned off while CNC can operate the robot by remote operation, CNC ladder
program turns off Remote Operation Request signal to release the right for the remote operation.
In the robot ladder program, while the following conditions for machine interlock mode are satisfied,
this signal is ON.
- Service State signal is ON.
- CNC connected to the robot controller does not perform the remote operation.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while the following conditions for remote operation mode are satisfied,
this signal is ON.
- Service State signal is ON.
- CNC connected to the robot controller performs the remote operation.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while the following conditions are satisfied and Machine Interlock
Mode signal is ON, this signal is ON.
- Completed signal is OFF.
- The peripheral I/O UO[1] (Command Enable) in the robot controller is OFF.
- The peripheral I/O UO[7] (Reference position) in the robot controller is OFF.
- The peripheral I/O UO[10] (Busy) in the robot controller is OFF.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while the following conditions are satisfied and Machine Interlock
Mode signal is ON, this signal is ON.
- Completed signal is OFF.
- The peripheral I/O UO[1] (Command Enable) in the robot controller is ON.
- The peripheral I/O UO[7] (Reference position) in the robot controller is ON.
- The peripheral I/O UO[10] (Busy) in the robot controller is OFF.
In CNC sample ladder, this signal is not used.
In the robot ladder program, when the robot program started by the request from CNC is ended
successfully, this signal is turned on. If the robot program cannot be started by any reason, or the
robot program is ended abnormally, this signal is not turned on. When this signal is turned on, if
Program Call signal is ON, this signal is turned off when Program Call signal is turned off. When
the robot program is ended normally, if Program Call signal is OFF, this signal is not turned on. This
signal is turned off when Program Call signal is input from CNC is turned off.
Because CNC sample ladder detects the end of the robot program execution by this signal, when this
signal is turned on, CNC sample ladder operates the door of machine tool and indicates the
performance of FIN to CNC.
In the system that both NC Program and the robot program are executed in parallel, the work
exchange motion of robot is interlocked with the machine work by this signal. For detail, refer to
7.1.4 Overlap Start.
- 92 -
B-75114EN/02
NOTE
About peripheral I/O in the robot controller, refer to FANUC Robot series R-30iA
CONTROLLER HANDLINGTOOL OPERATORS MANUAL or FANUC Robot
series R-30iA Mate CONTROLLER LR HANDLINGTOOL OPERATORS
MANUAL.
7.1.2
Process in CNC
When the robot program number is selected in ROBOT PROGRAM SELECT screen on CNC, the
selected program number is output by PNS 1 to 8 signals.
When M code is executed in NC Program, the request for the robot operation is output by Service
Type 1 to 4 signals according to the kind of M code and the state of cycle stop signal.
0
1
1
0
0
0
4
0
0
0
About the request for the robot operation that outputs to the robot controller according to M code
and Cycle Stop signal, refer to 8. NC PROGRAM.
The Program Call signal is turned on after Service Type signals are output.
The robot ladder program starts the robot program when the robot controller receives the PNS
signals, Service Type 1 to 4 signals, and Program Call signal.
It is required to create a robot program to execute the requested operation according to Service Type
signals.
When the execution of the robot program is ended normally, Completed signal is turned on.
Signal sequence
The signal sequence to start the robot program by CNC is as follows.
- 93 -
Robot :
B-75114EN/02
PNS1 to 8
Service Type 1 to 4
Program Call
Robot
CNC :
Completed
(1)
(2)
(3)
(1) When the robot program number is selected in ROBOT PROGRAM SELECT
screen on CNC, the value of the robot program number is set to PNS 1 to 8.
(2) When M code is executed in CNC program, CNC ladder program outputs Service
Type signals according to the request to the robot, and turns on Program Call
signal. The robot controller reads Service Type signals when robot Program Call
signal is turned on, and executes the requested operation.
(3) When the robot completes the requested operation, Completed signal is turned on.
When Completed signal is turned on, CNC ladder program is turned off Program
Call signal, and input FIN to CNC. In the robot controller, when Program Call
signal is turned off, Completed signal is turned off.
When the robot program execution is ended because the last line in the robot program has been
executed normally.
When the robot program execution is ended because the END instruction in the robot program has
been executed.
In the following case, Completed signal is not output even if the robot program execution is ended.
When the robot program execution is aborted by selecting Abort in the menu displayed by
pressing FCTN key on the robot teach pendant.
When the robot program execution is aborted because the ABORT instruction in the robot program
has been executed.
When the robot program execution is aborted by input of peripheral signal UI[4] (CSTOPI).
When the robot program execution is aborted by the alarm which severity is more serious than
STOP.L.
When the paused program is aborted because any other program is selected in case that the multi
program selection is disabled.
7.1.3
If the robot program cannot be started or the execution of the robot program is ended abnormally,
Completed signal is not turned on and Program Reply signals are output in order to notify the cause to
CNC. This state is that the robot program is aborted and the NC program is waiting for Completed signal.
The system operation can be continued by restarting the robot program without restarting the NC program.
If restarted robot program ended successfully, Completed signal will be turned ON and NC program can
resume.
Note that in case the robot program is not aborted but is paused, this method cannot be applied. Paused
robot program must be aborted by Reset operation (described below) or manual operation using the teach
pendant.
Recovery procedure from failure of a robot program is following:
1. Eliminate errors and issue Fault reset signal from CNC.
- 94 -
B-75114EN/02
2.
3.
7.1.4
Overlap Start
In order to shorten the down time of the machine tool, the starting method that the robot program is
started before machining in the machine tool is ended and keeps waiting for the end of machining is used
commonly. This starting method is called Overlap start. In overlap start, Service Call signal and Service
completed signal to interlock between NC Program and the robot program are used in addition to the
signals needed for the program start.
In NC Program, M code to notify the overlap start is executed before machining is ended.
In the robot program, robot is moved to the position near the machine tool, and waits for input of
Service Call signal from CNC.
In NC Program, M code to request to exchange the work piece is executed when machining is ended,
and Service Call signal is output to the robot controller.
When the robot program receives Service Call signal, waiting for Service Call signal is released, and
the requested operation is executed.
NC Program waits for input of Service Completed signal from the robot controller.
When the robot goes outside the machine tool after the operation inside the machine tool, the robot
controller output Service Completed signal to CNC in order to release waiting in NC Program.
Signal sequence
In overlap start, the signal sequence to start the robot program by CNC is as follows.
- 95 -
B-75114EN/02
Robot
(1)
(2)
(3)
(1) In NC program, when M code (M62) to notify the overlap start is executed,
CNC sample ladder output the kind of request operation to Service Type 1 to 4
signals, and turns on Program Call signal, inputs FIN to CNC immediately.
The robot controller reads Service Type signals when Program Call signal is
turned on, the robot moves to the position near the machine tool.
(2) In NC program, when machining is ended, M code to request the robot of the
work exchange is executed, and CNC sample ladder turns on Service Call
signal. In the robot program, the requested operation is executed when Service
Call signal is turned on.
(3) In the robot program, when the requested operation is ended, Service
Completed signal is turned on. In CNC sample ladder, when Service
Completed signal is turned on, Program Call signal and Service Call signal is
turned off, and input FIN to CNC. In the robot program, when Service Call
signal is turned off, Service Completed signal is turned off.
7.1.5
Interface signal
In case that the robot is connected with two or more CNCs, the interface signals in the robot controller are
extended according to the number of CNC. The signals for each CNC are same as the signals described in
7.1.1 Interface Signal to Interlock Program. Only the signal number in each CNC is different. The
signal number in each CNC is as follows.
NOTE
It is need to set the number of the connected CNC with the robot beforehand.
Refer to 2. CONNECTION BETWEEN CNC AND ROBOT
Form CNC to the robot controller
Name of signal
*IMSTP
*Hold
*SFSPD
Cycle stop
Fault reset
Start
PNS1
PNS2
PNS3
PNS4
PNS5
PNS6
PNS7
CNC1
Signal number
DI[1]
DI[2]
DI[3]
DI[4]
DI[5]
DI[6]
DI[9]
DI[10]
DI[11]
DI[12]
DI[13]
DI[14]
DI[15]
CNC2
Signal number
DI[257]
DI[258]
DI[259]
DI[260]
DI[261]
DI[262]
DI[265]
DI[266]
DI[267]
DI[268]
DI[269]
DI[270]
DI[271]
- 96 -
CNC3
Signal number
DI[513]
DI[514]
DI[515]
DI[516]
DI[517]
DI[518]
DI[521]
DI[522]
DI[523]
DI[524]
DI[525]
DI[526]
DI[527]
CNC4
Signal number
DI[769]
DI[770]
DI[771]
DI[772]
DI[773]
DI[774]
DI[784]
DI[785]
DI[786]
DI[787]
DI[788]
DI[789]
DI[790]
B-75114EN/02
Name of signal
PNS8
Service Type 1
Service Type 2
Service Type 3
Service Type 4
Interlock Mode
Program Call
Service Call
CNC1
Signal number
CNC2
Signal number
CNC3
Signal number
CNC4
Signal number
DI[16]
DI[25]
DI[26]
DI[27]
DI[28]
DI[34]
DI[35]
DI[106]
DI[272]
DI[281]
DI[282]
DI[283]
DI[284]
DI[290]
DI[291]
DI[362]
DI[528]
DI[537]
DI[538]
DI[539]
DI[540]
DI[546]
DI[547]
DI[618]
DI[791]
DI[793]
DI[794]
DI[795]
DI[796]
DI[802]
DI[803]
DI[874]
Command enabled
System ready
Program running
Program paused
Motion held
Fault
At perch
TP enabled
Battery alarm
Busy
SNO1
SNO2
SNO3
SNO4
SNO5
SNO6
SNO7
SNO8
SNACK
Program Reply 1
Program Reply 2
Program Reply 3
Program Reply 4
Maintenance State
Service State
Machine Interlock Mode
Remote Operation Mode
Not Ready
Ready
Completed
Service Completed
CNC1
Signal number
CNC2
Signal number
CNC3
Signal number
CNC4
Signal number
DO[1]
DO[2]
DO[3]
DO[4]
DO[5]
DO[6]
DO[7]
DO[8]
DO[9]
DO[10]
DO[11]
DO[12]
DO[13]
DO[14]
DO[15]
DO[16]
DO[17]
DO[18]
DO[19]
DO[57]
DO[58]
DO[59]
DO[60]
DO[62]
DO[63]
DO[64]
DO[65]
DO[69]
DO[70]
DO[71]
DO[106]
DO[257]
DO[258]
DO[259]
DO[260]
DO[261]
DO[262]
DO[263]
DO[264]
DO[265]
DO[266]
DO[267]
DO[268]
DO[269]
DO[270]
DO[271]
DO[272]
DO[273]
DO[274]
DO[275]
DO[313]
DO[314]
DO[315]
DO[316]
DO[318]
DO[319]
DO[320]
DO[321]
DO[325]
DO[326]
DO[327]
DO[362]
DO[513]
DO[514]
DO[515]
DO[516]
DO[517]
DO[518]
DO[519]
DO[520]
DO[521]
DO[522]
DO[523]
DO[524]
DO[525]
DO[526]
DO[527]
DO[528]
DO[529]
DO[530]
DO[531]
DO[569]
DO[570]
DO[571]
DO[572]
DO[574]
DO[575]
DO[576]
DO[577]
DO[578]
DO[579]
DO[583]
DO[618]
DO[769]
DO[770]
DO[771]
DO[772]
DO[773]
DO[774]
DO[775]
DO[776]
DO[777]
DO[778]
DO[779]
DO[780]
DO[781]
DO[782]
DO[783]
DO[784]
DO[785]
DO[786]
DO[787]
DO[825]
DO[826]
DO[827]
DO[828]
DO[829]
DO[830]
DO[831]
DO[832]
DO[837]
DO[838]
DO[839]
DO[874]
About following signals, there is the different point between the case that the robot is connected with two
or more CNCs and the case that robot is connected with only one CNC.
*IMSTP signal
In case that the robot is connected with two or more CNCs, the logical product of *IMSTP signals all
CNC which are in interlock mode is input to peripheral I/O UI[1].
*HOLD signal
In case that the robot is connected with two or more CNCs, the logical product of *HOLD signals in
all CNC which are in interlock mode is input to peripheral I/O UI[2].
*SFSPD signal
- 97 -
B-75114EN/02
In case that the robot is connected with two or more CNCs, the logical product of *SFSPD signals in
all CNC which are in interlock mode is input to peripheral I/O UI[3].
ENABLE signal
In case that the robot is connected with two or more CNCs, the logical product of ENABLE signals in
all CNC which are in interlock mode is input to peripheral I/O UI[8].
About Service Type 1 to 4 signals, the input signals from each CNC are set to the group I/O in the robot
controller as follows.
Table 7.1.5
CNC1
GI[1]
GI[2]
CNC3
GI[3]
CNC4
GI[4]
7.1.6
There are many reasons why the start of the robot program by CNC and the interlocking are failed. This
section describes some common cases.
In overlap start, CNC does not work after the robot program execution is
ended.
In overlap start, Service Completed signal (DO[106]) is turned on/off by the command in the robot
program. After the execution of the robot program is ended abnormally, DO[106] remains ON. Because
the change of Service Completed signal from OFF to ON is detected in CNC sample ladder, even if NC
Program is restarted in this state, the robot program does work correctly. In this case, turn off DO[106]
first, then restart NC Program.
7.2
It is possible to execute the robot remote operation on CNC operators panel. The remote operations
executed by the standard interface signals and CNC sample ladder and the robot ladder program are as
follows.
B-75114EN/02
In robot remote operation, the robot controller executes the operation requested by CNC according to the
input signals from CNC allowed to execute the robot remote operation. Hand operation of the robot,
home position return of the robot, and change of speed override of the robot are executed using macro
programs in the robot controller. About the detail of these macro programs, refer to 9.2 TEACHING
MACRO PROGRAM FOR REMOTE OERATION. Joint jog of the robot and Cartesian jog of the robot
are executed without macro program.
7.2.1
In order to execute the robot remote operation, the following signals in the standard interface signals are
used. This section describes the interface signals in case that only one CNC is connected to the robot
controller. About the interface signals in case that two or more CNCs are connected to the robot controller,
refer to 7.2.5 Connection between Multiple CNCs and Robot.
The CNC signal address in the following tables is the address in the robot interface area which is
independent on communication protocol and the CNC number, and the address in case that the standard
setting value is used without change. About the detail of the robot interface area, refer to 3.2 DATA
AREA OF ROBOT CONNECTION FUNCTION.
From CNC to the robot controller
Name
Robot
CNC
DI
Signal
number
address
R7235.4
R7235.5
R7235.6
R7235.7
R7236.3
R7236.4
R7236.5
R7236.6
R7236.7
R7237.0
R7237.1
R7237.2
R7237.3
R7237.4
R7237.5
R7237.6
R7237.7
R7238.0
R7238.1
R7238.2
R7238.3
R7238.4
29
30
31
32
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
R7238.5
54
R7238.6
55
R7238.7
56
CNC
Signal
address
- 99 -
R7205.0
R7205.1
R7205.2
R7205.3
R7205.4
R7205.5
R7205.6
R7205.7
R7206.0
R7206.1
R7206.2
R7206.3
R7206.4
R7206.5
R7206.6
R7206.7
R7207.4
R7207.7
R7208.0
R7208.7
R7209.0
R7209.1
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
61
64
65
72
73
74
R7209.2
75
R7209.3
76
Override output 1
Override output 2
Override output 3
Override output 4
Override output 5
Override output 6
Override output 7
Override output 8
CNC ID Number 1
CNC ID Number 2
CNC ID Number 3
CNC ID Number 4
Access Control 1
Access Control 2
Access Control 3
Access Control 4
Robot Power On
Machine Interlock Mode
Remote Operation Mode
Jog Feed Operation State
Hand Operation State
Home Return Operation
State
ACK for Remote Operation
Request
NAK for Remote Operation
Request
CNC
Signal
address
Robot
DI
number
R7239.0
57
R7239.1
58
R7239.2
59
B-75114EN/02
Name
In CNC sample ladder, the type of hand operation selected in ROBOT REMOTE OPERATION
screen on CNC is output by binary code. It is possible to designate the type of hand operation from 1
to 10. When the Remote Operation Run siganl is turned on after the type of the hand operation is
output, the hand operation correspoing to the requested type is executed in the robot controller.
In the robot controller, these 4 input signals are assigned to Group I/O GI[5]. While the hand
operation is executed, the signals to designate the jog direction and home position return signal must
be OFF.
In CNC sample ladder, when the operation to acquire the remote operation right is executed in the
ROBOT REMOTE OPERATION screen of CNC by pressing soft key "CONNE.OPR." and then
"ON", this signal is turned ON. When the remote operation right is released, this signal is turned off.
When this signal is turned on, the robot controller changes the mode to remote operation mode and
outputs ACK for Remote Operation Request signal to CNC. But, in the following case, the robot
controller outputs NAK for Remote Operation Request signal to CNC.
- While the robot program started by CNC is executing
- In case that the robot program started by CNC has been ended abnormally
- In case that the robot controller has already changed the mode to remote operation mode by the
request of the other CNC
When Remote Operation Request signal is turned off, the robot controller changes the mode to
machine interlock mode.
In CNC sample ladder, in case that the operation to move the robot is selected in the ROBOT
REMOTE OPERATION screen, when the robot operation button on machine operators panel is
pressed, this signal is turned on.
Selected operation
Jog feed
Home position return
Hand operation
Signal status
While the robot operation button is pressed, this signal is ON.
When the robot operation button is pressed, this signal is ON for 200 milliseconds.
In the robot controller, when this signal is turned on with the signal to select operation, Jog Feed
Operation State signal or Hand Operation State signal or Home Return Operation State signal, in
remote operation mode, the requested operation is executed. In jog feed operation and home position
return operation, when this signal is turned off, the executing operation is stopped. Hand Operation
is executed when the robot controller detects the rising edge of this signal.
When Override Up key is pressed in the ROBOT REMOTE OPERATION screen on CNC, CNC
sample ladder turns on this signal for 200 milliseconds.
- 100 -
B-75114EN/02
In the robot controller, when this signal is turned on, the speed override is changed. Only when the
robot controller is in remote operation mode, it is possible to change speed override by CNC. After
speed override is changed by CNC in remote operation mode, even if the mode is changed to
machine interlock mode, speed override is not changed.
When Override Down key is pressed in the ROBOT REMOTE OPERATION screen on CNC, CNC
sample ladder turns on this signal for 200 milliseconds.
In the robot controller, when this signal is turned on, the speed override is changed. Only when the
robot controller is in remote operation mode, it is possible to change speed override by CNC. After
speed override is changed by CNC in remote operation mode, even if the mode is changed to
machine interlock mode, speed override is not changed.
This is the signal to select the type of jog feed in case that the jog feed of robot is executed by the
remote operation on CNC. In CNC sample ladder, when JOINT is set to JOG COORD in the
ROBOT REMOTE OPERATION screen on CNC, this signal is turned on. When XYZ is set to JOG
COORD, this signal is turned off.
In the robot controller, when the jog feed operation is requested by CNC with this signal ON, the
designated axis is jogged. When the jog feed operation is requested by CNC with this signal OFF,
the jog feed is executed in Cartesian coordinate. If the input signal to designate jog direction is
inconsistent with the status of this signal, jog feed by remote operation is not executed.
Direction for Jog Feed (CNC : R7237.0 to R7239.1, Robot Controller : DI[41] to
DI[58])
In CNC sample ladder, when the direction for jog feed is selected in the ROBOT REMOTE
OPERATION screen on CNC, one of these signals is output.
In the robot controller, when Remote Operation Run signal is turned on by CNC after above
operation on CNC is executed, the robot is jogged to the designated direction. Do not turn on
another signal in these signals while one of these signals is ON. And, do not turn on Hand Operation
Type signal and Home Position Return signal while one of jog direction signal is on.
In CNC sample ladder, when HOME POSITION is selected, this signal is turned on.
In the robot controller, when Remote Operation Run signal is turned on by CNC in above status, the
robot moves to the home position by the execution of macro program. Do not turn ON Direction for
Jog Feed signals and Hand Operation Type signals while this signal is ON.
The robot ladder program outputs the speed override value by binary code through these signals. If
the speed override is FINE or VFINE in the robot controller, 0 is output.
CNC reads override value of the robot controller by these signals and displays the value to the item
OVERRRIDE in the ROBOT REMOTE OPERATION screen.
The robot ladder program outputs the number to identify the connected CNC by binary code through
these signals. For example, the robot controller outputs 1 to CNC 1 connected to the robot controller
by the signals from DO[1] to DO[256], and outputs 2 to CNC 2 connected to the robot controller by
the signals from DO[257] to DO[512].
CNC reads CNC ID number by these signals and display to the item CNC NUM. In the ROBOT
REMOTE OPERATION screen.
- 101 -
B-75114EN/02
In case that two or more CNCs are connected to the robot controller, when one of the connected
CNCs executes remote operation, or when the robot program is executed by request from one of the
connected CNCs, the robot ladder program outputs the ID number for that CNC by binary code.
CNC reads these signals number and displays the value to the item CON. CNC in the ROBOT
REMOTE OPERATION screen.
While the power of the robot controller is ON, the robot ladder program outputs this signal.
While this signal is ON, CNC sample ladder controls the signals connected the robot controller.
In the robot ladder program, while Service State signal is ON and all CNCs connected with the robot
controller do not execute robot remote operation, this signal is output.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while Service State signal is ON and CNC connected with the robot
controller executes the robot remote operation, this signal is output.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while Remote Operation Mode signal is ON and jog feed operation is
selected on CNC, this signal is output. Because jog feed and hand operation and home position
return in the ROBOT REMOTE OPERATION screen on CNC are executed exclusively, this signal
is not turned on when either Hand Operation State signal or Home Return State signal is ON.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while Remote Operation Mode signal is ON and hand operation is
selected on CNC, this signal is output. Because jog feed and hand operation and home position
return in the ROBOT REMOTE OPERATION screen on CNC are executed exclusively, this signal
is not turned on when either Jog Feed Operation State signal or Home Return State signal is ON.
In CNC sample ladder, this signal is not used.
In the robot ladder program, while Remote Operation Mode signal is ON and home position return
operation is selected on CNC, this signal is output. Because jog feed and hand operation and home
position return in the ROBOT REMOTE OPERATION screen on CNC are executed exclusively,
this signal is not turned on when either Jog Feed Operation State signal or Hand Operation State
signal is ON.
In CNC sample ladder, this signal is not used.
ACK for Remote Operation Request (CNC : R7209.2, Robot Controller : DO[75])
When Remote Operation Request signal is turned on by CNC, if the remote operation can be
executed in the robot controller, this signal is output by pulse signal. Refer to 7.2.2 Condition for
Robot Remote Operation.
NAK for Remote Operation Request (CNC : R7209.3, Robot Controller : DO[76])
When Remote Operation Request signal is turned on by CNC, if the remote operation cannot be
executed in the robot controller, this signal is output by pulse signal. Refer to 7.2.2 Condition for
Robot Remote Operation.
7.2.2
The robot remote operation by CNC can be executed when the robot controller is in the following state.
B-75114EN/02
Ready signal and Not Ready signal are turned on when the robot program is not executed in the robot
controller. When both Ready signal and Not Ready signal are not ON, the robot remote operation cannot
be executed.
7.2.3
Signal sequence
CNC
Robot
(2)
(1) When Ready signal or Not Ready signal is ON in the robot controller, if
Remote Operation Request signal is turned on in CNC, ACK for Remote
Operation Request signal is turned on in the robot controller, and Remote
Operation Mode signal is turned on.
(2) When robot remote operation is ended in CNC, Remote Operation Request
signal is turned off, and Remote Operation Mode signal is turned off, then
Ready signal or Not Ready signal is turned on.
The robot controller remains in remote operation state until Remote Operation Request signal from CNC
is turned off. But, if the robot teach pendant become enabled in the robot controller that is in the remote
operation state, the robot remote operation on CNC cannot be executed. In case that the robot ladder
program turns on Maintenance State signal or turns off Service State signal, because the robot controller
is in the state that the robot controller cannot execute the remote operation, CNC sample ladder turns off
Remote Operation Request signal. And, if the power of the robot controller is turned off, the remote
operation on CNC cannot be executed. When Robot Power On signal is turned off, CNC sample ladder
turns off Remote Operation Request signal.
- 103 -
7.2.4
B-75114EN/02
In the robot remote operation on CNC, hand operation and jog feed operation, home position return
operation can be executed. In order to execute the remote operation in the robot controller, CNC sample
ladder outputs the signal to select the operation after output of Remote Operation Request signal, then
outputs Remote Operation Run signal.
Signal sequence
CNC
Robot
(1) When Home Position Return signal (or one of Hand Operation signals or one of
Jog Direction selection signals) is turned on, Home Return Operation State signal
(or Hand Operation State signal or Jog Feed Operation State signal) in the robot
controller is turned on.
(2) When Remote Operation Run signal in CNC is turned on, the program for home
position return (or hand operation or jog feed) is executed in the robot controller.
While the program is executed, Busy signal is ON.
While the remote operation is executed, Override Up and Down signal in CNC can change the speed
override in the robot controller at any time.
7.2.5
Interface signal
In case that the robot is connected with two or more CNCs, the interface signals in the robot controller are
extended according to the number of CNC. The signals for each CNC are same as the signals described in
7.2.1 Interface Signals for Robot Remote Operation. Only the signal number in each CNC is different.
The signal number in each CNC is as follows.
NOTE
It is need to set the number of the connected CNC with the robot beforehand.
Refer to 2. CONNECTION BETWEEN CNC AND ROBOT
Form CNC to the robot controller
Name of signal
CNC1
Signal number
CNC2
Signal number
CNC3
Signal number
CNC4
Signal number
DI[29]
DI[30]
DI[31]
DI[32]
DI[36]
DI[37]
DI[38]
DI[39]
DI[40]
DI[285]
DI[286]
DI[287]
DI[288]
DI[292]
DI[293]
DI[294]
DI[295]
DI[296]
DI[541]
DI[542]
DI[543]
DI[544]
DI[548]
DI[549]
DI[550]
DI[551]
DI[552]
DI[797]
DI[798]
DI[799]
DI[800]
DI[804]
DI[805]
DI[806]
DI[807]
DI[808]
- 104 -
B-75114EN/02
Name of signal
CNC1
Signal number
CNC2
Signal number
CNC3
Signal number
CNC4
Signal number
DI[41]
DI[42]
DI[43]
DI[44]
DI[45]
DI[46]
DI[47]
DI[48]
DI[49]
DI[50]
DI[51]
DI[52]
DI[53]
DI[54]
DI[55]
DI[56]
DI[57]
DI[58]
DI[59]
DI[297]
DI[298]
DI[299]
DI[300]
DI[301]
DI[302]
DI[303]
DI[304]
DI[305]
DI[306]
DI[307]
DI[308]
DI[309]
DI[310]
DI[311]
DI[312]
DI[313]
DI[314]
DI[315]
DI[553]
DI[554]
DI[555]
DI[556]
DI[557]
DI[558]
DI[559]
DI[560]
DI[561]
DI[562]
DI[563]
DI[564]
DI[565]
DI[566]
DI[567]
DI[568]
DI[569]
DI[570]
DI[571]
DI[809]
DI[810]
DI[811]
DI[812]
DI[813]
DI[814]
DI[815]
DI[816]
DI[817]
DI[818]
DI[819]
DI[820]
DI[821]
DI[822]
DI[823]
DI[824]
DI[825]
DI[826]
DI[827]
CNC1
Signal number
CNC2
Signal number
CNC3
Signal number
CNC4
Signal number
DO[41]
DO[42]
DO[43]
DO[44]
DO[45]
DO[46]
DO[47]
DO[48]
DO[49]
DO[50]
DO[51]
DO[52]
DO[53]
DO[54]
DO[55]
DO[56]
DO[61]
DO[64]
DO[65]
DO[72]
DO[73]
DO[74]
DO[75]
DO[297]
DO[298]
DO[289]
DO[300]
DO[301]
DO[302]
DO[303]
DO[304]
DO[305]
DO[306]
DO[307]
DO[308]
DO[309]
DO[310]
DO[311]
DO[312]
DO[317]
DO[318]
DO[319]
DO[328]
DO[329]
DO[330]
DO[331]
DO[553]
DO[554]
DO[555]
DO[556]
DO[557]
DO[558]
DO[559]
DO[560]
DO[561]
DO[562]
DO[563]
DO[564]
DO[565]
DO[566]
DO[567]
DO[568]
DO[573]
DO[576]
DO[577]
DO[584]
DO[585]
DO[586]
DO[587]
DO[809]
DO[810]
DO[811]
DO[812]
DO[813]
DO[814]
DO[815]
DO[816]
DO[817]
DO[818]
DO[819]
DO[820]
DO[821]
DO[822]
DO[823]
DO[824]
DO[829]
DO[832]
DO[833]
DO[840]
DO[841]
DO[842]
DO[843]
DO[76]
DO[332]
DO[588]
DO[844]
Override output 1
Override output 2
Override output 3
Override output 4
Override output 5
Override output 6
Override output 7
Override output 8
CNC ID Number 1
CNC ID Number 2
CNC ID Number 3
CNC ID Number 4
Access Control 1
Access Control 2
Access Control 3
Access Control 4
Robot Power On
Machine Interlock Mode
Remote Operation Mode
Jog Feed Operation State
Hand Operation State
Home Return Operation State
ACK for Remote Operation
Request
NAK for Remote Operation
Request
In case that Hand Operation Type selection signals are input from two or more CNCs, the input signals
from CNC that has the right for the remote operation is set to group I/O GI[5] in the robot controller.
- 105 -
B-75114EN/02
7.3
It is possible to operate machine tool in Machine tool operation screen on the robot teach pendant. The
machine tool operations executed by the standard interface signals and the ladder program in CNC and
the robot ladder program are as follows.
While the operation is executed in Machine tool operation screen on the robot teach pendant, the signals
that is required for jog feed of the machine tool are output to CNC according to the operation. In order to
execute jog feed of machine tool actually, it is required to create the ladder program in CNC to move axes
in the machine tool according to signals from the robot controller. Please understand the specification of
signals by the following description and create the ladder program in CNC.
7.3.1
In order to execute the machine tool operation on the robot teach pendant, the following signals in the
standard interface signals are used. This section describes the interface signals in case that only one CNC
is connected to the robot controller. About the interface signals in case that two or more CNCs are
connected to the robot controller, refer to 7.3.3 Connection between Multiple CNCs and Robot.
The CNC signal address in the following tables is the address in the robot interface area which is
independent on communication protocol and the CNC number, and the address in case that the standard
setting value is used without change. About the detail of the robot interface area, refer to 3.2 DATA
AREA OF ROBOT CONNECTION FUNCTION.
- 106 -
B-75114EN/02
R7247.0
121
R7247.1
122
R7247.2
123
R7247.3
124
R7247.4
125
R7247.5
126
CNC
Signal
address
R7215.0
121
R7215.1
122
R7215.2
123
R7215.3
124
R7215.4
125
R7215.5
126
R7215.6
127
R7215.7
R7216.0
R7216.1
R7216.2
R7216.3
R7216.4
R7216.5
R7216.6
R7216.7
R7217.0
R7217.1
R7217.2
R7217.3
R7217.4
R7217.5
R7217.6
R7217.7
R7218.0
R7218.1
R7218.2
R7218.3
R7218.4
R7218.5
R7218.6
R7218.7
R7219.0
R7219.1
R7219.2
R7219.3
R7219.4
R7219.5
R7219.6
R7219.7
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
- 107 -
B-75114EN/02
When CNC receives Machine Operation Request signal that is turned on by pressing Operation
Enable button in Machine tool operation screen on the robot teach pendant, if it is possible to be
operated the machine tool by the robot teach pendant in CNC, turn on this signal and keep ON status
while it is possible to be operated the machine tool by the robot teach pendant in CNC.
In the robot controller, if this signal becomes OFF, Operation Enable Lamp is turned off and the
operation on the robot teach pendant is not available.
When CNC receives Machine Operation Request signal that is turned on by pressing Operation
Enable button in Machine tool operation screen on the robot teach pendant, if it is not possible to be
operated the machine tool on the robot teach pendant in CNC, output this signal in CNC by pulse
output for 200 miliseconds.
Before CNC outputs Machine Operation Request Reject signal, output the reason for the reject in
these signals by binary code.
The robot controller reads these signals and displays the code number in Machine tool operation
screen.
If CNC outputs Machine Operation Enable Status signal in response to Machine Operation Request
signal, turn off all of these signals.
Keep On status until CNC responds to Machine Operation Request next time.
When Operation Enable button is pressed in Machine tool operation screen, if all of following
conditions are satisfied, this signal is turned on.
Interlock Mode signal is ON in CNC.
Robot teach pendant is enabled.
Emergency stop error does not occur in the robot controller.
Robot controller communication with the selected CNC by Ethernet.
The signal corresponding to the operated path in Machine tool operation screen is output. In case
that Machine Operation Enable Status signal is turned on and the robot teach pendant is enabled,
while M.jog (F5) key is pressed with shift key, this signal is output.
While the pop-up dialog box to confirm CNC and path is displayed, this signal is not output.
While Machine Operation Enable Status signal is ON, this signal repeats ON and OFF status at 128
miliseconds interval.
The override value corresponding to the jog feed speed override selected in the Machine tool
operation screen is output by these signal by binary code. In case that Machine Operation Enable
Status signal is turned on and the robot teach pendant is enabled, while M.jog (F5) key is pressed
with shift key, these signals are output.
While the pop-up dialog box to confirm CNC and path is displayed, this signal is not output.
The conditions to turned off these signals are as follows.
Emergency stop error occurs in the robot controller.
Interlock Mode signal is turned off in CNC.
- 108 -
B-75114EN/02
Machine Jog Feed Axis (CNC : R7218.0 to R7219.7, Robot Controller : DO[145] to
DO[160])
The signal corresponding to the axis and direction for jog feed selected in the Machine tool
operation screen is output.
Two or more signals in these signals are not ON at the same time.
In case that Machine Operation Enable Status signal is turned on and the robot teach pendant is
enabled, while M.jog (F5) key is pressed with shift key, these signals are output.
While the pop-up dialog box to confirm CNC and path is displayed, this signal is not output.
The conditions to turned off these signals are as follows.
Emergency stop error occurs in the robot controller.
Interlock Mode signal is turned off in CNC.
Machine Tool Operation Enable Stautus signal is turned off.
The disaplayed screen is changed on the robot teach pendant.
The robot teach pendant is disabled.
Other axis and direction select button is pressed in the Machine tool operation screen.
All axis and direction select button are not pressed in the Machine tool operation screen.
Operation Enable button is pressed to disable the operation in Machine tool operation screen.
Ethernet communication with the selected CNC is disconnected.
The robot program is executed in th robot controller.
Robot is moved by jog feed or program execution.
7.3.2
In order to execute the machine tool operation on the robot teach pendant, create the ladder program in
CNC to realize the following signal process.
Keep ON Machine Operation Enable Status signal while Machine Operation Request signal is ON, if
the machine operation by the robot teach pendant is available in CNC. In the robot controller, the
operation in Machine tool operation screen is available while Machine Operation Enable Status
signal is ON.
After CNC turns on Machine Operation Enable Status signal, if CNC wants to disable the machine
operation by the robot teach pendant, turn off Machine Operation Enable Status signal. If Machine
Operation Enable Status signal is turned off, all signals for machine operation that have been turned
on by the robot controller are turned off.
When Machine Operation Request signal is turned on by the robot controller, if CNC cannot accept
the request for jog feed of the machine tool by the robot teach pendant, output the reason for reject to
Machine Operation Request Reject Code signals 1 to 4 by binary code and output Machine
Operation Enable Request Reject signal by pulse signal for 200 milliseconds. The response code
output to Machine Operation Request Reject Code signals is displayed in Machine tool operation
screen on the robot teach pendant.
After Machine Tool Operation Request is turned on by the robot controller, if neither Machine
Operation Enable Status signal nor Machine Operation Enable Request Reject signal is not turned on
- 109 -
B-75114EN/02
within one second, the robot controller do the same process as the case that Machine Operation
Request Reject signal is turned on and Machine Operation Request Reject Code is 0.
In CNC, execute jog feed of the machine tool according to the instruction from the robot controller
while Machine Operation Enable Status signal is ON.
Before CNC executes jog feed of the machine tool, set override value to the designated value by
Machine Jog Feed Override signals in the designated path by Machine Operation Path Select signals.
If one of Machine Jog Feed Axis Select signals is input, move the axis selected by Machine Jog Feed
Axis Select signals to the direction selected by Machine Jog Feed Axis Select signals in the
designated path by Machine Operation Path Select signal. Two or more signals in Machine Jog Feed
Axis Select signals are not turned on at the same time.
Confirm whether the robot controller works correctly by Machine Operation Heart Beat signal while
CNC executes jog feed of the machine tool according to the instruction from the robot controller.
While Machine Operation Enable Status signal is ON, Machine Operation Heart Beat signal repeats
ON and OFF at 128 milliseconds interval. When Machine Operation Heart Beat signal remains ON
or OFF for a while, stop jog feed of the machine tool immediately because the robot controller may
become abnormal status.
7.3.3
Interface signal
In case that the robot is connected with two or more CNCs, the interface signals in the robot controller are
extended according to the number of CNC. The signals for each CNC are same as the signals described in
7.3.1 Interface Signals for Machine Tool Operation. Only the signal number in each CNC is different.
The signal number in each CNC is as follows.
NOTE
It is need to set the number of the connected CNC with the robot beforehand.
Refer to 2. CONNECTION BETWEEN CNC AND ROBOT
Form CNC to the robot controller
Name of signal
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DI[121]
DI[122]
DI[123]
DI[124]
DI[125]
DI[126]
DI[377]
DI[378]
DI[379]
DI[380]
DI[381]
DI[382]
DI[633]
DI[634]
DI[635]
DI[636]
DI[637]
DI[638]
DI[889]
DI[890]
DI[891]
DI[892]
DI[893]
DI[894]
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DO[121]
DO[122]
DO[123]
DO[124]
DO[125]
DO[126]
DO[127]
DO[377]
DO[378]
DO[379]
DO[380]
DO[381]
DO[382]
DO[383]
DO[633]
DO[634]
DO[635]
DO[636]
DO[637]
DO[638]
DO[639]
DO[889]
DO[890]
DO[891]
DO[892]
DO[893]
DO[894]
DO[895]
- 110 -
B-75114EN/02
Name of Signal
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
(Reserved)
Machine Jog Feed Override 1
Machine Jog Feed Override 2
Machine Jog Feed Override 3
Machine Jog Feed Override 4
Machine Jog Feed Override 5
Machine Jog Feed Override 6
Machine Jog Feed Override 7
Machine Jog Feed Override 8
Machine Jog Feed Override 9
Machine Jog Feed Override 10
Machine Jog Feed Override 11
Machine Jog Feed Override 12
Machine Jog Feed Override 13
Machine Jog Feed Override 14
Machine Jog Feed Override 15
Machine Jog Feed Override 16
Machine Jog Feed Axis (1ST+)
Machine Jog Feed Axis (1ST-)
Machine Jog Feed Axis (2ND+)
Machine Jog Feed Axis (2ND-)
Machine Jog Feed Axis (3RD+)
Machine Jog Feed Axis (3RD-)
Machine Jog Feed Axis (4TH+)
Machine Jog Feed Axis (4TH-)
Machine Jog Feed Axis (5TH+)
Machine Jog Feed Axis (5TH-)
Machine Jog Feed Axis (6TH+)
Machine Jog Feed Axis (6TH-)
Machine Jog Feed Axis (7TH+)
Machine Jog Feed Axis (7TH-)
Machine Jog Feed Axis (8TH+)
Machine Jog Feed Axis (8TH-)
DO[128]
DO[129]
DO[130]
DO[131]
DO[132]
DO[133]
DO[134]
DO[135]
DO[136]
DO[137]
DO[138]
DO[139]
DO[140]
DO[141]
DO[142]
DO[143]
DO[144]
DO[145]
DO[146]
DO[147]
DO[148]
DO[149]
DO[150]
DO[151]
DO[152]
DO[153]
DO[154]
DO[155]
DO[156]
DO[157]
DO[158]
DO[159]
DO[160]
DO[384]
DO[385]
DO[386]
DO[387]
DO[388]
DO[389]
DO[390]
DO[391]
DO[392]
DO[393]
DO[394]
DO[395]
DO[396]
DO[397]
DO[398]
DO[399]
DO[400]
DO[401]
DO[402]
DO[403]
DO[404]
DO[405]
DO[406]
DO[407]
DO[408]
DO[409]
DO[410]
DO[411]
DO[412]
DO[413]
DO[414]
DO[415]
DO[416]
DO[640]
DO[641]
DO[642]
DO[643]
DO[644]
DO[645]
DO[646]
DO[647]
DO[648]
DO[649]
DO[650]
DO[651]
DO[652]
DO[653]
DO[654]
DO[655]
DO[656]
DO[657]
DO[658]
DO[659]
DO[660]
DO[661]
DO[662]
DO[663]
DO[664]
DO[665]
DO[666]
DO[667]
DO[668]
DO[669]
DO[670]
DO[671]
DO[672]
DO[896]
DO[897]
DO[898]
DO[899]
DO[900]
DO[901]
DO[902]
DO[903]
DO[904]
DO[905]
DO[906]
DO[907]
DO[908]
DO[909]
DO[910]
DO[911]
DO[912]
DO[913]
DO[914]
DO[915]
DO[916]
DO[917]
DO[918]
DO[919]
DO[920]
DO[921]
DO[922]
DO[923]
DO[924]
DO[925]
DO[926]
DO[927]
DO[928]
7.4
In addition to the above-mentioned interface signals, following signals are prepared as the interface signal
between CNC and the robot. Use these signals in NC Program and the robot program according to need.
CNC
Signal
address
R7236.0
33
CNC Power On
R7203.0
25
RI[1]
R7242.0
81
R7203.1
26
RI[2]
R7242.1
82
R7203.2
27
RI[3]
R7242.2
83
Response of Peripheral
Device 1
Response of Peripheral
Device 2
Response of Peripheral
Device 3
R7203.3
28
RI[4]
- 111 -
CNC
Signal
address
Robot
DI
number
R7242.3
84
R7242.4
85
R7242.5
86
R7242.6
87
R7242.7
88
R7243.0
89
R7243.1
90
R7243.2
91
R7243.3
92
R7243.4
93
R7243.5
94
R7243.6
95
R7243.7
96
R7244.0
97
R7244.1
98
R7244.2
99
R7244.3
100
R7244.4
101
R7244.5
102
R7244.6
103
R7244.7
104
R7245.0
105
Response of Peripheral
Device 4
Response of Peripheral
Device 5
Response of Peripheral
Device 6
Response of Peripheral
Device 7
Response of Peripheral
Device 8
Response of Peripheral
Device 9
Response of Peripheral
Device 10
Response of Peripheral
Device 11
Response of Peripheral
Device 12
Response of Peripheral
Device 13
Response of Peripheral
Device 14
Response of Peripheral
Device 15
Response of Peripheral
Device 16
Production System
Response 1
Production System
Response 2
Production System
Response 3
Production System
Response 4
Input of Production System
Operation 1
Input of Production System
Operation 2
Input of Production System
Operation 3
Input of Production System
Operation 4
Robot Entry Approval
R7245.2
107
R7245.3
B-75114EN/02
CNC
Signal
address
Name
Robot
DO
number
R7203.4
29
RI[5]
R7203.5
30
RI[6]
R7203.6
31
RI[7]
R7203.7
32
RI[8]
R7204.0
33
RO[1]
R7204.1
34
RO[2]
R7204.2
35
RO[3]
R7204.3
36
RO[4]
R7204.4
37
RO[5]
R7204.5
38
RO[6]
R7204.6
39
RO[7]
R7204.7
40
RO[8]
R7208.1
66
R7208.2
67
R7208.3
68
In E.Stop state
R7210.0
81
R7210.1
82
R7210.2
83
R7210.3
84
R7210.4
85
R7210.5
86
R7210.6
87
Machine Alarm
R7210.7
88
108
Door Open
R7211.0
89
R7245.4
109
Door Close
R7211.1
90
R7245.5
110
R7211.2
91
Command to Peripheral
Device 1
Command to Peripheral
Device 2
Command to Peripheral
Device 3
Command to Peripheral
Device 4
Command to Peripheral
Device 5
Command to Peripheral
Device 6
Command to Peripheral
Device 7
Command to Peripheral
Device 8
Command to Peripheral
Device 9
Command to Peripheral
Device 10
Command to Peripheral
Device 11
R7211.3
92
- 112 -
Command to Peripheral
Device 12
B-75114EN/02
CNC
Signal
address
Robot
DO
number
Name
R7211.4
93
R7211.5
94
R7211.6
95
R7211.7
96
R7212.0
97
Command to Peripheral
Device 13
Command to Peripheral
Device 14
Command to Peripheral
Device 15
Command to Peripheral
Device 16
Production Operation 1
R7212.1
98
Production Operation 2
R7212.2
99
Production Operation 3
R7212.3
100
Production Operation 4
R7212.4
101
R7212.5
102
R7212.6
103
R7212.7
104
R7213.0
105
In CNC sample ladder, this signal is ON while the power of CNC is ON.
The robot controller uses these signals to monitor the peripheral device connected to CNC. In CNC
sample ladder, this signal is not used. In order to use these signals, it is required to create ladder
program in both CNC and the robot controller.
These signals are used to notify all CNCs connected to the robot controller that the specified signal
is turned on in all CNCs. These signals are used coupled with Output of Production System
Response signals that are output by the robot controller to CNC. In CNC ladder program, turn on
these signals if necessary. The robot ladder program calculates the logical product for Production
System Response n (n= 1 to 4) signals input from all CNCs that are connected to the robot controller
and in interlock mode, and outputs the result of logical product to Output of Production System
Response n signals. For example, Production System Response 3 in all CNCs connected to the robot
controller are turned on, Output of Production System Response 3 signals in all CNCs are turned on.
If one of CNC connected to the robot controller turns off Production System Response 3 signal,
Output of Production System Response 3 signals in all CNCs are turned off.
In order to use these signals, it is required to set the keep relay in the robot ladder program. For
detail, refer to 10 ROBOT LADDER PROGRAM.
- 113 -
B-75114EN/02
These signals are used to notify the status of the specified signal in one of CNCs connected to the
robot controller. These signals are used coupled with Production Operation signals that are output by
the robot controller to CNC. In CNC ladder program, turn on these signals if necessary. The robot
ladder program calculates the logical addition for Input of Production System Operation n (n= 1 to
4) signals input from all CNCs that are connected to the robot controller and in interlock mode, and
outputs the result of logical addition to Production Operation n signals. For example, Input of
Production System Operation 2 signal in CNC 1 is turned on, Production Operation 2 signals in all
CNCs are turned on. If CNC 3 turns on Input of Production System Operation 2 signal, Production
Operations 2 signals in all CNCs are turned on, too.
In order to use these signals, it is required to set the keep relay in the robot ladder program. For
detail, refer to 10 ROBOT LADDER PROGRAM.
This signal is used to prevent the interference between the machine tool and the robot. In CNC
sample ladder, this signal is ON while machine is in the part exchange position and the door of the
machine tool is opened. If additional interlock between the machine tool and the robot is needed, use
this signal.
In CNC sample ladder, while the door that prevents the robot from entering into the machine tool is
opened, this signal is ON.
In CNC sample ladder, while the door that prevents the robot from entering into the machine tool is
closed, this signal is ON.
In CNC sample ladder, while the part is in the position to be loaded and unloaded by the robot in the
machine tool, this signal is ON.
In the robot ladder program, the status of robot I/O from RI[1] to RI[8] in the robot controller is
output to these signals. In case that the two or more CNCs are connected to the robot controller,
same signals are output to each CNC. The status of these signals is displayed in the ROBOT
STATUS screen on CNC.
In the robot ladder program, the status of robot I/O from RO[1] to RO[8] in the robot controller is
output to these signals. In case that the two or more CNCs are connected to the robot controller,
same signals are output to each CNC. The status of these signals is displayed in the ROBOT
STATUS screen on CNC.
The robot ladder program outputs the status of FENCE signal of the robot controller. This signal is
ON while the safety fence is opened. The status of these signals is displayed in the ROBOT
STATUS screen on CNC.
The robot ladder program outputs the status of FENCE signal of the robot controller. This signal is
ON while the safety fence is closed. The status of these signals is displayed in the ROBOT STATUS
screen on CNC.
- 114 -
B-75114EN/02
The robot ladder program outputs the status of emergency stop. This signal is ON while the
emergency stop button (on the teach pendant or on the operator panel) is pressed, or external
emergency stop signal is open. The status of these signals is displayed in the ROBOT STATUS
screen on CNC.
These signals are used to control the peripheral device connected to CNC by the robot controller. In
CNC sample ladder, these signals are not used. If necessary, create the ladder program in CNC to
output these signals to the peripheral device.
In the robot ladder program, the status of Input of Production System Operation signals are output to
the Product Operation signals in CNC connected to the robot controller and is in interlock mode.
Refer to the description for Input of Production System Operation signals additionally.
In the robot ladder program, the result of the logical product for Production System Response signals
is output to CNC as Output of Production System Response signal. Refer to the description for
Production System Response signals additionally.
This signal is used to prevent the interference between the machine tool and the robot. In the robot
controller, this signal is OFF while the robot enters into the machine tool. In order to use this signal,
some settings are needed. Refer to 4.7 SETTING INTERFERENCE PREVENTION SPACE.
NOTE
It is need to set the number of the connected CNC with the robot beforehand.
Refer to 2. CONNECTION BETWEEN CNC AND ROBOT
From CNC to the robot controller
Name of signal
CNC Power On
Response of Peripheral Device 1
Response of Peripheral Device 2
Response of Peripheral Device 3
Response of Peripheral Device 4
Response of Peripheral Device 5
Response of Peripheral Device 6
Response of Peripheral Device 7
Response of Peripheral Device 8
Response of Peripheral Device 9
Response of Peripheral Device 10
Response of Peripheral Device 11
Response of Peripheral Device 12
Response of Peripheral Device 13
Response of Peripheral Device 14
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DI[33]
DI[81]
DI[82]
DI[83]
DI[84]
DI[85]
DI[86]
DI[87]
DI[88]
DI[89]
DI[90]
DI[91]
DI[92]
DI[93]
DI[94]
DI[289]
DI[337]
DI[338]
DI[339]
DI[340]
DI[341]
DI[342]
DI[343]
DI[344]
DI[345]
DI[346]
DI[347]
DI[348]
DI[349]
DI[350]
DI[545]
DI[593]
DI[594]
DI[595]
DI[596]
DI[597]
DI[598]
DI[599]
DI[600]
DI[601]
DI[602]
DI[603]
DI[604]
DI[605]
DI[606]
DI[801]
DI[849]
DI[850]
DI[851]
DI[852]
DI[853]
DI[854]
DI[855]
DI[856]
DI[857]
DI[858]
DI[859]
DI[860]
DI[861]
DI[862]
- 115 -
B-75114EN/02
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DI[95]
DI[96]
DI[97]
DI[98]
DI[99]
DI[100]
DI[101]
DI[102]
DI[103]
DI[104]
DI[105]
DI[107]
DI[108]
DI[109]
DI[110]
DI[351]
DI[352]
DI[353]
DI[354]
DI[355]
DI[356]
DI[357]
DI[358]
DI[359]
DI[360]
DI[361]
DI[363]
DI[364]
DI[365]
DI[366]
DI[607]
DI[608]
DI[609]
DI[610]
DI[611]
DI[612]
DI[613]
DI[614]
DI[615]
DI[616]
DI[617]
DI[619]
DI[620]
DI[621]
DI[622]
DI[863]
DI[864]
DI[865]
DI[866]
DI[867]
DI[868]
DI[869]
DI[870]
DI[871]
DI[872]
DI[873]
DI[875]
DI[876]
DI[877]
DI[878]
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DO[25]
DO[26]
DO[27]
DO[28]
DO[29]
DO[30]
DO[31]
DO[32]
DO[33]
DO[34]
DO[35]
DO[36]
DO[37]
DO[38]
DO[39]
DO[40]
DO[66]
DO[67]
DO[68]
DO[81]
DO[82]
DO[83]
DO[84]
DO[85]
DO[86]
DO[87]
DO[88]
DO[89]
DO[90]
DO[91]
DO[92]
DO[93]
DO[281]
DO[282]
DO[283]
DO[284]
DO[285]
DO[286]
DO[287]
DO[288]
DO[289]
DO[290]
DO[291]
DO[292]
DO[293]
DO[294]
DO[295]
DO[296]
DO[322]
DO[323]
DO[324]
DO[337]
DO[338]
DO[339]
DO[340]
DO[341]
DO[342]
DO[343]
DO[344]
DO[345]
DO[346]
DO[347]
DO[348]
DO[349]
DO[537]
DO[538]
DO[539]
DO[540]
DO[541]
DO[542]
DO[543]
DO[544]
DO[545]
DO[546]
DO[547]
DO[548]
DO[549]
DO[550]
DO[551]
DO[552]
DO[578]
DO[579]
DO[580]
DO[593]
DO[594]
DO[595]
DO[596]
DO[597]
DO[598]
DO[599]
DO[600]
DO[601]
DO[602]
DO[603]
DO[604]
DO[605]
DO[793]
DO[794]
DO[795]
DO[796]
DO[797]
DO[798]
DO[799]
DO[800]
DO[801]
DO[802]
DO[803]
DO[804]
DO[805]
DO[806]
DO[807]
DO[808]
DO[834]
DO[835]
DO[836]
DO[849]
DO[850]
DO[851]
DO[852]
DO[853]
DO[854]
DO[855]
DO[856]
DO[857]
DO[858]
DO[859]
DO[860]
DO[861]
RI[1]
RI[2]
RI[3]
RI[4]
RI[5]
RI[6]
RI[7]
RI[8]
RO[1]
RO[2]
RO[3]
RO[4]
RO[5]
RO[6]
RO[7]
RO[8]
Safety Fence Open
Safety Fence Close
In E.Stop state
Command to Peripheral Device 1
Command to Peripheral Device 2
Command to Peripheral Device 3
Command to Peripheral Device 4
Command to Peripheral Device 5
Command to Peripheral Device 6
Command to Peripheral Device 7
Command to Peripheral Device 8
Command to Peripheral Device 9
Command to Peripheral Device 10
Command to Peripheral Device 11
Command to Peripheral Device 12
Command to Peripheral Device 13
- 116 -
B-75114EN/02
Name of Signal
CNC1
Signal
number
CNC2
Signal
number
CNC3
Signal
number
CNC4
Signal
number
DO[94]
DO[95]
DO[96]
DO[97]
DO[98]
DO[99]
DO[100]
DO[101]
DO[102]
DO[103]
DO[104]
DO[105]
DO[350]
DO[351]
DO[352]
DO[353]
DO[354]
DO[355]
DO[356]
DO[357]
DO[358]
DO[359]
DO[360]
DO[361]
DO[606]
DO[607]
DO[608]
DO[609]
DO[610]
DO[611]
DO[612]
DO[613]
DO[614]
DO[615]
DO[616]
DO[617]
DO[862]
DO[863]
DO[864]
DO[865]
DO[866]
DO[867]
DO[868]
DO[869]
DO[870]
DO[871]
DO[872]
DO[873]
- 117 -
8.NC PROGRAM
B-75114EN/02
NC PROGRAM
In this function, by calling M code in NC program, CNC requests the operation of work-piece exchange
to the robot. Please create the NC program according to the explanation of this chapter.
8.1
M code is called from NC program to specify the type and the timing of the operation requested to the
robot. When the ladder program detects the execution of M code, the operation request is sent to the robot.
When the ladder program receives the operation completion, FIN is sent to CNC, and as a result, the
machining is continued.
CNC
Robot
Execution of
NC program
Operation of ladder
program
The content of
operation is
decided by M code
and related signals.
The request is sent
to robot.
FIN
Execution of program
operation
request
Requested
operation is
executed.
operation
completion
When completion
is received from
robot, FIN is sent
to CNC.
Interface via I/O
signals
Fig.8.1
About the detail of I/O signal interface between the robot and CNC, please refer to chapter "7.
INTERFACE BETWEEN CNC AND ROBOT". About the detail of robot program, please refer to
chapter "9. ROBOT PROGRAM".
This chapter explains about M code, operation of the ladder program and robot program when the sample
ladder program is used.
NOTE
1 For details of the ladder program of the sample, please refer to the material
included in CD "Robot connection function sample program" (A08B-9510-J550).
2 It is necessary to customize the sample ladder program according to the
specification of the machine tool. Moreover, please verify coordinated operation
with the robot enough.
- 118 -
8.NC PROGRAM
B-75114EN/02
8.2
M CODE IN NC PROGRAM
When M60-M62 is executed, the sample ladder program requests the operation of unloading and loading
the work-piece to the robot. The operation request sent to robot is as follows.
Table 8.2(a)
M code
M60
M61
Signal condition
Interlock Mode signal is ON
AND
Cycle stop signal is OFF
Interlock Mode signal is ON
AND
Cycle stop signal is ON
Interlock Mode signal is ON
M code
Operation request sent to robot
Unloading work-piece
When the robot completes the operation of unloading the
work-piece, reset and rewind operation is executed on CNC to
finish the machining.
Loading work-piece
The operation request of loading the work-piece is sent to robot
on the first time M61 is executed after the status of Interlock
Mode signal is switched from OFF to ON. Since the second
times, nothing is executed.
Even if M60 or M61 is executed, nothing is executed when Interlock Mode signal is OFF. The NC
program automatically advances to the following line of M code.
For details of cycle stop, please refer to the chapter "3.5 SAMPLE LADDER PROGRAM FOR SYSTEM
OPERATION".
The example of NC program using these M codes is as follows.
Example 1
O0001
(Machining)
M60
M99
Operator sets work-piece in the machine tool by the hand and begins machining.
Machining continues.
The work-piece is exchanged by M60
NC program returns to the top by M99.
O0001
Operator sets Interlock Mode signal from OFF to ON and begins machining with the
status that there is no work-piece in machine tool.
The work-piece is loaded by M61.
Machining continues.
The work-piece is exchanged by M60.
NC program returns to the top by M99.
In the M61 since the second times, nothing is executed. The next work-piece is
machined continuously.
Example 2
M61
(Machining)
M60
M99
The operator can turn Cycle Stop signal on at any timing of machining.
The content of operation request is finally notified to the robot by the value of Service Type 1-4 signal. The
relation between the content of operation request and the value of Service Type 1-4 signals is as follows.
- 119 -
8.NC PROGRAM
B-75114EN/02
1
0
1
0
1
1
0
0
0
0
0
0
The meaning of service type 1-4 signals is the same for the function "overlap start" described below.
For the details of service type 1-4 signals, please refer to the chapter "7. INTERFACE BETWEEN CNC
AND ROBOT".
M code
M60
M61
M62
NOTE
When M62 is executed, the robot moves near the machine tool. Neither
work-piece unloading nor loading is executed. When M60 is executed, an actual
work-piece unloading and loading are executed.
Example 1
O0001
M61
(Machining)
M62
(Machining)
M60
M99
Operator sets Interlock Mode signal from OFF to ON and begins the
machining with the status that there is no work-piece in machine tool.
The work-piece is loaded by M61.
Machining continues.
The overlap start is notified by M62 on the way of machining. The robot
moves near the machine tool.
Machining continues.
The work-piece is exchanged by M60.
NC program returns to the top by M99.
In the M61 since the second times, nothing is executed. The next
work-piece is machined continuously.
- 120 -
9.ROBOT PROGRAM
B-75114EN/02
ROBOT PROGRAM
It is need to teach the robot program to load and unload a work piece interlocking with machine tool and
the macro program for robot remote operation on CNC. According to the description in this chapter, teach
the necessary programs.
9.1
This section describes how to teach the robot program that interlocks with CNC program.
9.1.1
Name of Program
In this function, the robot programs are started by Program Number Selection (PNS) function. The robot
program name must be PNS + Four digit number. The string PNS can be changed to other string.
Refer to 4.6 SETTING PROGRAM NUMBER SELECTION (PNS).
9.1.2
In the robot program, check the service type input from CNC at the beginning and branch to each process
according to the service type. The service type is input to the following group input signals.
Table 9.1.2
CNC1
Group input signal number
for service type
GI[1]
GI[3]
CNC4
GI[4]
In the program started by CNC1, branch to the process according to the value of GI[1] as follows.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
IF GI[1]=1,JMP LBL[110] ;
IF GI[1]=2,JMP LBL[120] ;
JMP LBL[900] ;
;
LBL[110:Service Type 1] ;
!!!! Process for Service Type 1
END ;
;
LBL[110: Service Type 2] ;
!!!! Process for Service Type 2
END ;
;
LBL[900:Incorrect Service type] ;
UALM[1] ;
END ;
- 121 -
9.ROBOT PROGRAM
9.1.3
B-75114EN/02
Following is the example of the robot program. About the process for each service type in this program is
described in table 9.1.3
Table 9.1.3
Service type 1
Service type 2
Service type 3
The robot picks up a work piece from the pallet and loads a work piece to machine tool
at cycle start. In this case, the robot executes only the load of a work piece because a
processed work piece is not in the machine tool.
The robot moves into the machine tool with holding an unprocessed work piece, then
unloads a processed work piece at first, and loads an unprocessed work piece.
The robot unloads a processed work piece from the machine tool at cycle end.
IF GI[1]=1,JMP LBL[110] ;
IF GI[1]=2,JMP LBL[120] ;
IF GI[1]=3,JMP LBL[130] ;
JMP LBL[900] ;
;
LBL[110:Load a work piece] ;
! Pick up a work piece ;
CALL PICK_1
;
! Move in front of the machine ;
CALL MOVETO1
;
! Condition to enter ;
WAIT DI[105:Robot Entry Approval]=ON
TIMEOUT,LBL[910] ;
WAIT DI[108:Door Open]=ON
TIMEOUT,LBL[910] ;
WAIT DI[110:Part Change Position]=ON
TIMEOUT,LBL[910] ;
! Move into the machine ;
CALL MOVEIN1
;
! Load work piece ;
CALL LOAD
;
! Move out of the machine ;
CALL MOVEOUT1
;
! Move to the home position ;
CALL HOME1 ;
END ;
;
LBL[120:Exchange the work piece] ;
! Pick up a work piece ;
CALL PICK
;
! Move in front of the machine ;
CALL MOVETO2
;
! Condition to enter
WAIT DI[105:Robot Entry Approval]=ON
TIMEOUT,LBL[910] ;
WAIT DI[108:Door Open]=ON
TIMEOUT,LBL[910] ;
WAIT DI[110:Part Change Position]=ON
TIMEOUT,LBL[910] ;
! Move into the machine ;
CALL MOVEIN2
;
! Unload the work piece ;
- 122 -
9.ROBOT PROGRAM
B-75114EN/02
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
CALL UNLOAD
;
! Load the work piece ;
CALL LOAD
;
! Move out of the machine ;
CALL MOVEOUT2
;
! Place the work piece ;
CALL PLACE
;
! Move to the home position ;
CALL HOME2;
END ;
;
LBL[130:Unload the work piece] ;
! Move in front of the machine ;
CALL MOVETO2
;
! Condition to enter ;
WAIT DI[105:Robot Entry Approval]=ON
TIMEOUT,LBL[910] ;
WAIT DI[108:Door Open]=ON
TIMEOUT,LBL[910] ;
WAIT DI[110:Part Change Position]=ON
TIMEOUT,LBL[910] ;
! Move into the machine ;
CALL MOVEIN3
;
! Unload the work piece ;
CALL UNLOAD
;
! Move out of the machine ;
CALL MOVEOUT3
;
! Place the work piece ;
CALL PLACE
;
! Move to the home position ;
CALL HOME3
;
END ;
;
LBL[900:Incorrect Service Type] ;
UALM[1] ;
END ;
;
LBL[910:Time out] ;
UALM[2] ;
END ;
- 123 -
9.ROBOT PROGRAM
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
B-75114EN/02
- 124 -
9.ROBOT PROGRAM
B-75114EN/02
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
9.1.4
CALL MOVETO2
;
! Wait for Service Call signal input ;
WAIT DI[106]=ON
;
! Condition to enter ;
WAIT DI[105:Robot Entry Approval]=ON
TIMEOUT,LBL[910] ;
WAIT DI[108:Door Open]=ON
TIMEOUT,LBL[910] ;
WAIT DI[110:Part Change Position]=ON
TIMEOUT,LBL[910] ;
! Move into the machine ;
CALL MOVEIN3
;
! Unload the work piece ;
CALL UNLOAD
;
! Move out of the machine ;
CALL MOVEOUT3
;
! Service complete ;
DO[106:Service Completed]=ON ;
WAIT DI[106:Service Call]=OFF
TIMEOUT,LBL[910] ;
DO[106:Service Completed]=OFF ;
! Place the work ;
CALL PLACE
;
! Move to the home position ;
CALL HOME3
;
END ;
;
LBL[900:Incorrect Service Type] ;
UALM[1] ;
END ;
;
LBL[910:Time out] ;
UALM[2] ;
END ;
Because the robot ladder program aborts the robot program when the robot program is paused, PAUSE
instruction in the robot program has no effect in this function.
9.2
Robot hand operation and robot home position return, robot speed override change in the remote
operation are executed using macro program in the robot controller. The macro programs for these
operations are installed in the robot controller beforehand. But, the macro programs for hand operation
and home position return are untaught. It is required to teach the macro programs for hand operation and
home position return before the remote operation is executed. The macro program for override change can
be used as it is. About the robot jog feed operation, the macro program is not used.
- 125 -
9.ROBOT PROGRAM
9.2.1
B-75114EN/02
Following macro programs for the remote operation are loaded to the robot controller beforehand. And
these programs have been registered as the macro instruction. Do not change settings of the macro
instructions for these macro programs.
Table 9.2.1
Program name
HANDOP_M
HANDOP01
HANDOP02
HANDOP03
HANDOP04
HANDOP05
HANDOP06
HANDOP07
HANDOP08
HANDOP09
HANDOP10
MTSHOME
REM_ENT
REM_EXT
OVRUP
OVRDOWN
OVRSET
9.2.2
This program receives the request for hand operation and calls sub program for the requested
hand operation.
This program executes the hand operation 1. (Untaught)
This program executes the hand operation 2. (Untaught)
This program executes the hand operation 3. (Untaught)
This program executes the hand operation 4. (Untaught)
This program executes the hand operation 5. (Untaught)
This program executes the hand operation 6. (Untaught)
This program executes the hand operation 7. (Untaught)
This program executes the hand operation 8. (Untaught)
This program executes the hand operation 9. (Untaught)
This program executes the hand operation 10. (Untaught)
This is the program for home position return. (Untaught)
This program is executed when the remote operation is started. This program changes the
speed override to 5%.
In case that the keep relay K0000.5 is 1, this program is executed when the remote operation is
ended. This program restores the value of speed override.
This program raises the speed override value.
This program lowers the speed override value.
OVRUP and OVRDOWN calls this program.
When hand operation is executed in the remote operation on CNC, the program HANDOP_M that
receives the request for hand operation is executed in the robot controller. The type of hand operation
designated in CNC is input to group I/O GI[5]. The program HANDOP_M is taught to execute the sub
program for each hand operation according to the value of GI[5]. The program HANDOP_M can be
executed without change.
HANDOP_M
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
IF GI[5]=1,JMP LBL[10] ;
IF GI[5]=2,JMP LBL[20] ;
IF GI[5]=3,JMP LBL[30] ;
IF GI[5]=4,JMP LBL[40] ;
IF GI[5]=5,JMP LBL[50] ;
IF GI[5]=6,JMP LBL[60] ;
IF GI[5]=7,JMP LBL[70] ;
IF GI[5]=8,JMP LBL[80] ;
IF GI[5]=9,JMP LBL[90] ;
IF GI[5]=10,JMP LBL[100] ;
END ;
;
LBL[10] ;
CALL HANDOP01
;
END ;
;
- 126 -
9.ROBOT PROGRAM
B-75114EN/02
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
LBL[20] ;
CALL HANDOP02
END ;
;
LBL[30] ;
CALL HANDOP03
END ;
;
LBL[40] ;
CALL HANDOP04
END ;
;
LBL[50] ;
CALL HANDOP05
END ;
;
LBL[60] ;
CALL HANDOP06
END ;
;
LBL[70] ;
CALL HANDOP07
END ;
;
LBL[80] ;
CALL HANDOP08
END ;
;
LBL[90] ;
CALL HANDOP09
END ;
;
LBL[100] ;
CALL HANDOP10
END ;
The sub programs for hand operation from HANDOP01 to HANDOP10 are untaught. Teach these sub
programs before hand operation in the remote operation is executed. Teach sub programs for hand
operation not to wait infinitely. Because the status of waiting infinitely is not notified to CNC, the
operator of CNC may not be able to find the abnormal state in the robot controller.
Example for the sub program HANDOP01
1:
2:
3:
9.2.3
RO[1]=OFF ;
RO[2]=ON ;
END ;
When home position return is executed in the remote operation on CNC, the program MTSHOME is
executed in the robot controller. Because this program is untaught, teach this program before home
position return operation in the remote operation is executed.
- 127 -
9.ROBOT PROGRAM
B-75114EN/02
CAUTION
Teach the program for home position return with careful attention paid to the path
of robot motion in order to prevent interference with peripheral devices.
Example for the program MTSHOME
1:
2:
3:
4:
UFRAME_NUM=1 ;
UTOOL_NUM=1 ;
J P[1:HOME] 25% FINE
END ;
- 128 -
B-75114EN/02
10
This function provides a factory-installed sequence program, which responds to the program call or
remote operation request from CNC. This sequence program is hereinafter called "Robot Ladder
Program". Standard interlock with CNC is implemented in the Robot Ladder Program and it can be
used "as is".
If necessary, you can modify Robot Ladder Program. In this case, understandings of the structure of
Robot Ladder Program and usage of internal relays are required. Please refer to " FANUC Robot Series
R-J3/R-J3iB/R-30iA CONTROLLER (Integrated PMC) OPERARTORS MANUAL" for details.
You can use "FAPT LADDER-III for Robot" (A08B-9410-J574) as the programming tool to edit the
PMC program.
10.1
OVERVIEW
Robot Ladder Program interconnects DI/DO signals, which is connected to CNC, and the internal relays
(Fig. 10.1). Internal relays are assigned to the UI/UO signals or DI signals that issue macro commands.
Robot Ladder Program outputs specific internal relays to issues macro commands for remote operation or
call a robot program requested from CNC.
Robot Controller
CNC1
CNC2
Call robot program
(Machine interlock)
Internal
DI/DO
relays
signals
CNC3
Jog feed
(Remote operation)
Robot Ladder
Machine tool
operation
Program
CNC4
10.2
This function enables robot remote operation and machine interlock operation from CNC. To do that, it is
required to distinguish whether the robot controller is in the state that the robot controller can accept
requests from CNC or not. For example, the operation mode T1 or T2 is selected using mode switch, the
robot controller cannot accept any requests from CNC. To distinguish whether the robot controller can or
cannot accept requests, the state of the robot controller is divided into the following two states.
Service State:
Maintenance State:
the robot controller is not in service state.
Furthermore, the internal state Service State is divided into 3 states from the CNC viewpoint as
following.
- 129 -
B-75114EN/02
Idle:
Remote operation:
Machine interlock operation: the robot program is running with the request from CNC
Behavior of the robot controller to signals from CNC depends on the state. When the robot controller is in
"idle" state, the request of remote operation from CNC will be accepted, however, when the robot
controller is in "machine interlock operation" or the other CNC already uses the robot remote operation,
the remote operation cannot be accepted. To implement such behavior in the sequence program, Robot
Ladder Program is based on the state. First, Robot Ladder Program determines which state the robot
controller is currently in based on the input signals, and then outputs the appropriate signals based on
states. With this design, the sequence program will be structured with states.
10.2.1
The robot controller is expected to be in the one of the pre-defined states. The robot controller is in state
"idle" when no request comes from CNC. The robot controller is defined to be in state "remote operation"
when one CNC uses the robot remote operation and to be in state "machine interlock operation" when the
robot program is running
The states are changed by transitions. The event that a CNC successfully requests remote operation is
interpreted as the transition from state "idle" to "remote operation" is caused. The transition from state
"remote operation" to state "idle" is caused vice versa when the use of robot remote operation from CNC
ends.
Fig. 10.2.1 shows the concept of the state charts which is implemented on the Robot Ladder program.
Maintenance
Service
Launching
Running
Remote
Operation
Idle
Finished
Other program
running
Fig. 10.2.1 Concept of the State chart
This state chart has a hierarchy. The state "maintenance" is defined that the robot controller is not
configured to provide services for CNC and the state "service" is defined the opposite state. Three states
(idle, remote operation, machine interlock operation) are defined inside the state "service". Detail of these
states will be described later.
- 130 -
B-75114EN/02
10.2.2
Robot Ladder Program relates the states to internal relays. When the robot controller is in a specific state,
a corresponding internal relay has the value "1". Internal relays corresponding to the states has a prefix
"S". Similarly, Robot Ladder Program relates transitions to internal relays. When a specific transition is
caused, then a corresponding internal relay has the value "1". Internal relays corresponding to the
transitions has a prefix "T". Such an internal relay is hereinafter called "transition pulse".
Though state transition occurs instantly and no interruption occurs during transition theoretically,
representation of transitions with internal relays inescapably allows interruptions during the transition. To
avoid interruptions during transition, Robot Ladder Program should not cause other transitions when any
"transition pulse" has a value "1". In addition, Robot Ladder Program should make the value of
"transition pulse" become 1 during only one scan.
Robot Ladder Program uses additional internal relay to divide the generation of a transition and the
reference of the transition. This internal relay, which means the generation of transition, will be called
"making transition pulse". In Robot Ladder Program, any sequence that cause a transition sets the value
of "making transition pulse" instead of "transition pulse". At the top of the Robot Ladder Program, the
value of "transition pulse" are generated from the value of "making transition pulse". This assures the
value of "transition pulse" remains unchanged during one scan. The symbols of "making transition pulse"
has the suffix "M".
Following is a sample sequence program which implements the state transition described here. This
sequence represents state transition that has two states and two transitions.
T1M
T1
T2M
T2
T1
T2
S1
T1
S2
S1
T2
S2
S1
T1 Condition
T1
T2
T1M
T2M
T1M
S2
T2 Condition
T1
T2
T1M
T2M
T2M
This sequence implements two states "S1", "S2" and the transitions "T1","T2" between them. T1M and
T2M are making transition pulse of T1, T2 respectively. This value becomes 1 when the condition is
right and no transition occurs. T1M, T2M will make T1, T2 and consequently transition from state "S1"
to "S2" or transition from state "S2" to state "S1" will be caused. However, the current scan is considered
- 131 -
B-75114EN/02
as during transition because T1 or T2 has the value 1. On this scan, any sequence, which relates the
transition, must be skipped. T1M, T2M will become 0 during this scan. In the next scan, this transition is
completed and the robot controller is in state "S1" or state "S2".
Robot Ladder Program is based on this sample structure. In addition, this sequence assures "transition
pulse" has the value 1 during only one scan.
10.2.3
LEVEL2
Generation of transitions
10.3
RESOURCE
Robot Ladder Program uses the following resources exclusively. These resources should not be shared.
10.3.1
Robot Ladder Program does not read DI signals connected to CNC but read the value of internal relays, to
which the value of DI signals are transferred. This is to avoid referenced value to be changed during one
scan. Similarly, Robot Ladder Program outputs the value to internal relays and then transfers them to DO
signals.
Internal relays are not only used for buffer of DI/DO signals but are used for remote operation and
machine interlock operation. Usage of internal relays is shown below.
- 132 -
B-75114EN/02
Robot controller
Internal relays
R0000
DI signals
DI[1]
CNC1 DI buffer
CNC1 DI signals
CNC1
DI[257]
R0032
CNC1 DO buffer
CNC2 DI signals
DI[513]
R0064
CNC2 DI buffer
CNC3 DI signals
CNC2
DI[769]
R0096
CNC2 DO buffer
CNC4 DI signals
DI[1025]
R0128
CNC3 DI buffer
DO signals
R0160
CNC3 DO buffer
DO[1]
CNC3
CNC1 DO signals
R0192
CNC4 DI buffer
DO[257]
CNC2 DO signals
R0224
CNC4 DO buffer
DO[513]
CNC3 DO signals
R0256
Common
CNC4
DO[769]
CNC4 DO signals
R0288
DO[1025
R0320
Internal relays used by Robot Ladder Program are divided into buffers of DI/DO for individual CNC and
commonly used relays. These relays will be called "CNC buffer relays" and "common relays"
respectively.
The values of DI signals are transferred into "CNC buffer relays" as shown. Robot Ladder Program does
not read the DI signals directly.
DO signals to CNC are transferred from CNC buffer relays and common relays. Many of DO signals are
transferred from common relays because these are common for all CNC. Therefore, the most of CNC DO
buffer relays are not used.
Please refer to 10.10 for the list of internal relays.
Address
R0000 R0031
R0032 R0063
R0064 R0095
R0096 R0127
R0128 R0159
R0160 R0191
Points
256 points
256 points
256 points
256 points
256 points
256 points
- 133 -
Purpose
R0192 R0223
R0224 R0255
R0256 R0294
10.3.2
Points
256 points
256 points
312 points
B-75114EN/02
Name
Purpose
Timer
Robot Ladder Program uses following fixed-timers. No settable timers are used.
Table 10.3.2 Used fixed-timers
Purpose
Timer number
1
2
3
4
5
6
7
8
9
10
11
12
10.3.3
Keep relay
Address
K0000.0
K0000.1
K0000.2
K0000.3
K0000.4
K0000.5
K0000.6
K0000.7
K0001.0
K0001.1~K0001.7
K0000.0~K0000.3 are switches to accept DI signals from CNC1, CNC2, CNC3, and CNC4. These keep
relays are modified when the number of CNC are changed with "Machine Tool I/F" screen. You can
detach specific CNC by setting the value 0 manually.
- 134 -
B-75114EN/02
10.4
10.4.1
Robot Ladder Program always outputs the value 1 to the internal relays corresponding to state
"maintenance" or state "service" exclusively.
Maintenance
Service
The state "maintenance" is a state in which the robot controller cannot accept remote operation or
program call from CNC. The state "service" is the opposite state.
The state "service" requires following conditions. When any of these conditions breaks, the robot
controller will settle in state "maintenance".
10.4.2
- 135 -
B-75114EN/02
S3
Launching
T4
T5
T3
T1
S2
S4
S1
Remote operation
Running
Idle
T2
T7
T6
S6
S5
Finished
State
State "idle" (S1) means the robot controller is in state "service" and no robot
program is running and not in any state of S2~S5. State S2 means remote
operation from CNC and S3~S5 mean the robot controller is running a robot
program requested from CNC.
Transition
T1
T2
T3
T4
T5
T6
T7
State S2, S3, S4 and S5 can be reached from state S1 and these transitions are caused by the operation
from CNC or the internal process or Robot Ladder Program. On the other hand, without any external
operation to the robot controller, the state of robot controller settles in state S1 or state S6.
- 136 -
B-75114EN/02
10.4.3
When the robot controller in state "service", the robot controller is also in one of the state of S1~S6. Once
the robot controller is forced to transit from state "service" to state "maintenance " and then back from
state "maintenance" to state "service", the state of the robot controller becomes as follows:
When the robot controller is in state "idle" (S1), after the round-trip to state "maintenance" state, the
state settles in state S6 if any other program is running and if no program is running the state settles in
state "idle" S1.
If the robot controller is in state "remote operation" (S2) and the transition to "maintenance" state is
caused, Robot Ladder Program keeps the state S2. In other words, Remote Operation Mode signal is
ON in spite of Maintenance Mode signal is ON. However, in state "maintenance" any operation from
CNC is prohibited. Operations from CNC are allowed when the robot controller comes back in state
"service" and in state "remote operation" (S2).
State "launching" (S3) is a state that the robot controller is launching a robot program using PNS.
Robot Ladder Program will cause a transition to state "idle" (S1) unless SNACK signal is ON with
288ms after the entry of state "launching" (S3). If transition to "maintenance" is caused in the state
"launching" (S3), SNACK remains OFF and consequently the state settles in "S1".
The state "running" (S4) is when a robot program is running. Transition to state "maintenance" is
caused when an operator presses the EMERGENCY STOP button or enables the teach pendant on the
state "running" (S4). With K0000.7=1, a robot program will be paused. This situation means the state
"running" (S4) will be reserved on the state "maintenance". When back to state "service ", the state
"running" (S4) will appear. With the setting of K0000.7=0, a running program will be terminated by
Robot Ladder Program. Thus, the state will become state "finished" (S5).
The state "finished" (S5) will be reserved during round-trip to state "maintenance".
10.4.4
Access Control
In the state "remote operation" (S2), "launching" (S3), "running" (S4), and "finished" (S5) one of
connected CNC has the lock to control the robot controller and a corresponding internal relay (AC1 ~
AC4) has the value 1. On the other hand, in the state "idle" (S1) or S6, no CNC has the lock.
A CNC gets lock on the transition to the state "remote operation" (S2) and on the transition to the state
"launching" (S3). The lock will be released on the transition from the state "remote operation" (S2) and
on the transition from the state "finished" (S5) or from the state "launching" (S3) to the state "idle" (S1).
10.5
Remote operation relates to the transition from S1 to S2 and the reverse transition. In addition, inside the
state "remote operation" (S2), states corresponding to the type of the remote operation are defined.
10.5.1
Transition T1 will be caused by the rising edge of Remote Operation Request signal from one of CNC in
the state "idle" (S1). Following conditions are also required.
No transition is caused.
On the transition T1, Robot Ladder Program issues the macro command to decrease the override value.
Please refer to T1T2 (Refer to 10.9.17) for details.
- 137 -
10.5.2
B-75114EN/02
Transition T2 will be caused when Remote Operation Request signal is off in the state "remote operation"
(S2). This sequence is written in the subprogram T1T2 (Refer to 10.9.17).
10.5.3
There are four states defined inside the state "remote operation" (S2).
State
S21
S22
S23
S24
These states are uniquely determined based on the signals from CNC. Sequences to make transitions are
not required in Robot Ladder Program.
10.5.4
Signals to specify the type of HAND operation are independently prepared for each CNC. In the state
"remote operation" (S2), Robot Ladder Program will transfer "Hand Operation Type" signals from a CNC,
which locks the robot controller, to the common internal relays (R0271.0~R0271.3). These internal relays
are assigned as the signal of GI[5]. This means all CNCs use identical macro programs for HAND
operation.
HAND operation from CNC is to issue a macro commands. Robot Ladder Program will transfer "Remote
Operation Run" signal into a signal assigned to issues a macro command in the state S22 (Refer to 10.5.9).
These sequences are written in the subprogram NC_HND (Refer to 10.9.8).
10.5.5
In the state S23, Robot Ladder Program transfers the signals related to JOG FEED operation into common
internal relays. Robot Ladder Program is responsible to transfer signals into corresponding internal relays.
These internal relays are assigned as the signal of DI[1025]~DI[1056] and the software of the robot
controller moves the robot according to this signals (Refer to 10.9.16).
10.5.6
"HOME POSITION RETURN" operation from CNC is to issue a macro command, which moves the
robot to a specific position. However, a macro program will be launched on the rising edge of a signal
and will continue running even if the signal becomes OFF. Robot Ladder Program will turn UI[2:Hold]
signal OFF when Remote Operation Run signal becomes OFF during the macro running. This enables to
stop the running macro by the Remote Operation Run signal. Signal of UI[2:Hold] will be turned ON
after a while.
Subprogram MVHOME (Refer to 10.9.10) and LEVEL1 (Refer to 10.9.1) implements this behavior. The
macro program for "HOME POSITION RETURN" operation will be launched by an internal relay
assigned to DI signal.
- 138 -
B-75114EN/02
10.5.7
Override Change
Override change is implemented with issuing macros by signals from CNC. In the state "remote
operation" (S2), the change of override value will be accepted anytime.
10.5.8
To decrease the override value on the entry of remote operation, Robot Ladder Program issues a macro
command. Similarly, Robot Ladder Program issues a macro command to restore the override value on the
exit of remote operation. Robot Ladder Program outputs pulse signals to DI signals on the transition of T1
and on the transition of T2. The robot controller should be configured to launch macro programs with
these DI signals.
Please refer to T1T2 (Refer to 10.9.17) for details.
10.5.9
Remote Operation Run signals are assigned as the signals of DI[37] (DI[293], DI[549], DI[805]) from
CNC1, (CNC2, CNC3, CNC4) respectively. Robot Ladder Program outputs corresponding internal relays
(R0004.4, R0068.4, R0132.4, R0196.4) on the rising edge of these signals. These corresponding internal
relays will become OFF when DI signals is turned OFF.
This assures that remote operation will not continue after power cycle. If Robot Ladder Program reads
Remote Operation Run signal directly and transfer it to the internal relay, the robot may move after power
cycle during JOG FEED operation. Since this is not a preferable behavior, Robot Ladder Program sets the
internal relays for remote operation on the rising edge of Remote Operation Run signal.
These sequences are written in the subprograms P0005, P0007, P0009 and P0011 (Refer to 10.9.6).
Internal relays to detect the rising edge of Remote Operation Run signal are not shared with other
purposes. Any other sequence programs do not reference these internal relays.
10.6
Four states of "idle"(S1), "launching" (S3), "running" (S4) and "finished" (S5) relate to machine interlock
operation. In addition, Robot Ladder Program defines each CNC has an independent state transition
structure.
10.6.1
In machine interlock operation, not only the state-transition of the robot controller but also the statetransition of CNC will be considered. Robot Ladder Program defines each CNC has three states in
machine interlock operation.
- 139 -
B-75114EN/02
Program Calling
T1nIDL *
T1nPRG *
Idle
(PRGCn=1*)
T3
(PRGCn=0*, RUNNn=0*)
T4, T7
() indicates symbols
Running
* n=1,2,3,4
(RUNNn=1*)
State
Idle
Program Calling
Running
This state transition, which has three states, is considered to belong each CNC independently. For
example, such a situation that CNC1 is in the state "idle, CNC2 and CNC3 are in the state "Program
Calling" and CNC4 is in the state "running" can happen. However, Only one CNC must be in the state
"running".
These three state has relation to the state of the robot controller, S1~S6. All CNC must be in the state
"idle" or in the state "Program Calling" when the robot controller is in the state "idle" (S1). When one
CNC is in the state "running", the robot controller is in the state-transition process from S3 via S4 to S5.
The transition from S5 to S1 of the robot controller will cause the transition from "running" to "idle" of
CNC.
Transition from "idle" to "Program Calling" is caused by the rising edge of Program Call signal from
CNC. In the state "running", an internal relay (whose symbol is PRGCn, where n indicates CNC number)
has the value 1.
From the state "running", a transition back to "idle" and a transition to "running" are defined. On the
transition to "running", the requested robot program is launched. In case that Program Call signal is
turned OFF or the robot controller cannot launch a robot program from any cause, the transition back to
"idle" will be caused.
The transition from idle to running and the transition from Program Calling to idle are called "T1nPRG"
and "T1nIDL respectively, where n indicates CNC number. These states use internal relays of
R0288.0~R0289.7.
In the state running, corresponding internal relay (symbol: RUNN1~RUNN4) has the value 1. Once
CNC enters in this state, it will never transit to the state "Program Calling" even if Program Call signal is
cycled.
Transitions between the state "idle" and the state "Program Calling" are written in the subprogram PRGC.
(Refer to 10.9.12).
- 140 -
B-75114EN/02
10.6.2
Robot Ladder Program outputs "Completed" signal when the requested robot program ends normally. It is
only valid when CNC keeps Program Call signal ON throughout running of robot program. If CNC turns
Program Call signal OFF during robot program execution, Robot Ladder Program will remain
"Completed" signal OFF when the robot programs ends normally.
To enable this behavior, Robot Ladder Program uses internal relays RTNRQn (where n indicates CNC
number) to manage history of Program Call signal. The value of this internal relay is turned 1 on the
transition of T3 and is turned 0 on the transition of T4 or T7 or when Program Call signal from CNC
becomes OFF.
In overlap start, a robot program and a CNC program will run simultaneously. In case that the robot
program requires more long time to be completed than the CNC program does, at the moment the robot
program ends, the CNC program may be in the next loop and waiting for the end of the robot program.
On such situation if the robot controller outputs "Completed" signal at the end of the robot program, the
CNC program will receive this signal as the end of the robot program in the current loop and continue,
which actually means the end of the robot program in the previous loop. To avoid this Robot Ladder
Program handles Program Call signal from CNC with respect to each loop.
10.6.3
Program Calls from any CNC will be pushed into a queue, which is composed of matrix of internal relays.
Robot Ladder Program will pop the Program Call from the queue one by one and launch the requested
program.
Please refer to subprogram CUE (Refer to 10.9.13) for details.
10.6.4
Program Call request in the queue will be reserved in condition that the robot controller is in the state that
robot programs can be launched. However, when the robot controller is in the state that robot programs
cannot be launched for any cause, any request in the queue will be discarded and then Robot Ladder
Program sends NAK to CNC. (Refer to 10.9.15)
10.6.5
Sequence for launching robot program will be invoked when one of internal relays QUEUE4 has the
value 1. More than one internal relay in QUEUE4 may have the value 1. Robot Ladder Programs uses a
ring counter which is composed of internal relays, RING1 ~ RING4, to select one.
Transition T3 will be caused on the condition that:
10.6.6
State launching" (S3) is a state that Robot Ladder Program outputs PNSTROBE signal then waits for
SNACK signal. Robot Ladder Program will cause a transition to state "idle" (S1) unless SNACK signal is
ON within a fixed time after the entry of state "launching" (S3). Robot Ladder Program will cause a
transition to state "running" (S4) if it receives SNACK signals. This sequence uses a fixed timer.
- 141 -
10.6.7
B-75114EN/02
This transition will be caused when SNACK signals remains OFF after PNStrobe and the state settles in
"idle" (S1). FAILED signal (Refer to 10.7.2) and Program Reply signal (Refer to 10.7.11) will be set in
conjunction with this transition.
10.6.8
Robot Ladder Program saves the PNS program number requested from CNC into data table 1 (D0001) in
conjunction with the transition of T5.
10.6.9
Robot Ladder Program sends a pulse signal to UI[18:PROD_RUN] on the entry of the state "running".
After a while, Robot Ladder Program will cause the transition T6 unless PGRUNC signal (Refer to
10.8.2) is turned ON or PGABTC signal is turned ON (Refer to 10.8.2), where PGRUNC signal indicates
the requested program is launched and PGABTC signal indicates the requested program ends.
10.6.10
10.6.11
The state "finished" (S5) is a state that the requested robot program ends but CNC locks the robot
controller. Typical situation is the program ends successfully and "Completed" signal is ON. Robot
Ladder Program will cause transition to the state "idle" (S1) when Program Call signal is turned OFF.
In case that Program Call signal is OFF prior to the entry of S5, Robot Ladder Program will not output
"Completed" signal and immediately cause the transition to the state "idle" (S1) (Refer to 10.6.2). Robot
Ladder Program will cause the transition to the state "idle" (S1). In case that the requested robot program
is terminated abnormally, FAILED signal (Refer to 10.7.2) and Program Reply (Refer to 10.7.11) signal
will be set.
10.6.12
Transition T7
10.7
10.7.1
READY signal is ON when the robot controller is in the state "idle" (S1) and the signal UO[1] is ON and
the internal relay CREADY is ON. Subprogram P0001 outputs CREADY when the signal UO[7] is ON
(default).
Not READY signal is turned on when the state is S1 but READY signal is OFF.
10.7.2
FAILED Signal
This signal keeps the event that the last robot program failed. This value will be turned 0 by RESET
signal from any CNC. Program launching process from any CNC will fail when FAILED signal is ON.
- 142 -
B-75114EN/02
10.7.3
UO Signals
UO signals of the robot controller are assigned to the internal relays R0278.0~R0280.7. The system
software of the robot controller outputs signals into these internal relays. Robot Ladder Program transfers
these values to DO signals for each CNC.
10.7.4
UI Signals
UI signals of the robot controller are assigned to the internal relays R0272.0~R0274.7. Robot Ladder
Program sends signals to these internal relays and launches the robot program in machine interlock
operation.
10.7.5
HOLD Signal
HOLD signal is differently used in the state "HOME POSITION RETURN" (S24) and other states. In the
state "HOME POSITION RETURN", HOLD signal will be cycled when Remote Operation Run signal
becomes OFF. In other states, Robot Ladder Program does not change the HOLD signal.
10.7.6
CSTOPI Signal
Robot Ladder Program sends a pulse signal to CSTOPI when the program is paused with K0000.7=0.
This will abort the paused robot programs.
10.7.7
Resume
Robot Ladder Program does not send a pulse signal to CSTOPI with K0000.7=1. This setting is for
testing the system. With this setting, CNC cannot resume the paused robot program, though, the paused
robot program will resume with the robot teach pendant by turning the internal relay assigned to UI[7]
ON.
It is more convenient to assign a macro program to be launched by SU, which sends pulse signal to
DO[13182]. DO[13182] is an internal relay assigned to UI[7] in this function. It is necessary to set the
system variable $MACRTPDSBEX TRUE to run a macro command by SU with the teach pendant
disabled.
10.7.8
Reset signal will be transferred to UI[5] and resets alarms of the robot controller.
When a robot program is paused for any cause, Robot Ladder Program aborts this program when
K0000.7=0
Robot Ladder Program aborts the paused robot programs when K0000.7=0. Therefore, the situation that a
robot program remains paused will not occur. However, the running robot program will be paused after
power cycle. In such situation, Robot Ladder Program transfers RESET signal from CNC to UI[4] to
abort the paused robot program.
10.7.9
Override Output
This function always outputs the override value of the robot controller to the signal GO[1]. Internal relays
are assigned to the signal GO[1]. Robot Ladder Program transfers these values to DO signals for each
CNC.
- 143 -
10.7.10
B-75114EN/02
Robot Power On
10.7.11
Program Reply
Eight points of signals Program Reply are prepared for each CNC independently. Robot Ladder Program
sets value for these signals in case that the robot controller cannot launch the requested robot program.
These signals will be set 0 with RESET signal from CNC or the rising edge of Program Call signal.
10.8
This section describes how Robot Ladder Program uses the build-in functions of the robot controller.
10.8.1
Macro Commands
Remote operation from CNC uses macro commands. Following internal relays are assigned to DI signals
to issue macro commands.
Address
R0267.0
R0267.1
R0267.2
R0267.3
R0267.4
R0267.5
10.8.2
Signal
DI[19]
DI[20]
DI[21]
DI[22]
DI[23]
DI[24]
MCRREN
MCRREX
MCRH
MCROVU
MCROVD
MCRHOM
This function outputs the status of the robot program launched by Robot Ladder Program into the
following DO signals. Robot Ladder Program turns these signals OFF.
Address
R0261.3
R0261.4
R0261.5
Signal
DO[1028]
DO[1029]
DO[1030]
PGRUNC
PGENDC
PGABTC
This function outputs only the status of a robot program that has the same number of D0001. Therefore,
Robot Ladder Program sets the number of the robot program into D0001 prior to launching.
10.8.3
Robot Ladder Program transfers signals for JOG FEED operation from CNC into signals from DI[1025]
to DI[1056]. This function watches these signals and moves the robot.
- 144 -
B-75114EN/02
10.8.4
Machine tool operation screen enables jog feed of the machine tool from the robot teach pendant in the
system that the machine tool and the robot are connected by both I/O and communication.
Robot Ladder Program outputs signals for this operation in condition that a heart beat signal of Machine
tool operation screen continues. While Machine tool operation screen is activated on the robot teach
pendant, this screen outputs the heart beat signal to an internal relay MTOSHB. Robot Ladder Program
detects this heart beat signals and set an internal relay MTOSAL ON and sends signals for jog feed
operation of the machine tool while MTOSAL is ON.
This behavior is described in subprogram CNCJOG and NCnJOG (where n indicates CNC number)
(Refer to 10.9.14, 10.9.19).
10.8.5
The status of FENCE OPEN signal is retrieved into an internal relay using I/O interconnect. Robot
Ladder Program transfers the value of this internal relay to DO signals for each CNC.
10.8.6
EMERGENCY STOP
The status of EMERGENCY STOP is set to signal DO[1025] with the settings of System Configuration.
The signal DO[1025] is assigned to an internal relay.
10.9
Robot Ladder Program is composed of following subprograms. Subprograms P0001~P0004 are expected
to be customized. Understandings of the structure and the behavior of Robot Ladder Program are required
to modify other subprograms.
Name
LEVEL1
LEVEL2
P0001
(USER1)
P0002
(USER2)
P0003
(USER3)
P0004
(USER4)
P0005
(NC1IN)
P0006
(NC1OUT)
P0007
(NC2IN)
P0008
(NC2OUT)
P0009
(NC3IN)
P0010
(NC3OUT)
- 145 -
P0011
(NC4IN)
P0012
(NC4OUT)
P0013
(NC_HND)
P0014
(NC_PNS)
P0015
(MVHOME)
P0016
(OVRUD)
P0017
(PRGC)
P0018
(CUE)
P0021 ~
P0024
P0025,
P0026
P0027
P0028
P0029~
P0032
10.9.1
B-75114EN/02
Description
LEVEL1
The program "LEVEL1" handles internal relays assigned to UOP signal. Note that sequences related to
UI[9]~UI[16], UI[17] and UI[18] are written in LEVEL2.
Sequences in LEVEL1 processes followings:
1. Transfer UI corresponding signals from CNC into UI signals.
2. Transfer UI signals into system interface inputs.
3. Transfer system interface outputs into UO signals. (LEVEL2 transfers UO signals to DO signals for
each CNC.)
10.9.2
LEVEL2
LEVEL2 handles remote operation and machine interlock operation. This program processes followings:
1. This part transfers DI signals from CNC1~CNC4 into internal relays. (Refer to 10.9.6)
2. This part makes "transition pulse".
3. This part calls subprograms P0001~P0004.
4. This part determines the current state (S1~S6).
5. This part implements behaviors in the state S1.
6. This part makes transition to S1 and transition to S2 if possible (inside subprogram T1T2). (Refer to
10.9.17)
7. This part implements behaviors in remote operation (Refer to 10.9.18).
8. This part pushes Program Call into the queue (Refer to 10.9.12).
9. This part determines transition T3 can be caused or not (Refer to 10.9.15). When Program Calls
exist in the queue, this part determines transition T3 can be caused or not.
10. This part makes transition T3 if possible. Using a ring counter, this selects one of Program Calls in
the queue and then give locks to one of CNC and handles Program Call signal.
11. This part implements behaviors in state "launching" (S3).
- 146 -
B-75114EN/02
12. This part implements behaviors in state "running" (S4). On the entry of state "running" (S4), Robot
Ladder Program sends a pulse signal to PROD_RUN. After a while, Robot Ladder Program makes
transition T6 if PGRUNC signal remains OFF or PGRUNC signal and PGABTC signal are both
turned ON. Even if PGRUNC signal remains OFF, Robot Ladder Program considers the requested
program was once launched but failed immediately.
13. This part implements behaviors in the state "finished" (S5). In this state, Robot Ladder Program
outputs "Completed" signal until Program Call from CNC signal is turned OFF. When Program Call
signal is turned OFF, Robot Ladder Program will cause transition T7. Robot Ladder Program waits a
while to receive "Completed" signal successfully.
14. This part calls subprograms for machine tool operation.
15. This part outputs DO signals for each CNC (Refer to 10.9.7).
10.9.3
This subprogram is to customize READY signal. UO[7] and UO[1] are required for READY signal
(default).
READY signal is created in LEVEL2 and subprogram P0001. LEVEL2 defines READY signal as
follows.
CREADY is created inside P0001. CREADY becomes ON in condition that UO[7] is ON (defaults). If
other signal is required for READY signal, please edit subprogram P0001.
10.9.4
Sequences in this subprogram behave as a hub between multiple CNC. Internal relays for DI and DO for
each CNC are used.
This program is a sample. This program is expected to be customized.
LEVEL2 calls this subprogram when K0000.6 = 1.
10.9.5
These subprograms are empty. These are to be customized. LEVEL2 calls these subprograms.
- 147 -
10.9.6
B-75114EN/02
These subprograms transfer DI signals (DI[1]~DI[18],DI[25]~DI[59]) into internal relays for DI/DO
buffer. Signals DI[1], DI[2], DI[3], DI[8] and DI[34] are ignored because they are transferred in LEVEL1.
An internal relay corresponding to DI[37] is set on the rising edge of DI[37].
10.9.7
These subprograms transfer the value of internal relays into DO signals (from No.1 to No.76 for each
CNC).
10.9.8
P0013 (NC_HND)
In the state S22 the values of Hand Type signals from CNC, which locks the robot controller, are
transferred into internal relays assigned to GI[5]. This subprogram also transfers Remote Operation Run
signal into an internal relay assigned to issue macro command for HAND operation.
10.9.9
P0014 (NC_PNS)
The values of PNS signals from CNC, which locks the robot controller, are transferred into internal relays
assigned to UI[9]~UI[16].
10.9.10
P0015 (MVHOME)
This subprogram handles HOME POSITION RETURN operation, which includes launching a macro
command and sending a pulse signal to HOLD to stop the macro.
This program defines three states and four transitions as follows
S241
Moving
T243
T241
S240
Idle
T242
T244
S242
Hold
State
S240
S241
S242
CNC selects HOME POSITION RETURN but the corresponding macro command is not
launched (R0257.5=0, R0257.6=0).
The macro command is running. (R0257.5=1, R0257.6=0).
UI[2:Hold] is turned OFF. (R0257.5=0, R0257.6=1).
- 148 -
B-75114EN/02
Transition
T241
T242
T243
T244
10.9.11
P0016 (OVRUD)
In the state "remote operation" (S2), this subprogram transfers Override Up signal and Override Down
signal to internal relays assigned to issue corresponding macro commands.
10.9.12
P0017 (PRGC)
This program reserves Program Call signal from CNC into the internal relay PRGCn, where n indicates
CNC number. This internal relay means such situation that CNC requests a program but the program is
not yet launched. This internal relay will be set 0 when the requested program is launched or the robot
controller for any cause falls into the state that cannot launch the program.
10.9.13
P0018 (CUE)
Queue 2
Queue 3
Queue 4
CNC1
CNC2
CNC3
CNC4
Running
In this figure, the right side column "Running" is not a part of the queue but attached here for ease of
understandings. The column "Running" indicates corresponding CNC is inside the state "running".
Robot Ladder Program implements four methods to this queue.
Operation
Shift 4
Shift the values in queue 1 ~ queue 3 to the right and overwrite the value of queue 4. This
method will be called when all internal relays in queue 4 are 0.
Shift 3
Shift the values in queue 1 ~ queue 2 to the right and overwrite the value of queue 3. This
method will be called when all internal relays in queue 3 are 0 and there is at least one
internal relay has the value 1 in queue 4.
Shift the values in queue 1 to the right and overwrite the value of queue 2. This method will
be called when all internal relays in queue 2 are 0 and at least one internal relay in queue 4
has the value 1 and this is same in queue 3.
This method fetches Program Call signal into queue 1. This method will be called when all
internal relays in queue 1 are 0 and at least one internal relay in queue 4 has the value 1
and this is same in queue 3 and in queue 2.
Shift 2
Shift 1
- 149 -
B-75114EN/02
When CNC is in state "Program Calling", a Program Call request will be shifted from queue 1, queue 2,
queue 3 to queue 4. When queue 4 has the value 1 and the requested program is launched, the state of
CNC transits to state "running" and the value of queue 4 will be set 0. This structure and methods are
implemented in subprogram CUE.
In addition, it is possible to push a Program Call into this queue when a requested program from the same
CNC is running.
10.9.14
This subprogram checks the heart beat signal from Machine tool operation screen. Robot Ladder Program
resets a timer on the rising and falling edge of this heart beat signal. If this timer is not reset until a fixed
time, Robot Ladder Program considers heart beat stops.
10.9.15
These programs check whether Program Call from a specific CNC can be accepted or not when this CNC
is in the state "Program Calling". If the Program Call cannot be accepted, Robot Ladder Program sets the
value of internal relay TCnIDL and outputs Program Reply signal which indicates the reason. These
programs do nothing if Program Call can be accepted.
When the internal relay TCnIDL is turned on, internal relay PRGCn will be turned OFF by subprogram
PRGC.
10.9.16
In the state S23 (JOG FEED operation of the robot from CNC), these subprograms transfer signals from
CNC into internal relays assigned to DI[1025]~DI[1056]. The signal to enable JOG FEED operation from
CNC is always turned ON in state S23. The signal to move a specific robot axis will not be transferred
until Remote Operation Run signal is turned ON. Robot Ladder Program only transfers these signals. This
function actually moves the robot according to this signal (Refer to 10.8.3). Please set K0000.4=0 to use
18 signals from CNC as 12 signals for Joint Jog and 6 signals for Coordinate Jog. Other configurations
are not currently supported.
10.9.17
P0027 (T1T2)
This program handles remote operation. The process of this subprogram is described below:
1. Making a pulse from Remote Operation Request signal (with internal relays R0264.0~R0265.3)
2. Remote Operation Request will be accepted in the state "idle" (S1) unless other CNC send Remote
Operation Request signal. If this is not right, Remote Operation Request cannot be accepted.
(R0265.4~R0265.7)
3. Setting Access Control signal and making transition pulse T1.
4. Sending ACK or NAK to Remote Operation Request. This uses R0287.0~R0287.7 and fixed-timer
1~4.
5. Terminating remote operation.
Remote Operation ends when one of following conditions is satisfied.
In state "remote operation" (S2) and CNC that locks the robot controller turned Remote Operation
signal OFF.
These sequences use internal relays R0266.4~R0266.6 to make a pulse from Remote Operation signal and
make transition pulse T2.
- 150 -
B-75114EN/02
10.9.18
P0028 (S2STAT)
These subprograms determine which type of remote operation is selected based on signals from CNC in
state "remote operation" (S2).
10.9.19
These subprograms output signals for machine tool operation in the condition that heart beat signal from
Machine tool operation screen continues.
Machine tool operation screen sets the value of specific internal relays according to the operation selected
on the screen. Robot Ladder Program transfers these internal relays to DO signals.
These subprograms are called when K0001.0=1.
10.10
Usages of internal relays are shown in Table 10.10(a) for common internal relays and Table 10.10(b) for
CNC buffer internal relays.
Address
R0256.0
R0256.1
R0256.2
R0256.3
R0256.4
R0256.5
R0256.6
R0256.7
R0257.0
R0257.1
R0257.2
R0257.3
R0257.4
R0257.5
R0257.6
R0257.7
R0258.0
R0258.1
R0258.2
R0258.3
R0258.4
R0258.5
R0258.6
R0258.7
R0259.0
R0259.1
R0259.2
R0259.3
R0259.4
R0259.5
R0259.6
R0259.7
Assignment
- 151 -
Assignment
DO[1025]
DO[1026]
DO[1027]
DO[1028]
DO[1029]
DO[1030]
DO[1031]
DO[1032]
B-75114EN/02
Symbol
T1
T2
T3
T4
T5
T6
T7
CREADY
ESTOP
FENCE
Description
Transition to state remote operation
Transition to idle from state remote operation
Transition to state S3
Transition from S3 to S1
Transition to S4
Transition to state S5
Transition to state S1
Customized READY
In Emergency STOP state
Fence is open.
PGRUNC
PGENDC
PGABTC
INTRNS
INTM
TC1RRQ
TC2RRQ
TC3RRQ
TC4RRQ
- 152 -
B-75114EN/02
Address
R0266.7
R0267.0
R0267.1
R0267.2
R0267.3
R0267.4
R0267.5
R0267.6
R0267.7
R0268.0
R0268.1
R0268.2
R0268.3
R0268.4
R0268.5
R0268.6
R0268.7
R0269.0
R0269.1
R0269.2
R0269.3
R0269.4
R0269.5
R0269.6
R0269.7
R0270.0
R0270.1
R0270.2
R0270.3
R0270.4
R0270.5
R0270.6
R0270.7
R0271.0
R0271.1
R0271.2
R0271.3
R0271.4
R0271.5
R0271.6
R0271.7
R0272.0
R0272.1
R0272.2
R0272.3
R0272.4
R0272.5
R0272.6
R0272.7
R0273.0
R0273.1
R0273.2
R0273.3
R0273.4
Assignment
Symbol
DI[19]
DI[20]
DI[21]
DI[22]
DI[23]
DI[24]
DI[1031]
DI[1032]
DI[1033]
DI[1034]
DI[1035]
DI[1036]
DI[1037]
DI[1038]
DI[1039]
DI[1040]
DI[1041]
DI[1042]
DI[1043]
DI[1044]
DI[1045]
DI[1046]
DI[1047]
DI[1048]
DI[1049]
DI[1050]
DI[1051]
DI[1052]
DI[1053]
DI[1054]
DI[1055]
DI[1056]
GI[5]
GI[5]
GI[5]
GI[5]
MCRREN
MCRREX
MCRH
MCROVU
MCROVD
MCRHOM
UI[1]
UI[2]
UI[3]
UI[4]
UI[5]
UI[6]
UI[7]
UI[8]
UI[9]
UI[10]
UI[11]
UI[12]
UI[13]
CIMSTP
CHOLD
CSFSPD
CCSTOP
CRESET
CSTART
CHOME
CENABL
CPNS1
CPNS2
CPNS3
CPNS4
CPNS5
DIJOG
J1_X_P
J1_X_M
J2_Y_P
J2/Y_M
J3/Z_P
J3/Z_M
J4/W_P
J4/W_M
J5/P_P
J5/P_M
J6/R_P
J6/R_M
7_P
7_M
8_P
8_M
9_P
9_M
DIJOGJ
DIJOGX
HAND1
HAND2
HAND3
HAND4
Description
Making a pulse for a macro command on the entry/exit of remote
operation
Macro command on the entry of remote operation.
Macro command on the exit of remote operation.
Macro command for HAND operation
Macro to increase the override value.
Macro to decrease the override value.
Macro command for HOME POSITION RETURN
JOG Enable
Jog Direction Signal 1+
Jog Direction Signal 1Jog Direction Signal 2+
Jog Direction Signal 2Jog Direction Signal 3+
Jog Direction Signal 3Jog Direction Signal 4+
Jog Direction Signal 4Jog Direction Signal 5+
Jog Direction Signal 5Jog Direction Signal 6+
Jog Direction Signal 6Jog Direction Signal 7+
Jog Direction Signal 7Jog Direction Signal 8+
Jog Direction Signal 8Jog Direction Signal 9+
Jog Direction Signal 9Jog Type: Joint
Jog Type: Coordinate
Jog Frame Number 1
Jog Frame Number 2
Jog Frame Number 3
Jog Frame Number 4
Hand Operation Type
Hand Operation Type
Hand Operation Type
Hand Operation Type
Ring Counter 1
Ring Counter 2
Ring Counter 3
Ring Counter 4
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
- 153 -
Assignment
UI[14]
UI[15]
UI[16]
UI[17]
UI[18]
UI[19]
UI[20]
UI[21]
UI[22]
UI[23]
UI[24]
UO[1]
UO[2]
UO[3]
UO[4]
UO[5]
UO[6]
UO[7]
UO[8]
UO[9]
UO[10]
UO[11]
UO[12]
UO[13]
UO[14]
UO[15]
UO[16]
UO[17]
UO[18]
UO[19]
UO[20]
Symbol
CPNS6
CPNS7
CPNS8
CPNSTR
CPRDRN
B-75114EN/02
Description
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
UI signal
Queue 1.1
Queue 1.2
Queue 1.3
Queue 1.4
Queue 2.1
Queue 2.2
Queue 2.3
Queue 2.4
Queue 3.1
Queue 3.2
Queue 3.3
Queue 3.4
Queue 4.1
Queue 4.2
Queue 4.3
Queue 4.4
Requested program from CNC1 is running.
Requested program from CNC2 is running.
Requested program from CNC3 is running.
Requested program from CNC4 is running.
Shift 1
Shift 2
Shift 3
Shift 4
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
UO signal
- 154 -
B-75114EN/02
Address
R0280.4
R0280.5
R0280.6
R0280.7
R0281.0
R0281.1
R0281.2
R0281.3
R0281.4
R0281.5
R0281.6
R0281.7
R0282.0
R0282.1
R0282.2
R0282.3
R0282.4
R0282.5
R0282.6
R0282.7
R0283.0
R0283.1
R0283.2
R0283.3
R0283.4
R0283.5
R0283.6
R0283.7
R0284.0
R0284.1
R0284.2
R0284.3
R0284.4
R0284.5
R0284.6
R0284.7
R0285.0
R0285.1
R0285.2
R0285.3
R0285.4
R0285.5
R0285.6
R0285.7
R0286.0
R0286.1
R0286.2
R0286.3
R0286.4
R0286.5
R0286.6
R0286.7
R0287.0
R0287.1
R0287.2
Assignment
Symbol
MTOSHB
MTOSPL
MTOSTO
MTOSAL
TM1
TM2
TM3
TM4
TM5
TM6
TM7
T241
T242
T244
T243
S6
OVR1
OVR2
OVR3
OVR4
OVR5
OVR6
OVR7
OVR8
C1ACK
C1NAK
C2ACK
Description
UO signal
UO signal
UO signal
UO signal
Heart Beat signal Input
This relay is internally used to detect Heart Beat.
This relay is internally used to detect Heart Beat.
This relay is internally used to detect Heart Beat.
This relay is internally used to detect Heart Beat.
This relay is internally used to detect Heart Beat.
This relay is internally used to detect Heart Beat.
Heart Beat Alive
PNS number
PNS number
PNS number
PNS number
PNS number
PNS number
PNS number
PNS number
Generation of T1
Generation of T2
Generation of T3
Generation of T4
Generation of T5
Generation of T6
Generation of T7
GO1 (Override)
GO1 (Override)
GO1 (Override)
GO1 (Override)
GO1 (Override)
GO1 (Override)
GO1 (Override)
GO1 (Override)
CNC1 ACK
CNC1 NAK
CNC2 ACK
- 155 -
Assignment
Symbol
C2NAK
C3ACK
C3NAK
C4ACK
C4NAK
TC1PRG
TC1IDL
TC2PRG
TC2IDL
TC3PRG
TC3IDL
TC4PRG
TC4IDL
INVKTO
CSTPOF
RTNRQ1
RTNRQ2
RTNRQ3
RTNRQ4
C1RTN1
C1RTN2
C1RTN3
C1RTN4
C1RTN5
C1RTN6
C1RTN7
C1RTN8
C2RTN1
C2RTN2
C2RTN3
C2RTN4
C2RTN5
C2RTN6
C2RTN7
C2RTN8
C3RTN1
C3RTN2
C3RTN3
C3RTN4
C3RTN5
C3RTN6
C3RTN7
C3RTN8
C4RTN1
C4RTN2
B-75114EN/02
Description
CNC2 NAK
CNC3 ACK
CNC3 NAK
CNC4 ACK
CNC4 NAK
Making a pulse from Program Call from CNC1
Making a pulse from Program Call from CNC1
Making a pulse from Program Call from CNC1
Transition to turn PRGC1 OFF
Making a pulse from Program Call from CNC2
Making a pulse from Program Call from CNC2
Making a pulse from Program Call from CNC2
Transition to turn PRGC2 OFF
Making a pulse from Program Call from CNC3
Making a pulse from Program Call from CNC3
Making a pulse from Program Call from CNC3
Transition to turn PRGC3 OFF
Making a pulse from Program Call from CNC4
Making a pulse from Program Call from CNC4
Making a pulse from Program Call from CNC4
Transition to turn PRGC4 OFF
Timer for SNACK
A pulse to PROD_RUN.
A pulse to CSTOPI.
Timer for PGRUNC
Program Running State 1
Program Running State 2
Program Running State 3
Program Running State 4
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 1
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 2
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 3
Program Reply 4
Program Reply 4
- 156 -
B-75114EN/02
Address
R0294.2
R0294.3
R0294.4
R0294.5
R0294.6
R0294.7
Assignment
Symbol
C4RTN3
C4RTN4
C4RTN5
C4RTN6
C4RTN7
C4RTN8
Description
Program Reply 4
Program Reply 4
Program Reply 4
Program Reply 4
Program Reply 4
Program Reply 4
Table 10.10(b) shows the list of internal relays used for DI and DO signals. Left side of this table shows
addresses of internal relays for CNC1 and DI/DO signals and description. Internal relays and DI/DO
signals for CNC2~CNC4 are shown on the right side.
Address
R0000.0
R0000.1
R0000.2
R0000.3
R0000.4
R0000.5
R0000.6
R0000.7
R0001.0
R0001.1
R0001.2
R0001.3
R0001.4
R0001.5
R0001.6
R0001.7
R0002.0
R0002.1
R0002.2
R0002.3
R0002.4
R0002.5
R0002.6
R0002.7
R0003.0
R0003.1
R0003.2
R0003.3
R0003.4
R0003.5
R0003.6
R0003.7
R0004.0
R0004.1
R0004.2
R0004.3
R0004.4
R0004.5
R0004.6
R0004.7
R0005.0
Signal
DI[1]
DI[2]
DI[3]
DI[4]
DI[5]
DI[6]
DI[7]
DI[8]
DI[9]
DI[10]
DI[11]
DI[12]
DI[13]
DI[14]
DI[15]
DI[16]
DI[17]
DI[18]
DI[25]
DI[26]
DI[27]
DI[28]
DI[29]
DI[30]
DI[31]
DI[32]
DI[33]
DI[34]
DI[35]
DI[36]
DI[37]
DI[38]
DI[39]
DI[40]
DI[41]
- 157 -
CNC4
R0192.0
R0192.1
R0192.2
R0192.3
R0193.4
R0193.5
R0193.6
R0193.7
R0193.0
R0193.1
R0193.2
R0193.3
R0194.4
R0194.5
R0194.6
R0194.7
R0194.0
R0194.1
R0194.2
R0194.3
R0195.4
R0195.5
R0195.6
R0195.7
R0195.0
R0195.1
R0195.2
R0195.3
R0196.4
R0196.5
R0196.6
R0196.7
R0196.0
R0196.1
R0196.2
R0196.3
R0197.4
R0197.5
R0197.6
R0197.7
R0197.0
DI[769]
DI[770]
DI[771]
DI[772]
DI[773]
DI[774]
DI[775]
DI[776]
DI[777]
DI[778]
DI[779]
DI[780]
DI[781]
DI[782]
DI[783]
DI[784]
DI[785]
DI[786]
DI[793]
DI[794]
DI[795]
DI[796]
DI[797]
DI[798]
DI[799]
DI[800]
DI[801]
DI[802]
DI[803]
DI[804]
DI[805]
DI[806]
DI[807]
DI[808]
DI[809]
Signal
DI[42]
DI[43]
DI[44]
DI[45]
DI[46]
DI[47]
DI[48]
DI[49]
DI[50]
DI[51]
DI[52]
DI[53]
R0006.5
DI[54]
R0006.6
DI[55]
R0006.7
DI[56]
R0007.0
DI[57]
R0007.1
DI[58]
R0007.2
R0007.3
R0007.4
R0007.5
R0007.6
R0007.7
R0008.0
R0008.1
R0008.2
R0008.3
R0008.4
R0008.5
R0008.6
R0008.7
R0009.0
R0009.1
R0009.2
R0009.3
R0009.4
R0009.5
R0009.6
R0009.7
R0010.0
DI[59]
DI[60]
DI[61]
DI[62]
DI[63]
DI[64]
DI[65]
DI[66]
DI[67]
DI[68]
DI[69]
DI[70]
DI[71]
DI[72]
DI[73]
DI[74]
DI[75]
DI[76]
DI[77]
DI[78]
DI[79]
DI[80]
DI[81]
R0010.1
DI[82]
R0010.2
DI[83]
R0010.3
DI[84]
R0010.4
DI[85]
Description
Direction for Joint Jog (J1-)
Direction for Joint Jog (J2+)
Direction for Joint Jog (J2-)
Direction for Joint Jog (J3+)
Direction for Joint Jog (J3-)
Direction for Joint Jog (J4+)
Direction for Joint Jog (J4-)
Direction for Joint Jog (J5+)
Direction for Joint Jog (J5-)
Direction for Joint Jog (J6+)
Direction for Joint Jog (J6-)
Direction for Coordinate Jog
(X+)
Direction for Coordinate Jog (X)
Direction for Coordinate Jog
(Y+)
Direction for Coordinate Jog (Y)
Direction for Coordinate Jog
(Z+)
Direction for Coordinate Jog (Z)
Home Position Return
B-75114EN/02
CNC2
R0069.1
R0069.2
R0069.3
R0070.4
R0070.5
R0070.6
R0070.7
R0070.0
R0070.1
R0070.2
R0070.3
R0071.4
DI[298]
DI[299]
DI[300]
DI[301]
DI[302]
DI[303]
DI[304]
DI[305]
DI[306]
DI[307]
DI[308]
DI[309]
CNC3
R0133.1
R0133.2
R0133.3
R0134.4
R0134.5
R0134.6
R0134.7
R0134.0
R0134.1
R0134.2
R0134.3
R0135.4
DI[554]
DI[555]
DI[556]
DI[557]
DI[558]
DI[559]
DI[560]
DI[561]
DI[562]
DI[563]
DI[564]
DI[565]
CNC4
R0197.1
R0197.2
R0197.3
R0198.4
R0198.5
R0198.6
R0198.7
R0198.0
R0198.1
R0198.2
R0198.3
R0199.4
DI[810]
DI[811]
DI[812]
DI[813]
DI[814]
DI[815]
DI[816]
DI[817]
DI[818]
DI[819]
DI[820]
DI[821]
R0071.5 DI[310]
R0135.5 DI[566]
R0199.5 DI[822]
R0071.6 DI[311]
R0135.6 DI[567]
R0199.6 DI[823]
R0071.7 DI[312]
R0135.7 DI[568]
R0199.7 DI[824]
R0071.0 DI[313]
R0135.0 DI[569]
R0199.0 DI[825]
R0071.1 DI[314]
R0135.1 DI[570]
R0199.1 DI[826]
DI[315]
DI[316]
DI[317]
DI[318]
DI[319]
DI[320]
DI[321]
DI[322]
DI[323]
DI[324]
DI[325]
DI[326]
DI[327]
DI[328]
DI[329]
DI[330]
DI[331]
DI[332]
DI[333]
DI[334]
DI[335]
DI[336]
DI[337]
R0135.2
R0135.3
R0136.4
R0136.5
R0136.6
R0136.7
R0136.0
R0136.1
R0136.2
R0136.3
R0137.4
R0137.5
R0137.6
R0137.7
R0137.0
R0137.1
R0137.2
R0137.3
R0138.4
R0138.5
R0138.6
R0138.7
R0138.0
R0199.2
R0199.3
R0200.4
R0200.5
R0200.6
R0200.7
R0200.0
R0200.1
R0200.2
R0200.3
R0201.4
R0201.5
R0201.6
R0201.7
R0201.0
R0201.1
R0201.2
R0201.3
R0202.4
R0202.5
R0202.6
R0202.7
R0202.0
DI[338]
R0138.1 DI[594]
R0202.1 DI[850]
DI[339]
R0138.2 DI[595]
R0202.2 DI[851]
DI[340]
R0138.3 DI[596]
R0202.3 DI[852]
DI[341]
R0139.4 DI[597]
R0203.4 DI[853]
R0071.2
R0071.3
R0072.4
R0072.5
R0072.6
R0072.7
R0072.0
R0072.1
R0072.2
R0072.3
R0073.4
R0073.5
R0073.6
R0073.7
R0073.0
R0073.1
R0073.2
R0073.3
R0074.4
R0074.5
R0074.6
R0074.7
Response of Peripheral Device R0074.0
1
Response of Peripheral Device R0074.1
2
Response of Peripheral Device R0074.2
3
Response of Peripheral Device R0074.3
4
Response of Peripheral Device R0075.4
5
- 158 -
DI[571]
DI[572]
DI[573]
DI[574]
DI[575]
DI[576]
DI[577]
DI[578]
DI[579]
DI[580]
DI[581]
DI[582]
DI[583]
DI[584]
DI[585]
DI[586]
DI[587]
DI[588]
DI[589]
DI[590]
DI[591]
DI[592]
DI[593]
DI[827]
DI[828]
DI[829]
DI[830]
DI[831]
DI[832]
DI[833]
DI[834]
DI[835]
DI[836]
DI[837]
DI[838]
DI[839]
DI[840]
DI[841]
DI[842]
DI[843]
DI[844]
DI[845]
DI[846]
DI[847]
DI[848]
DI[849]
B-75114EN/02
Address Signal
Description
R0010.5 DI[86]
Response of Peripheral Device
6
R0010.6 DI[87]
Response of Peripheral Device
7
R0010.7 DI[88]
Response of Peripheral Device
8
R0011.0 DI[89]
Response of Peripheral Device
9
R0011.1 DI[90]
Response of Peripheral Device
10
R0011.2 DI[91]
Response of Peripheral Device
11
R0011.3 DI[92]
Response of Peripheral Device
12
R0011.4 DI[93]
Response of Peripheral Device
13
R0011.5 DI[94]
Response of Peripheral Device
14
R0011.6 DI[95]
Response of Peripheral Device
15
R0011.7 DI[96]
Response of Peripheral Device
16
R0012.0 DI[97]
Production System Response 1
R0012.1 DI[98]
Production System Response 2
R0012.2 DI[99]
Production System Response 3
R0012.3 DI[100] Production System Response 4
R0012.4 DI[101] Input of Production System
Operation 1
R0012.5 DI[102] Input of Production System
Operation 2
R0012.6 DI[103] Input of Production System
Operation 3
R0012.7 DI[104] Input of Production System
Operation 4
R0013.0 DI[105] Robot Entry Approval
R0013.1 DI[106] Service Call
R0013.2 DI[107] Machine Alarm
R0013.3 DI[108] Door Open
R0013.4 DI[109] Door Close
R0013.5 DI[110] Part Change Position
R0013.6 DI[111]
R0013.7 DI[112]
R0014.0 DI[113]
R0014.1 DI[114]
R0014.2 DI[115]
R0014.3 DI[116]
R0014.4 DI[117]
R0014.5 DI[118]
R0014.6 DI[119]
R0014.7 DI[120]
R0015.0 DI[121] Machine Operation Enable
Status
R0015.1 DI[122] Machine Operation Enable
Request Reject
R0015.2 DI[123] Machine Operation Request
CNC2
R0075.5 DI[342]
CNC3
R0139.5 DI[598]
CNC4
R0203.5 DI[854]
R0075.6 DI[343]
R0139.6 DI[599]
R0203.6 DI[855]
R0075.7 DI[344]
R0139.7 DI[600]
R0203.7 DI[856]
R0075.0 DI[345]
R0139.0 DI[601]
R0203.0 DI[857]
R0075.1 DI[346]
R0139.1 DI[602]
R0203.1 DI[858]
R0075.2 DI[347]
R0139.2 DI[603]
R0203.2 DI[859]
R0075.3 DI[348]
R0139.3 DI[604]
R0203.3 DI[860]
R0076.4 DI[349]
R0140.4 DI[605]
R0204.4 DI[861]
R0076.5 DI[350]
R0140.5 DI[606]
R0204.5 DI[862]
R0076.6 DI[351]
R0140.6 DI[607]
R0204.6 DI[863]
R0076.7 DI[352]
R0140.7 DI[608]
R0204.7 DI[864]
R0076.0
R0076.1
R0076.2
R0076.3
R0077.4
R0140.0
R0140.1
R0140.2
R0140.3
R0141.4
R0204.0
R0204.1
R0204.2
R0204.3
R0205.4
DI[353]
DI[354]
DI[355]
DI[356]
DI[357]
DI[609]
DI[610]
DI[611]
DI[612]
DI[613]
DI[865]
DI[866]
DI[867]
DI[868]
DI[869]
R0077.5 DI[358]
R0141.5 DI[614]
R0205.5 DI[870]
R0077.6 DI[359]
R0141.6 DI[615]
R0205.6 DI[871]
R0077.7 DI[360]
R0141.7 DI[616]
R0205.7 DI[872]
R0077.0
R0077.1
R0077.2
R0077.3
R0078.4
R0078.5
R0078.6
R0078.7
R0078.0
R0078.1
R0078.2
R0078.3
R0079.4
R0079.5
R0079.6
R0079.7
R0079.0
R0141.0
R0141.1
R0141.2
R0141.3
R0142.4
R0142.5
R0142.6
R0142.7
R0142.0
R0142.1
R0142.2
R0142.3
R0143.4
R0143.5
R0143.6
R0143.7
R0143.0
R0205.0
R0205.1
R0205.2
R0205.3
R0206.4
R0206.5
R0206.6
R0206.7
R0206.0
R0206.1
R0206.2
R0206.3
R0207.4
R0207.5
R0207.6
R0207.7
R0207.0
DI[361]
DI[362]
DI[363]
DI[364]
DI[365]
DI[366]
DI[367]
DI[368]
DI[369]
DI[370]
DI[371]
DI[372]
DI[373]
DI[374]
DI[375]
DI[376]
DI[377]
DI[617]
DI[618]
DI[619]
DI[620]
DI[621]
DI[622]
DI[623]
DI[624]
DI[625]
DI[626]
DI[627]
DI[628]
DI[629]
DI[630]
DI[631]
DI[632]
DI[633]
DI[873]
DI[874]
DI[875]
DI[876]
DI[877]
DI[878]
DI[879]
DI[880]
DI[881]
DI[882]
DI[883]
DI[884]
DI[885]
DI[886]
DI[887]
DI[888]
DI[889]
R0079.1 DI[378]
R0143.1 DI[634]
R0207.1 DI[890]
R0079.2 DI[379]
R0143.2 DI[635]
R0207.2 DI[891]
- 159 -
Signal
R0015.3
DI[124]
R0015.4
DI[125]
R0015.5
DI[126]
R0015.6
R0015.7
R0016.0
R0016.1
R0016.2
R0016.3
R0016.4
R0016.5
R0016.6
R0016.7
R0017.0
R0017.1
R0017.2
R0017.3
R0017.4
R0017.5
R0017.6
R0017.7
R0018.0
R0018.1
R0018.2
R0018.3
R0018.4
R0018.5
R0018.6
R0018.7
R0019.0
R0019.1
R0019.2
R0019.3
R0019.4
R0019.5
R0019.6
R0019.7
R0020.0
R0020.1
R0020.2
R0020.3
R0020.4
R0020.5
R0020.6
R0020.7
R0021.0
R0021.1
R0021.2
R0021.3
R0021.4
R0021.5
DI[127]
DI[128]
DI[129]
DI[130]
DI[131]
DI[132]
DI[133]
DI[134]
DI[135]
DI[136]
DI[137]
DI[138]
DI[139]
DI[140]
DI[141]
DI[142]
DI[143]
DI[144]
DI[145]
DI[146]
DI[147]
DI[148]
DI[149]
DI[150]
DI[151]
DI[152]
DI[153]
DI[154]
DI[155]
DI[156]
DI[157]
DI[158]
DI[159]
DI[160]
DI[161]
DI[162]
DI[163]
DI[164]
DI[165]
DI[166]
DI[167]
DI[168]
DI[169]
DI[170]
DI[171]
DI[172]
DI[173]
DI[174]
Description
Reject Code 0
Machine Operation Request
Reject Code 1
Machine Operation Request
Reject Code 2
Machine Operation Request
Reject Code 3
B-75114EN/02
CNC2
CNC3
CNC4
R0079.3 DI[380]
R0143.3 DI[636]
R0207.3 DI[892]
R0080.4 DI[381]
R0144.4 DI[637]
R0208.4 DI[893]
R0080.5 DI[382]
R0144.5 DI[638]
R0208.5 DI[894]
R0080.6
R0080.7
R0080.0
R0080.1
R0080.2
R0080.3
R0081.4
R0081.5
R0081.6
R0081.7
R0081.0
R0081.1
R0081.2
R0081.3
R0082.4
R0082.5
R0082.6
R0082.7
R0082.0
R0082.1
R0082.2
R0082.3
R0083.4
R0083.5
R0083.6
R0083.7
R0083.0
R0083.1
R0083.2
R0083.3
R0084.4
R0084.5
R0084.6
R0084.7
R0084.0
R0084.1
R0084.2
R0084.3
R0085.4
R0085.5
R0085.6
R0085.7
R0085.0
R0085.1
R0085.2
R0085.3
R0086.4
R0086.5
R0144.6
R0144.7
R0144.0
R0144.1
R0144.2
R0144.3
R0145.4
R0145.5
R0145.6
R0145.7
R0145.0
R0145.1
R0145.2
R0145.3
R0146.4
R0146.5
R0146.6
R0146.7
R0146.0
R0146.1
R0146.2
R0146.3
R0147.4
R0147.5
R0147.6
R0147.7
R0147.0
R0147.1
R0147.2
R0147.3
R0148.4
R0148.5
R0148.6
R0148.7
R0148.0
R0148.1
R0148.2
R0148.3
R0149.4
R0149.5
R0149.6
R0149.7
R0149.0
R0149.1
R0149.2
R0149.3
R0150.4
R0150.5
R0208.6
R0208.7
R0208.0
R0208.1
R0208.2
R0208.3
R0209.4
R0209.5
R0209.6
R0209.7
R0209.0
R0209.1
R0209.2
R0209.3
R0210.4
R0210.5
R0210.6
R0210.7
R0210.0
R0210.1
R0210.2
R0210.3
R0211.4
R0211.5
R0211.6
R0211.7
R0211.0
R0211.1
R0211.2
R0211.3
R0212.4
R0212.5
R0212.6
R0212.7
R0212.0
R0212.1
R0212.2
R0212.3
R0213.4
R0213.5
R0213.6
R0213.7
R0213.0
R0213.1
R0213.2
R0213.3
R0214.4
R0214.5
- 160 -
DI[383]
DI[384]
DI[385]
DI[386]
DI[387]
DI[388]
DI[389]
DI[390]
DI[391]
DI[392]
DI[393]
DI[394]
DI[395]
DI[396]
DI[397]
DI[398]
DI[399]
DI[400]
DI[401]
DI[402]
DI[403]
DI[404]
DI[405]
DI[406]
DI[407]
DI[408]
DI[409]
DI[410]
DI[411]
DI[412]
DI[413]
DI[414]
DI[415]
DI[416]
DI[417]
DI[418]
DI[419]
DI[420]
DI[421]
DI[422]
DI[423]
DI[424]
DI[425]
DI[426]
DI[427]
DI[428]
DI[429]
DI[430]
DI[639]
DI[640]
DI[641]
DI[642]
DI[643]
DI[644]
DI[645]
DI[646]
DI[647]
DI[648]
DI[649]
DI[650]
DI[651]
DI[652]
DI[653]
DI[654]
DI[655]
DI[656]
DI[657]
DI[658]
DI[659]
DI[660]
DI[661]
DI[662]
DI[663]
DI[664]
DI[665]
DI[666]
DI[667]
DI[668]
DI[669]
DI[670]
DI[671]
DI[672]
DI[673]
DI[674]
DI[675]
DI[676]
DI[677]
DI[678]
DI[679]
DI[680]
DI[681]
DI[682]
DI[683]
DI[684]
DI[685]
DI[686]
DI[895]
DI[896]
DI[897]
DI[898]
DI[899]
DI[900]
DI[901]
DI[902]
DI[903]
DI[904]
DI[905]
DI[906]
DI[907]
DI[908]
DI[909]
DI[910]
DI[911]
DI[912]
DI[913]
DI[914]
DI[915]
DI[916]
DI[917]
DI[918]
DI[919]
DI[920]
DI[921]
DI[922]
DI[923]
DI[924]
DI[925]
DI[926]
DI[927]
DI[928]
DI[929]
DI[930]
DI[931]
DI[932]
DI[933]
DI[934]
DI[935]
DI[936]
DI[937]
DI[938]
DI[939]
DI[940]
DI[941]
DI[942]
B-75114EN/02
Address
R0021.6
R0021.7
R0022.0
R0022.1
R0022.2
R0022.3
R0022.4
R0022.5
R0022.6
R0022.7
R0023.0
R0023.1
R0023.2
R0023.3
R0023.4
R0023.5
R0023.6
R0023.7
R0024.0
R0024.1
R0024.2
R0024.3
R0024.4
R0024.5
R0024.6
R0024.7
R0025.0
R0025.1
R0025.2
R0025.3
R0025.4
R0025.5
R0025.6
R0025.7
R0026.0
R0026.1
R0026.2
R0026.3
R0026.4
R0026.5
R0026.6
R0026.7
R0027.0
R0027.1
R0027.2
R0027.3
R0027.4
R0027.5
R0027.6
R0027.7
R0028.0
R0028.1
R0028.2
R0028.3
R0028.4
Signal
DI[175]
DI[176]
DI[177]
DI[178]
DI[179]
DI[180]
DI[181]
DI[182]
DI[183]
DI[184]
DI[185]
DI[186]
DI[187]
DI[188]
DI[189]
DI[190]
DI[191]
DI[192]
DI[193]
DI[194]
DI[195]
DI[196]
DI[197]
DI[198]
DI[199]
DI[200]
DI[201]
DI[202]
DI[203]
DI[204]
DI[205]
DI[206]
DI[207]
DI[208]
DI[209]
DI[210]
DI[211]
DI[212]
DI[213]
DI[214]
DI[215]
DI[216]
DI[217]
DI[218]
DI[219]
DI[220]
DI[221]
DI[222]
DI[223]
DI[224]
DI[225]
DI[226]
DI[227]
DI[228]
DI[229]
Description
CNC2
R0086.6
R0086.7
R0086.0
R0086.1
R0086.2
R0086.3
R0087.4
R0087.5
R0087.6
R0087.7
R0087.0
R0087.1
R0087.2
R0087.3
R0088.4
R0088.5
R0088.6
R0088.7
R0088.0
R0088.1
R0088.2
R0088.3
R0089.4
R0089.5
R0089.6
R0089.7
R0089.0
R0089.1
R0089.2
R0089.3
R0090.4
R0090.5
R0090.6
R0090.7
R0090.0
R0090.1
R0090.2
R0090.3
R0091.4
R0091.5
R0091.6
R0091.7
R0091.0
R0091.1
R0091.2
R0091.3
R0092.4
R0092.5
R0092.6
R0092.7
R0092.0
R0092.1
R0092.2
R0092.3
R0093.4
- 161 -
DI[431]
DI[432]
DI[433]
DI[434]
DI[435]
DI[436]
DI[437]
DI[438]
DI[439]
DI[440]
DI[441]
DI[442]
DI[443]
DI[444]
DI[445]
DI[446]
DI[447]
DI[448]
DI[449]
DI[450]
DI[451]
DI[452]
DI[453]
DI[454]
DI[455]
DI[456]
DI[457]
DI[458]
DI[459]
DI[460]
DI[461]
DI[462]
DI[463]
DI[464]
DI[465]
DI[466]
DI[467]
DI[468]
DI[469]
DI[470]
DI[471]
DI[472]
DI[473]
DI[474]
DI[475]
DI[476]
DI[477]
DI[478]
DI[479]
DI[480]
DI[481]
DI[482]
DI[483]
DI[484]
DI[485]
CNC3
R0150.6
R0150.7
R0150.0
R0150.1
R0150.2
R0150.3
R0151.4
R0151.5
R0151.6
R0151.7
R0151.0
R0151.1
R0151.2
R0151.3
R0152.4
R0152.5
R0152.6
R0152.7
R0152.0
R0152.1
R0152.2
R0152.3
R0153.4
R0153.5
R0153.6
R0153.7
R0153.0
R0153.1
R0153.2
R0153.3
R0154.4
R0154.5
R0154.6
R0154.7
R0154.0
R0154.1
R0154.2
R0154.3
R0155.4
R0155.5
R0155.6
R0155.7
R0155.0
R0155.1
R0155.2
R0155.3
R0156.4
R0156.5
R0156.6
R0156.7
R0156.0
R0156.1
R0156.2
R0156.3
R0157.4
DI[687]
DI[688]
DI[689]
DI[690]
DI[691]
DI[692]
DI[693]
DI[694]
DI[695]
DI[696]
DI[697]
DI[698]
DI[699]
DI[700]
DI[701]
DI[702]
DI[703]
DI[704]
DI[705]
DI[706]
DI[707]
DI[708]
DI[709]
DI[710]
DI[711]
DI[712]
DI[713]
DI[714]
DI[715]
DI[716]
DI[717]
DI[718]
DI[719]
DI[720]
DI[721]
DI[722]
DI[723]
DI[724]
DI[725]
DI[726]
DI[727]
DI[728]
DI[729]
DI[730]
DI[731]
DI[732]
DI[733]
DI[734]
DI[735]
DI[736]
DI[737]
DI[738]
DI[739]
DI[740]
DI[741]
CNC4
R0214.6
R0214.7
R0214.0
R0214.1
R0214.2
R0214.3
R0215.4
R0215.5
R0215.6
R0215.7
R0215.0
R0215.1
R0215.2
R0215.3
R0216.4
R0216.5
R0216.6
R0216.7
R0216.0
R0216.1
R0216.2
R0216.3
R0217.4
R0217.5
R0217.6
R0217.7
R0217.0
R0217.1
R0217.2
R0217.3
R0218.4
R0218.5
R0218.6
R0218.7
R0218.0
R0218.1
R0218.2
R0218.3
R0219.4
R0219.5
R0219.6
R0219.7
R0219.0
R0219.1
R0219.2
R0219.3
R0220.4
R0220.5
R0220.6
R0220.7
R0220.0
R0220.1
R0220.2
R0220.3
R0221.4
DI[943]
DI[944]
DI[945]
DI[946]
DI[947]
DI[948]
DI[949]
DI[950]
DI[951]
DI[952]
DI[953]
DI[954]
DI[955]
DI[956]
DI[957]
DI[958]
DI[959]
DI[960]
DI[961]
DI[962]
DI[963]
DI[964]
DI[965]
DI[966]
DI[967]
DI[968]
DI[969]
DI[970]
DI[971]
DI[972]
DI[973]
DI[974]
DI[975]
DI[976]
DI[977]
DI[978]
DI[979]
DI[980]
DI[981]
DI[982]
DI[983]
DI[984]
DI[985]
DI[986]
DI[987]
DI[988]
DI[989]
DI[990]
DI[991]
DI[992]
DI[993]
DI[994]
DI[995]
DI[996]
DI[997]
Signal
DI[230]
DI[231]
DI[232]
DI[233]
DI[234]
DI[235]
DI[236]
DI[237]
DI[238]
DI[239]
DI[240]
DI[241]
DI[242]
DI[243]
DI[244]
DI[245]
DI[246]
DI[247]
DI[248]
DI[249]
DI[250]
DI[251]
DI[252]
DI[253]
DI[254]
DI[255]
DI[256]
DO[1]
DO[2]
DO[3]
DO[4]
DO[5]
DO[6]
DO[7]
DO[8]
DO[9]
DO[10]
DO[11]
DO[12]
DO[13]
DO[14]
DO[15]
DO[16]
DO[17]
DO[18]
DO[19]
DO[20]
DO[21]
DO[22]
DO[23]
DO[24]
DO[25]
DO[26]
DO[27]
DO[28]
Description
Cmd enabled
System ready
Prg running
Prg paused
Motion held
Fault
At perch
TP enabled
Batt alarm
Busy
SNO1
SNO2
SNO3
SNO4
SNO5
SNO6
SNO7
SNO8
SNACK
Reserved
RI[1]
RI[2]
RI[3]
RI[4]
B-75114EN/02
CNC2
R0093.5
R0093.6
R0093.7
R0093.0
R0093.1
R0093.2
R0093.3
R0094.4
R0094.5
R0094.6
R0094.7
R0094.0
R0094.1
R0094.2
R0094.3
R0095.4
R0095.5
R0095.6
R0095.7
R0095.0
R0095.1
R0095.2
R0095.3
R0096.4
R0096.5
R0096.6
R0096.7
R0096.0
R0096.1
R0096.2
R0096.3
R0097.4
R0097.5
R0097.6
R0097.7
R0097.0
R0097.1
R0097.2
R0097.3
R0098.4
R0098.5
R0098.6
R0098.7
R0098.0
R0098.1
R0098.2
R0098.3
R0099.4
R0099.5
R0099.6
R0099.7
R0099.0
R0099.1
R0099.2
R0099.3
- 162 -
DI[486]
DI[487]
DI[488]
DI[489]
DI[490]
DI[491]
DI[492]
DI[493]
DI[494]
DI[495]
DI[496]
DI[497]
DI[498]
DI[499]
DI[500]
DI[501]
DI[502]
DI[503]
DI[504]
DI[505]
DI[506]
DI[507]
DI[508]
DI[509]
DI[510]
DI[511]
DI[512]
DO[257]
DO[258]
DO[259]
DO[260]
DO[261]
DO[262]
DO[263]
DO[264]
DO[265]
DO[266]
DO[267]
DO[268]
DO[269]
DO[270]
DO[271]
DO[272]
DO[273]
DO[274]
DO[275]
DO[276]
DO[277]
DO[278]
DO[279]
DO[280]
DO[281]
DO[282]
DO[283]
DO[284]
CNC3
R0157.5
R0157.6
R0157.7
R0157.0
R0157.1
R0157.2
R0157.3
R0158.4
R0158.5
R0158.6
R0158.7
R0158.0
R0158.1
R0158.2
R0158.3
R0159.4
R0159.5
R0159.6
R0159.7
R0159.0
R0159.1
R0159.2
R0159.3
R0160.4
R0160.5
R0160.6
R0160.7
R0160.0
R0160.1
R0160.2
R0160.3
R0161.4
R0161.5
R0161.6
R0161.7
R0161.0
R0161.1
R0161.2
R0161.3
R0162.4
R0162.5
R0162.6
R0162.7
R0162.0
R0162.1
R0162.2
R0162.3
R0163.4
R0163.5
R0163.6
R0163.7
R0163.0
R0163.1
R0163.2
R0163.3
DI[742]
DI[743]
DI[744]
DI[745]
DI[746]
DI[747]
DI[748]
DI[749]
DI[750]
DI[751]
DI[752]
DI[753]
DI[754]
DI[755]
DI[756]
DI[757]
DI[758]
DI[759]
DI[760]
DI[761]
DI[762]
DI[763]
DI[764]
DI[765]
DI[766]
DI[767]
DI[768]
DO[513]
DO[514]
DO[515]
DO[516]
DO[517]
DO[518]
DO[519]
DO[520]
DO[521]
DO[522]
DO[523]
DO[524]
DO[525]
DO[526]
DO[527]
DO[528]
DO[529]
DO[530]
DO[531]
DO[532]
DO[533]
DO[534]
DO[535]
DO[536]
DO[537]
DO[538]
DO[539]
DO[540]
CNC4
R0221.5
R0221.6
R0221.7
R0221.0
R0221.1
R0221.2
R0221.3
R0222.4
R0222.5
R0222.6
R0222.7
R0222.0
R0222.1
R0222.2
R0222.3
R0223.4
R0223.5
R0223.6
R0223.7
R0223.0
R0223.1
R0223.2
R0223.3
R0224.4
R0224.5
R0224.6
R0224.7
R0224.0
R0224.1
R0224.2
R0224.3
R0225.4
R0225.5
R0225.6
R0225.7
R0225.0
R0225.1
R0225.2
R0225.3
R0226.4
R0226.5
R0226.6
R0226.7
R0226.0
R0226.1
R0226.2
R0226.3
R0227.4
R0227.5
R0227.6
R0227.7
R0227.0
R0227.1
R0227.2
R0227.3
DI[998]
DI[999]
DI[1000]
DI[1001]
DI[1002]
DI[1003]
DI[1004]
DI[1005]
DI[1006]
DI[1007]
DI[1008]
DI[1009]
DI[1010]
DI[1011]
DI[1012]
DI[1013]
DI[1014]
DI[1015]
DI[1016]
DI[1017]
DI[1018]
DI[1019]
DI[1020]
DI[1021]
DI[1022]
DI[1023]
DI[1024]
DO[769]
DO[770]
DO[771]
DO[772]
DO[773]
DO[774]
DO[775]
DO[776]
DO[777]
DO[778]
DO[779]
DO[780]
DO[781]
DO[782]
DO[783]
DO[784]
DO[785]
DO[786]
DO[787]
DO[788]
DO[789]
DO[790]
DO[791]
DO[792]
DO[793]
DO[794]
DO[795]
DO[796]
B-75114EN/02
Address
R0035.4
R0035.5
R0035.6
R0035.7
R0036.0
R0036.1
R0036.2
R0036.3
R0036.4
R0036.5
R0036.6
R0036.7
R0037.0
R0037.1
R0037.2
R0037.3
R0037.4
R0037.5
R0037.6
R0037.7
R0038.0
R0038.1
R0038.2
R0038.3
R0038.4
R0038.5
R0038.6
R0038.7
R0039.0
R0039.1
R0039.2
R0039.3
R0039.4
R0039.5
R0039.6
R0039.7
R0040.0
R0040.1
R0040.2
R0040.3
R0040.4
R0040.5
R0040.6
R0040.7
R0041.0
R0041.1
R0041.2
Signal
DO[29]
DO[30]
DO[31]
DO[32]
DO[33]
DO[34]
DO[35]
DO[36]
DO[37]
DO[38]
DO[39]
DO[40]
DO[41]
DO[42]
DO[43]
DO[44]
DO[45]
DO[46]
DO[47]
DO[48]
DO[49]
DO[50]
DO[51]
DO[52]
DO[53]
DO[54]
DO[55]
DO[56]
DO[57]
DO[58]
DO[59]
DO[60]
DO[61]
DO[62]
DO[63]
DO[64]
DO[65]
DO[66]
DO[67]
DO[68]
DO[69]
DO[70]
DO[71]
DO[72]
DO[73]
DO[74]
DO[75]
R0041.3
DO[76]
R0041.4
R0041.5
R0041.6
R0041.7
DO[77]
DO[78]
DO[79]
DO[80]
Description
RI[5]
RI[6]
RI[7]
RI[8]
RO[1]
RO[2]
RO[3]
RO[4]
RO[5]
RO[6]
RO[7]
RO[8]
Override Output 1
Override Output 2
Override Output 3
Override Output 4
Override Output 5
Override Output 6
Override Output 7
Override Output 8
CNC ID Number 1
CNC ID Number 2
CNC ID Number 3
CNC ID Number 4
Access Control 1
Access Control 2
Access Control 3
Access Control 4
Program Reply 1
Program Reply 2
Program Reply 3
Program Reply 4
Robot Power On
Maintenance State
Service State
Machine Interlock Mode
Remote Operation Mode
Safety Fence Open
Safety Fence Close
In E.STOP state
Not Ready
Ready
Completed
Jog Feed Operation State
Hand Operation State
Home Position Return state
ACK for Remote Operation
Request
NAK for Remote Operation
Request
CNC2
R0100.4
R0100.5
R0100.6
R0100.7
R0100.0
R0100.1
R0100.2
R0100.3
R0101.4
R0101.5
R0101.6
R0101.7
R0101.0
R0101.1
R0101.2
R0101.3
R0102.4
R0102.5
R0102.6
R0102.7
R0102.0
R0102.1
R0102.2
R0102.3
R0103.4
R0103.5
R0103.6
R0103.7
R0103.0
R0103.1
R0103.2
R0103.3
R0104.4
R0104.5
R0104.6
R0104.7
R0104.0
R0104.1
R0104.2
R0104.3
R0105.4
R0105.5
R0105.6
R0105.7
R0105.0
R0105.1
R0105.2
DO[285]
DO[286]
DO[287]
DO[288]
DO[289]
DO[290]
DO[291]
DO[292]
DO[293]
DO[294]
DO[295]
DO[296]
DO[297]
DO[298]
DO[299]
DO[300]
DO[301]
DO[302]
DO[303]
DO[304]
DO[305]
DO[306]
DO[307]
DO[308]
DO[309]
DO[310]
DO[311]
DO[312]
DO[313]
DO[314]
DO[315]
DO[316]
DO[317]
DO[318]
DO[319]
DO[320]
DO[321]
DO[322]
DO[323]
DO[324]
DO[325]
DO[326]
DO[327]
DO[328]
DO[329]
DO[330]
DO[331]
CNC3
R0164.4
R0164.5
R0164.6
R0164.7
R0164.0
R0164.1
R0164.2
R0164.3
R0165.4
R0165.5
R0165.6
R0165.7
R0165.0
R0165.1
R0165.2
R0165.3
R0166.4
R0166.5
R0166.6
R0166.7
R0166.0
R0166.1
R0166.2
R0166.3
R0167.4
R0167.5
R0167.6
R0167.7
R0167.0
R0167.1
R0167.2
R0167.3
R0168.4
R0168.5
R0168.6
R0168.7
R0168.0
R0168.1
R0168.2
R0168.3
R0169.4
R0169.5
R0169.6
R0169.7
R0169.0
R0169.1
R0169.2
DO[541]
DO[542]
DO[543]
DO[544]
DO[545]
DO[546]
DO[547]
DO[548]
DO[549]
DO[550]
DO[551]
DO[552]
DO[553]
DO[554]
DO[555]
DO[556]
DO[557]
DO[558]
DO[559]
DO[560]
DO[561]
DO[562]
DO[563]
DO[564]
DO[565]
DO[566]
DO[567]
DO[568]
DO[569]
DO[570]
DO[571]
DO[572]
DO[573]
DO[574]
DO[575]
DO[576]
DO[577]
DO[578]
DO[579]
DO[580]
DO[581]
DO[582]
DO[583]
DO[584]
DO[585]
DO[586]
DO[587]
CNC4
R0228.4
R0228.5
R0228.6
R0228.7
R0228.0
R0228.1
R0228.2
R0228.3
R0229.4
R0229.5
R0229.6
R0229.7
R0229.0
R0229.1
R0229.2
R0229.3
R0230.4
R0230.5
R0230.6
R0230.7
R0230.0
R0230.1
R0230.2
R0230.3
R0231.4
R0231.5
R0231.6
R0231.7
R0231.0
R0231.1
R0231.2
R0231.3
R0232.4
R0232.5
R0232.6
R0232.7
R0232.0
R0232.1
R0232.2
R0232.3
R0233.4
R0233.5
R0233.6
R0233.7
R0233.0
R0233.1
R0233.2
DO[797]
DO[798]
DO[799]
DO[800]
DO[801]
DO[802]
DO[803]
DO[804]
DO[805]
DO[806]
DO[807]
DO[808]
DO[809]
DO[810]
DO[811]
DO[812]
DO[813]
DO[814]
DO[815]
DO[816]
DO[817]
DO[818]
DO[819]
DO[820]
DO[821]
DO[822]
DO[823]
DO[824]
DO[825]
DO[826]
DO[827]
DO[828]
DO[829]
DO[830]
DO[831]
DO[832]
DO[833]
DO[834]
DO[835]
DO[836]
DO[837]
DO[838]
DO[839]
DO[840]
DO[841]
DO[842]
DO[843]
R0105.3 DO[332]
R0169.3 DO[588]
R0233.3 DO[844]
R0106.4
R0106.5
R0106.6
R0106.7
R0170.4
R0170.5
R0170.6
R0170.7
R0234.4
R0234.5
R0234.6
R0234.7
- 163 -
DO[333]
DO[334]
DO[335]
DO[336]
DO[589]
DO[590]
DO[591]
DO[592]
DO[845]
DO[846]
DO[847]
DO[848]
B-75114EN/02
CNC2
R0106.0 DO[337]
CNC3
R0170.0 DO[593]
CNC4
R0234.0 DO[849]
R0106.1 DO[338]
R0170.1 DO[594]
R0234.1 DO[850]
R0106.2 DO[339]
R0170.2 DO[595]
R0234.2 DO[851]
R0106.3 DO[340]
R0170.3 DO[596]
R0234.3 DO[852]
R0107.4 DO[341]
R0171.4 DO[597]
R0235.4 DO[853]
R0107.5 DO[342]
R0171.5 DO[598]
R0235.5 DO[854]
R0107.6 DO[343]
R0171.6 DO[599]
R0235.6 DO[855]
R0107.7 DO[344]
R0171.7 DO[600]
R0235.7 DO[856]
R0107.0 DO[345]
R0171.0 DO[601]
R0235.0 DO[857]
R0107.1 DO[346]
R0171.1 DO[602]
R0235.1 DO[858]
R0107.2 DO[347]
R0171.2 DO[603]
R0235.2 DO[859]
R0107.3 DO[348]
R0171.3 DO[604]
R0235.3 DO[860]
R0108.4 DO[349]
R0172.4 DO[605]
R0236.4 DO[861]
R0108.5 DO[350]
R0172.5 DO[606]
R0236.5 DO[862]
R0108.6 DO[351]
R0172.6 DO[607]
R0236.6 DO[863]
R0108.7 DO[352]
R0172.7 DO[608]
R0236.7 DO[864]
R0108.0
R0108.1
R0108.2
R0108.3
R0109.4
R0172.0
R0172.1
R0172.2
R0172.3
R0173.4
R0236.0
R0236.1
R0236.2
R0236.3
R0237.4
DO[353]
DO[354]
DO[355]
DO[356]
DO[357]
DO[609]
DO[610]
DO[611]
DO[612]
DO[613]
DO[865]
DO[866]
DO[867]
DO[868]
DO[869]
R0109.5 DO[358]
R0173.5 DO[614]
R0237.5 DO[870]
R0109.6 DO[359]
R0173.6 DO[615]
R0237.6 DO[871]
R0109.7 DO[360]
R0173.7 DO[616]
R0237.7 DO[872]
R0109.0
R0109.1
R0109.2
R0109.3
R0110.4
R0110.5
R0110.6
R0110.7
R0110.0
R0110.1
R0110.2
R0173.0
R0173.1
R0173.2
R0173.3
R0174.4
R0174.5
R0174.6
R0174.7
R0174.0
R0174.1
R0174.2
R0237.0
R0237.1
R0237.2
R0237.3
R0238.4
R0238.5
R0238.6
R0238.7
R0238.0
R0238.1
R0238.2
- 164 -
DO[361]
DO[362]
DO[363]
DO[364]
DO[365]
DO[366]
DO[367]
DO[368]
DO[369]
DO[370]
DO[371]
DO[617]
DO[618]
DO[619]
DO[620]
DO[621]
DO[622]
DO[623]
DO[624]
DO[625]
DO[626]
DO[627]
DO[873]
DO[874]
DO[875]
DO[876]
DO[877]
DO[878]
DO[879]
DO[880]
DO[881]
DO[882]
DO[883]
B-75114EN/02
Address
R0046.3
R0046.4
R0046.5
R0046.6
R0046.7
R0047.0
R0047.1
R0047.2
R0047.3
R0047.4
R0047.5
R0047.6
R0047.7
R0048.0
R0048.1
R0048.2
R0048.3
R0048.4
R0048.5
R0048.6
R0048.7
R0049.0
R0049.1
R0049.2
R0049.3
R0049.4
R0049.5
R0049.6
R0049.7
R0050.0
R0050.1
R0050.2
R0050.3
R0050.4
R0050.5
R0050.6
R0050.7
R0051.0
Signal
Description
DO[116]
DO[117]
DO[118]
DO[119]
DO[120]
DO[121] Machine Operation Enable
Request
DO[122] Machine Operation Path Select
(Path1)
DO[123] Machine Operation Path Select
(Path2)
DO[124] Machine Operation Path Select
(Path3)
DO[125] Machine Operation Path Select
(Path4)
DO[126] Machine Operation Path Select
(Path5)
DO[127] Machine Operation Heart Beat
Signal
DO[128] Reserve
DO[129] Machine Jog Feed Override 0
DO[130] Machine Jog Feed Override 1
DO[131] Machine Jog Feed Override 2
DO[132] Machine Jog Feed Override 3
DO[133] Machine Jog Feed Override 4
DO[134] Machine Jog Feed Override 5
DO[135] Machine Jog Feed Override 6
DO[136] Machine Jog Feed Override 7
DO[137] Machine Jog Feed Override 8
DO[138] Machine Jog Feed Override 9
DO[139] Machine Jog Feed Override 10
DO[140] Machine Jog Feed Override 11
DO[141] Machine Jog Feed Override 12
DO[142] Machine Jog Feed Override 13
DO[143] Machine Jog Feed Override 14
DO[144] Machine Jog Feed Override 15
DO[145] Machine Jog Feed Axis (1st
Axis+)
DO[146] Machine Jog Feed Axis (1st
Axis-)
DO[147] Machine Jog Feed Axis (2nd
Axis+)
DO[148] Machine Jog Feed Axis (2nd
Axis-)
DO[149] Machine Jog Feed Axis (3rd
Axis+)
DO[150] Machine Jog Feed Axis (3rd
Axis-)
DO[151] Machine Jog Feed Axis (4th
Axis+)
DO[152] Machine Jog Feed Axis (4th
Axis-)
DO[153] Machine Jog Feed Axis (5th
Axis+)
CNC2
R0110.3
R0111.4
R0111.5
R0111.6
R0111.7
R0111.0
DO[372]
DO[373]
DO[374]
DO[375]
DO[376]
DO[377]
CNC3
R0174.3
R0175.4
R0175.5
R0175.6
R0175.7
R0175.0
DO[628]
DO[629]
DO[630]
DO[631]
DO[632]
DO[633]
CNC4
R0238.3
R0239.4
R0239.5
R0239.6
R0239.7
R0239.0
DO[884]
DO[885]
DO[886]
DO[887]
DO[888]
DO[889]
R0111.1 DO[378]
R0175.1 DO[634]
R0239.1 DO[890]
R0111.2 DO[379]
R0175.2 DO[635]
R0239.2 DO[891]
R0111.3 DO[380]
R0175.3 DO[636]
R0239.3 DO[892]
R0112.4 DO[381]
R0176.4 DO[637]
R0240.4 DO[893]
R0112.5 DO[382]
R0176.5 DO[638]
R0240.5 DO[894]
R0112.6 DO[383]
R0176.6 DO[639]
R0240.6 DO[895]
R0112.7
R0112.0
R0112.1
R0112.2
R0112.3
R0113.4
R0113.5
R0113.6
R0113.7
R0113.0
R0113.1
R0113.2
R0113.3
R0114.4
R0114.5
R0114.6
R0114.7
R0114.0
R0176.7
R0176.0
R0176.1
R0176.2
R0176.3
R0177.4
R0177.5
R0177.6
R0177.7
R0177.0
R0177.1
R0177.2
R0177.3
R0178.4
R0178.5
R0178.6
R0178.7
R0178.0
R0240.7
R0240.0
R0240.1
R0240.2
R0240.3
R0241.4
R0241.5
R0241.6
R0241.7
R0241.0
R0241.1
R0241.2
R0241.3
R0242.4
R0242.5
R0242.6
R0242.7
R0242.0
DO[384]
DO[385]
DO[386]
DO[387]
DO[388]
DO[389]
DO[390]
DO[391]
DO[392]
DO[393]
DO[394]
DO[395]
DO[396]
DO[397]
DO[398]
DO[399]
DO[400]
DO[401]
DO[640]
DO[641]
DO[642]
DO[643]
DO[644]
DO[645]
DO[646]
DO[647]
DO[648]
DO[649]
DO[650]
DO[651]
DO[652]
DO[653]
DO[654]
DO[655]
DO[656]
DO[657]
DO[896]
DO[897]
DO[898]
DO[899]
DO[900]
DO[901]
DO[902]
DO[903]
DO[904]
DO[905]
DO[906]
DO[907]
DO[908]
DO[909]
DO[910]
DO[911]
DO[912]
DO[913]
R0114.1 DO[402]
R0178.1 DO[658]
R0242.1 DO[914]
R0114.2 DO[403]
R0178.2 DO[659]
R0242.2 DO[915]
R0114.3 DO[404]
R0178.3 DO[660]
R0242.3 DO[916]
R0115.4 DO[405]
R0179.4 DO[661]
R0243.4 DO[917]
R0115.5 DO[406]
R0179.5 DO[662]
R0243.5 DO[918]
R0115.6 DO[407]
R0179.6 DO[663]
R0243.6 DO[919]
R0115.7 DO[408]
R0179.7 DO[664]
R0243.7 DO[920]
R0115.0 DO[409]
R0179.0 DO[665]
R0243.0 DO[921]
- 165 -
B-75114EN/02
CNC2
R0115.1 DO[410]
CNC3
R0179.1 DO[666]
CNC4
R0243.1 DO[922]
R0115.2 DO[411]
R0179.2 DO[667]
R0243.2 DO[923]
R0115.3 DO[412]
R0179.3 DO[668]
R0243.3 DO[924]
R0116.4 DO[413]
R0180.4 DO[669]
R0244.4 DO[925]
R0116.5 DO[414]
R0180.5 DO[670]
R0244.5 DO[926]
R0116.6 DO[415]
R0180.6 DO[671]
R0244.6 DO[927]
R0116.7 DO[416]
R0180.7 DO[672]
R0244.7 DO[928]
R0116.0
R0116.1
R0116.2
R0116.3
R0117.4
R0117.5
R0117.6
R0117.7
R0117.0
R0117.1
R0117.2
R0117.3
R0118.4
R0118.5
R0118.6
R0118.7
R0118.0
R0118.1
R0118.2
R0118.3
R0119.4
R0119.5
R0119.6
R0119.7
R0119.0
R0119.1
R0119.2
R0119.3
R0120.4
R0120.5
R0120.6
R0120.7
R0120.0
R0120.1
R0120.2
R0120.3
R0121.4
R0121.5
R0121.6
R0121.7
R0121.0
R0180.0
R0180.1
R0180.2
R0180.3
R0181.4
R0181.5
R0181.6
R0181.7
R0181.0
R0181.1
R0181.2
R0181.3
R0182.4
R0182.5
R0182.6
R0182.7
R0182.0
R0182.1
R0182.2
R0182.3
R0183.4
R0183.5
R0183.6
R0183.7
R0183.0
R0183.1
R0183.2
R0183.3
R0184.4
R0184.5
R0184.6
R0184.7
R0184.0
R0184.1
R0184.2
R0184.3
R0185.4
R0185.5
R0185.6
R0185.7
R0185.0
R0244.0
R0244.1
R0244.2
R0244.3
R0245.4
R0245.5
R0245.6
R0245.7
R0245.0
R0245.1
R0245.2
R0245.3
R0246.4
R0246.5
R0246.6
R0246.7
R0246.0
R0246.1
R0246.2
R0246.3
R0247.4
R0247.5
R0247.6
R0247.7
R0247.0
R0247.1
R0247.2
R0247.3
R0248.4
R0248.5
R0248.6
R0248.7
R0248.0
R0248.1
R0248.2
R0248.3
R0249.4
R0249.5
R0249.6
R0249.7
R0249.0
- 166 -
DO[417]
DO[418]
DO[419]
DO[420]
DO[421]
DO[422]
DO[423]
DO[424]
DO[425]
DO[426]
DO[427]
DO[428]
DO[429]
DO[430]
DO[431]
DO[432]
DO[433]
DO[434]
DO[435]
DO[436]
DO[437]
DO[438]
DO[439]
DO[440]
DO[441]
DO[442]
DO[443]
DO[444]
DO[445]
DO[446]
DO[447]
DO[448]
DO[449]
DO[450]
DO[451]
DO[452]
DO[453]
DO[454]
DO[455]
DO[456]
DO[457]
DO[673]
DO[674]
DO[675]
DO[676]
DO[677]
DO[678]
DO[679]
DO[680]
DO[681]
DO[682]
DO[683]
DO[684]
DO[685]
DO[686]
DO[687]
DO[688]
DO[689]
DO[690]
DO[691]
DO[692]
DO[693]
DO[694]
DO[695]
DO[696]
DO[697]
DO[698]
DO[699]
DO[700]
DO[701]
DO[702]
DO[703]
DO[704]
DO[705]
DO[706]
DO[707]
DO[708]
DO[709]
DO[710]
DO[711]
DO[712]
DO[713]
DO[929]
DO[930]
DO[931]
DO[932]
DO[933]
DO[934]
DO[935]
DO[936]
DO[937]
DO[938]
DO[939]
DO[940]
DO[941]
DO[942]
DO[943]
DO[944]
DO[945]
DO[946]
DO[947]
DO[948]
DO[949]
DO[950]
DO[951]
DO[952]
DO[953]
DO[954]
DO[955]
DO[956]
DO[957]
DO[958]
DO[959]
DO[960]
DO[961]
DO[962]
DO[963]
DO[964]
DO[965]
DO[966]
DO[967]
DO[968]
DO[969]
B-75114EN/02
Address
R0057.1
R0057.2
R0057.3
R0057.4
R0057.5
R0057.6
R0057.7
R0058.0
R0058.1
R0058.2
R0058.3
R0058.4
R0058.5
R0058.6
R0058.7
R0059.0
R0059.1
R0059.2
R0059.3
R0059.4
R0059.5
R0059.6
R0059.7
R0060.0
R0060.1
R0060.2
R0060.3
R0060.4
R0060.5
R0060.6
R0060.7
R0061.0
R0061.1
R0061.2
R0061.3
R0061.4
R0061.5
R0061.6
R0061.7
R0062.0
R0062.1
R0062.2
R0062.3
R0062.4
R0062.5
R0062.6
R0062.7
R0063.0
R0063.1
R0063.2
R0063.3
R0063.4
R0063.5
R0063.6
R0063.7
Signal
DO[202]
DO[203]
DO[204]
DO[205]
DO[206]
DO[207]
DO[208]
DO[209]
DO[210]
DO[211]
DO[212]
DO[213]
DO[214]
DO[215]
DO[216]
DO[217]
DO[218]
DO[219]
DO[220]
DO[221]
DO[222]
DO[223]
DO[224]
DO[225]
DO[226]
DO[227]
DO[228]
DO[229]
DO[230]
DO[231]
DO[232]
DO[233]
DO[234]
DO[235]
DO[236]
DO[237]
DO[238]
DO[239]
DO[240]
DO[241]
DO[242]
DO[243]
DO[244]
DO[245]
DO[246]
DO[247]
DO[248]
DO[249]
DO[250]
DO[251]
DO[252]
DO[253]
DO[254]
DO[255]
DO[256]
Description
CNC2
R0121.1
R0121.2
R0121.3
R0122.4
R0122.5
R0122.6
R0122.7
R0122.0
R0122.1
R0122.2
R0122.3
R0123.4
R0123.5
R0123.6
R0123.7
R0123.0
R0123.1
R0123.2
R0123.3
R0124.4
R0124.5
R0124.6
R0124.7
R0124.0
R0124.1
R0124.2
R0124.3
R0125.4
R0125.5
R0125.6
R0125.7
R0125.0
R0125.1
R0125.2
R0125.3
R0126.4
R0126.5
R0126.6
R0126.7
R0126.0
R0126.1
R0126.2
R0126.3
R0127.4
R0127.5
R0127.6
R0127.7
R0127.0
R0127.1
R0127.2
R0127.3
R0128.4
R0128.5
R0128.6
R0128.7
- 167 -
DO[458]
DO[459]
DO[460]
DO[461]
DO[462]
DO[463]
DO[464]
DO[465]
DO[466]
DO[467]
DO[468]
DO[469]
DO[470]
DO[471]
DO[472]
DO[473]
DO[474]
DO[475]
DO[476]
DO[477]
DO[478]
DO[479]
DO[480]
DO[481]
DO[482]
DO[483]
DO[484]
DO[485]
DO[486]
DO[487]
DO[488]
DO[489]
DO[490]
DO[491]
DO[492]
DO[493]
DO[494]
DO[495]
DO[496]
DO[497]
DO[498]
DO[499]
DO[500]
DO[501]
DO[502]
DO[503]
DO[504]
DO[505]
DO[506]
DO[507]
DO[508]
DO[509]
DO[510]
DO[511]
DO[512]
CNC3
R0185.1
R0185.2
R0185.3
R0186.4
R0186.5
R0186.6
R0186.7
R0186.0
R0186.1
R0186.2
R0186.3
R0187.4
R0187.5
R0187.6
R0187.7
R0187.0
R0187.1
R0187.2
R0187.3
R0188.4
R0188.5
R0188.6
R0188.7
R0188.0
R0188.1
R0188.2
R0188.3
R0189.4
R0189.5
R0189.6
R0189.7
R0189.0
R0189.1
R0189.2
R0189.3
R0190.4
R0190.5
R0190.6
R0190.7
R0190.0
R0190.1
R0190.2
R0190.3
R0191.4
R0191.5
R0191.6
R0191.7
R0191.0
R0191.1
R0191.2
R0191.3
R0192.4
R0192.5
R0192.6
R0192.7
DO[714]
DO[715]
DO[716]
DO[717]
DO[718]
DO[719]
DO[720]
DO[721]
DO[722]
DO[723]
DO[724]
DO[725]
DO[726]
DO[727]
DO[728]
DO[729]
DO[730]
DO[731]
DO[732]
DO[733]
DO[734]
DO[735]
DO[736]
DO[737]
DO[738]
DO[739]
DO[740]
DO[741]
DO[742]
DO[743]
DO[744]
DO[745]
DO[746]
DO[747]
DO[748]
DO[749]
DO[750]
DO[751]
DO[752]
DO[753]
DO[754]
DO[755]
DO[756]
DO[757]
DO[758]
DO[759]
DO[760]
DO[761]
DO[762]
DO[763]
DO[764]
DO[765]
DO[766]
DO[767]
DO[768]
CNC4
R0249.1
R0249.2
R0249.3
R0250.4
R0250.5
R0250.6
R0250.7
R0250.0
R0250.1
R0250.2
R0250.3
R0251.4
R0251.5
R0251.6
R0251.7
R0251.0
R0251.1
R0251.2
R0251.3
R0252.4
R0252.5
R0252.6
R0252.7
R0252.0
R0252.1
R0252.2
R0252.3
R0253.4
R0253.5
R0253.6
R0253.7
R0253.0
R0253.1
R0253.2
R0253.3
R0254.4
R0254.5
R0254.6
R0254.7
R0254.0
R0254.1
R0254.2
R0254.3
R0255.4
R0255.5
R0255.6
R0255.7
R0255.0
R0255.1
R0255.2
R0255.3
R0256.4
R0256.5
R0256.6
R0256.7
DO[970]
DO[971]
DO[972]
DO[973]
DO[974]
DO[975]
DO[976]
DO[977]
DO[978]
DO[979]
DO[980]
DO[981]
DO[982]
DO[983]
DO[984]
DO[985]
DO[986]
DO[987]
DO[988]
DO[989]
DO[990]
DO[991]
DO[992]
DO[993]
DO[994]
DO[995]
DO[996]
DO[997]
DO[998]
DO[999]
DO[1000]
DO[1001]
DO[1002]
DO[1003]
DO[1004]
DO[1005]
DO[1006]
DO[1007]
DO[1008]
DO[1009]
DO[1010]
DO[1011]
DO[1012]
DO[1013]
DO[1014]
DO[1015]
DO[1016]
DO[1017]
DO[1018]
DO[1019]
DO[1020]
DO[1021]
DO[1022]
DO[1023]
DO[1024]
10.11
NOTES
10.11.1
Unused subprogram
B-75114EN/02
10.11.2
- 168 -
APPENDIX
A.STANDARD SETTING
B-75114EN/02
STANDARD SETTING
A.1
In this section, the value of standard setting for the setting of robot connection function and PMC
parameter is described.
The description of remarks in all tables is as follows
Remarks
Fixed value
Depend on PMC address
A.1.1
Description
The value is fixed. Set the value in the table without change.
The value depends on PMC address in the data area of the robot connection
function. In case that the address from 1:R7000 to 1:R7999 can be used, set the
value in the table without change. If other address is used, set the modified PMC
address.
The value depends on CNC number. Set the corresponding value from CNC1 to
CNC4.
It is not need to set the value.
In the robot connection function, there are 2 screens, Allocation and Robot Status. The standard
setting value set in these screens are as follows.
Allocation
Item
Allocation
Robot DO signal
PMC Address
Robot DI signal
PMC Address
Robot Power On signal
PMC Address
CNC1
CNC3
CNC4
Remarks
Same as in
the left
Same as in
the left
Same as in
the left
Same as in the
left
Same as in the
left
Same as in the
left
Depend on
PMC address
Depend on
PMC address
Depend on
PMC address
Same as in
the left
256
Same as in
the left
512
Same as in the
left
768
Fixed value
1:R7956
(FL-net)
1:R7207
(I/O Link)
1 (FL-net)
4 (I/O Link)
0
Same as in
the left
Same as in
the left
Same as in
the left
256
512
768
Option
0000 0001
Same as in
the left
Same as in
the left
Same as in the
left
1:R7200
CNC2
1:R7232
Depend on
CNC number
Depend on
CNC number
Fixed value
Robot Status
The robot status setting specifies the signal displayed to monitor in the screen. Setting is optional.
Item
1
2
3
4
5
Type
DI
DI
DI
DI
DI
Number
34
111
35
105
108
- 171 -
Remarks
A.STANDARD SETTING
B-75114EN/02
Item
Type
6
7
8
9
10
11
12
13
14
15
16
Number
DI
Remarks
110
--7
70
10
105
63
64
65
6
66
DO
DO
DO
DO
DO
DO
DO
DO
DO
A.1.2
In case that FL-net is used to transfer I/O, the sample ladder gets CNC number by following PMC
parameter.
Item
CNC1
CNC2
CNC3
CNC4
K80.2
K80.3
A.2
Remarks
Depend on
CNC number
Depend on
CNC number
In the robot controller, the following items are set automatically according to the number of CNC
connected to the robot controller.
Keep relay
Macro registration
A.2.1
The macro program for the remote operation and the KAREL programs are loaded.
A.STANDARD SETTING
B-75114EN/02
Assignment of 256 DI/DO points per one CNC and comment input
A.2.2
Macro Program
In order to execute hand operation, override change, and home position return by remote operation, the
following macro programs are used.
Index
120
121
122
123
124
125
126
127
128
129
130
136
137
138
139
140
Program name
HANDOP_M
HANDOP01
HANDOP02
HANDOP03
HANDOP04
HANDOP05
HANDOP06
HANDOP07
HANDOP08
HANDOP09
HANDOP10
OVRUP
OVRDOWN
MTSHOME
REM_ENT
REM_EXT
Macro Name
HANDOP01
HANDOP02
HANDOP03
HANDOP04
HANDOP05
HANDOP06
HANDOP07
HANDOP08
HANDOP09
HANDOP10
OVRUP
OVRDOWN
MTSHOME
REM_ENT
REM_EXT
Start method
DI[21]
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
Manual operation
DI[22]
DI[23]
DI[24]
DI[19]
DI[20]
Note that a program "OVRSET" is also loaded. OVRUP and OVRDOWN call OVRSET.
System variable
The following system variable is set.
$MACROMAXDRI=15
Assignment of I/O
I/O in the robot controller is assigned as follows.
- 173 -
A.STANDARD SETTING
B-75114EN/02
Rack
Slot
Number of
points
Start point
Type
UI
18
33
2177
Common
UO
20
33
2225
Common
DI
18
68
18
CNC1
DI
19
24
33
2137
CNC1
DI
25
256
68
25
232
CNC1
DI
256
274
68
18
CNC2
DI
275
280
33
2137
CNC2
DI
281
512
68
25
232
CNC2
DI
513
530
68
18
CNC3
DI
531
536
33
2137
CNC3
DI
537
768
68
25
232
CNC3
DI
769
786
68
18
CNC4
DI
787
792
33
2137
CNC4
DI
793
1024
68
25
232
CNC4
DI
1025
1056
33
2137
32
Common
DI
1057
1062
68
19
CNC1
DI
1063
1068
68
19
CNC2
DI
1069
1074
68
19
CNC3
DI
1075
1080
68
19
CNC4
DO
256
68
256
CNC1
DO
257
512
68
257
256
CNC2
DO
513
768
68
513
256
CNC3
DO
769
1024
68
769
256
CNC4
DO
1025
1032
33
2089
Common
DO
1033
1056
24
Common
GI
33
25
CNC1
GI
33
537
CNC2
GI
33
1049
CNC3
GI
33
1561
CNC4
GI
33
2169
Common
GO
33
2289
Common
Rack
33
Slot
2
Number of
points
Start point
2177
18
Type
UI
18
Common
UO
20
33
2225
20
Common
DI
18
18
CNC1
DI
19
24
33
2137
CNC1
DI
25
256
25
232
CNC1
DI
256
274
18
CNC2
DI
275
280
33
2137
CNC2
DI
281
512
25
232
CNC2
DI
513
530
18
CNC3
DI
531
536
33
2137
CNC3
DI
537
768
25
232
CNC3
DI
769
786
18
CNC4
- 174 -
A.STANDARD SETTING
B-75114EN/02
787
792
Rack
33
Slot
2
Number of
points
Start point
2137
Type
CNC4
DI
793
1024
25
232
CNC4
DI
1025
1056
33
2137
32
Common
DI
1057
1062
19
CNC1
DI
1063
1068
19
CNC2
DI
1069
1074
19
CNC3
DI
1075
1080
19
CNC4
DO
256
256
CNC1
DO
257
512
256
CNC2
DO
513
768
256
CNC3
DO
769
1024
256
CNC4
DO
1025
1032
33
2089
Common
DO
1033
1056
24
Common
GI
33
25
CNC1
GI
33
537
CNC2
GI
33
1049
CNC3
GI
33
1561
CNC4
GI
33
2169
Common
GO
33
2289
Common
A.3
FL-net PARAMETER
In case that FL-net is used to transfer I/O data, the parameters for FL-net are set as follows. In this section,
the case that the number of CNC connected to the robot controller is 4 and only the robot and CNC are
connected to the network is described.
A.3.1
Common Item
IP Address
Robot Controller
CNC1
CNC2
CNC3
CNC4
192.168.250.1
192.168.250.2
192.168.250.3
192.168.250.4
192.168.250.5
Node Name
ROBOT
CNC1
CNC2
CNC3
CNC4
Offset (Word)
0
64
128
144
Size (Word)
64
64
16
16
- 175 -
Points
1024
1024
256
256
A.STANDARD SETTING
B-75114EN/02
Type
Offset (Word)
Size (Word)
160
176
192
208
224
240
16
16
16
16
16
16
Points
256
256
256
256
256
256
Network parameter
A.3.2
CNC2
CNC3
CNC4
IP address
Item
192.168.250.2
192.168.250.3
192.168.250.4
192.168.250.5
Node Name
(Optional)
Area 1 address
128
Same as in the
left
160
Same as in the
left
192
Same as in the
left
224
16
Area 2 address
Area 2 size
30
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Own status
--1:R7956
Parameter 1
0000 0001
Parameter 2
0000 0000
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Entry node
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Area 1 DI/DO
PMC address
1:R7400
Area 1 address
0
256
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Depend on
PMC address
Fixed value
Same as in the
left
Same as in the
left
Same as in the
left
- 176 -
Remarks
Depend on
CNC number
Depend on
CNC number
Fixed value
Need not to set
Need not to set
Fixed value
Fixed value
(Note)
Depend on
PMC address
Fixed value
Fixed value
Fixed value
A.STANDARD SETTING
B-75114EN/02
Item
CNC1
Area 2 DI/DO
PMC address
---
Area 2 address
Message
Client I/F
---
I/F size
Server I/F
---
I/F size
CNC2
CNC3
CNC4
Remarks
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
Same as in the
left
NOTE
Note that Minimum frame time should be 10s in case that FL-net/ETHERNET
coexisting function is used to connect CNC and the robot.
The description of remarks in all tables is as follows
Remarks
Description
Fixed value
Depend on PMC address
A.3.3
The value is fixed. Set the value in the table without change.
The value depends on PMC address in the data area for the robot connection
function. In case that the address 1:R7000~1:R7999 can be used, set the value in
the table without change. If other address is used, set the PMC address after
change.
The value depends on CNC number. Set the corresponding value from CNC1 to
CNC4.
It is not need to set the value.
Setting to connect 4 CNCs is done, and the reference method for common memory (DI/DO) is set.
Robot
CNC1
CNC2
CNC3
CNC4
Node
Number
Common memory
area 1 offset (Word)
Common memory
area 1 offset (Word)
1
2
3
4
5
0
128
160
192
224
64
16
16
16
16
Reference
(DI/DO assign)
DO[1 to 1024]
DI[1 to 256]
DI[257 to 512]
DI[513 to 768]
DI[769 to 1024]
- 177 -
Rack
Number
68
68
68
68
68
Slot
Number
1
2
3
4
5
B.ALARM
B-75114EN/02
ALARM
B.1
ALARM IN CNC
About the detail of the alarm in CNC, refer to Common to Lathe System/Machining Center System
OPERATORS MANUAL corresponding to your using CNC. There is not the alarm specific to this
function.
B.2
About the detail of the alarm in the robot controller, refer to FANUC Robot Series R-30iA
CONTROLLER HANDLING TOOL OPERATORS MANUAL, or FANUC Robot Series R-30iA
Mate CONTROLLER LR HANDLING TOOL OPERATORS MANUAL. In this section, the alarms
concerning with this function are described.
Alarm display
In the robot controller, the alarm is displayed as follows.
INTP-653
PAUSE.L
(1)
(2)
Alarm ID to represent the type of alarm and Alarm Number are displayed.
The seriousness of the cause of the alarm is displayed. Refer to table B.2.
Description of the alarm
Table B.2
Severity
WARN
PAUSE.L
PAUSE.G
STOP.L
STOP.G
SERVO
ABORT.L
ABORT.G
Alarm severity
Description
A WARN alarm warns the operator of a comparatively minor or unimportant failure. The WARN
alarm does not affect the operation of the robot. When the WARN alarm occurs, no
corresponding LED on the teach pendant or the machine operators panel lights. To prevent a
possible failure, appropriate action should be taken.
When a PAUSE alarm occurs, the execution of the program is halted, and the operation of the
robot is stopped after the operation in progress is completed. Appropriate action must be taken
for the alarm before the program is restarted.
The difference between PAUSE.L and PAUSE.G is the range in which the alarm is applied.
PAUSE.L is applied in the program that the alarm occurs, and PAUSE.G is applied in all
programs.
When a STOP alarm occurs, the execution of the program is halted, and the robot is
decelerated until it is stopped. Appropriate action must be taken for the alarm before the
program is restarted. The difference between STOP.L and STOP.G is the range in which the
alarm is applied. STOP.L is applied in the program that the alarm occurs, and STOP.G is
applied in all programs.
When a SERVO alarm occurs, the power to the servo system is turned off to halt the execution
of the program and to stop the robot immediately. A SERVO alarm is issued for safetys sake
or when a failure occurs during robot operation.
When an ABORT alarm occurs, the execution of the program is forcibly terminated, and the
robot is decelerated until it is stopped. The difference between ABORT.L and ABORT.G is the
range in which the alarm is applied. ABORT.L is applied in the program that the alarm occurs,
and ABORT.G is applied in all programs.
- 178 -
B.ALARM
B-75114EN/02
Severity
Description
SERVO2
When a SERVO 2 alarm occurs, the power to the servo system is turned off to forcibly
terminate the program and to stop the robot immediately. A SERVO2 alarm is issued for
safetys sake or when a failure occurs during robot operation.
SYSTEM
A SYSTEM alarm is issued when a major system failure occurs. When the SYSTEM alarm is
issued, every robot in the system is disabled. After taking appropriate action for the alarm, turn
the power off, the turn it on again.
WARN
HOST-301
WARN
Not Connected(Tag=%s)
HOST-302
WARN
HOST-303
WARN
HOST-304
WARN
HOST-305
WARN
HOST-306
WARN
[Cause] You set the I/O number that is not used in the selected CNC.
[Remedy] Set the I/O number that is used in the selected CNC.
HOST-307
WARN
HOST-308
WARN
HOST-309
WARN
HOST-310
WARN
TP disable
- 179 -
B.ALARM
HOST-311
B-75114EN/02
WARN
[Cause] You press the OPR enable button but interlock signal is off.
[Remedy] Set the interlock signal on.
HOST-312
WARN
[Cause] You try to jog machine tool but operation isn't available.
[Remedy] Set the operation available.
HOST-313
WARN
[Cause] You try to jog machine tool but Machine Tool Operation in Setup Machine I/F isn't available.
[Remedy] Set the Machine Tool Operation available.
[Cause] The system variable for this function does not exist.
[Remedy] Contact our service center serving your locality.
INTP-654
[Cause] In this function, when the robot program is started by the request from CNC, DO designated in system variable is
turned on. In case that the designated DO does not exist or the designated DO cannot be turned on, this alarm occurs.
[Remedy] Assign DO designated in the system variable $MTSERV_CFG.$PGRUNDO correctly.
INTP-655
[Cause] In this function, when the robot program started by the request from CNC is ended normally, DO designated in system
variable is turned on. In case that the designated DO does not exist or the designated DO cannot be turned on, this
alarm occurs.
[Remedy] Assign DO designated in the system variable $MTSERV_CFG.$PGENDDO correctly.
INTP-656
[Cause] In this function, when the robot program started by the request from CNC is ended regardless of whether the program
is ended normally or abnormally, DO designated in system variable is turned on. In case that the designated DO does
not exist or the designated DO cannot be turned on, this alarm occurs.
[Remedy] Assign DO designated in the system variable $MTSERV_CFG.$PGABOTDO correctly.
- 180 -
INDEX
B-75114EN/02
INDEX
DETAILS OF THE STATE REMOTE OPERATION
<A>
Access Control ....................................................................137
Acquire and Release the Right for Remote Operation ........103
ALARM ..............................................................................178
.........................................................................................137
Discard of Program Call Request in the Queue...................141
<E>
<B>
<F>
FAILED Signal ...................................................................142
FL-net PARAMETER.........................................................175
FL-net parameter in robot controller...................................177
<C>
CNC Actual Position Screen .................................................68
CNC Alarm Screen ...............................................................69
CNC Message Screen............................................................70
<H>
<I>
I/O Screen .............................................................................71
Implementation of Robot Behavior Based on State
Chart................................................................................130
Implementation of State Transition Using the Sequence
Program ...........................................................................131
Inside of the State Remote Operation ..............................138
INTERFACE BETWEEN CNC AND ROBOT....................87
Interface Signals for Machine Tool Operation....................106
Interface Signals for Robot Remote Operation .....................99
Interface Signals to Interlock Program..................................88
INTERLOCK BETWEEN NC PROGRAM AND
ROBOT PROGRAM.........................................................87
<K>
Keep relay ...........................................................................134
<D>
<L>
LEVEL1..............................................................................146
LEVEL2..............................................................................146
<M>
M CODE IN NC PROGRAM .............................................119
i-1
INDEX
B-75114EN/02
PENDANT ......................................................................106
Machine Tool Operation Screen............................................74
Macro Commands ...............................................................144
Macro Program for Remote Operation................................126
Macros Launched on the Entry and Exit of Remote
Operation.........................................................................139
<N>
<R>
READY Signal and Not READY Signal. ...........................142
Recovery from Failure of a Robot Program..........................94
Remote Operation Run........................................................139
Reset from CNC..................................................................143
RESOURCE........................................................................132
Resume................................................................................143
NC PROGRAM ..................................................................118
NOTES................................................................................168
<O>
OTHER INTERFACE SIGNALS.......................................111
OUTLINE .............................................................................21
OUTLINE OF CNC OPERATION.....................................118
Overlap Start .........................................................................95
Override Change .................................................................139
Override Output ..................................................................143
OVERVIEW ....................................................................1,129
PGENDC) .......................................................................144
ROBOT REMOTE OPERATION ON CNC.........................98
ROBOT REMOTE OPERATION SCREEN ........................56
ROBOT REMOTE OPERATION SCRREN ........................25
ROBOT SCREEN ON CNC .................................................49
ROBOT STATUS SCREEN.................................................49
<S>
SAMPLE LADDER PROGRAM FOR SYSTEM
<P>
P0001 (USER1) ~ Customized READY Signal ..................147
P0002 (USER2) ~ Multiple CNC Control...........................147
P0003 and P0004.................................................................147
P0005, P0007, P0009, P0011 (NCnIN)...............................148
P0006, P0008, P0010, P0012 (NCnOUT) ...........................148
P0013 (NC_HND)...............................................................148
P0014 (NC_PNS) ................................................................148
P0015 (MVHOME).............................................................148
P0016 (OVRUD).................................................................149
P0017 (PRGC) ....................................................................149
P0018 (CUE).......................................................................149
P0019 (CNCJOG) ~ Heart beat of Machine Tool
Operation Screen .............................................................150
P0021~ P0024 (NCnT3G)...................................................150
P0025 and P0026 (JOG FEED Operation of Robot from
CNC) ...............................................................................150
P0027 (T1T2) ......................................................................150
P0028 (S2STAT).................................................................151
P0029, P0030, P0031, P0032 Signals for Machine Tool
Operation Screen .............................................................151
Program Call and Queue .....................................................141
i-2
OPERATION ....................................................................28
Separation of CNC when Using FL-net ................................18
Separation of CNC when Using I/O Link .............................19
SETTING ALARM MESSAGE TRANSFER ......................41
SETTING AND CUSTOMIZING IN CNC..........................20
SETTING FOR CNC OPERATION SCREEN.....................45
Setting for Robot Connection Function...............................171
Setting in CNC.............................................................. 9,13,16
SETTING IN ROBOT ..........................................................38
Setting in robot controller ........................................... 11,14,16
SETTING INTERFERENCE PREVENTION SPACE.........44
SETTING JOG FRAME .......................................................39
Setting of Data Communication............................................16
SETTING OF ROBOT STATUS..........................................33
Setting PMC Parameter.......................................................172
SETTING PROGRAM NUMBER SELECTION (PNS) ......43
SETTING REFERENCE POSITION ...................................38
SETTING STEP OF OVERRIDE CHANGE .......................43
SETTING VALUE IN CNC ...............................................171
SETTING VALUE IN ROBOT CONTROLLER...............172
SETTINGS IN ALLOCATION SCREEN ............................30
INDEX
B-75114EN/02
Settings of FL-net....................................................................7
UO Signals ..........................................................................143
STANDARD SETTING......................................................171
CONTROLLER ..............................................................144
<T>
TEACHING MACRO PROGRAM FOR REMOTE
OPERATION ..................................................................125
Teaching Program for Hand Operation ...............................126
Teaching Program for Home Position Return .....................127
TEMPORARY SEPARATION OF CNC .............................18
THEACHING ROBOT PROGRAM TO INTERLOCK
WITH MACHINE ...........................................................121
Timer...................................................................................134
Tool Offset Screen ................................................................77
TRANSFER I/O COMMENTS IN ROBOT
CONTROLER ...................................................................41
Transition T1 (Remote Operation Request and the
Transition to the State "Remote Operation") ...................137
Transition T2 (End of Remote Operation and the
Transition to the State "Idle" (S1)) ..................................138
Transition T3 (Program Call Request from the Queue) ......141
Transition T4 (Failure to Launch) .......................................142
Transition T5 (Successful Program Launching)..................142
Transition T6 (Program end)...............................................142
Transition T7.......................................................................142
Type of setting value and applicable condition...................172
<U>
UI Signals............................................................................143
Unused internal relays.........................................................168
i-3
<W>
Wiring for Data Communication...........................................15
Wiring when FL-net is Used ...................................................6
Wiring when I/O Link is Used ................................................7
Revision Record
Robot and Machine Tool Integration Function OPERATORS MANUAL (B-75114EN)
Feb, 2010
01
Aug., 2009
Edition
Date
Contents
Edition
Date
Contents
B-75114EN/02
* B - 7 5 1 1 4 E N /
0 2 *