Operator'S Manual: R-30+A/R-30+A Mate CONTROLLER
Operator'S Manual: R-30+A/R-30+A Mate CONTROLLER
OPERATOR'S MANUAL
B-83174EN/01
• Original Instructions
Before using the Robot, be sure to read the "FANUC Robot Safety Manual (B-80687EN)" and
understand the content.
The products in this manual are controlled based on Japan’s “Foreign Exchange and
Foreign Trade Law”. The export from Japan may be subject to an export license by the
government of Japan.
Further, re-export to another country may be subject to the license of the government of
the country from where the product is re-exported. Furthermore, the product may also be
controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.
In this manual we have tried as much as possible to describe all the various matters.
However, we cannot describe all the matters which must not be done, or which cannot be
done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in this manual should be
regarded as ”impossible”.
B-83174EN/01 SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
For the safety of the operator and the system, follow all safety precautions when operating a robot and its
peripheral devices installed in a work cell.
In addition, refer to the “FANUC Robot SAFETY HANDBOOK (B-80687EN)”.
1 WORKING PERSON
The personnel can be classified as follows.
Operator:
• Turns robot controller power ON/OFF
• Starts robot program from operator’s panel
Maintenance engineer:
• Operates the robot
• Teaches robot inside the safety fence
• Maintenance (adjustment, replacement)
During the operation, programming, and maintenance of your robotic system, the programmer, teaching
operator, and maintenance engineer should take additional care of their safety by using the following
safety precautions.
(1) Have the robot system working persons attend the training courses held by FANUC.
FANUC provides various training courses. Contact our sales office for details.
s-1
SAFETY PRECAUTIONS B-83174EN/01
(2) Even when the robot is stationary, it is possible that the robot is still in a ready to move state, and is
waiting for a signal. In this state, the robot is regarded as still in motion. To ensure working
person safety, provide the system with an alarm to indicate visually or aurally that the robot is in
motion.
(3) Install a safety fence with a gate so that no working person can enter the work area without passing
through the gate. Install an interlocking device, a safety plug, and so forth in the safety gate so that
the robot is stopped as the safety gate is opened.
The controller is designed to receive this interlocking signal of the door switch. When the gate
is opened and this signal received, the controller stops the robot (Please refer to "STOP
TYPE OF ROBOT" in SAFETY for detail of stop type). For connection, see Fig.2 (a) and
Fig.2 (b).
(4) Provide the peripheral devices with appropriate grounding (Class A, Class B, Class C, and Class D).
(5) Try to install the peripheral devices outside the work area.
(6) Draw an outline on the floor, clearly indicating the range of the robot motion, including the tools
such as a hand.
(7) Install a mat switch or photoelectric switch on the floor with an interlock to a visual or aural alarm
that stops the robot when a working person enters the work area.
(8) If necessary, install a safety lock so that no one except the working person in charge can turn on the
power of the robot.
The circuit breaker installed in the controller is designed to disable anyone from turning it on
when it is locked with a padlock.
(9) When adjusting each peripheral device independently, be sure to turn off the power of the robot
RP1
Pulsecoder
RI/RO,XHBK,XROT
RM1
Motor power/brake
EARTH
Safety fence
s-2
B-83174EN/01 SAFETY PRECAUTIONS
Dual chain
Panel board (Note)
FENCE2
Fig. 2 (b) Limit switch circuit diagram of the safety fence (For R-J3iB CONTROLLER)
(1) If you do not have to operate the robot, turn off the power of the robot controller or press the
EMERGENCY STOP button, and then proceed with necessary work.
(2) Operate the robot system at a location outside of the safety fence
(3) Install a safety fence with a safety gate to prevent any worker other than the operator from entering
the work area unexpectedly and to prevent the worker from entering a dangerous area.
(4) Install an EMERGENCY STOP button within the operator’s reach.
s-3
SAFETY PRECAUTIONS B-83174EN/01
(1) Unless it is specifically necessary to enter the robot work area, carry out all tasks outside the area.
(2) Before teaching the robot, check that the robot and its peripheral devices are all in the normal
operating condition.
(3) If it is inevitable to enter the robot work area to teach the robot, check the locations, settings, and
other conditions of the safety devices (such as the EMERGENCY STOP button, the DEADMAN
switch on the teach pendant) before entering the area.
(4) The programmer must be extremely careful not to let anyone else enter the robot work area.
Our operator panel is provided with an emergency stop button and a key switch (mode switch) for selecting the
automatic operation mode (AUTO) and the teach modes (T1 and T2). Before entering the inside of the safety
fence for the purpose of teaching, set the switch to a teach mode, remove the key from the mode switch to prevent
other people from changing the operation mode carelessly, then open the safety gate. If the safety gate is opened
with the automatic operation mode set, the robot stops (Please refer to "STOP TYPE OF ROBOT" in SAFETY for
detail of stop type). After the switch is set to a teach mode, the safety gate is disabled. The programmer should
understand that the safety gate is disabled and is responsible for keeping other people from entering the inside of
the safety fence. (In case of R-30iA Mate Controller standard specification, there is no mode switch. The
automatic operation mode and the teach mode is selected by teach pendant enable switch.)
Our teach pendant is provided with a DEADMAN switch as well as an emergency stop button. These button and
switch function as follows:
(1) Emergency stop button: Causes an emergency stop (Please refer to "STOP TYPE OF ROBOT" in SAFETY
for detail of stop type) when pressed.
(2) DEADMAN switch: Functions differently depending on the mode switch setting status.
(a) Automatic operation mode: The DEADMAN switch is disabled.
(b) Teach mode: Servo power is turned off when the operator releases the DEADMAN switch or when the
operator presses the switch strongly.
Note) The DEADMAN switch is provided to stop the robot when the operator releases the teach pendant or
presses the pendant strongly in case of emergency. The R-30iA/ R-30iA Mate employs a 3-position
DEADMAN switch, which allows the robot to operate when the 3-position DEADMAN switch is pressed
to its intermediate point. When the operator releases the DEADMAN switch or presses the switch
strongly, the robot stops immediately.
The operator’s intention of starting teaching is determined by the controller through the dual operation of setting the
teach pendant enable/disable switch to the enable position and pressing the DEADMAN switch. The operator
should make sure that the robot could operate in such conditions and be responsible in carrying out tasks safely.
The teach pendant, operator panel, and peripheral device interface send each robot start signal. However the
validity of each signal changes as follows depending on the mode switch and the DEADMAN switch of the operator
panel, the teach pendant enable switch and the remote condition on the software.
s-4
B-83174EN/01 SAFETY PRECAUTIONS
Software
Teach pendant
Mode remote Teach pendant Operator panel Peripheral device
enable switch
condition
Local Allowed to start Not allowed Not allowed
On
T1, T2 Remote Allowed to start Not allowed Not allowed
mode Local Not allowed Not allowed Not allowed
Off
Remote Not allowed Not allowed Not allowed
(5) (Only when R-30iA Controller or CE or RIA specification of R-30iA Mate controller is selected.)
To start the system using the operator’s panel, make certain that nobody is the robot work area and
that there are no abnormal conditions in the robot work area.
(6) When a program is completed, be sure to carry out a test run according to the procedure below.
(a) Run the program for at least one operation cycle in the single step mode at low speed.
(b) Run the program for at least one operation cycle in the continuous operation mode at low
speed.
(c) Run the program for one operation cycle in the continuous operation mode at the intermediate
speed and check that no abnormalities occur due to a delay in timing.
(d) Run the program for one operation cycle in the continuous operation mode at the normal
operating speed and check that the system operates automatically without trouble.
(e) After checking the completeness of the program through the test run above, execute it in the
automatic operation mode.
(7) While operating the system in the automatic operation mode, the teach pendant operator should
leave the robot work area.
(11) When handling each unit or printed circuit board in the controller during inspection, turn off the
circuit breaker to protect against electric shock.
If there are two cabinets, turn off the both circuit breaker.
(12) When replacing parts, be sure to use those specified by FANUC.
In particular, never use fuses or other parts of non-specified ratings. They may cause a fire or
result in damage to the components in the controller.
(13) When restarting the robot system after completing maintenance work, make sure in advance that
there is no person in the work area and that the robot and the peripheral devices are not abnormal.
• An operator pushes the emergency stop button frequently, and a line stops.
• An area sensor or a mat switch connected to safety signal operate routinely and power-off stop
is executed for the robot.
(5) Robot stops urgently when collision detection alarm (SV050) etc. occurs. The frequent urgent stop
by alarm causes the trouble of the robot, too. So remove the causes of the alarm.
s-7
SAFETY PRECAUTIONS B-83174EN/01
WARNING
The stopping distance and stopping time of Controlled stop are longer than the
stopping distance and stopping time of Power-Off stop. A risk assessment for
the whole robot system, which takes into consideration the increased stopping
distance and stopping time, is necessary when Controlled stop is used.
When the E-Stop button is pressed or the FENCE is open, the stop type of robot is Power-Off stop or
Controlled stop. The configuration of stop type for each situation is called stop pattern. The stop pattern
is different according to the controller type or option configuration.
s-8
B-83174EN/01 SAFETY PRECAUTIONS
The following table indicates the Stop pattern according to the controller type or option configuration.
The stop pattern of the controller is displayed in "Stop pattern" line in software version screen. Please
refer "Software version" in operator's manual of controller for the detail of software version screen.
s-9
SAFETY PRECAUTIONS B-83174EN/01
- In Controlled stop, physical impact is less than Power-Off stop. This function is effective for
systems where the physical impact to the mechanical unit or EOAT (End Of Arm Tool) should be
minimized.
- The stopping distance and stopping time of Controlled stop is longer than the stopping distance and
stopping time of Power-Off stop, depending on the robot model and axis. Please refer the operator's
manual of a particular robot model for the data of stopping distance and stopping time.
The stop type of DCS Position and Speed Check functions is not affected by the loading of this option.
WARNING
The stopping distance and stopping time of Controlled stop are longer than the
stopping distance and stopping time of Power-Off stop. A risk assessment for
the whole robot system, which takes into consideration the increased stopping
distance and stopping time, is necessary when this option is loaded.
s-10
B-83174EN/01 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
1 OVERVIEW ............................................................................................. 1
2 SETTING UP ........................................................................................... 2
2.1 SYSTEM DESIGN TOOL SETUP SCREEN.................................................. 2
2.2 LOAD KAREL PROGRAMS OF SYSTEM DESIGN TOOL ........................... 4
2.2.1 Loading All ..............................................................................................................4
2.2.2 Loading Individually ................................................................................................5
2.2.3 Remedy of Failed to Load ........................................................................................5
2.3 DELETE KAREL PROGRAMS OF SYSTEM DESIGN TOOL ....................... 6
2.3.1 Delete All .................................................................................................................6
2.3.2 Delete Individually ...................................................................................................7
2.3.3 Remedy of Failed to Delete......................................................................................7
2.4 USAGE .......................................................................................................... 8
2.4.1 Sample of Using Constants ......................................................................................9
2.4.2 Sample of Using Register.........................................................................................9
2.4.3 Sample of Using String Register ..............................................................................9
3 TRIGINOMETRIC FUNCTION............................................................... 10
3.1 SQUARE ROOT .......................................................................................... 10
3.2 SIN FUNCTION ........................................................................................... 10
3.3 COS FUNCTION ......................................................................................... 10
3.4 TAN FUNCTION .......................................................................................... 10
3.5 SIN-1 (ARCSINE) FUNCTION...................................................................... 11
3.6 COS-1 (ARCCOSINE) FUNCTION............................................................... 11
3.7 TAN-1 (ARCTANGENT) FUNCTION ............................................................ 11
3.8 EXPONENTIAL FUNCTION ........................................................................ 11
3.9 LOGARITHM ............................................................................................... 12
3.10 ABSOLUTE VALUE..................................................................................... 12
3.11 TRUNCATION ............................................................................................. 12
3.12 ROUND OFF ............................................................................................... 12
4 ROBOT SETUP ASSISTANCE TOOL.................................................. 13
4.1 OVERVIEW ................................................................................................. 13
4.2 STRUCTURE OF FUNCTION ..................................................................... 15
4.3 SUPPORTED DATA.................................................................................... 16
4.4 HOW TO LOAD PROGRAMS ..................................................................... 17
4.5 USAGE ........................................................................................................ 18
4.5.1 How to Display Menu ............................................................................................18
4.5.2 Output Data to CSV File ........................................................................................18
4.5.3 Setup Data From CSV File.....................................................................................19
4.5.4 Change CSV File Name .........................................................................................20
4.6 OVERVIEW OF CSV FILE FORMAT .......................................................... 20
4.7 REMOVAL OF UNNECESSARY DATA....................................................... 22
4.8 FORMAT OF DATA ..................................................................................... 23
4.8.1 Comment Lines in Data File...................................................................................23
c-1
TABLE OF CONTENTS B-83174EN/01
c-3
B-83174EN/01 [Link]
1 OVERVIEW
NOTE
System design tool option is available only on 7DA7 series or later.
System design tool is the software option (J738). It is package of useful functions to construct production
system that uses robot. KAREL programs mainly realize these functions. It allows you to selectively load
needed KAREL programs to the robot controller. It has following functions.
KAREL is the robot language for the robot system architecture. User’s original function can be created
after creating KAREL program on PC, loading it to the robot controller and executing it. Refer to
KAREL Function, B-83144, to know the detail about KAREL programs.
NOTE
System design tool software option must be installed to the robot controller to use
KAREL programs of its option. Otherwise, one of following warning is posted.
SYST - 298 Trigonometric Function not installed
SYST - 299 Robot Setup Assistance not installed
SYST - 300 System Design Tool not installed
-1-
[Link] UP B-83174EN/01
2 SETTING UP
This chapter describes setting up of system design tool.
Select “MENUS” -> “6. SETUP” -> F1[TYPE] -> Sys Dsn Tool. Following is displayed.
Categories and required memory are displayed. All functions except “Trigonometric Function”, “Robot
Setup Assistance” and “TPP Memory Assist” are included in “Others”. Required memory shows TEMP
memory usage only as a guide when you load KAREL programs. TEMP memory is the work area used
by system software. Please refer to “MEMORY USE STATUS DISPLAY” of “STATUS DISPLAY”
chapter of each application tool manual to know detail of TEMP memory.
NOTE
“Req Mem” is just as a guide. In some cases memory actually used and “Req
Mem” are different.
Press F2[DETAIL] to show the detail of each function. For example, the screen of trigonometric function
is displayed as follows.
-2-
B-83174EN/01 [Link] UP
Following table describes each item in the screen.
Item Comment
Program KAREL program name.
Comment Brief description of KAREL program.
CurStat Loaded KAREL program version.
“****” indicates no KAREL program is loaded.
Select YES indicates that KAREL program is the object to load or delete.
NO indicates that any action is disabled.
Press F4[YES] for YES, or F5[NO] for NO.
F2[DETAIL] is displayed after pressing the NEXT key. Following is displayed after pressing
F2[DETAIL].
To display detail screen of previous program, press F2[PREV]. Press F3[NEXT] to display next program.
-3-
[Link] UP B-83174EN/01
NOTE
Load fails in the following cases.
・Same TP program exists before loading KAREL program.
・Status of loading KAREL program is paused or running.
In the case some KAREL programs are not loaded, “Some files not loaded.” is
displayed.
In the case “Some files not loaded.” is displayed, press F2[DETAIL] . It allows you to see which program
is not loaded. “****” is displayed in CurStat column at not loaded KAREL program.
If KAREL programs are already loaded, confirm “Loaded Version” and “Update Version” in detail screen
described above. If they are different, KAREL programs are not loaded.
-4-
B-83174EN/01 [Link] UP
NOTE
1 Don’t load program of Robot Setup Assistance individually. Load programs all at
once.
2 If you accidentally load program of Robot Setup Assistance individually, delete
all programs first. Then load them all at once.
At the detail of each function screen, press F4[YES] to change NO to YES on “Select” column of
KAREL program you want to load.
Press F2[LOAD].
Confirming message is displayed then set the cursor on [YES] and press the ENTER key.
The loaded version is displayed next to “CurStat” column.
NOTE
“Select” column is forced to NO after the screen is switched.
-5-
[Link] UP B-83174EN/01
NOTE
If KAREL program to be deleted is running or paused, delete fails. In the case
some KAREL programs are not deleted, “Some files not deleted.” is displayed.
In the case “Some files not deleted.” is displayed, press F2[DETAIL] . It allows you to see which
program is not deleted. KAREL program version is displayed in CurStat column at not loaded KAREL
program.
-6-
B-83174EN/01 [Link] UP
NOTE
1 Don’t delete program of Robot Setup Assistance individually. Delete programs all
at once.
2 If you accidentally delete program of Robot Setup Assistance individually, delete
all programs first. Then load them all at once.
At the detail of the each function screen, press F4[YES] to change NO to YES on “Select” column of
KAREL program you want to load.
Press F3[DELETE].
Confirming message is displayed then set the cursor to [YES] and press the ENTER key.
NOTE
“Select” column is forced to NO after the screen is switched.
-7-
[Link] UP B-83174EN/01
2.4 USAGE
Basically KAREL programs of system design tool are taught with CALL instruction. Needed value to
calculate and register number to output results are specified by the parameters. Some KAREL programs
do not need parameters.
There are some ways to specify parameters. Specifying constant, string, register or string register.
NOTE
Below is the case error is posted. Specify correct parameters.
・ Wrong type parameters are specified
・ Lack of parameters.
・ Out of range
After modifying the program, please set the cursor onto a line before CALL
instruction and execute again.
NOTE
CALL instruction must be used to use KAREL programs of system design tool.
RUN instruction does not work correctly.
NOTE
Set system variable $KAREL_ENB to 1 when KAREL program is taught. It is set
1 on system design tool.
-8-
B-83174EN/01 [Link] UP
The 2nd parameter, register number to output , is R[4] = 1 in the same way.
NOTE
The value of register is used as parameter when register is specified by the
parameters. Result is not output R[4] in above sample, except R[4] is 4.
STRBERGL is used as a sample, this subsection explains using string register as a parameter.
Following is the sample to use it.
Teach Sample
Suppose SR[1] = “Body Error”. “KALM - 011 Body Error” is posted after executing this sample.
-9-
[Link] FUNCTION B-83174EN/01
3 TRIGINOMETRIC FUNCTION
Trigonometric function enables various calculation described in the following sections. Each one has
parameters of integer or real number to calculate or register number to output calculated result.
This function calculates the square root of the 1st parameter. The result is output to register specified by
the 2nd parameter.
This function calculates SIN (1st parameter degree) and output it to the register specified by the 2nd
parameter.
The result is real number.
This function calculates COS (1st parameter degree) and output it to the register specified by the 2nd
parameter.
The result is real number.
This function calculates TAN (1st parameter degree) and output it to the register specified by the 2nd
parameter.
The result is real number.
- 10 -
B-83174EN/01 [Link] FUNCTION
Sample: CALL PTAN(45, 1) -> R[1] = 1.0
This function calculates SIN-1 (1st parameter value) and output it to the register specified by the 2nd
parameter.
The result is real number. Its unit is degree.
This function calculates COS-1 (1st parameter value) and output it to the register specified by the 2nd
parameter.
The result is real number. Its unit is degree.
This function calculates TAN-1 (1st parameter value and 2nd parameter value) and output it to the register
specified by the 3rd parameter. The result is real number. Its unit is degree.
This function calculates exponent (1st parameter value) and output it to the register specified by the 2nd
parameter.
The result is real number.
- 11 -
[Link] FUNCTION B-83174EN/01
3.9 LOGARITHM
Program name: pln
1st parameter : The value to calculate logarithm. Integer or real number.
2nd parameter : Register number to output result. Positive integer.
This function calculates logarithm (1st parameter value) and output it to the register specified by the 2nd
parameter.
The result is real number.
This function calculates absolute value of the 1st parameter. The result is output to the register specified
by the 2nd parameter. The result is the same of 1st parameter.
3.11 TRUNCATION
Program name: ptrunc
1st parameter : The value to calculate truncation. Integer or real number.
2nd parameter : Register number to output result. Positive integer.
The result of calculation is the value of the 1st parameter after any fractional part has been removed. The
result is output to the register specified by the 2nd parameter. The result is integer.
The result of calculation is INTEGER value closest to the 1st parameter. The result is output to the
register specified by the 2nd parameter. The result is integer.
- 12 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
NOTE
Robot Setup Assistance too (option J737) is included in System design tool
(option J738). If you need this function only, please order option J737. This
option is supported by 7DA7 or later.
4.1 OVERVIEW
Robot Setup Assistance tool is function to setup Robot efficiently. With this tool, you can do following
work efficiently.
This function can output various setup data of R-30+A/R-30+A Mate controller (robot controller or
controller hereafter) to CSV file. This function can also setup controller by reading CSV file.
You can display menu for this tool by loading KAREL programs by System design tool and run main
program. Using the menu, you can output data to CSV file and setup data of CSV file.
Memory card or
USB memory stick
Register
Register
Pos. Register
Pos. Register
other setup data
other setup data
Microsoft® Excel®
- 13 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Example 1
1 Output setup data of robot controller to CSV file by this function
2 Open the CSV file by Microsoft® Excel® and input or modify setup data
3 Set data of CSV file by this function.
Example 2
1 Output setup data of robot controller to CSV file by this function
2 Open the CSV file by Microsoft® Excel® and input or modify setup data
3 Set data of CSV file to another controller by this function.
Microsoft® Excel®
Example 3
1 Output setup data to CSV file by this function on ROBOGUIDE
2 Open the CSV file by Microsoft® Excel® and input or modify setup data
3 Set data of CSV file to real robot controller by this function.
ROBOGUIDE
ROBOGUIDE
- 14 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
CSV (Comma Separated Value) format file is text file in which data is separated by comma. Even though
you can create CSV file directly by text editor, Microsoft® Excel® can be used to create CSV file by
inputting data and saving file in CSV format.
CSV file can be read and edited by Microsoft® Excel®.
Following figure is example of display of CSV file by Microsoft® Excel®.
You can create new CSV file using format that is described in later section. However, it is easier to output
CSV file as template and to modify it. We recommend using CSV file that is already output as template
file.
File name that this function uses is cp_rbdt.csv by default. You can change this filename when you use
this function. You can use cp_xxxx.csv (x is numeric character from 0 to 9).
NOTE
Only limited setup data is supported by this function. For example, this function
does not support setup data of spot application.
- 15 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Output to file
FROM
KAREL program R-30iA
x_dtcopy.pc 1 Load of KAREL
program
x_dtcopy
2 Execution of
KAREL program
Memory card or USB memory stick
CSV file to store setpu data
cp_rbdt.csv Setup data
in robot
controller
FROM
KAREL program R-30iA
x_dtcopy.pc 1 Load of KAREL
program
x_dtcopy
2 Execution of
KAREL program
Memory card or USB memory stick
CSV file to store setup data
cp_rbdt.csv Setup data
in robot
controller
NOTE
Some items don’t support all items in setup screens. Please refer to section of
each item.
1 Press MENUS
2 Press SETUP
3 Press F1, [TYPE]
4 Select “Sys Dsn Tool”. This leads you to screen like following figure.
You can also delete all related programs all at once. Please refer to chapter of BASIC OPERATION.
NOTE
1 Don’t delete or load program of Robot Setup Assistance individually. Delete or
load programs all at once.
2 If you accidentally delete or load program of Robot Setup Assistance individually,
delete all programs first. Then load them all at once.
- 17 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
4.5 USAGE
- Data output
- Setup of data from CSV file
- Change of file name
- Exit
Current directory
and file device
- 18 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
NOTE
Output data when file device currently selected by file screen is ready to be
written. Otherwise, alarms happen after file output even though message “Data
output completed!” is displayed. For example:
1 Don’t output file to MC: without inserting memory card to the slot.
2 Don’t output file by ROBOGUIDE with opening file by Microsoft® Excel®.
If output file already exists, warning message “cp_rbdt.csv already exist. Delete OK? (1:Yes, 0:No)”
is displayed. If you want to overwrite the file, input 1. Otherwise, input 0.
3 Prompt message “[Enter to next]” is displayed. Press Enter key to return to menu.
- 19 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
3 Prompt message “[Enter to next]” is displayed. Press Enter key to return to menu.
NOTE
After data set, cycle power is needed.
File name is decided by entering number from –1 to 9999. If you input –1, file name is set back to
default name, cp_rbdt.csv. If you input value between 0 and 9999, the number is used as the last 4
character of file name. For example, if you input 109, the new file name is cp_0109.csv.
3 Prompt message “[Enter to next]” is displayed. Press Enter key to return to menu.
- 20 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
- 21 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Terminator (!!!!)
Basically, each line has to complete with “!!!!”, which is terminator of line. The exception is comment
line (REM) and end line (END).
- 22 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Register (“REG”)
Snip and explanation
comment for it (“REM”)
Position register(“PREG”)
and explanation
comment for it (“REM”)
Snip
This example is output by controller with 200 registers and 100 position registers. This function output
register 1 through 200 first. Then it output blank line and position register 1 through 100. The rest of data
are output in the same way. If you remove all lines between blank line before and after position register
section, you can remove all description for position registers.
Syntax
Identifier + comment string
- 23 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Example
Detail
This identifier is used to write comment in CSV file. When data is set from file, lines that start with this
identifier are ignored.
Syntax
Identifier
Example
Detail
This identifier specifies the end of file. You must write this identifier with line feed at the end of file.
4.8.3 Register
Identifier
REG
Syntax
Identifier + index + comment + data type (INT/REAL) + value + terminator
Example
Detail
Item Description
Index Index of register.
If index is out of range when data is set, message “Illegal index” is displayed.
Comment Maximum 16 characters.
INT/REAL If register has integer value, this filed should be INT. Otherwise (real number), REAL.
Value When data is output, the number of decimal places is 3.
When you create CSV file to set data, do likewise.
- 24 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Note
When file is output, all registers are output.
Syntax
Format of the 3rd and later lines depend on data type and the number of axes.
If there are 2 or more groups, the 2nd – 6th lines are repeated as required.
When data is set from file, you have to write data for all groups.
You cannot change the order of lines. You cannot omit lines.
To avoid format error, it is recommended to output CSV file before setting data from file and to use
output file as template file.
- 25 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Example
Detail
Item Description
Index Index of position register.
If index is out of range when data is set, message “Illegal index” is displayed.
Comment Maximum 16 characters.
Group (GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
Type Data type of position register. One of following is specified.
JPOS Joint position
XYZ XYZWPR
RXYZWPR XYZWPREXT (Cartesian type with extended axis)
The number of If “Type” field is RXYZ, this field is the number of extended axes. If XYZ, this field should be 0.
extended If “Type” field is JPOS, this field is the number of total axes of the group.
axes/total axes
When position register is uninitialized, this field is “U”. The 3rd, 4th and the 5th line are not
output.
When data is set from file, data of “U” is ignored. Setting data from file does not make position
registers uninitialized.
X/J1, Y/J2, Z/J3, These fields specify value of each data.
W/J4, P/J5, R/J6
E1, E2, E3 These fields are output only when data type is RXYZ.
For setting data, these values should be specified only when data type is RXYZ. Value of
extended axes are specified
- 26 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Item Description
Config This field specifies string that represents configuration data.
Line with this field is needed only for Cartesian data type ( XYZ and RXYZ).
String for configuration data depends on robot. Make use of output file to decide string for
configuration.
Note
Matrix type is not supported.
Identifier Description
DI Comment of digital input
DO Comment of digital output
RI Comment of robot input
RO Comment of robot output
GI Comment of group input
GO Comment of group output
AI Comment of analog input
AO Comment of analog output
SI Comment of operator panel input
SO Comment of operator panel output
UI Comment of peripheral input
UO Comment of peripheral output
Syntax
Identifier + index + comment + terminator
Example
Following figure is example of DI. The other types has similar format.
Detail
Item Description
Index Index of signal.
This function supports limited range of index.
The maximum index is as follows.
DI, DO: 2048
RI, RO: 16
GI, GO: 64
AI, AO: 64
SI, SO: 64
UI: 36
UO: 40
Comment Maximum 24 characters.
- 27 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Note
This function output comment of signals that satisfy following condition (A) and (B) at the same time.
(A) Index is equal to or less than maximum value (Please refer to table in “Detail” above).
(B) One of following is satisfied.
- Comment is set
- Comment is not set but value of I/O can be read.
Identifier Description
DIA Assignment of digital input.
DOA Assignment of digital output.
GIA Assignment of group input.
GOA Assignment of group output.
AIA Assignment of analog input.
AOA Assignment of analog output.
UIA Assignment of peripheral input.
UOA Assignment of peripheral output.
Syntax
DI, DO, GI, GO, UI and UO
Identifier + Index + Rack number + Slot number + Start point + the number of points + terminator
AI and AO
Identifier + Index + Rack number + Slot number + Channel number + the number of points (always
1) + terminator
Example
Following figure is an example of DI. DO, UI and UO have similar format.
Detail
Item Description
Index Logical index to start assignment.
Rack number Rack number and slot number.
Slot number
- 28 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Item Description
Start point This is for DI, DO, GI, GO, UI and UO.
Physical point to start assignment.
Channel This is for AI and AO. This field specifies channel number.
Number of points For DI, DO, UI and UO, the maximum number is 8. Assignment that has more than 9
successive points is divided into assignment of 8 points or less. This is true to both data output
and data set.
For GI and GO, this field specifies the number of points for the signal.
For AI and AO, this field should be 1.
NOTE
If assignment read from CSV file is wrong assignment for the controller, it is not
actually assigned. However, error message is not displayed. Set valid
assignment. Be careful that assignment in CSV file is valid on controller that read
the CSV file. Be careful especially when you use CSV file made by
ROBOGUIDE on real controller.
Note
When data is set, this function clears assignment of predefined range of index first. Following table shows
the range.
I/O Range
DO, DI 1-2048 (Usually, only 1 through 512 are displayed)
GI, GO 1-64
AI, AO 1-64
UI 1-36
UO 1-40
Syntax
Identifier + Program name + Program type + Comment + terminator
Example
Detail
Item Description
Program name Program name.
Maximum 36 characters.
When data is set from file and when specified program does not exist, the line is ignored.
- 29 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Item Description
Type When data is set from file, this field is ignored.
TP: TP program
MR: Macro Program
PC: KAREL program
VR: KAREL variable
Comment of TP and MR can be set by this function.
If sub type is CH, it is treated as TP.
Comment Maximum 16 characters.
Syntax
Identifier + Program name + Position number + Comment + terminator
Example
Detail
Item Description
Program name Program name.
Maximum 36 characters if setting is default.
When data is set from file and when specified program does not exist, the line is ignored.
Position number When data is set from file and when specified position does not exist, the line is ignored.
Comment Maximum 16 characters.
Note
When file is output, positions are output from P[1] to P[999] if exist.
Syntax
Identifier + Index + Alarm message + Severity + terminator
- 30 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Example
Detail
Item Description
Index Index of user alarm.
If this is out of range when data is set from file, message “Illegal index” is displayed.
Alarm message Message of user alarm.
Maximum 28 characters.
Alarm severity This field is specified by one of following values.
WARN
STOP.L
STOP.G
ABORT.L
ABORT.G
Note
If alarm severity does not correspond to one of severity in above table, the value is output as numerical
value when file is output. However, you should not set such value.
4.8.10 Macro
Identifier
MCR
Syntax
Identifier + Index + Macro name + Program name + Assign type + Index of assign + terminator
Example
- 31 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Detail
Item Description
Index Index of Macro.
If this is out of range when data is set from file, message “Illegal index” is displayed.
Macro name Name of macro.
Maximum 36 characters.
When data is set from file, preceding spaces are not deleted. It is because such macro
name is valid.
Program name Maximum 36 characters.
When data is set from file, it is set even if the program does not exist.
Assign type Type of assignment of macro.
NO No assignment. This corresponds to “-“ of macro screen.
UK User key
SU Shift key + User key
MF Manual function
SP Operator panel
DI Digital input
RI Robot input
UI Peripheral input
F Flag
M Marker
Index (The 2nd one) Index of assignment.
When data is set from file, this function does not check if index is in valid range. Please
set valid value.
4.8.11 Frames
Identifier
Identifier depends on type of frame. Following identifiers are supported.
Identifier Description
TFRM Tool frame
UFRM User frame
JFRM Jog frame
Syntax
The 1st line
Identifier + Group number + index + comment + terminator
The 2nd line
Empty field + X + Y + Z + terminator
The 3rd line
Empty field + W + P + R + terminator
The data set is always composed of 3 lines. You have to set above lines in this order and no lines can be
omitted.
- 32 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Example
Detail
Item Description
Group(GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
Index Index of frame.
Comment Maximum 20 characters.
X,Y,Z,W,P,R When data is output, the number of decimal places is 3.
When you create CSV file to set data, do likewise.
Note
When file is output, all frames are output.
Syntax
The 1st line
Identifier + Group number + index + comment + enable/disable of reference position +
enable/disable of home position + signal type + signal index + terminator
The 2nd line – the 10th line
Empty field + position of axis + tolerance + terminator
The data set is always composed of 10 lines. You have to set above lines in this order and no lines can be
omitted.
Example
- 33 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Detail
Item Description
Group(GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
Index Index of reference position.
If this is out of range when data is set from file, message “Illegal index” is displayed.
Comment Maximum 16 characters.
ENABLE/DISABLE Enable/Disable of the reference position.
Is a valid Home If this is valid home, this field is ENABLE.
Otherwise, this field is DISABLE.
Signal type Type of output signal.
This is specified by DO or RO.
Signal index Index of output signal.
J1 - J9 position When data is output, the number of decimal places is 3.
Tolerance When you create CSV file to set data, do likewise.
Note
When file is output, all reference positions are output.
Syntax
The 1st line
Identifier + Group number + index + comment + payload + terminator
The 2nd line
Empty field + Center of gravity X + Center of gravity Y + Center of gravity Z + terminator
The 3rd line
Empty field + Inertia X + Inertia Y + Inertia Z + terminator
The data set is always composed of 3 lines. You have to set above lines in this order and no lines can be
omitted.
Example
- 34 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Detail
Item Description
Group(GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
Index Index of payload setting
If this is out of range when data is set from file, message “Illegal index” is displayed.
Comment Maximum 16 characters.
Center X, Y, Z , When data is output, the number of decimal places is 3.
Inertia X, Y, Z When you create CSV file to set data, do likewise.
Note
When file is output, all payload settings of all groups are output.
This function does not support current payload number.
Syntax
Identifier + Group number + Load on J1 + Load on J3 + terminator
Example
Detail
Item Description
Group(GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
ARM LOAD AXIS#1, #3 When data is output, the number of decimal places is 3.
When you create CSV file to set data, do likewise.
Note
When file is output, armloads of all groups are output.
- 35 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Syntax
The 1st line
Identifier + Group number + index + Comment + terminator
The 2nd line
Empty field + Enable/Disable + output signal type + output signal index + input signal type + input
signal index + terminator
The 3rd line
Empty field + priority high/low + Inside/Outside + length/vertex + User frame number + Tool frame
number + terminator
The 4th line
Empty field + Base vertex X + Base vertex Y + Base vertex Z + terminator
The 5th line
Empty field + The 2nd vertex X/Side length X + The 2nd vertex Y/Side length Y + The 2nd vertex
Z/Side length Z + terminator
Example
Detail
Item Description
Group(GPn) Group number.
Only 3 characters are recognized.
The first 2 characters should be “GP”.
The last character is group number.
If group number is out of range when data is set, message “Illegal group” is displayed.
Index Index of space check function setup data.
If this is out of range when data is set from file, message “Illegal index” is displayed.
Comment Maximum 10 characters.
ENABLE/DISABLE Enable/Disable of the space.
Output Type Type of Output signal. DO or RO.
Output Index Index of Output signal.
Input Type Type of Output signal. DI or RI.
Input Signal Index of Input signal.
Priority (HIGH/LOW) Specify HIGH or LOW.
INSIDE/OUTSIDE Specify INSIDE or OUTSIDE.
length/vertex Specify LENGTH or VERTEX.
UF, UT The number of user frame and tool frame.
Base X, Y, Z When data is output, the number of decimal places is 3.
When you create CSV file to set data, do likewise.
2nd/Length X, Y, Z “length/vertex” field in the 3rd line decides the meaning of these fields.
If LENGTH, these fields are length of each side.
If VERTEX, these fields shows position of the 2nd vertex.
- 36 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Note
When file is output, all space settings are output.
If value of UF or UT is negative, error happens. But there is no more value check for them.
Syntax
The 2nd field is item number. It identifies what the item is. Format depends on “item number” field.
Item number 10
Identifier + Item number + Item name + Value of interval + Unit of interval + terminator
The other item number
Identifier + Item number + Item name + Value of item + terminator
Example
Detail
The 2nd field, item number identifies the meaning of line data. The 3rd item, item name is just for
explanation of the item. It is ignored when data is set from file.
- 37 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Note
When backup time is uninitialized, it is output as “**:**”. If corresponding field is “**:**”, backup time
is set to “**:**” as specified.
Syntax
The 2nd field is item number. It identifies what the item is. Format depends on “item number” field.
In general, format is as follows. However, there may be 2 or more value fields.
Identifier + item number + item name + value + terminator
- 38 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Example
Detail
- The 2nd field, item number identifies the meaning of line data.
- The 3rd field, item name is just for explanation of the item. It is ignored when data is set from file.
- Enable/disable is specified by ENALBE or DISABLE.
- 40 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
- 41 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Syntax
Identifier + Index + timer count value + comment + terminator
Example
Detail
Item Description
Index Index of program timer.
If this is out of range when data is set from file, message “Illegal index” is displayed.
Timer Count When data is output, the number of decimal places is 2.
When you create CSV file to set data, do likewise.
Comment Maximum 13 characters.
Note
When file is output, all program timers are output.
Syntax
Identifier + Index + value string + comment + terminator
Example
Detail
Item Description
Index Index of string register.
If this is out of range when data is set from file, message “Illegal index” is displayed.
String Value of string register.
This function supports maximum 120 characters.
Comment Maximum 16 characters.
- 42 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Note
When file is output, all string registers are output.
Syntax
Identifier + ENABLE/DISABLE + terminator
Example
Detail
Item Description
Consider battery of mechanical unit ENABLE or DISABLE.
Syntax
The 1st line
Identifier + ENABLE/DISABLE + Signal 1 + Signal 2 + terminator
The 2nd line
Empty field + override of OFF_OFF + override of OFF_ON + override of ON_OFF + override of
ON_ON + terminator
The data set is always composed of 2 lines. You have to set above lines in this order and no lines can be
omitted.
Example
Detail
Item Description
ENABLE/DISABLE Enable/disable of override select.
This is specified by ENABLE or DISABLE.
Signal 1 Index of signal 1.
- 43 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Item Description
Signal 2 Index of signal 2.
OFF_OFF Override is specified by integer.
OFF_ON Range is from 1 to 100.
ON_OFF
ON_ON
Note
When index of signal 1 or signal 2 is uninitialized, it is output as “****”. When data is set from file and
the field is “****”, corresponding setting is not change. Index is not set to “****”.
Syntax
Identifier + WARN not recorded + RESET not recorded + terminator
Example
Detail
Item Description
WARN not recorded If alarm of WARN is not recorded, 1.
Otherwise, 0
RESET not recorded If reset is not recorded, 1.
Otherwise, 0
4.8.23 TCP/IP
Identifier
TCPIP
Syntax
Identifier + item number + item name + value + terminator
- 44 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Example
Detail
- The 2nd field, item number identifies the meaning of line data.
- The 3rd field, item name is just for explanation of the item. It is ignored when data is set from file.
Note
- Even if R-30+AMate, IP address and subnet mask of port2 are output. However the data is not
actually used.
- If robot controllers of same address exist, it can cause network trouble. Please pay attention to it
when you set data from file.
- Uninitialized IP address of controller and Router is output as “****”. When data is set from file,
“****” is not set.
- This function assumes host name is composed of alphabet and numeric characters.
- 45 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Syntax
Identifier + index + host name + IP address + terminator
Example
Detail
Item Description
Index Index of setting.
Host name Maximum 10 characters
IP address IP address of host. This function does not check if it is valid address or not.
Note
- Uninitialized IP address is output as “****”. When data is set from file, “****” is not set.
- This function assumes host name is composed of alphabet and numeric characters.
Syntax
Identifier + index + ID + error code + Severity + Display + terminator
Example
File output adds comment lines that show relationship between ID (Facility code) and kinds of alarm
(TPIF, SYST for example). The number of these lines depend on the version of system software of robot
controller.
- 46 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Detail
Item Description
Index Index of setting.
If index is out of range when data is set, message “Illegal index” is displayed
ID This is value that shows the kind of alarm. For example, 11 means SRVO alarm. Please
refer to error table screen of controller and comment of output CSV file.
Error code Number of error. 14 of TPIF-14 for example.
Severity This is specified by one of following values.
DEFAULT
STOP
STOPALL
ABORT
ABORTALL
Display This is specified by one of following values.
DEFAULT
ACTIVE
NODISP
NOERLOG
NOERLIN
- 47 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Note
Uninitialized ID is output as “****”. When data is set from file, lines whose ID is “****” are ignored.
Syntax
Identifier + item number + item name + value + terminator
Example
Detail
- The 2nd field, item number identifies the meaning of line data.
- The 3rd field, item name is just for explanation of the item. It is ignored when data is set from file.
- 48 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
4.8.27 RSR
Identifier
RSR
Syntax
The 2nd field is item number. It identifies what the item is. Format depends on “item number” field.
In general, format is as follows. However, there may be 2 or more value fields.
Example
Detail
- Among setting of RSR, settings that are related to RSR only are included in identifier “RSR”.
Acknowledge function, Acknowledge pulse width and Base number are included in identifier
“PRG_SEL”
- The 2nd field, item number identifies the meaning of line data.
- The 3rd field, item name is just for explanation of the item. It is ignored when data is set from file.
- 49 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
4.8.28 PNS
Identifier
PNS
Syntax
Identifier + Job prefix + terminator
Example
Detail
- Among setting of PNS, settings that are related to PNS only are included in identifier “PNS”.
Base number and Acknowledge pulse width are included in identifier “PRG_SEL”
Item Description
Job prefix Only 3 characters are recognized.
Syntax
The 1st line
Identifier + Program select mode + terminator
The 2nd line
Empty field + Base number + Acknowledge function + Acknowledge pulse + terminator
The data set is always composed of 2 lines. You have to set above lines in this order and no lines can be
omitted.
Example
Detail
- 50 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Item Description
Program Selection mode This is specified by one of following values.
RSR
PNS
STYLE
If the other value is used when data is set from file, message “Illegal data “ is
displayed. “OTHER” is not supported.
Base number Base number of RSR and PNS.
This is specified by integer value of 0 or more.
Acknowledge function This field corresponds to “Acknowledge function” of RSR and Style. This is specified
by ENABLE or DISABLE.
Acknowledge pulse This field corresponds to Acknowledge pulse width of RSR, PNS and Style.
Syntax
Identifier + ENABLE/DISABLE + Timer of blanking + terminator
Example
Detail
Item Description
ENABLE/DISABLE Enable/Disable of automatic blanking of +Pendant backlight.
This is specified by ENABLE or DISABLE.
Timer of blanking (minute) This is specified by integer value. Unit is minute.
Minimum value is 5. Maximum value is 1000.
- 51 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG,2000,This is integer,INT,0,!!!!
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG,1, !!! instead !!!!,INT,0,!!!
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG, 4,No !!!! is found,INT, 0
- 52 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
- 53 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
- 54 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
Following cases are example of field whose leading and trailing spaces are not removed.
(A) Comment
(B) Macro name
(C) Host name
(D) Message of user alarm
Read of keyword
Many fields expect keywords like ENABLE and DISABLE. Because keywords are defined in capital
letters, please write keywords in capital letters. When ENABLE is expected, enable is not allowed.
- 55 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Scientific notation
Scientific notation, 9.999E+5 for example, is not supported.
However, if it is opened by Microsoft® Excel®, you may see data like following figure.
If file is saved in this state, comment is changed even though user does not change it.
REM,Comment of Position data,,,
REM,Program name,Position number,Comment,!!!!(Terminator)
POS,PNS0001 ,3,1.23457E+15,!!!!
Scientific notation is not supported. Please confirm that scientific notation is not used if you have this
kind of data.
- 56 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG, 1,work count,INT, 0,!!!!
REG, 2,"work1, work2",REAL, 1.230,!!!!
REG, 3,"Work ""A"" done",INT, 0,!!!!
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG, 1,work count,INT, 0,!!!!
REG, 2,"work1, work2",REAL, 1.230,!!!!
REG, 3,"Work ""A"" done",INT, 0,!!!!
REG, 4,,INT, 0,!!!!
REM,PNS
REM,Job prefix,!!!!(Terminator)
PNS,PNS,!!!!
END
- 57 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
REM,Position register
REM,Index,Comment,!!!!(Terminator)
REM,Group(GPn),Type,The number of extended axis/total axis,!!!!(Terminator)
REM,X/J1,Y/J2,Z/J3,!!!!(Terminator)
REM,W/J4,P/J5,R/J6,!!!!(Terminator)
REM,E1,E2,E3,!!!!(Terminator)
REM,Config,!!!!(Terminator)
PREG, 1,The 1st home pos,!!!!
,GP1,JPOS,6,!!!!
, .000, -51.477, -22.417,!!!!
, .000, -67.583, -.000,!!!!
REM,User alarm
REM,Index,Alarm message,Alarm severity,!!!!(Terminator)
UALM,1,Door 1 is open,WARN,!!!!
UALM,2,This is STOP.L,STOP.L,!!!!
UALM,3,This is STOP.G,STOP.G,!!!!
UALM,4,This is ABORT.L,ABORT.L,!!!!
UALM,5,This is ABORT.G,ABORT.G,!!!!
UALM,6,,STOP.L,!!!!
UALM,7,,STOP.L,!!!!
UALM,8,,STOP.L,!!!!
UALM,9,,STOP.L,!!!!
UALM,10,,STOP.L,!!!!
END
- 58 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
4.12.4 Register
REM,Register
REM,Index,Comment,INT/REAL,value,!!!!(Terminator)
REG, 1,This is integer,INT, 0,!!!!
REG, 2,This is real,REAL, 1.230,!!!!
- 59 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
- 60 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
4.12.11 MACRO
REM,Macro
REM,Index,Macro name,Program name,Assign type,Index,!!!!(Terminator)
MCR, 1,Sample macro1,AA_01,NO, 0,!!!!
MCR, 2,Sample macro2,AA_02,UK, 1,!!!!
MCR, 3,Sample macro3,AA_03,SU, 2,!!!!
MCR, 4,Sample macro4,AA_04,MF, 1,!!!!
MCR, 5,Sample macro5,AA_05,SP, 4,!!!!
MCR, 6,Sample macro6,AA_06,DI, 1,!!!!
MCR, 7,Sample macro7,AA_07,RI, 1,!!!!
MCR, 8,Sample macro8,AA_08,UI, 7,!!!!
MCR, 9,Sample macro9,AA_09,F, 1,!!!!
MCR, 10,Sample macro10,AA_10,M, 1,!!!!
4.12.12 Frame
REM,Tool Frame
REM,Group(GPn),Index,Comment,!!!!(Terminator)
REM,X,Y,Z,!!!!(Terminator)
REM,W,P,R,!!!!(Terminator)
TFRM,GP1, 1,Eoat1,!!!!
, 0.000, 0.000, 0.000,!!!!
, 0.000, 0.000, 0.000,!!!!
- 61 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
4.12.14 Payload
REM,Payload
REM,Group(GPn),Index,Comment,Payload[kg],!!!!(Terminator)
REM,Center X,Cneter Y,Center Z,!!!!(Terminator)
REM,Inertia X,Inertia Y,Inertia Z,!!!!(Terminator)
PLD,GP1, 1,Payload Example, 100.00,!!!!
, 10.00, 20.00, 30.00,!!!!
, 4.00, 5.00, 6.00,!!!!
4.12.15 Armload
REM,Arm load
REM,Group(GPn),ARM LOAD AXIS#1,ARM LOAD AXIS#3,!!!!(Terminator)
ALD,GP1, 10.00, 10.23,!!!!
- 62 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
- 63 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
4.12.24 TCP/IP
REM,TCP/IP
REM,Item number,Item name,value,!!!!(Terminator)
TCPIP, 1,Host name,ROBOT,!!!!
TCPIP, 2,IP address(port1),[Link],!!!!
TCPIP, 3,IP address(port2),****,!!!!
TCPIP, 4,Subnet Mask (port1),[Link],!!!!
TCPIP, 5,Subnet Mask (port2),[Link],!!!!
TCPIP, 6,Router IP Address,[Link],!!!!
- 64 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
- 65 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
4.12.28 RSR
REM,RSR
REM,Item number,Item name,value,!!!!(Terminator)
RSR, 1,RSR1 program number,ENABLE,0,!!!!
RSR, 2,RSR2 program number,ENABLE,0,!!!!
RSR, 3,RSR3 program number,ENABLE,0,!!!!
RSR, 4,RSR4 program number,ENABLE,0,!!!!
RSR, 5,RSR5 program number,DISABLE,0,!!!!
RSR, 6,RSR6 program number,DISABLE,0,!!!!
RSR, 7,RSR7 program number,DISABLE,0,!!!!
RSR, 8,RSR8 program number,DISABLE,0,!!!!
RSR, 21,Job prefix,RSR,!!!!
4.12.29 PNS
REM,PNS
REM,Job prefix,!!!!(Terminator)
PNS,PNS,!!!!
- 66 -
B-83174EN/01 [Link] SETUP ASSISTANCE TOOL
4.13 CAUTION
Insert Memory card (and the like) before use
This function uses current directory of current file device. Please use this function after files in current
directory of current device are ready to read and write.
Current directory
and file device
For example, do not output file to MC: without “Flash ATA card” inserted. Alarms, “File-055 MC not
detected” for example, are posted. On USER alarm screen, file output looks complete but actually not.
Alarm is posted.
- 67 -
[Link] SETUP ASSISTANCE TOOL B-83174EN/01
Current directory
and file device
For example, suppose you remove Flash ATA card when subdirectory of MC: is selected. This causes
change of current directory to root of MC:. If you would like to use subdirectory after you insert Flash
ATA card again, you have to select subdirectory again in file screen.
- 68 -
B-83174EN/01 [Link] MEMORY ASSIST
NOTE
・ Alarm is posted in the case that no existed programs are listed in the specified
file list or abnormal parameter is specified.
・ Before using this function files in memory card must be saved for deleting by
miss operation.
・ KAREL programs are not supported power failure recovery. If power is turned
off when the KAREL program of this function is running please set the cursor
onto a line before CALL instruction and execute again.
In case of executing again delete program function, it is no problem to display
“** does not exist” to USER screen when already deleted program is going to
be deleted.
Suppose the content of MC:¥[Link] is as follows. Create TP programs that listed in it.
<MC:¥[Link]>
[Link]
Insert line feed after
[Link]
program name.
[Link]
And also insert it at the
[Link]
end of the file list
NOTE
・ Line feed must be inserted to the end of the file list.
・ Only one program per one line must be written.
・ Do not insert space before or after the program. Program name must be written
at the head of line. Line feed must insert just after the program name.
・ Maximum of program name is 36 characters. Please refer to application tool
manual to know detail of program name.
・ Extension of file list must be DT.
- 69 -
[Link] MEMORY ASSIST B-83174EN/01
NOTE
If the same program name exists in the robot controller, it is overwritten.
NOTE
If the same program name exists in the memory card, it is overwritten.
- 70 -
B-83174EN/01 [Link]
6 OTHERS
This chapter describes about functions classified into “OTHERS”.
Global or local indicates the range in which an alarm is issued when more than on program is executed,
multitasking function.
Global: An alarm is issued to all programs.
Local: An alarm is issued only to the program that caused the alarm.
Sample: CALL STRBERGL(1, ‘Body Error’, 2) -> “KALM - 001 Body Error” is posted with PAUGE.G
severity.
- 71 -
[Link] B-83174EN/01
Sample: CALL STRBERLO(250, ‘Body Error’, 2) -> “KALM - 250 Body Error” is posted with
PAUGE.L severity.
Sample: CALL GTRBDATE(1, 2, 3) -> R[1] = 10, R[2] = 12, R[3] = 14 (if it is 2010/12/14)
This function is to get time and output it to specified registers. Second date is output at intervals of 2
seconds.
Sample: CALL GTRBTIME(1, 2, 3) -> R[1] = 18, R[2] = 30, R[3] = 24 (if it is [Link])
- 72 -
B-83174EN/01 [Link]
This function gets current value of specified axis of specified group and output the value to specified
register. The group axis is specified by the 1st and 2nd parameter respectively. The register is specified
by the 3rd parameter. Unit of current is A.
Sample: CALL GTAXSCUR(1, 1, 1) -> R[1] = 22.708 (If current of G1, J1 is 22.708A)
This function gets “Current” value of specified axis of specified group in disturbance torque screen and
output the value to specified register. The group and axis are specified by the 1st and 2nd parameter
respectively. The register is specified by the 3rd parameter. Unit of current is A.
Sample: CALL GTDTBTRQ(1, 1, 1) -> R[1] = 1.01 (If current of G1, J1 is 1.01A)
- 73 -
[Link] B-83174EN/01
This function gets “Ave.” value of specified axis of specified group in monitor screen and output the
value to specified register. The group and axis are specified by the 1st and 2nd parameter respectively.
The register is specified by the 3rd parameter. Unit of current is A.
Sample: CALL GTTRQAVE(1, 1, 1) -> R[1] = 16.02 (If “Ave.” value of G1, J1 is 16.02A)
This function gets “Max.” value of specified axis of specified group in monitor screen and output the
value to specified register. The group and axis are specified by the 1st and 2nd parameter respectively.
The register is specified by the 3rd parameter. Unit of current is A.
Sample: CALL GTTRQMAX(1, 1, 1) -> R[1] = 58.719 (If “Max.” value of G1, J1 is 58.719A)
This function checks DI/O simulated status. In case that integer 0 is specified by the 2nd parameter, it
checks all of DI/O simulated status from 1 to the value set in “Max. number setting screen”, and if one or
more I/O is simulated status 1 is output to register.
Its screen is selected in controlled start menu. Refer to “SPECIAL OPERATION” chapter in application
tool manual to know detail of it.
- 74 -
B-83174EN/01 [Link]
This function checks AI/O simulated status. In case that integer 0 is specified by the 2nd parameter, it
checks all of AI/O simulated status from 1 to 64, and if one or more I/O is simulated status 1 is output to
register.
This function checks GI/O simulated status. In case that integer 0 is specified by the 2nd parameter, it
checks all of GI/O simulated status from 1 to 64, and if one or more I/O is simulated status 1 is output to
register.
This function checks RI/O simulated status. In case that integer 0 is specified by the 2nd parameter, it
checks all of RI/O simulated status from 1 to the value of group number * 8, and if one or more I/O is
simulated status 1 is output to register. For instance, if there are 3 groups a maximum of 24 points are
checked.
- 75 -
[Link] B-83174EN/01
This function checks WI/O simulated status. In case that integer 0 is specified by the 2nd parameter, it
checks all of WI/O simulated status from 1 to 32, and if one or more I/O is simulated status 1 is output to
register.
WARNING
The controller uses signals to control the peripheral equipment. The simulated
I/O may adversely affect the security of the system. Check the use of signals in
the system before attempting simulated I/O. In some cases it is very dangerous
that to unsimulate I/O causes running the robot or peripheral.
This function unsimulates DI/O. In case that integer 0 is specified by the 2nd parameter, it unsimulates all
of DI/O from 1 to the value set in “Max. number setting screen”.
Its screen is selected in controlled start menu. Refer to “SPECIAL OPERATION” chapter in application
tool manual to know detail of it.
This function unsimulates AI/O. In case that integer 0 is specified by the 2nd parameter, it unsimulates all
of AI/O from 1 to 64.
- 76 -
B-83174EN/01 [Link]
This function unsimulates GI/O. In case that integer 0 is specified by the 2nd parameter, it unsimulates all
of GI/O from 1 to 64.
This function unsimulates RI/O. In case that integer 0 is specified by the 2nd parameter, it unsimulates all
of RI/O from 1 to the value of group number * 8.
This function unsimulates WI/O. In case that integer 0 is specified by the 2nd parameter, it unsimulates
all of WI/O from 1 to 32.
- 77 -
[Link] B-83174EN/01
- 78 -
B-83174EN/01 INDEX
INDEX
GET DATE ....................................................................72
<A> GET DATE, TIME ........................................................72
ABSOLUTE VALUE ....................................................12 GET TIME .....................................................................72
Alarms That Do Not Turn on FAULT Signal ...........48,66 GET TORQUE...............................................................73
Armload .........................................................................62 GET WRITE PROTECTION ATTRIBUTE..................78
Armload Setting .............................................................35 Global Alarm Post..........................................................71
Assignment of I/O .....................................................28,60
Automatic Backup.....................................................37,62 <H>
How to Display Menu ....................................................18
<B> HOW TO LOAD PROGRAMS .....................................17
Battery Alarm............................................................43,64
<i>
<C> +Pendant Automatic Blanking of Backlight ..................51
CAUTION......................................................................67 +Pendant Backlight Automatic Blanking.......................67
CAUTIONS FOR SETTING DATA FROM FILE ........55
Change CSV File Name .................................................20 <L>
Check AI/O Simulated Status.........................................75 LOAD KAREL PROGRAMS OF SYSTEM DESIGN
Check DI/O Simulated Status.........................................74 TOOL ...........................................................................4
Check GI/O Simulated Status.........................................75 LOAD PROGRAM........................................................70
CHECK I/O SIMULATED STATUS ............................74 Loading All ......................................................................4
Check RI/O Simulated Status.........................................75 Loading Individually........................................................5
Check WI/O Simulated Status........................................76 Local Alarm Post ...........................................................72
Comment (REM) in CSV File........................................58 LOGARITHM................................................................12
Comment Lines in Data File ..........................................23
Comment of I/O ........................................................27,59 <M>
Comment of Position (P[ ]) of Program .........................60 Macro ........................................................................31,61
Comment of Position of Program...................................30 MORE INFORMATION ABOUT CSV FILE
Comment of Program ................................................29,60 FORMAT ...................................................................56
COS FUNCTION...........................................................10
COS-1 (ARCCOSINE) FUNCTION...............................11 <O>
OTHERS ........................................................................71
<D> Output Data to CSV File ................................................18
Delete All .........................................................................6 Override Select..........................................................43,64
Delete Individually...........................................................7 OVERVIEW ...............................................................1,13
DELETE KAREL PROGRAMS OF SYSTEM OVERVIEW OF CSV FILE FORMAT.........................20
DESIGN TOOL............................................................6
DELETE PROGRAM ....................................................70 <P>
Payload ..........................................................................62
<E> Payload Setting ..............................................................34
EDIT BY Microsoft® Excel® .......................................56 PNS ...........................................................................50,66
END of CSV File ......................................................24,58 Position Register .......................................................25,59
Error Table ................................................................46,65 Program Selection Common .....................................50,66
Example of Whole File ..................................................58 Program Timer ..........................................................42,64
EXPONENTIAL FUNCTION .......................................11
<R>
<F> Reference Position ....................................................33,61
FILE LIST OF TPP MEMORY ASSIST .......................69 Register .....................................................................24,59
FORMAT OF DATA .....................................................23 Remedy of Failed to Delete .............................................7
Frame .............................................................................61 Remedy of Failed to Load................................................5
Frames............................................................................32 REMOVAL OF UNNECESSARY DATA ....................22
ROBOT SETUP ASSISTANCE TOOL ........................13
<G> ROUND OFF .................................................................12
Get “Ave.” of Monitor Screen........................................74 RSR...........................................................................49,66
Get “Current” of Disturbance Torque Screen.................73
Get “Max.” of Monitor Screen .......................................74 <S>
GET CURRENT ............................................................73 SAFETY PRECAUTIONS ........................................... s-1
i-1
INDEX B-83174EN/01
<T>
TAN FUNCTION ..........................................................10
TAN-1 (ARCTANGENT) FUNCTION..........................11
TCP/IP.......................................................................44,64
TCP/IP Host (Local) .................................................46,65
TIPS FOR TROUBLE SHOOTING ..............................51
TPP MEMORY ASSIST................................................69
TRIGINOMETRIC FUNCTION ...................................10
TRUNCATION..............................................................12
<U>
Unsimulate AI/O ............................................................76
Unsimulate All I/O.........................................................77
Unsimulate DI/O ............................................................76
Unsimulate GI/O ............................................................77
UNSIMULATE I/O........................................................76
Unsimulate RI/O ............................................................77
Unsimulate WI/O ...........................................................77
USAGE .......................................................................8,18
User Alarm................................................................30,60
USER SPECIFIED ALARM POST ...............................71
<W>
Warn/Reset in Alarm History.........................................64
Warning/Reset in Alarm History....................................44
i-2
B-83174EN/01 REVISION RECORD
REVISION RECORD
Edition Date Contents
01 Jan., 2011
r-1
B-83174EN/01
* B - 8 3 1 7 4 E N / 0 1 *