1L21700R E 2 - FDCommandReference
1L21700R E 2 - FDCommandReference
1L21700R E 2 - FDCommandReference
1L21700R-E-2
series
INSTRUCTION MANUAL
COMMAND REFERENCE
■ Read and follow these instructions and all safety blocks carefully.
■ Have only trained and qualified persons install, operate, or service this unit.
Please be sure to read the instruction manuals listed below (including this manual) and the instruction manuals
provided with the equipment, and use all the products correctly.
In particular, please be sure to read "Chapter 1 Safety Precautions" in the "Quick Start" instruction manual before
starting to use the products in order to ensure your safety and the safety of others. Store the instruction manual in
a safe place for future reference.
Instruction manuals related to the manipulator “V/B/H/S series”, and the robot control unit “FD11” are as follows.
■Standard Manuals
Instruction
Instruction Manual Type Main Contents
Manual No.
QUICK START Point on Safety, Transportation and Installation,
1L21700A
Turning the power on/off and manual operation, etc.
SETUP Safety precautions, installing & connecting method,
1L21700B starting up, periodical inspection, solution at the time
of failure
CONTROLLER MAINTENANCE Specifications of controller, explanation of each parts
1L21700K
and maintenance, parts list, etc.
MANIPULATOR Specifications or maintenance of manipulator, parts
1L11130A
(NB4 / NB4L / NB15 / NV6 / NV6L / NV20 / NH5) list, etc.
MANIPULATOR Specifications or maintenance of manipulator, parts
1L11446A
(NS3) list, etc.
MANIPULATOR Specifications or maintenance of manipulator, parts
1L11312A
(NV50) list, etc.
MANIPULATOR Specifications or maintenance of manipulator, parts
1L11306A
(NV166 / NV210) list, etc.
BASIC OPERATIONS Explanation of manual operation, teaching, automatic
1L21700C operation, file utilities, backing-up data, basic
operations of Arc/Spot welding application, etc.
EXTERNAL INPUT/OUTPUT Interfacing method with external control device, list of
1L21700H
I/O signals and start/halt the automatic operation, etc.
Software PLC Create program, Input/output relay lists, List of
1L21700J
command words, etc.
CONTROL AND MAINTENANCE Edit logging, User Check, Troubleshooting, etc.
1L21700L
FUNCTION
■Application Manuals
Instruction
Instruction Manual Type Main Contents
Manual No.
APPLICATION MANUAL Basic settings, functions for arc welding, teaching
1L21700F
(ARC WELDING) technique, etc.
APPLICATION MANUAL Basic settings, functions for arc welding, teaching
1L21700E
(SPOT WELDING) technique, etc.
Instruction manuals are available other than the above for each optional function that you have purchased.
[Notes] 1. Specifications and information contained in these manuals are subject to change at any time without notice.
2. The screen display of a teach pendant shown in the manual are described as examples, which may be different from the actual
ones.
3. Although we cautiously compiled this standard specification to eliminate as much error as possible, we do not take any
responsibility for damages resulting from neither direct nor indirect errors.
4. The manual is a part of robot products. When transferring or selling off a robot, be sure to append the manual.
5. No part of this manual may be reproduced without permission.
6. Prohibited altering or remodeling
- Do not alter or remodel our products.
- You may get injured or have your equipment damaged because of fire, failure or malfunction caused by altering or
remodeling the product.
- The warranty does not cover any altered or remodeled products.
-1-
Notice
Notes on Safety
The instructions that you are required to obey in order to prevent injury or physical damage to the operator or other
nearby persons are classified and explained as shown below in the provided instruction manuals (including this
manual).
Cases in which death or serious injury are assured if handed incorrectly, and which
avoidance of such dangers is also considered extremely difficult.
DANGER
INFO.
Useful information is shown.
POINT Info for deeper understanding for the main text is shown.
Note that even the matters which are described as CAUTION can result in serious accident depending on the
conditions. Be sure to keep the safety notes since they describe very important matters.
The meanings of “Serious injury”, “Minor injury”, and “Damage” described above are as follows.
Injury which has the aftereffect by loss of eyesight, an injury, the burn (high/low
Serious injury temperature), an electric shock, fracture, poisoning, etc. and that which requires
hospitalization and long-term treatment as an outpatient.
-2-
Chapter 1 Command Reference
Application command
Excepting three motion commands (MOVE, MOVEJ and MOVEX), the all command are called
as "Application command (function)".
Application commands (functions) have code No. that starts from "FN". Motion commands do
not have FN code No.
There are 100 or more various application commands for some kinds of applications or optional
functions. For details. please refer to the respective option manuals.
Fig 1.1.2 Format of move command and application command for executable program
ALLCLR - - - - - (1)
SHIFTA 0,-10.5,23.3,0 - - - - - (2)
MOVEX A=4,M1X,L,(*,*,*,*,*,*),S=1800,H=1,MS,CONF=0000 - - - (3)
END - - - - - (4)
Fig 1.1.3 Format of move command and application command for robot language program
1-1
1.2 Command list (order of SLIM command)
Because this manual covers all the commands without any distinguishments like standard or
option, please be sure that there are some cases where some commands are not available
depending on the specification of the controller.
IMPORTANT If the command is not displayed on the teach pendant screen, it is a command that is
protected by option protect or non-supported command in an old system software version.
1-2
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
* 601 Label Label. This is used as a label that can be referred by GOTO
command etc.
ABOVE 163 Elbow The above-the-elbow (less than 180-degree angle formed by
config.(above) J2 axis and J3 axis) posture is forcibly selected for calculating
the robot postures.
ABS 657 Let ABS function Calculates the absolute value of real number.
ADDR 69 Add shift value The specified values in the specified shift register are added
up. (Option)
ADDVF 638 Add real variable Adds the value of real variable.
AEM 419 Multi Pass Welding This ends the multi-pass welding under the designated
End conditions.
ALIGNMENT 304 Alignment This command controls the start and end of the alignment
function. (Glass panel handling)
ALIGNR 320 Right alignment This command controls the start and end of the right
alignment function. (Glass panel handling)
ALIGNT 322 Slider alignment This command controls the start and end of the Slider
alignment function. (Glass panel handling)
ALLCLR 0 Output signal all This command is used to set all the output signals to OFF.
reset
ANG2ENC 820 Set encoder Set an angle variable(As angle) to encoder variable(As
Variable (angle) encoder)
ANG2POS 813 Set position Set an angle variable(As angle) to position variable(As
Variable (angle) position)
1-3
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
ANG2POSE 810 Set Pose Variable Set an Angle variable(As Angle)to Pose variable Pn
(Angle)
AOUT 46 Analog output The TCP (robot tool center point) linear speed and other data
are output as analog voltages.
Offset can be designated using distance or time. (OPTION)
AS 414 Arc start Starts arc welding with the specified conditions.
This is available only when connected with a weld power
interface.
ATN2 656 Let ATN2 function Calculates the ATN2 value of real number.
AUTOZERO 319 Analog input auto Auto zero the analog input signal is executed. (Option)
zero set
BARC 613 Draw the arc This command is used for the user screen to draw the arc.
BGCOLOR 617 Designate back This can designate the background color used in color
ground color graphics command.(CLS, PRINT) Total 16 colors (0 to 15)
are available.
BREAK 688 BREAK End the execution of an innermost instruction that encloses
this with the loop or the condition structure. The control shifts
to the instruction immediately after the ended instruction.
CALIBROB 702 Calibration This is to execute deviation revision against the task program
Execution as a calibration target.
CALL 21 Step call This command is used to call the step which has been
specified in the same program.
CALLFAR 454 CallFar Program This command is used to call the program of other unit.
(Option)
CALLFARI 455 CallFarI Program Using an input signal, this command is used to call the
program of other unit. (Option)
CALLFARIV 694 CallFarI Call the task program in other unit, if there is a signal input.
Program(Variable)
CALLFARN 456 CallFarN Program Using a pass count (number of passes), this command is
used to call the program of other unit. (Option)
CALLFARNV 695 CallFarN Call the task program in other unit by the passing frequency.
Program(Variable)
CALLFARV 693 CallFar Call the task program in other unit.
Program(variable)
1-4
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
CALLI 24 Step Using an input signal, this command is used to call the step
call(I-condition) which has been specified in the same program.
CALLMCR 671 Call usertask This command is used to call the specified user task program.
Program
CALLN 27 Step call(freq. Using a pass count (number of passes), this command is
condition) used to call a step specified in the same program.
CALLP 80 Program call This command is used to call the specified program.
CALLPBCD 402 Program This command enables to call the program externally
call(external BCD designated by the BCD code.
prog.)
CALLPBIN 403 Program The robot calls the program externally designated by the
call(external BIN binary code.
prog.)
CALLPI 81 Program Using an input signal, this command is used to call the
call(I-condition) specified program.
CALLPNV 692 Program This command enables to call the specified task program by
call(freq…)(Variabl the passing number.
e)
CALLPR 102 Relative program This command is used to call a subprogram and makes the
call first step position and orientation the same as the current step
in the base program and all point positions in the subprogram
become relative to that step position.
CALLPRI 103 Conditional relative Using an input signal, this command is used to call the
program call specified program.
CALLPRN 104 Relative program Using a pass count (number of passes), this command is
call (freq. used to call the specified program.
condition)
CALLPV 690 Program This command enables to call the specified task program.
call(Variable)
CallProc 806 Call User Call User procedure
Procedure
CASE 687 CASE Two or more conditions are judged.
CHGCOORD 113 Change coord. This makes it possible to select the number of the user
No.(shift) coordinate system used to implement shifts based on the
coordinate system.The number of the user coordinate system
must be selected without fail before implementing shift-related
commands based on the coordinate system.
CHGENDLESS 373 Change endless The control of the endless rotation axis to change.
control
CHGGUN 95 Mount Connect or disconnect mechanism2(Option)
Mechanism2 (dedicated to mechanism 2 only)
CHGXXGUN 238 Change This is the function command used in mechanism change
Mechanism2 without electric disconnection, or mechanism change without
removing and mounting.
1-5
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
CHGXXMEC 302 Change As for the change mechanism, refer to the function command
Mechanism CHGXXGUN: Change Mechanism (FN238).
CHGXXGUN (FN238) is a command exclusive for the
mechanism 2, meanwhile, CHXXMEC (FN302) allows you to
designate an arbitrary mechanism.
Except this point, it is the same command as CHGXXGUN
(FN238).
CLRREGWR 699 Clear register of Clear the written flag of shift register. (Option)
written sts
CLS 609 Clear user screen This is to clear the user screen. (Paint screen with back
ground color.)
CNVI 550 Conveyor interlock Robot waits until conveyor register reaches up to the
designated distance, stationarily. (Option)
COLOR 616 Designate color This can designate the color used in color graphics
command. Total 16 colors (0 to 15) are available.
0; Black 1: Gray 2: Dark Blue 3: Blue 4: Dark Green
5: Green 6: Dark Sky Blue 7: Sky Blue 8: Dark Red 9:
Red 10:Purple 11:Pink 12:Dark Yellow 13:Yellow
14:Light Gray 15:White
COLSEL 230 Set interference The threshold value to be considered as interference can be
detection level switched during playback.
COMPOFF 207 Compliance OFF When this function command is executed, the soft
compliance control function becomes disabled. (Option)
COMPON 206 Compliance ON When this function command is executed, the soft
compliance control function becomes enabled, and the robot
can be moved according to external force. (Option)
COS 653 Let COS function Calculates the COS value of real number.
DIM 801 Any variable You can define some variables as Integer, real and Array, as
you like.
DIVVF 644 Divide real variable Divides the value of real variable.
DPRESETM 280 Output This command is used to set one of the general-purpose
signal(Distance) output signals with advancing distance.
DSPALLET 65 Direction select This limits the shift direction, and it is started by the palletizing
palletize work. (Option)
1-6
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
DYNMESPOS 296 Measurement point The Dynalog PC to take a measurement of the current
position of the robot’s TCP. (Option)
ELSEIF 677 Condition Move the control to the following instruction when the
condition consists.
Move the control to ELSE and ENDIF for the failure.
ENC2ANG 817 Set angle Variable Set an encoder variable(As encoder) to Angle variable(As
(encoder) Angle)
ENC2POS 814 Set position Set an encoder variable(As encoder) to position variable(As
Variable (encoder) position)
ENCS2POSE 811 Set Pose Variable Set an encoder variable(As Encoder)to Pose variable Pn
(encoder)
END 92 End This command is used to end program playback.
If the program is a called program, return to the original
program.
EndProc 804 End Procedure Finish and exit Procedure, and back to source procedure
ENDS 689 SWITCH end It is a terminator of the SWITCH-ENDS structure.
EP 498 Execution Pass This designates per pass whether the function commands are
Specification to be executed or not in the multi-pass section.
EQUALIZE 287 Equalize value This command is used to the equalizing motion as defined by
the servo gun.
EXIT 619 User task end This can terminate the user task.
ExitProc 803 Exit User Stop procedure routine and back to source procedure
Procedure
FBUSREL 312 Field bus release In the field bus master, error detection Enabled/Disabled of
the specified node is switched.
FCASEEND 88 Case jump end This command is used to end the case jump(FCASEI,
FCASEN).
FCASEI 87 Case Using an input signal, this command is used to select one of
jump(I-condition) a multiple number of steps and executes it.
FCASEN 86 Case jump(freq. Using a pass count (number of passes), this command is
condition) used to select one of a multiple number of steps and execute
it.
FETCH 528 Fetch Input cond. Determine judgment the input condition of a following
function.
1-7
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
FLIP 165 Wrist config.(flip) The wrist-flip posture is forcibly selected for calculating the
robot postures.
FOR 604 Loop Start This is loop command. Loop starts here.
See also; NEXT(FN605)
FORK 450 Fork Program This command is used to start the program of other unit.
(Option)
FORKI 451 ForkI Program Using an input signal, this command is used to start the
program of other unit. (Option)
FORKMCR 670 Fork Usertask This command is used to start the specified user task
Program program.
FORKMCRDS 673 Fork User Task This command is used to start the specified user task
T Program (distance) program with advancing distance.
FORKMCRTM 672 Fork User Task This command is used to start the specified user task
Program (time) program. Furthermore, the command enables advance
execution to be specified.
FORKN 452 ForkN Program Using a pass count (number of the passes), this command is
used to start the program of other unit.(Option)
FORKWAIT 453 Wait Fork-Program This command leads the robot to await the completion of the
task program of the other unit which was started up by the
FORK, FORKI or FORKN command. (Option)
FRANGE 202 Flange axis rot. The rotational direction of the J6 axis is specified for
config. calculating the robot postures
GARC 623 Display ellipse This command is used for the user screen to draw the ellipse.
GBOX 612 Draw the box This command is used for the user screen to draw the box.
GETANG 823 Set angle variable Substitute robot position to angle variables
(pos.data)
GETANGLE 157 Set real variable This command is used to store the current angle value of
(angle) each axis in a real number variable.
GETBYTE 587 Get buffer (byte) This command is used to read one byte data from the buffer,
and stored the integer variable.
GETINT 585 Get buffer (integer) This command is used to read data from the buffer, and
stored the integer variable.
GETP 142 Set real variable This command is used to store the current coordinate values
(coordinate) (RPY angle expression) in real number variables.
GETPELR 94 Set real This command is used to store the current coordinate values
variable(Euler pos) (Eulerian angle expressions) in the real number variables
1-8
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
GETREAL 586 Get buffer (real) This command is used to read data from the buffer, and
stored the real variable.
GETSFT 145 Set real variable This command replaces the values of the specified shift
(shift) register with the specified real number variables (7
consecutive variables are used).
GETSTR 584 Get buffer (string) This command is used to read data from the buffer, and to
store data in the string variable.
GMSGBOX 685 Create message Create a message box on the user screen.
box
GOSUB 91 Line call Execute a sub-routine call by a designated line No. or label.
GPAINT 614 Paint This command is used to paint out the enclosed area on the
user screen.
GSEA 167 Servo gun search This command is used to detect the electrode tip
consumption of the servo gun.
GSEA_ORDE 229 Servo gun search Servo gun search2 is execute before servo gun search1
R order
GSETP 615 Draw the pixel This command is used for the user screen to draw a pixel.
GSOFTKEY 684 Create soft key Create a soft key on the user screen.
GUNOPEN 218 Gun Open This command is used to change stroke of air gun.
ICH 410 Inching Performs inch the wire with specified time and wire speed
IF 676 Condition Move the control to the following instruction when the
condition consists.
Move the control to ELSEIF, ELSE, and ENDIF for the failure.
INCLUDE 697 Translate table The conversion rule is read from “inc file”
included (file)
INCLUDEIO 698 Translate table The conversion rule is read from “I/O NAME”.
included (I/O)
INH 310 Inhibit This determines to inhibit the fetch control.
INPUT 271 Strings input This receives the character string data from the specified
communication (serial) port, and holds it in the specified
character string variable. (Option)
JMP 20 Step jump The robot jumps to the step specified in the same program.
JMPI 23 Step Using an input signal, this command causes the robot to jump
jump(I-condition) to the step specified in the same program.
JMPN 26 Step jump(freq. Using a pass count (number of passes), the robot jumps to
condition) the step specified in the same program.
1-9
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
JMPP 83 Program jump This command is used to jump to the start of the specified
program.
JMPPBCD 400 Program jump(to This command enables to externally jump to the program
ext. BCD prog.) designated by the BCD code.
JMPPBIN 401 Program jump(to The robot jumps to the program externally designated by the
ext. BIN prog.) binary code.
JMPPI 84 Program Using an input signal, this is used to jump to the start of the
jump(I-condition) specified program.
JMPPIV 681 Program jump This command enables to jump to the specified task program
(I-cond…)(Variable top.
)
JMPPN 85 Program jump(freq. Using a pass count (number of passes), this command is
condition) used to jump to the start of the specified program.
JMPPNV 682 Program This command enables to jump to the specified task program
jump(freq…)(Varia top by the passing number.
ble)
JMPPV 680 Program This command enables to jump to the specified task program
jump(Variable) top.
LCALLMCR 593 Call User Task This command is used to call the specified user task program.
Program with At this time, ten real numbers can pass the arguments to the
Arguments program.
LCALLP 590 Program call with This command is used to call the specified program. At this
Arguments time, ten real numbers can pass the arguments to the
program.
LCALLPI 591 Conditional Using an input signal, this command is used to call the
program call with specified program. At this time, ten real numbers can pass
Arguments the arguments to the program.
LCALLPN 592 Conditional Using a pass count (number of passes), this command is
program call after used to call the specified program. At this time, ten real
specified number numbers can pass the arguments to the program.
of passes with
Arguments.
LEFTY 161 Arm The left-arm system posture is forcibly selected for calculating
config.(left/front) the robot postures
LET 634 Let variable Sets the variable of the same type.
LETCOORDP 630 Let pose variable Stores the pose data recorded by the specified rectangular
coordinates value in the pose variables.
LETLF 629 Set local real Sets the value into the specified local real variable register.
variable
LETLI 628 Set local integer Sets the value into the specified local integer variable
variable register.
LETPE 632 Let pose element Stores the pose element recorded by the specified
rectangular coordinates value in the pose variables.
LETPOSE 144 Set pose variable This stores the real variable V!. into the pose variable.
LETR 68 Set shift value The shift amount data is set in the specified shift register.
(Option)
LETRE 633 Let shift element Sets the shift element in the specified shift register.
LETVF 76 Set real variable Substitute a value for a global float variable.
Can not substitute for a local variable.
1-10
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
LETVI 75 Set integer variable Substitute a value for a global integer variable.
Can not substitute for a local variable.
LETVS 77 Set strings variable Substitute a value(string) for a global string variable.
Can not substitute for a local variable.
LOCATE 610 Locate the display This command is used to specify the position of the character
pos displayed on the user screen.
LOCCVT 53 Coord. trans(shift It is possible to proceed with playback while offsetting each
value) recorded point based on the difference (skew amount)
measured beforehand between the recorded position of the
three points serving as the reference and the actual position
obtained from the visual device, etc. (OPTION)
LOCCVT1 54 Coord. trans(posi. It is possible to proceed with playback while offsetting each
value) recorded point based on the difference (skew amount)
measured beforehand between the recorded position of the
three points serving as the reference and the actual position
obtained from the visual device, etc.
LOCCVT3 275 Base angle shift The start or end of the shift operation is specified. When shift
operation start has been specified, the shift operation is
performed on the basis of the shift amount stored in the
specified shift register.
MAPPING 305 Mapping This command controls the start and end of the mapping
function. (Glass panel handling)
MAX 659 Let MAX function Calculates a larger real number out of two.
MODUSRCOO 626 Modify User Modifies the existent user coordinates using pose variables
RD coordinate
MOVE - Movement Move the robot based on a traditional Cartesian coordinate
(Cartesian system of NACHI AW controller.(XYZRPY)
coordinates or
pose designation)
MOVEJ - Movement (Axis Move the robot using joint values(angles) in NACHI AW
values) controller format.
MOVEX 645 Movement (Unified Move the robot based on this controller original format.
format) Position data can be given in any of Cartesian coordinates,
joint values and encoder data.
MPE 497 Multi Pass Section This represents the end position of the section where a series
End of movements for multi-pass welding is repeated.
MPS 496 Multi Pass Section This represents the start position of the section where a
Start series of movements for multi-pass welding is repeated.
1-11
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
MULTIM 264 Multi output signal This command is used to set the pre-defined multiple output
signals to ON or OFF using the binary format.
NONFLIP 166 Wrist The wrist-non-flip posture is forcibly selected for calculating
config.(non-flip) the robot postures.
NRLCRD 171 Select robot Used to switch functions to a specified user coordinate
language system.
coordinate system
OFFSET 499 Multi Offset This sets offset in the movement steps in the multi-pass
Specification welding section.
OFFSETV 660 Multi Offset It gives offset to the movement steps between multi-pass
condition welding section.
specification
(Variable)
ONGOTO 603 ON GOTO Jump Next command(jump/call) is determined by the value of
condition. It's order is 1,2,3… from left.
OPEANG 827 Extraction angle Substitute or Extract an angle variable to a global real
Variable variable (V!) or local real variable (L!).
OPEENC 828 Extraction encoder Substitute or Extract an encoder variable to a global integer
Variable variable (V%) or local integer variable (L%), any integer
variable.
OPEPOS 826 Extraction position Substitute or Extract a position variable to a global real
Variable variable (V!) or local real variable (L!).
OPEPOSE 825 Extraction pose Substitute or Extract a pose variable to a global real variable
Variable (V!) or local real variable (L!).
OUT 44 Binary output This command is used to set the general-purpose output
signal signals in any group to ON or OFF using the binary format.
OUTDIS 43 Discrete output This command is used to set the general-purpose output
signal signals in any group to ON or OFF using the discrete format.
PALLET2_RES 49 Palletize reset When a condition signal has been input, the palletize counter
ET is forcibly reset. (palletizing operation is forcibly terminated)
(OPTION)
PALLET3 249 Palletize start Start palletizing based on the pre-designed palletizing pattern.
PALLET3_APR 374 Palletize approach Starts approaching motion.
selection
PALLET3_EN 250 Palletize end Finish palletizing based on the pre-designed palletizing
D pattern.
PALLET3_GET 377 Get palletize Store some palletize register to some variables.
REG register
PALLET3_OPT 375 Palletize optimize Optimize Step position based on the locus of previous step
path and following step
PALLET3_RES 251 Palletize reset The palletize counter is forcibly reset. (palletizing operation is
ET forcibly terminated)
PALLET3_SEL 376 Palletize select Select Work grasp position from registered by Palletize
GR grasp position pattern.
1-12
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
PALLET3_SEL 388 Palletize select The function compares the Z-axis value of target step and the
Z height(Z) Z-axis value of reference step after palletizing shift by using
target palletizing number set by the first parameter of the
function, and then Z-axis value of target step will be adjust
higher value of both.
PALLET3_SET 378 Set palletize Set some variables to some palletize registers.
REG register
PAUSE 620 Pause user task This can make a brief stop of user task.
PAUSEINPUT 252 Pause Input The robot is pause when the designated [Pause input] signal
is turned off.
POS2ANG 816 Set angle Variable Set a position variable(As position) to Angle variable(As
(position) Angle)
POS2ENC 819 Set encoder Set a position variable(As position) to encoder variable(As
Variable (position) encoder)
POS2POSE 809 Set Pose Variable Set a position variable(As Position)to Pose variable Pn
(position)
POSAUTO 160 Disable posture Used to disable the posture control for robot posture
control calculation.
POSE2ANG 815 Set angle Variable Set Pose variable Pn to Angle variable(As Angle)
(pose)
POSE2ENC 818 Set encoder Set Pose variable Pn to encoder variable(As encoder)
Variable (pose)
POSE2POS 812 Set position Set a Pose variable Pn to position variable(As position)
Variable (pose)
POSESAVE 74 Pose file save Pose variables are stored to the pose file.
PRINT 101 Output strings The character string data is output to the screen or specified
RS232C serial port.
PRINTF 669 Print string with Draw the string data on the screen with form. Or Output string
format data with form via RS232C.
PRSD 308 Read press data This reads a press brake synchronization setting file, in the
press brake synchronization function.
PRSI 564 Press interlock This sets interlock, in the press brake synchronization
function.
PRSS 307 Press brake shelter This executes retreat actions after work process, in the press
brake synchronization function.
REGC 224 Shift register copy Data is copied between shift registers. (Option)
RELMOV 407 Move of External The designated external axis moves the specified distance
axis from the current position.
RESET 34 Output signal reset This command is used to set one of the general-purpose
output signals to OFF.
RETI 25 Step Using an input signal, this command is used to return the
return(I-condition) robot to the step following the one which executed the step
call command in the same program.
RETN 28 Step return(freq. Using a pass count (number of passes), this command is
condition) used to return the robot to the step following the one which
executed the step call command in the same program.
1-13
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
RetProc 805 Return User Set a return value of user procedure
Procedure
RETURN 22 Step return This command is used to return the robot to the step following
the one which executed the step call command in the same
program. The commands that call a sub-routine are CALL,
CALLI, CALLN, and GOSUB. Normally, only GOSUB is used
in robot language.
RIGHTY 162 Arm The right-arm system posture is forcibly selected for
config.(right/back) calculating the robot postures
RTC 411 Retract Performs to retract the wire with specified time and wire
speed.
SEA 59 Search Detect the work position shift amount, and store those data to
the shift register (Option)
SEAMOV 313 Seam override Set the electrode rotation speed override.
SEAMSPD 247 Seam electrode Set the electrode rotation speed while welding.
speed
SEAMST 245 Seam weld start Start the seam welding.
SEAMTHICK 311 Seam panel thick Set the thickness of the work.
SET 32 Output signal set This command is used to set one of the general-purpose
output signals to ON.
SETBYTE 583 Set buffer (byte) This command is used to stored byte data at an arbitrary
position in the buffer.
SETINT 581 Set buffer (integer) This command is used to stored integer value at an arbitrary
position in the buffer.
SETM 105 Output signal This command is used to set any general-purpose output
signal to ON or OFF
SETO 100 Consecutive output This command is used to set any number of consecutive
signal ON/OFF general-purpose output signals to ON or OFF altogether.
SETREAL 582 Set buffer (real) This command is used to stored real value at an arbitrary
position in the buffer.
SETSTR 580 Set buffer (string) This command is used to stored string at an arbitrary position
in the buffer.
SETVELO 309 Set velocity This command is used to set the speed in an endless axis.
SF0 470 Wire Extension This detects and corrects the wire extension. This is used
when the touch sensor (AX-WD) is connected.(OPTION)
1-14
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
SF1 471 One Direction This detects the deviation of a workpiece by a touch sensor.
Search(Touch) *This is used when the touch sensor (AX-WD) is connected.
(Option)
SF2 472 Pattern Detect setting deviation of the work object by the touch
Search(Touch) sensor attached to the welding wire and store the deviation
volume/gap volume file in the specified file / gap file.
SF3 473 Deviation call This receives the stored deviation and execute a
compensation. (Option)
*This is used when the touch sensor (AX-WD) and the laser
search (AX-RD) are connected.
SF4 474 Dev. vector This calculates a new deviation on the basis of stored
composition deviation. This is used when the touch sensor (AX-WD) and
the laser search (AX-RD) are connected.
SF5 475 Store of tracking Store the cumulative volume of the weld line tracking
deviation augmenter up to the present will be stored in the deviation
file.
SF8 478 Generation of a Exchange the deviation volume between the general purpose
DEV. file register and the deviation file.
SF9 479 Generation of a This stores variable values to a gap file. This is used when
GAP.file the touch sensor (AX-WD) and the laser search (AX-RD) are
connected.
SHIFTR 52 Shift The start or end of the shift operation is specified. When shift
operation start has been specified, the shift operation is
performed on the basis of the shift amount stored in the
specified shift register.
SIGREQ 723 Shift value get Using external signals, the command requests shift amount
(signal) input, and the shift amount data which is input is stored in the
designated shift register.
SIN 652 Let SIN function Calculates the SIN value of real number.
SLPRS 355 Seal press ctrl Start/Stop pressure control in the dispensing process.
SLPRSG 356 Seal press ctrl 2 Start/Stop pressure control in the dispensing process. Control
level can be designated.
SLREADY 353 Flow ready Pressure in the pump is controlled to a specified value.
SOCKBIND 572 Bind the socket This command is used to assign a socket an port No.
SOCKCLOSE 571 Close the socket This command is used to close the socket.
SOCKRECV 577 Receive data This command is used to receive the data.
1-15
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
SOCKSEND 575 Send data This command is used to transmit the data stored in the
specified buffer.
SOCKSENDST 576 Send string This command is used to transmit the specified string.
R
SOCKWAIT 573 Wait for connect This command is waited for until the connection from the
client is done to the allocated port.
SPDDOWNA 169 Analog input speed The playback speed of the robot is changed in accordance
override with the input voltage. (Option)
SPDDOWND 277 Digital input speed The playback speed of the robot is changed in accordance
override with digital input signals
SPF 439 Servo OFF This turns OFF the servo power source in unit of mechanism.
SPN 438 Servo ON This turns ON the servo power source in unit of mechanism.
SPOT 119 Spot welding Execute spot welding in accordance with pre-defined
sequence.
SPOT2 268 Spot welding By recording the spot welding function to the welding step,
spot welding can be carried out by a designated sequence
SPOTIWB1 199 Spot welding Execute spot welding in accordance with pre-defined
sequence. (dedicated to welding I/F=MEDbus only)
(Option)
SPRAYOFF 409 Spray End Turn OFF the start signal of thermal spraying
SPRAYON 408 Spray Start Turn ON the start signal of thermal spraying
SQR 651 Let SQR function Calculates the square root of the real number.
SREQ 51 Shift data request The command requests the shift amount data from the
external device using the serial port. Once it has been input
from the external device, the shift amount data is stored in the
specified shift register.
SREQ2 315 Shift amount The command requests the shift amount data (binary data)
request (binary) from the external device using the serial port. Once it has
been input from the external device, the shift amount data is
stored in the specified shift register.
ST 485 Start tracking This starts seam tracking. This is used when the arc sensor
(AX-AR) is connected.
STOOL 67 Select the stated This command is used to select the coordinate system of the
tool No. stationary tool number from among the user coordinate
systems
STOPI 42 Robot Using an input signal, this command is used to stop the robot.
stop(I-condition)
SUBVF 640 Subtract real Subtracts the real variable.
variable
SUBVI 639 Subtract integer Subtracts the value of integer variable.
variable
SWITCH 686 SWITCH Two or more conditions are judged.
SYNCSPOT 303 Sync spot welding Enabling to perform synchronous welding with two servo
guns.
SYNCSPOTIW 316 Sync spot welding Enabling to perform synchronous welding with two servo
B guns.(dedicated to welding I/F=MEDbus only)(option)
1-16
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
TAN 654 Let TAN function Calculates the TAN value of real number.
TIMER 650 Let TIMER function Sets the time value passed since the power-on into the
specified real variable register.
TIPDRESS 265 Tip dress Execute the tip dress of spot welding gun.
TITLE 608 User screen title This is to draw the title of user screen.
USE 98 Select pose file This function is used to select a pose file.
Pose data is controlled as a file, and poses P1 - P9999 can
be recorded into a file. For example, it is useful when to
change only the position data of the robot according to the
type of workpiece, and when to play back a same program.
USRERR 467 User Error Output Output the user customized error, alarm and information.
VDATA 334 Vision data Get the data from the vision sensor.(Option)
VGROUP 335 Vision group Change the measurement group of the vision sensor.(Option)
change
VLOCCVT 342 Vision location The start or end of the shift operation with the vision sensor
convert are specified.
When shift operation start has been specified, the shift
operation is performed on the basis of the shift amount stored
in the specified shift register. (Option)
VRESET 330 Vision reset Data of the vision sensor is cleared. (Option)
VSHIFT 333 Vision shift Get the shift value from the vision sensor. (Option)
VSTART 331 Vision start Start the measurement of vision sensor. (Option)
VWAIT 343 Vision measure The measurement completion of the vision sensor is waited
wait for. (Option)
VWORK 332 Vision work Distinguish work with the vision sensor. (Option)
WAIT 552 Wait I-cond with This command is used to wait for any one general-purpose
timer input signal for up to the specified time.
WAITA 553 Wait I-group(AND) This command is used to wait for any of group
with timer general-purpose input signal (AND logic) with designated
time.
WAITAD 558 Wait I-group This command is used to wait for any of group
BCD(AND) with general-purpose input signal (AND logic) with designated
timer time. The condition is written in BCD format.
WAITE 555 Wait I-group with This command is used to wait for any of group
timer general-purpose input signal with designated time.
WAITED 560 Wait I-group BCD This command is used to wait for any of group
with timer general-purpose input signal with designated time. The
condition is written in BCD format.
WAITI 525 Wait Input cond This command is used to wait for any one general-purpose
input signal.
WAITJ 526 Wait not Input cond This command is used to wait for any one general-purpose
input signal using negative logic.
1-17
1.2 Command list (order of SLIM command)
SLIM
FN code Name Description
command
WAITO 554 Wait I-group(OR) This command is used to wait for any of group
with timer general-purpose input signal (OR logic) with designated time.
WAITOD 559 Wait I-group This command is used to wait for any of group
BCD(OR) with general-purpose input signal (OR logic) with designated time.
timer The condition is written in BCD format.
WAITR 127 Wait shift value This initiates a jump to the shelter step when the robot has
receive been waiting for the shift amount data to be input from the
external source into the specified shift register and the data
has not been input within the specified time. (Option)
WAX 441 Axis Weaving Starts weaving with the simple harmonic motion of the axes.
WAXV 668 Axis Weaving Starts weaving with the simple harmonic motion of the axes.
(variable)
WE 443 Weaving End Terminates weaving
WELDCND 33 Spot condition This function outputs signals assigned to the "weld condition
output output."
WELDGRP 282 Weld condition with When this function command is executed, the welding
group machine number to be used by the welding function (FN119)
and the welding condition group number are designated.
WFP 440 Fix Pattern Starts weaving with the specified waveform, attitude, and
Weaving frequency.
WFXP 667 Fixed pattern Starts weaving with the specified waveform, attitude, and
weaving (Variable) frequency.
WHILE 663 WHILE loop Execute the instruction in WHILE-ENDW repeatedly until the
condition doesn't consist.
WINDOW 607 User screen Open user screen, or close user screen.
open/close
WSF 442 Taught Weaving This carries out weaving in the taught pattern.
ZF1 480 One Direction This detects the setting deviation of a workpiece. This is used
Search(Laser) when the laser search (AX-RD) is connected.
ZG1 483 High-speed groove This searches the groove information at high speed. This s
search used when the laser search (AX-RD) is connected.
1-18
1.3 Detail of each command (order of FN code No.)
Because this manual covers all the commands without any distinguishments like standard or
option, please be sure that there are some cases where some commands are not available
IMPORTANT depending on the specification of the controller.
If the command is not displayed on the teach pendant screen, it is a command that is
protected by option protect or non-supported command in an old system software version.
1-19
Function commands (FN codes)
General description
When this function command is executed, it is possible to set all the general-purpose output signals (O1 to O2048) to OFF.
However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun signals
and starting signal) to OFF.
Which signals have been assigned as status signals can be identified on the monitor screen. Signals whose numbers are
displayed in the bold italics are status signals so any of the other signals can be set to OFF altogether.
■ Example of operation
Robot path Step2 Step3 ALLCLR(FN0)
Accuracy
Step1 Step4
Output signal
Time
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
None
See
SET; Output signal ON (FN32)
RESET; Output signal OFF (FN34)
SETO; Consecutive output signal ON/OFF (FN100)
SETM;Output signal ON/OFF (FN105)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is able to jump to the step specified in the same program. It makes no
difference whether the jump destination step is a move command or function command.
Bear in mind that if the jump destination step is a function command, the function command at the jump destination will be
executed as soon as the jump command has been executed.
■ Example of operation
In step 4, record JMP: step jump (FN20), and 7 as the number of the jump destination step. When this is played back, the robot
skips steps 5 and 6 upon arriving at step 4 and jumps to step 7.
Step 4
1 2 3 5
● ● ● ●
9 8 7 6
● ● ● ●
1 2 3 5
● ● ● ●
10 9 8 6
● ● ● ●
Step 7: Output command
Step 7: Robot moves to step 8
after the output command has
been executed at this position.
■ Parameter
Parameter This specifies the number of the step serving as the robot's jump destination.
Step No.
No. 1 (1-9999)
See
JMPI: Conditional step jump (FN23)
JMPN; Conditional step jump after specified number of passes (FN26)
Function commands (FN codes)
1 2 3 5
● ● ● ●
Step 12
RETURN:
Step return (FN22)
8 6
● 11
● ● ●
13 7: END (FN92)
10 ● ●
9
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
The robot is returned to the step following the one with CALL; step call (FN21) command by the RETURN: step return (FN22)
command, the RETI: conditional step return (FN25) command or by the RETN: conditional step return after specified number
of passes (FN28) command.
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "Aa138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
alarm
CALL RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
■ Parameter
Parameter
Step No. This specifies the number of the call destination step.(1-9999)
No. 1
See
CALLI: Conditional step call (FN24) command
CALLN: Conditional step call after specified number of passes (FN27) command
RETURN: Step return (FN22)
RETI: Conditional step return (FN25) command
RETN: Conditional step return after specified number of passes (FN28) command
Function commands (FN codes)
1 2 3 5
● ● ● ●
Step 12
RETURN:
Step return (FN22)
● ● 8 ● 6●
13 11
7: END (FN92)
● ●
10 9
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
The robot is returned to the step following the one with CALL; step call (FN21) command by the RETURN: step return (FN22)
command, the RETI: conditional step return (FN25) command or by the RETN: conditional step return after specified number
of passes (FN28) command.
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "A2138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
alarm
CALL RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
■ Parameter
None
■ Example of screen display
RETURN FN22; Step return
See
CALL; Step call (FN21)
CALLI: Conditional step call (FN24) command
CALLN: Conditional step call after specified number of passes (FN27) command
RETI: Conditional step return (FN25) command
RETN: Conditional step return after specified number of passes (FN28) command
Function commands (FN codes)
■ General description
When this function command is executed, the robot is able to jump to the step specified in the same program. It makes no
difference whether the jump destination step is a move command or function command.
When the specified input signal has been input, the robot jumps; when it has not been input, it does not jump and the command
is passed by.
Bear in mind that if the jump destination step is a function command, the function command at the jump destination will be
executed as soon as the jump command has been executed.
■ Example of operation
In step 4, record JMPI: step jump (FN23), 7 as the number of the jump destination step and I1 as the input signal.
If, when this is played back, input signal I1 has been input, the robot jumps to step 7, but if the signal has not been input, the
robot advances to step 5.
Step 4
JMPI: Conditional step jump (FN23)
Step Number = 7
Input signal = I1
1 2 3 5
● ● ● ●
When the I1 signal When the I1 signal
has been input has not been input
9 8 7 6
● ● ● ●
The robot is not decelerated by this command. If no positioning is
specified, the input signal is inspected just before the command
value reaches the accuracy range of the move command, and if it
has been input, an inside arc is drawn. If the input signal has not
been input, the command value heads toward the recorded point,
and the input signal is inspected when the robot has reached the
accuracy range.
■ Parameter
Parameter This specifies the number of the step serving as the robot's jump destination.
Step No.
No. 1 (1-9999)
This records the number of the input signal which is to serve as the condition for
Parameter executing the jump. When number 5101 or above is specified, multiple input
Input signal
No. 2 signals can be specified.
(1-2048、5101~5196)
See
JMP; Step jump (FN20)
JMPN: Conditional step jump after specified number of passes (FN26)
Function commands (FN codes)
■ General description
When this function command is executed, a step specified in the same program is called. It makes no difference whether the
call destination step is a move command or function command.
When the specified input signal has been input, the step is called; when it has not been input, the step is not called and the
robot passes the command by.
Bear in mind that if the call destination step is a function command, the function command at the call destination will be
executed as soon as the call command has been executed.
When the step return command is subsequently executed, operation returns to the step following the one which executed the
call.
■ Example of operation
In step 4, record CALLI: conditional step call (FN24), 8 as the number of the call destination step and I1 as the input signal.
If, when this is played back, input signal I1 has been input, the robot jumps to step 8 and advances to steps 9 through 12, and
after the RETURN: step return (FN22) command is executed, it returns to the step following the one which executed the call,
that is to say, step 5.
If input signal I1 has not been input at step 4, the robot simply advances to step 5.
Step 4
CALLI: Conditional step call (FN24)
Step number = 8
Input signal = I1
1 2 3 5
● ● ● ●
When the I1 signal When the I1 signal
has been input has not been input
Step 12
RETURN:
step return (FN22)
● ● 8 ● 6●
13 11
7: End (FN92)
● ●
10 9
The robot is not decelerated by this command. If no positioning is
specified, the input signal is inspected just before the command
value reaches the accuracy range of the move command, and if it
has been input, an inside arc is drawn. If the input signal has not
been input, the command value heads toward the recorded point,
and the input signal is inspected when the robot has reached the
accuracy range.
The robot is returned to the step following the one with the CALLI: conditional step call (FN24) command by the RETURN: step
return (FN22) command, the RETI: conditional step return (FN25) command or by the RETN: conditional step return after
specified number of passes (FN28) command.
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "A2138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
CALL alarm RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
See
CALL; Step call (FN21)
CALLN: Conditional step call after specified number of passes (FN27) command
RETURN: Step return (FN22)
RETI: Conditional step return (FN25) command
RETN: Conditional step return after specified number of passes (FN28) command
Function commands (FN codes)
1 2 3 5
● ● ● ●
When the I1 signal
has not been input
● ● ● 11 8 ● 6●
14 13
7:End (FN92)
● ●
10 9
Step 15 Step 12
RETURN: RETI: Conditional step return (FN25)
Step return (FN22) Input signal = I1
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "A2138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
CALL alarm RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
See
CALL; Step call (FN21)
CALLI: Conditional step call (FN24) command
CALLN: Conditional step call after specified number of passes (FN27) command
RETURN: Step return (FN22)
RETN: Conditional step return after specified number of passes (FN28) command
Function commands (FN codes)
■ General description
When this function command is executed, the robot jumps to the step specified in the same program in accordance with the
number of passes. It makes no difference whether the jump destination step is a move command or function command.
The robot passes for the specified number of passes, and on the next time (specified number of passes 1) the jump command
is executed. (For instance, if "2" is specified as the number of passes, the robot passes twice, and on the third time the jump
command is executed.)
Bear in mind that if the jump destination step is a function command, the function command at the jump destination will be
executed as soon as the jump command has been executed.
■ Example of operation
In step 4, record JMPN: conditional step jump after specified number of passes (FN26), 6 as the number of the jump
destination step, 1 as the register number, and 2 as the number of passes.
When this is played back, the robot passes on the first and second times, and it advances to step 5; on the third time, however,
it jumps to step 7.
Step 4
JMPN: Conditional step jump after specified
number of passes (FN26)
Step number = 6
Register number = 1
Number of passes = 2
1 2 3 5
● ● ● ●
Third time First time, second time
9 8 7 6
● ● ● ●
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
Parameter This specifies the number of the step serving as the robot's jump destination.
Step No.
No. 1 (1-9999)
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 2 number
(1-200)
This records the number of passes which is to serve as the condition for executing
Parameter Number of the jump. The robot passes for the specified number of passes, and on the next
No. 3 passes time (specified number of passes 1) the jump command is executed.
(0-10000)
See
JMP; Step jump (FN20)
JMPI: Conditional step jump (FN23)
Function commands (FN codes)
● ● 8 ● 6 ●
13 11 7: End (FN92)
● ●
10 9
The robot is returned to the step following the one with CALLN: conditional step call after specified number of passes (FN27)
command by the RETURN: step return (FN22) command, the RETI: conditional step return (FN25) command or by the RETN:
conditional step return after specified number of passes (FN28) command.
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "A2138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
alarm
CALL RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
Parameter
Step No. This specifies the number of the call destination step.(1-9999)
No. 1
A "register" refers to the memory used for counting. Since an integer variable (1
Parameter Register
to 200) is used, this parameter specifies its number.
No. 2 number
(1-200)
This records the number of passes which is to serve as the condition for
Parameter Number of executing the call. The robot passes for the specified number of passes, and on
No. 3 passes the next time (specified number of passes 1) the call command is executed.
(0-10000)
See
CALL; Step call (FN21)
CALLI: Conditional step call (FN24) command
RETURN: Step return (FN22)
RETI: Conditional step return (FN25) command
RETN: Conditional step return after specified number of passes (FN28) command
Function commands (FN codes)
1 2 3 5
● ● ● ●
● ● ● 11 8 ● 6 ●
14 13 7: End (FN92)
● ●
10 9
Step 15 Step 12
The step call command can be executed again at the call destination (between steps 8 and 11 in the above figure). Up to 8
layers of calls can be executed. If calls exceeding 8 layers are executed or the number of step calls and step returns does not
coincide, the "A2138 Wrong call command setting" alarm is detected during playback, and the robot stops.
Occurrence of
alarm
CALL RETURN
● ● ● ● ● ● ● ● ● ● ● ● ●
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 1 number
(1-200)
This records the "number of passes" which is to serve as the condition for
Parameter Number of executing the return. The robot passes for the specified number of passes, and on
No. 2 passes the next time (specified number of passes 1) the return command is executed.
(0-10000)
See
CALL; Step call (FN21)
CALLI: Conditional step call (FN24) command
CALLN: Conditional step call after specified number of passes (FN27) command
RETURN: Step return (FN22)
RETI: Conditional step return (FN25) command
Function commands (FN codes)
The normal procedure to be followed when handling work with a poor positioning accuracy is to use the inputs of the sensors
attached to the gripper or other end effecter as the robot interrupt input signals and perform the grip/release operations at the
position where contact is made with the work.
■ Example of operation
A case where the robot interrupt was recorded after MOVE(N+1) as shown in the figure is explained as an example.
・ The robot interrupt section (range within which the interrupt processing is valid) extends from MOVE(N+1), which is the
movement command immediately before the robot interrupt command RINT step, to MOVE(N+2) which is the movement
command immediately after this step.
・ When the input of the input signal I5 is detected in this section, the process of moving to MOVE(N+2) is exited immediately,
and operation transfers to executing the command which has been recorded following MOVE(N+2). Since, in the case of
the example provided, the command recorded after the MOVE(N+2) movement command is the SETM application
command and the next one is the DELAY application command, these application commands are executed at the position
where I5 is detected, and the robot next heads from that position toward the position of the MOVE(N+3) movement
command. (Path indicated by the dotted line in the figure)
・ The steps at both ends of the robot interrupt section (the MOVE(N+1) and MOVE(N+2) movement commands in the case
of the figure) forcibly entail the positioning of the robot irrespective of what has been recorded.
・ If the input of the input signal (I5) has not been detected by the time when the position where MOVE(N+2) was recorded is
reached, the robot moves as usual up to the position where MOVE(N+2) was recorded, and the next SETM (FN105)
command is executed.
・ When the input of the input signal (I5) is detected as the robot heads toward MOVE(N+2) and then the robot heads toward
the position where MOVE(N+3) was recorded, it moves along the positioning path.
・ Record the MOVE(N+2) movement command at a low recording speed. If the robot is operated at a high speed, the
response to the interrupt detection may become slow.
■ Parameter
This is used to specify the number of the input signal serving as the robot interrupt
Parameter condition.
Input signal
No. 1 (1 to 2048): General-purpose input signal number
(5101 to 5196): Multiple input signal number
Search basis write setting status These parameters are used by the search
Parameter
Search position 0: No done function. When a robot interrupt command is
No. 2
1: Done used on its own, use the “0” setting for all the
Parameter X,Y and Z coordinate value when a parameters.
Standard X
No. 3 search basis write has been For details on the search function, refer to
Parameter performed SEA: Search(FN59).
Standard Y
No. 4 (-3000~3000)
Parameter
Standard Z
No. 5
■ Example of screen display
RINT[34,0,0,0,0] FN29; Robot Interrupt (I-condition)
See
SEA; Search (FN59)
Function commands (FN codes)
■ General description
When this function command is executed, it is possible to set any one of the general-purpose output signals (O1 to O2048) to
ON. However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun
signals and starting signal) to ON.
Which signals have been assigned as status signals can be identified on the monitor screen. Signals whose numbers are
displayed in the bold italics are status signals so any of the other signals can be set to ON.
■ Example of operation
Robot path
Step2 Step3 SET(FN32)
Accuracy
Step1 Step4
Output signal
Time
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
Parameter Output signal This specifies the number of the general-purpose output signal which is to be set to
No. 1 number ON. (1-2048)
See
ALLCLR; All output signals clear (FN0)
RESET; Output signal OFF (FN34)
SETO; Consecutive output signal ON/OFF (FN100)
SETM;Output signal ON/OFF (FN105)
Function commands(FN codes)
■ General description
This function outputs signals assigned to the "weld condition output." The signals are outputted by the binary of 0-65535.
Notes -- this function is not concerned with a setup of "Check with function " of "Teach/Playback condition", but is performed.
However, it does not execute at the time of step back operation.
■ Example of operation
Please refer to SETM (FN32) about the timing of outputs.
■ Parameter
Parameter No.1 1~6 Welder number
Parameter No.2 0~65535 Weld condition data
See
SEAMST Seam weld start (FN245)
Function commands (FN codes)
■ General description
When this function command is executed, it is possible to set any one of the general-purpose output signals (O1 to O2048) to
OFF. However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun
signals and starting signal) to OFF.
Which signals have been assigned as status signals can be identified on the monitor screen. Signals whose numbers are
displayed in the bold italics are status signals so any of the other signals can be set to ON.
■ Example of operation
Robot path
Step2 Step3 RESET(FN34)
Accuracy
Step1 Step4
Output signal
Time
■ Parameter
Parameter Output signal This specifies the number of the general-purpose output signal which is to be set to
No. 1 number OFF.(1-2048)
See
ALLCLR: All output signals clear (FN0)
SET; Output signal OFF (FN32)
SETO: Consecutive output signal ON/OFF (FN100)
SETM: Output signal ON/OFF (FN105)
Function commands (FN codes)
Step1 Step4
Output signal
Time
Pulse time
Advance output
(Delay time minus)
Delayed output
(Delay time plus)
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
If an advanced output or delayed output has been specified, the output can cover both the move command immediately before
(step 1 in the above figure) and the move command immediately after (step 4 in the above figure).
■ Parameter
This specifies the number of the general-purpose output signal which is to be set to
Parameter Output signal
ON or OFF.
No. 1 number
(1-2048)
Parameter "1" is specified for ON, and "0" for OFF.
ON/OFF
No. 2 (0-1)
If "0.0" is specified as the time, the command is executed at the timing which
coincides with the recorded point.
If a minus value is specified, the command is output ahead of the original execution
Parameter timing by the amount equivalent to the delay time setting. Conversely, if a plus value
Delay time
No. 3 is specified, it is output after the timing by the amount equivalent to the delay time
setting. (Increment: seconds)
In either case, it can be executed beyond the time lapse to the step before or after.
(-10.0 – 10.0)
This is set when the output signal is to be output as a pulse signal. It is used to specify
Parameter the width of the pulse signal. When "0.0" is specified as the time, a level signal is
Pulse time
No. 4 output. (Increment: seconds)
(0.0 – 10.0)
See
ALLCLR: All output signals clear (FN0)
SET: Output signal ON (FN32)
RESET: Output signal OFF (FN34)
SETO: Consecutive output signal ON/OFF (FN100)
SETM: Output signal ON/OFF (FN105)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is stopped.
The robot will not start unless the start command is input again.
■ Example of operation
In step 4, record STOP: stop (FN41).
When this is played back, the robot stops at step 4. This command does not establish the program end status (status
established by executing the END: FN92 command to end the program): this means that the robot will head to step 5 without
returning to the first step if it is restarted at the step 4 position. This should be borne in mind.
Step 4
1 2 3 5
● ● ● ●
Robot stops here.
9 8 7 6
● ● ● ●
The robot stops after reaching the recorded point regardless of
the accuracy of the move command immediately before.
■ Parameter
None
See
STOPI: Conditional stop (FN42)
END: End (FN92)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is stopped.
When the specified input signal has been input, the robot stops; when it has not been input, the robot does not stop and
passes.
When the robot has stopped, it will not start unless the start command is input again.
■ Example of operation
In step 4, record STOPI: conditional stop (FN41), and I1 as the input signal.
If, when this is played back, input signal I1 has been input, the robot stops at step 4, and if it has not been input, it advances to
step 5.
Step 4
STOPI:Conditional stop (FN42)
Input signal = I1
1 2 3 5
● ● ● ●
If the I1 signal has been input,
If the I1 signal has not
the robot stops here.
been input.
9 8 7 6
● ● ● ●
The robot stops after reaching the recorded point regardless of
the accuracy of the move command immediately before.
■ Parameter
This records the number of the input signal which is to serve as the condition for
Parameter executing the stop. When number 5101 or above is specified, multiple input signals
Input signal
No. 1 can be specified.
(1-2048、5101~5196)
See
STOP: Stop (FN41)
Function commands (FN codes)
■ Example of operation
Step1 Step4
Output signal
Time
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
When "group 2, data 7" has been specified
Output signal 11 12 13 14 15 16 17 18 19 20
number
ON/OFF status ○ ○ ○ ○ ○ ○ ● ○ ○ ○
○: OFF, ●: ON
■ Parameter
Parameter This specifies the number of the group which is to be output.
Group Number
No. 1 (1–204)
This specifies the data which is to be output. Since ten signals per group are specified
Parameter
Data using the discrete format, the maximum setting range for the data is 10.
No. 2
(1–10)
See
OUT: Binary format output signal (FN44)
Function commands (FN codes)
Step1 Step4
Output signal
Time
See
OUTDIS: Discrete format output signals (FN43)
Function commands (FN codes)
■ General description
By using these function commands, the TCP (robot tool center point) linear speed and other data can be output externally as
analog voltages. They are useful for sealing and other applications. The TCP speed, a direct specification or OFF can be
selected as the output voltage. If TCP speed has been specified, the TCP speed output data in the constant setting mode must
be designed ahead of time. (→ Constants/TCP speed data)
There are 4 channels for the analog output, and the data can be output from any of the ports. The command cannot be used if
the analog output PCB (option) has not been installed.
This command can be executed before the recorded point is reached. Specify its amount as a time or distance.
Step 7
AOUT;Analog output
(FN046)
Step 6
●
AOUT Step 8
execution ●
timing First-out can be
specified by time or
Step 5 distance
●
Analog output
Speed pattern 1 Analog output PCB
Matched in any
way by the AOUT Ch 1
function command
Speed pattern 6 Ch 2
Ch 3
Ch 4
■ Example of operation
Record the AOUT command (FN46) in steps 2, 5, 7 and 11 in the figure shown below.
When these steps are played back, the analog output changes to the specified data each time the AOUT command (FN46) is
executed. The analog output remains unchanged at those steps in which the AOUT command (FN46) has not been recorded.
0
Time
If a first-out time of 0.2 sec. has been specified in the AOUT command of step 7 in this example, the analog
voltage changes from numerical data A to the TCP speed 0.2 sec. before the robot reaches step 6 (the
previous movement command).
In the teach mode, any analog voltage can be output by performing a manual operation (shortcut R206).
The analog voltage which is output last is held even if the mode is switched between teach and playback.
■ Parameter
Parameter Channel This is used to specify the number of the port from which the analog values will be
No. 1 number output. (1 to 4)
This is used to specify the type of data to be output as analog data. (0 to 2)
Parameter Output signal 0: OFF (0 V is output)
No. 2 type 1: TCP speed
2: Directly specified
When output signal type = 0:
This recorded data is not used.
When output signal type = 1:
Parameter Specify the number of the pre-designed TCP speed pattern.(0 to 6)
Output data
No. 3 When "0" is specified, OFF (0 V) is established.
When output signal type = 2:
The parameter is used to directly specify the output voltage.
(–10 V to 10 V)
This enables the output to be started before the recorded point is reached. Select the
Parameter specification method. (0 to 1)
Pre-out type
No.4 0: Specified as a time
1: Specified as a distance
This is used to initiate pre-out using a negative numerical value.
When pre-out type = 0:
Parameter
Pre-out data Specify it as a time. (–1.0 to 0 sec.)
No. 5
When pre-out type = 1:
Specify it as a distance. (–500 to 0 mm)
See
DOUT: Digital output (FN278)
DPRESETM: Distance specification output preset (FN280)
Function commands (FN codes)
■ General description
When this function command is executed, the specified palletizing can be started.
It is executed in tandem with the FN48 "Palletize end" command which is used to end palletizing.
■ Example of operation
As shown in the figure below, record “PALLET2: Palletize start” (FN47) in step N and “PALLET2 END: Palletize end”
(FN48) in step N+3.
When the program is played back and the robot reaches step N, the shift amount is calculated from the palletize number
specified by FN47 and the palletize counter, and the shift operation is performed. Step N+1 and step N+2 are shifted. (The
robot passes along the path indicated by the dotted lines in the figure below.) When it reaches step N+3, FN48 is executed,
and the palletizing operation is ended. The robot now heads toward the point where step N+4 is recorded.
StepN+3
FN48[1,0]
StepN+1
StepN+4
StepN
StepN+2
FN47[1]
Pallet パレット
■ Parameter
Data Description, setting range
Parameter Palletize No. This specifies the palletizing number to be executed. (1 to 200)
No. 1
See
PALLET2_END: Palletize end (FN48)
PALLET2_RESET: Palletize reset (FN49)
DSPALLET: Direction select palletize (FN65)
Function commands (FN codes)
■ General description
When this function command is executed, the specified palletizing work can be completed.
It is executed in tandem with the FN47 "Palletize start" command which is used to start palletizing.
■ Example of operation
As shown in the figure below, record “PALLET2: Palletize start” (FN47) in step N and “PALLET2 END: Palletize end”
(FN48) in step N+3.
When the program is played back and the robot reaches step N, the shift amount is calculated from the palletize number
specified by FN47 and the palletize counter, and the shift operation is performed. Step N+1 and step N+2 are shifted. (The
robot passes along the path indicated by the dotted lines in the figure below.)
When it reaches step N+3, FN48 is executed, and the palletizing operation is ended. The robot now heads toward the point
where step N+4 is recorded.
■ Parameter
Data Description, setting range
Parameter Palletize No. This specifies the number of the palletizing operation which is to be ended.
No. 1 (1 to 200)
Parameter Output signal This specifies the number of the output signal.
No. 2 When all the palletizing tasks specified have been completed, the general-purpose
output signal specified is set to ON.
(0 to 2048)
See
PALLET2: Palletize start (FN47)
PALLET2_RESET: Palletize reset (FN49)
DSPALLET: Direction select palletize (FN65)
Function commands (FN codes)
■ General description
If the condition signal (input signal) is at the ON status when the command is executed, the specified palletize counter can
be forcibly reset (cleared to zero).
The fact that the counter has been reset can be output to an external source using an output signal. Furthermore, it is possible
to jump to a specified step only when the counter has been reset.
■ Example of operation
As shown in the figure below, record "PALLET2: Palletize start" (FN47) in step N, "PALLET2_END: Palletize end" (FN48) in
step N+3, and "PALLET2_RESET: Palletize reset" (FN49) in step N+2.
When the program is played back and the robot reaches step N, the shift amount file corresponding to the palletize number
specified by FN47 is loaded, and the shift operation is performed. Normally, step N+1 and step N+2 are shifted, and when
the robot reaches step N+3, the FN49 command is executed to end the palletizing operation.
However, if the reset condition signal (the I1 signal in the example) has been input when the robot reached step N+2, an
acknowledge signal (O1 in the example) is output, the palletize counter is reset, and the robot heads toward the point where
step N+4 is recorded.
■ Parameter
Data Description, setting range
Parameter Palletize This is used to specify the palletizing number for which the counter is to be reset.
No. 1 No. (1 to 200)
Parameter Input This is used to specify the number of the input signal serving as the condition for resetting
No. 2 Signal the palletizing. By specifying numbers from 5101 to 5196, a multiple number of input
conditions can be specified.
(1 to 5196)
Parameter Output This is used to specify the number of the output signal (acknowledge signal) which
No. 3 signal indicates that the palletizing has been reset.
number (1 to 2048)
* If <All output> has been selected as the setting for the "Palletize acknowledge signals"
under "Handling teach/playback conditions," the output signals which have been specified
here are output regardless of whether the reset process is to be executed or not.
Parameter Step No. This is used to specify the number of the jump destination step. Operation jumps to
No.4 the step specified here only when palletizing has been reset.
(0 to 9999)
See
PALLET2: Palletize start (FN47)
PALLET2_END: Palletize end (FN48)
DSPALLET: Direction select palletize (FN65)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is placed in the standby status. During standby, the robot rests at a
recorded point.
■ Example of operation
Robot path Step2 Step3 ALLCLR(FN0)
Accuracy Step4 DELAY(FN50)
Step1 Step5
Standby at step 2 position
until prescribed time has
elapsed
Output signal
Time
■ Parameter
Parameter This specifies the standby time in increments of seconds.
Standby time
No. 1 (0-60. 0)
See
WAIT: Input signal wait with timer (FN552)
Function commands (FN codes)
SHIF T 1 CR LF
FD control unit
RS232C cable
Visual device
Shif t amount data
SHIFT X, Y,Z, Θ x,Θ y,Θz CR
When this function command is executed, the character string data below is output from the RS232C port, and the shift amount
data is thereby requested.
SHIFT *1 CR LF (*1=Register number, CR=0x0d, LF=0x0a)
The robot continues to operate even after the request data has been output.
When the shift amount data is input from the external device in the following format, it is stored in the specified shift register.
SHIFT X,Y,Z,dX,dY,dZ CR (all values are real numbers)
The receive time, wait time and communication conditions are set by selecting "8 Communication" from "Constant Setting" and
then "1 Serial port." The data input wait time can be set in "Timeout time," and if this is set to "0," the serial port will remain in
the wait status until an input arrives. (The robot continues to operate.)
■ Example of operation
As shown in the figure, when SREQ (FN51) is executed at step N+3, the shift amount request command is sent to the external
device through the serial port, and it is ensured that the data can be received at any time. The robot continues to operate as is
and heads toward step N+4. When the shift data is received from the external device at any position, the legitimacy of the data
is checked, and the data is stored in the specified shift register only when the data is found to be legitimate.
But received shift data is committed after executing the function “WAITR: Wait shift value receive” (FN127) which is
programmed at step N+6.
This shift register value is used for the shift operations by the "SHIFTR: Shift2" (FN52) or such other command which is
programmed in step N+7.
If you use SREQ, you must put “RSCLR: Buffer clear” (FN111) at the step before SREQ.
If you don’t use “RSCLR: Buffer clear” (FN111), robot might move as you don’t want.
IMPORTANT
If you use SREQ and there is possibility that the specified shift register is written, you must put
“CLRREGWR: Clear register of written sts” (FN699) at the step before SREQ.
If you don’t use “CLRREGWR: Clear register of written sts” (FN699), Received shift data might be not
used.
# The case CLRREGWR needed
1. “Shift clearance on step 0” is set “No clear.
IMPORTANT 2. The specified shift register at SREQ is used “LETR; Set shift value” (FN68) etc.
3. In case that you use SREQ command again at the shelter step which is specified by WAITR; Wait
shift value receive” (FN127) etc.
If you use SREQ, you must put “WAITR: Wait shift value receive” (FN127) at the step before using the
specified shift register.
If you don’t use “WAITR: Wait shift value receive” (FN127), Received shift data aren’t used.
IMPORTANT
Shift amount
PC
request command
S H I F T 1 CR LF
«Example of response 1»
For shift amounts when only X value is 10 mm
S H I F T 1 0 , 0 , 0 , 0 , 0 , 0 CR
«Example of response 2»
For shift amounts when only θz value is 5 degrees (abbreviation)
S H I F T , , , , , 5 CR
Response data
If the response data from the external device is sent in any other format, the values will not be set correctly in the shift register.
■ Parameter
This is used to specify the number of the shift register in which to store the shift
Parameter Shift register
amount received from the external device.
No. 1 number
(1 to 9)
This is used to specify the number of the port to be used to transfer the data. At the
Parameter
Port number present time, only port 1 can be used.
No. 2
(1 to 1)
■ Example of screen display
SREQ[R1, 1] FN51; Shift amount request
See
SHIFTR: Shift2 (FN52)
RSCLR: Buffer clear (FN111)
WAITR: Wait shift value receive (FN127)
CLRREGWR: Clear register of written sts (FN699)
Function commands (FN codes)
■ General description
This function command proceeds with playback while shifting the recorded position in the robot program on the basis of the
shift amount data stored in the specified shift register. One of four options — “Machine coordinates (robot coordinates)”, “Tool
coordinates,” “User coordinates” or “Absolute coordinates (world coordinates)” — can be selected for the coordinate system to
be moved.
If the shift amount data has not been set in the specified shift register, it is possible to jump to the shelter step. Alternatively, the
robot can be stopped immediately without escaping.
■ Example of operation
As shown in the figure, shift start is recorded at the position (step N) where the shift is to start, and shift end is recorded at the
position (step N+2) where shift is to end.
When the program is played back, the robot reads the contents of the shift register specified by FN52 after it has reached step
N, and it then moves toward the position (step N'+1) established by shifting the next target position (step N+1). The position
established by similarly shifting the recorded position as far as the position (step N+2) where shift end has been recorded
serves as the target position. (Path of dotted line in figure below)
StepN’+2
StepN’+1 FN52(0,0, R1, N+8)
Z
StepN+2
StepN+1 FN52(1,0, R1, N+8)
StepN
FN52(1,0,R1,N+8) Y
StepN+3
Robot StepN+8
origin point X (Shelter step)
If, when FN52 is executed at step N, the shift data has not been set at the time when the specified shift register is read, the
robot moves toward the shelter step in the event that an shelter step has been set by the FN52 command. (Path of alternate
long and short dash line in figure above)
■ Parameter
Parameter Start/end This is used to specify the start or end of the shift operation.
No. 1 1: Start / 0: End
Coordinate This is used to specify the coordinate system to be shifted.
system 0: Machine coordinates (robot coordinates)
1: Tool coordinates
2: User coordinate
Parameter
3: Absolute coordinates (world coordinates)
No. 2
If user coordinates are to be specified, they must first be registered in "10 User
coordinate system registration" selected on the Service Utilities menu, and then the
number of the user coordinates to be used by the shift must be selected using
"FN113 shift coordinate system selection" in the application command.
Parameter Shift register This is used to specify the shift register number.
No. 3 number (1 to 9)
Shelter step This is used to specify the number of the shelter step when the shift amount data
was not set in the specified shift register.
Parameter (0 to 10000)
No.4 When 10000 is specified as the shelter step number, an alarm (A2118: “No data
has been input in shift register.”) results immediately with no escape operation
performed, and the robot can be stopped.
See
SREQ: Shift amount request (FN51)
Function commands (FN codes)
■ General description
When this function command is used, it is possible to proceed with playback while offsetting the skew based on the skew
amount (mm) between the recorded position of the three points serving as the reference and the actual position obtained
from the visual device or other external device.
Any already taught three points can be specified as the three points serving as the reference. The skew amounts are
stored in shift registers 1, 2 and 3.
Before this application command is executed, the SREQ; shift amount request (FN51) command, etc. must be played
back and the skew amount entered.
■ Example of operation
As shown in the figure, the LOCCVT command is recorded with the three points of steps 1, 3 and 6 which were originally
taught serving as the reference points. Before the FN53 command is played back, the skew amount corresponding to the
offset position (at the right in the figure below) must first be set in shift registers 1, 2 and 3. When FN53 is now played back, a
coordinate transform matrix is generated from the three reference points at taught and the three reference points at offset,
and the recorded positions are shifted according to this matrix and played back.
Reference
point 1
Reference 6
point 1 6
2 5
3
Reference 4 Offset
point position
3 4
Taught point
When the shift operation end is executed by FN53, the shift playback ends, and the recorded positions are played back.
* As the three reference points, specify the points in such a way that other recorded positions are enclosed.
* Specify the three reference points in such a way that they are not aligned on a single straight line.
* The θx, θy and θz data in the shift registers are not used.
■ Parameter
Parameter Start/end This is used to specify the start or end of the shift operation.
No. 1 1: Start / 0: End
Parameter Reference This is used to specify the first step to be used as the reference.
No. 2 step 1 (1 to 9999)
Parameter Reference This is used to specify the second step to be used as the reference.
No. 3 step 2 (1 to 9999)
Parameter Reference This is used to specify the third step to be used as the reference.
No.4 step 3 (1 to 9999)
See
LOCCVT1: Coordinate transform (Coordinate values) (FN54)
Function commands (FN codes)
■ General description
When this function command is used, it is possible to obtain the actual coordinates of the three points serving as the reference
from the visual device or other external device, and proceed with playback while offsetting the coordinates on the basis of the
data obtained.
Any already taught three points can be specified as the three points serving as the reference.
The coordinates are stored in shift registers 1, 2 and 3.
Before this function command is executed, the "SREQ: Shift amount request" (FN51) command, etc. must be played back and
the skew amount entered.
■ Example of operation
As shown in the figure, the LOCCVT1 command is recorded with the three points of steps 1, 3 and 6 which were originally
taught serving as the reference points. Before the FN54 command is played back, the coordinates of the offset position (at the
right in the figure below) must first be set in shift registers 1, 2 and 3. When FN54 is now played back, a coordinate transform
matrix is generated from the three reference points at taught and the three reference points at offset, and the recorded
positions are shifted according to this matrix and played back.
Reference
point 1
Reference 6
point 1 6
2 5
3
Reference 4 Offset
point position
3 4
Taught point
When the shift operation end is executed by FN54, the shift playback ends, and the recorded positions are played back.
* As the three reference points, specify the points in such a way that other recorded positions are enclosed.
* Specify the three reference points in such a way that they are not aligned on a single straight line.
* The θx, θy and θz data in the shift registers are not used.
■ Parameter
Parameter Start/end This is used to specify the start or end of the shift operation.
No. 1 1: Start / 0: End
Parameter Reference This is used to specify the first step to be used as the reference.
No. 2 step 1 (1 to 9999)
Parameter Reference This is used to specify the second step to be used as the reference.
No. 3 step 2 (1 to 9999)
Parameter Reference This is used to specify the third step to be used as the reference.
No.4 step 3 (1 to 9999)
See
LOCCVT: Coordinate transform (Offset amount) (FN53)
Function commands (FN codes)
■ General description
This function is used in conveyor synchronizing application.
Conveyor counter (read value of conveyor pulse) is reset at step0 forcibly, but this function allows to clear conveyor counter in
any step.
Please refer to the “Conveyor Synchronization Manual” (option) for detail operations.
■ Example of operation
Conveyor Counter is reset where the step CNVCYNC:Conveyor Counter Reset(FN55)is executed.
■ Parameter
Parameter Conveyor Conveyor number which counter should be reset.(1-*)
No. 1 number (* is conveyor quantity defined)
See
CNVI; Conveyor Interlock (FN550)
CNVYSYNCI; Synchronizing Conveyor Interlock (FN562)
Function commands (FN codes)
If positions are to be shifted based on the user coordinate system, "User coordinate system registration" must be
performed, and the user coordinate numbers must be selected using the "CHGCOORD: Change coord. No.
(shift)" (FN113) command beforehand.
If a specified shift amount exceeds the value specified in "Shift Amount Limit" selected from "Machine
constants" under "Constant Setting," an error results, and the robot is stopped.
This function can be used together with other shift functions. If shift amounts in the reverse direction from the
ones specified by FN58 have been specified by another shift-related command, they will be set to 0.0 mm as a
result.
■ Parameter
Coordinate The parallel movement amounts specified by the parameters No. 2 to 4 serve as
system the movement amounts in the coordinate system which is specified here. A value
from 0 to 3 is specified by this parameter for the coordinates.
0: Machine coordinates (robot coordinates)
1: Tool coordinates
Parameter
2: User coordinates
No. 1
3: Absolute coordinates (world coordinates)
If user coordinates are to be specified, they must first be registered in "10 User
coordinate system registration" selected on the Service Utilities menu, and then the
number of the user coordinates to be used by the shift must be selected using
"FN113 shift coordinate system selection" in the function command.
Shift value X This is used to specify the shift amount in the X direction as defined by the coordinate
Parameter
system specified by the parameter No.1.
No. 2
(–3000 mm to 3000 mm)
Shift value Y This is used to specify the shift amount in the Y direction as defined by the coordinate
Parameter
system specified by the parameter No.1.
No. 3
(–3000 mm to 3000 mm)
Shift value Z This is used to specify the shift amount in the Z direction as defined by the coordinate
Parameter
system specified by the parameter No.1.
No.4
(–3000 mm to 3000 mm)
See
Function commands (FN codes)
■ General description
By using this application command, it is possible to detect shift amounts when there are variations in the work positions and
store those amounts in the shift register. By using the shift amounts stored in the shift register, any multiple number of steps
can be shifted altogether by the shift command. When shift amounts in the work positions are to be detected, the search
command must be used together with the robot interrupt signal. This is the case so as to capture the position where contact is
made with the work.
Position where
Searching motion Work shift interrupt is
3 amount generated during
6 5 playback
2 Position during
“basis write mode”
4
1
7 Search start
Before calculating the shift amounts, the work position serving as the basis must be obtained. This is called the basis write
mode. The difference between the basis position obtained in the basis write mode and the actual work positions obtained in
the normal mode are stored in the specified shift register as the shift amount. The recording positions are then shifted using the
shift amount stored in the shift register.
For details on the robot interrupt application command, refer to 2.1 RINT: Robot interrupt (I-condition) (FN29), and for details
on the shift application command, refer to 2.3 SHIFTR: Shift2 (FN52).
Please refer to the “Application Manual / Material Handling” for detail operations.
■ Example of operation
Upon completion of the teaching, perform “search basis write.” “Search basis write” refers to the task that remembers the
“basis position.” The remembered basis position serves as the basis for future searching motions, and the difference between
this position and the position obtained by a normal searching motion is used as the shift amount.
” Search basis write” selection menu is in Service/22 Handling application/1 Handling teach/playback condition.
■ Parameter
Start2/ This is used to specify the start and end of the search.
Start/ 2 (start2): The machine coordinates at which the shift amounts are not canceled when
Parameter End the position was detected by FN29 (robot interrupt) are obtained.
No. 1 1 (start): The machine coordinates at which the shift amounts were canceled when the
position was detected by FN29 (robot interrupt) are obtained.
0 (end): This is used to end the search.
Coordinate This is used to specify the coordinate system that serves as the basis for the shift
amounts to be set in the shift register.
0 (machine coordinates): The shift amounts are set in the shift register as the shift
Parameter
amounts in the machine coordinate
No. 2
system.
1 (tool): The shift amounts are set in the shift register as the shift amounts in the tool
coordinate system.
Parameter Register This is used to specify the number of the shift register in which the shift amounts are to
No. 3 No. be set. (1 to 9)
See
RINT; Robot Interrupt (I-condition) (FN29)
SHIFTR; Shift2 (FN52)
Function commands (FN codes)
Z StepN+3
StepN+1
StepN+4
FN48[1,0]
StepN
FN47[1]
StepN+2
StepN
FN65[1,1]
StepN+2
In this example, the shift operation is undertaken only in the X and Y directions of the user coordinate system.
■ Parameter
Data Description, setting range
Parameter Palletize This specifies the palletizing number to be executed. (1 to 200)
No. 1 No.
Parameter Shift This is used to specify the shift direction. The shift direction numbers are as follows. Here
No. 2 direction all the X, Y and Z values denote the values used in the user coordinate system. (0 to 6)
No.
0: All directions (Same shift as with FN47)
1: XY plane (Only the X and Y values for the shift amounts are used)
2: YZ plane (Only the Y and Z values for the shift amounts are used.)
3: ZX plane (Only the Z and X values for the shift amounts are used)
4: X direction (Only the X value for the shift amounts is used)
5: Y direction (Only the Y value for the shift amounts is used)
6: Z direction (Only the Z value for the shift amounts is used)
■ Example of screen display
DSPALLET[1, 1] FN65; Direction select palletize
See
PALLET2: Palletize start (FN47)
PALLET2_END: Palletize end (FN48)
PALLET2_RESET: Palletize reset (FN49)
Function commands (FN codes)
■ General description
A stationary tool is not one of the robot's tools but one which is settled externally. If "stationary tool interpolation" is specified as
the interpolation type for the move command, the step concerned will conduct the interpolation playback using the coordinates
of the stationary tool.
In the case of linear interpolation:
"LIN" for normal interpolation, "S-LIN" for stationary tool interpolation
The coordinate system of the stationary tool is registered as the user coordinate system. The STOOL command has the
function of selecting the stationary tool coordinate system which has been registered as the user coordinate system.
This is the stationary tool tip position.
Stationary tool nozzle (Defined by user coordinates)
P1
P0
Robot hand
■ Example of operation
Normal interpolation
1 2 operation 3 4
○; LIN
○ ○ ○ ○ ●; S-LIN
14 ● ○ ● 5○ Step 6
10 9
STOOL [1]
● ● ● ●
13 12 8 7
Once the number of the stationary tool is selected, the interpolation operation is performed by that stationary
tool until another stationary tool number is selected.
The normal interpolation tool number remains unaffected by this command.
If the move command for the stationary tool interpolation has been played back without the STOOL command having been
recorded, Alarm No.2971 “Stationary tool is not selected” occurs.
■ Parameter
This specifies the number of the user coordinate system which is to be used as the
Parameter User
stationary tool coordinate system.
No. 1 coordinate No.
(1-100)
See
None
Function commands (FN codes)
■ General description
When this function command is used, the shift amount data can be set in the specified shift register.
Even while the specified shift register is being used by the "SHIFTR: Shift2" (FN52) or other command, the new values
specified by LETR will be set in the shift register without adversely affecting the operation of the other command being
executed. The changed shift values become valid when the next "SHIFTR: Shift2" (FN52) command is played back.
■ Example of operation
Shift register values when LETR[R1,100,100,100,10,11,12] has been executed
① When the command has been executed while shift register values were already set
Before LETR is After LETR is
executed executed
Request flag 0 0
Setting flag 1 1
X 110 100
Y 120 100
Z 130 100
θX 5 10
θY 6 11
θZ 7 12
② When the command has been executed with the shift registers in the initial status
Before LETR is After LETR is
executed executed
Request flag 0 0
Setting flag 0 1
X 0 100
Y 0 100
Z 0 100
θX 0 10
θY 0 11
θZ 0 12
After this command has been executed, the request flag of the shift register is always set to "0," and the setting flag is always
set to "1." The values specified by the parameters are stored in X through θz.
■ Parameter
Parameter Shift register This is used to specify the number of the shift register in which the shift amount data
No. 1 number specified by the parameters No.2 to 7 is to be assigned. (1 to 9)
Parameter Shift value X This is used to specify the value of the shift amount in the X direction.
No. 2 (–3000.0 to 3000.0 mm)
Parameter Shift value Y This is used to specify the value of the shift amount in the Y direction.
No. 3 (–3000.0 to 3000.0 mm)
Parameter Shift value Z This is used to specify the value of the shift amount in the Z direction.
No.4 (–3000.0 to 3000.0 mm)
Parameter Angle shift X This is used to specify the amount of rotation around the X axis.
No. 5 (–360.0 to 360.0 deg)
Parameter Angle shift Y This is used to specify the amount of rotation around the X axis.
No. 6 (–360.0 to 360.0 deg)
Parameter Angle shift Z This is used to specify the amount of rotation around the X axis.
No. 7 (–360.0 to 360.0 deg)
See
SREQ: Shift amount request (FN51)
SHIFTR: Shift2 (FN52)
ADDR: Add shift value (FN69)
Function commands (FN codes)
■ General description
When this function command is used, the specified values in the specified shift register can be added up.
Even while the specified shift register is being used by the "SHIFTR: Shift2" (FN52) or other command, the new values
specified by ADDR will be set in the shift register without adversely affecting the operation of the other command being
executed. The changed shift values become valid when the next "SHIFTR: Shift2" (FN52) command is played back.
■ Example of operation
Shift register values when ADDR[R1,100,100,100,10,11,12] has been executed
① When the command has been executed while shift register values were already set
Before ADDR is After ADDR is
executed executed
Request flag 0 0
Setting flag 1 1
X 110 210
Y 120 220
Z 130 230
θX 5 15
θY 6 17
θZ 7 19
② When the command has been executed with the shift registers in the initial status
Before ADDR is After ADDR is
executed executed
Request flag 0 0
Setting flag 0 1
X 0 100
Y 0 100
Z 0 100
θX 0 10
θY 0 11
θZ 0 12
After this command has been executed, the request flag of the shift register is always set to "0," and the setting flag is always
set to "1." The values specified by the parameters are added to the original values and stored in X through θz.
■ Parameter
Parameter Shift register This is used to specify the number of the shift register in which the shift amount data
No. 1 number specified by the parameters No.2 to 7 is to be added.
Parameter Shift value X This is used to specify the value of the shift amount in the X direction.
No. 2 (–3000.0 to 3000.0 mm)
Parameter Shift value Y This is used to specify the value of the shift amount in the Y direction.
No. 3 (–3000.0 to 3000.0 mm)
Parameter Shift value Z This is used to specify the value of the shift amount in the Z direction.
No.4 (–3000.0 to 3000.0 mm)
Parameter Angle shift X This is used to specify the amount of rotation around the X axis.
No. 5 (–360.0 to 360.0 deg)
Parameter Angle shift Y This is used to specify the amount of rotation around the X axis.
No. 6 (–360.0 to 360.0 deg)
Parameter Angle shift Z This is used to specify the amount of rotation around the X axis.
No. 7 (–360.0 to 360.0 deg)
See
SREQ: Shift amount request (FN51)
SHIFTR: Shift2 (FN52)
LETR: Set shift value (FN68)
Application Command (FN Code)
Command
LETX
name
FN code 71
Title name Assign X component of pose
Outline Used to assign a value to the X component of pose.
Outline
Use this command in robot languages.
Executing this command makes it possible to set shift amount to a specified pose variable. The commands LETX (FN71),
LETY (FN72), and LETZ (FN73) are only enabled for already-recorded positional data. Use these commands to record only a
single point in the pose and move the robot in parallel with the point.
Parameters
Pose Used to make setting of pose variable.
Parameter 1
variable (Setting range: 1 to 9999)
Assigning Used to make setting of value of the X component to be assigned to pose variable.
Parameter 2
value (Setting range: −3000.0 to 3000.0 mm)
Related commands
LETY: Assign Y component of pose (FN72)
LETZ: Assign Z component of pose (FN73)
Application Command (FN Code)
Command
LETY
name
FN code 72
Title name Assign Y component of pose
Outline Used to assign a value to the Y component of pose.
Outline
Use this command in robot languages.
Executing this command makes it possible to set shift amount to a specified pose variable. The commands LETX (FN71),
LETY (FN72), and LETZ (FN73) are only enabled for already-recorded positional data. Use these commands to record only a
single point in the pose and move the robot in parallel with the point.
Parameters
Pose Used to make setting of pose variable.
Parameter 1
variable (Setting range: 1 to 9999)
Assigning Used to make setting of value of the Y component to be assigned to pose variable.
Parameter 2
value (Setting range: −3000.0 to 3000.0 mm)
Related commands
LETY: Assign X component of pose (FN71)
LETZ: Assign Z component of pose (FN73)
Application Command (FN Code)
Command
LETZ
name
FN code 73
Title name Assign Z component of pose
Outline Used to assign a value to the Z component of pose.
Outline
Use this command in robot languages.
Executing this command makes it possible to set shift amount to a specified pose variable. The commands LETX (FN71),
LETY (FN72), and LETZ (FN73) are only enabled for already-recorded positional data. Use these commands to record only a
single point in the pose and move the robot in parallel with the point.
Parameters
Pose Used to make setting of pose variable.
Parameter 1
variable (Setting range: 1 to 9999)
Assigning Used to make setting of value of the Z component to be assigned to pose variable.
Parameter 2
value (Setting range: −3000.0 to 3000.0 mm)
Related commands
LETX: Assign X component of pose (FN71)
LETY: Assign Y component of pose (FN72)
Application Command (FN Code)
Command
POSESAVE
name
FN code 74
Title name Pose file save
Outline Pose variables are stored to the pose file.
Outline
Pose variables are not saved when the main power is down.
This command can save pose variables to the pose file.
Before this command, pose file must be selected by FN98 USE function.
If pose file is not selected when executing FN74, information “I2151 : The program or the file does not exist.” is detected and
robot stops immediately.
Parameters
None
■ General description
When this function command is executed, a value is assigned to the specified (global) integer variable. The (global) integer
variables are registers used to count the number of passes by the conditional functions, which are initiated after the specified
number of passes, of the flow control system such as the conditional program call after the specified number of passes
command. They can be referenced from all the units.
This command is used for initial resetting and for setting the initial values.
■ Example of operation
In step 4, record LETVI: integer variable assignment (FN75), "1" as the variable number, and "5" as the assigned value. When
this is played back, "5" is set in the first integer variable. The variables which have been set can be checked on the integer
variable register screen of the monitor screen.
Step 4
1 2
3
● ● ●
5 6
● ●
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
Integer
Parameter This specifies the integer variable number to which the value will be assigned.
variable
No. 1 (1-200)
number
This specifies the value which is to be set in the integer variable.
Parameter Assigned
(-2147483647~
No. 2 value
+2147483647)
See
LETVF: Set real var. (FN76)
LETVS: Set strings variable (FN77)
Function commands (FN codes)
■ General description
When this function command is executed, a value is assigned to the specified (global) real number variable. The (global) real
number variables are registers used to store values by the robot axis coordinate acquisition commands and timer variable read
commands. They can be referenced from all the units.
This command is used for initial resetting and for setting the initial values.
■ Example of operation
In step 4, record LETVF: real number variable assignment (FN76), "1" as the variable number, and "5.5" as the assigned value.
When this is played back, "5.5" is set in the first real number variable. The variables which have been set can be checked on
the real number variable register screen of the monitor screen.
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
Real number This specifies the number of the real number variable to which the value will be
Parameter
variable assigned.
No. 1
number (1-200)
Parameter Assigned This specifies the value which is to be set in the real number variable.
No. 2 value (–1.0E38~+1.0E38)
See
LETVI: Set real var. (FN75)
LETVS: Set strings variable (FN77)
Function commands (FN codes)
■ General description
When this function command is executed, a character string is assigned to the specified (global) character string variable. The
(global) character string variables are registers used to store the characters displayed on the screen using user macros, and
the character string data transmitted from the peripheral devices. They can be referenced from all the units.
This command is used for initial resetting and for setting the initial values.
■ Example of operation
In step 4, record LETVS: character string variable assignment (FN77), "1" as the variable number, and "1A" as the value to be
assigned. When this is played back, "1A" is set in the first character string variable. The variables which have been set can be
checked on the character string variable register screen of the monitor screen.
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
Character
Parameter This specifies the number of the character string variable to which the value will be
string variable
No. 1 assigned. (1-50)
number
Parameter Assigned This specifies the value which is to be assigned to the character string variable
No. 2 value using characters with a length of up to 199 characters.
See
LETVI: Set integer variable (FN75)
LETVF: Set real var. (FN76)
Function commands (FN codes)
■ General description
When this function command is executed, the specified program is called.
Bear in mind that if a function command has been recorded in the first step in the call destination program, the function
command at the jump destination will be executed as soon as the call command has been executed.
When the playback of the program at the call destination is completed (in the status established by executing the END
command), the robot returns to the step following the step with the call command of the call source program.
■ Example of operation
In step 4, record CALLP: program call (FN80) and "2" as the program number. When this is played back, the robot skips steps
5 and 6 upon arriving at step 4 and jumps to the first step in program 2. When the playback of program 2 is completed (in the
status established by executing the END command), the robot returns to step 5 following the step with the call command of call
source program 1.
Program 1 Step 4
CALLP; Program call (FN80)
Program number = 2
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: End (FN92) ●4 ●
● ●
3 2
The robot is not decelerated by this command. If positioning is not specified, the
command is executed at the position reached by the robot in the accuracy range
of the move command immediately before.
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of calls
can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is detected during
playback, and the robot stops.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
See
CALLPI: Conditional program call (FN81)
CALLPN: Conditional program call after specified number of passes (FN82)
Function commands (FN codes)
■ General description
When this function command is executed, the specified program is called. When the specified input signal has been input, the
step is called; when it has not been input, the step is not called and the robot passes the command by.
Bear in mind that if a function command has been recorded in the first step in the call destination program, the function
command at the jump destination will be executed as soon as the call command has been executed.
When the playback of the program at the call destination is completed (in the status established by executing the END
command), the robot returns to the step following the step with the call command of the call source program.
■ Example of operation
In step 4, record CALLPI: conditional program call (FN81), "2" as the program number, and I1 as the input signal.
When this is played back, the robot arrives at step 4, and if input signal I1 has been input, it jumps to the first step in program 2,
and when the playback of program 2 is completed (the END command is executed), the robot returns to step 5 following the
step with the call command of call source program 1. If the signal has not been input, the robot does not jump to program 2.
Program 1 Step 4
CALLPI; Conditional program call (FN81)
Program number = 2
Input signal = I1
1 2 3 5 6
● ● ● ● ●
When the I1 signal 7: End (FN92)
has been input When the I1 signal
has not been input
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If no positioning is specified, the
input signal is inspected just before the command value reaches the accuracy
range of the move command, and if it has been input, an inside arc is drawn. If
the input signal has not been input, the command value heads toward the
recorded point, and the input signal is inspected when the robot has reached the
accuracy range.
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of calls
can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is detected during
playback, and the robot stops.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
This records the number of the input signal which is to serve as the condition for
Parameter executing the call. When number 5101 or above is specified, multiple input signals
Input signal
No. 2 can be specified.
(1-2048、5101—5196)
See
CALLP: Program call (FN80)
CALLPN: Conditional program call after specified number of passes (FN82)
Function commands (FN codes)
1 2 3 5 6
● ● ● ● ●
Third time 7: End (FN92)
First time, second time
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is not specified,
the command is executed at the position reached by the robot in the accuracy
range of the move command immediately before.
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of calls
can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is detected during
playback, and the robot stops.
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 2 number
(1-200)
This records the number of passes which is to serve as the condition for executing
Parameter Number of the call. The robot passes for the specified number of passes, and on the next time
No. 3 passes (specified number of passes +1) the call command is executed.
(0-10000)
See
CALLP: Program call (FN80)
CALLPI: Conditional program call (FN81)
Function commands (FN codes)
■ General description
When this function command is executed, the robot jumps to the specified program.
Bear in mind that if a function command has been recorded in the first step in the jump destination program, the function
command at the jump destination will be executed as soon as the jump command has been executed.
The robot does not return to the source program even when the playback of the program at the jump destination is completed.
■ Example of operation
In step 4, record JMPP: program jump (FN83), and "2" as the program number. When this is played back, the robot skips steps
5 and 6 upon arriving at step 4 and jumps to the first step in program 2. The robot does not return to the source program even
when the playback of the program 2 is completed.
Program 1 Step 4
JMPP; Program jump (FN83)
Program number = 2
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: END (FN92)
●4 ●
● ●
3 2
The robot is not decelerated by this command. If positioning is not specified, the command is
executed at the position reached by the robot in the accuracy range of the move command
immediately before.
■ Parameter
Parameter This specifies the number of the program which is to serve as the jump destination.
Program No.
No. 1 (1-9999)
See
JMPPI: Conditional program jump (FN84)
JMPPN: Conditional program jump after specified number of passes (FN85)
Function commands (FN codes)
■ General description
When this function command is executed, the specified program is called. When the specified input signal has been input, the
robot jumps; when it has not been input, it does not jump and the command is passed by.
Bear in mind that if a function command has been recorded in the first step in the jump destination program, the function
command at the jump destination will be executed as soon as the jump command has been executed.
The robot does not return to the jump source program even when the playback of the program at the jump destination is
completed (the END command is executed).
■ Example of operation
In step 4, record JMPPI: conditional program jump (FN84), "2" as the program number, and "1" as the input signal. If, when this
is played back, input signal I1 has been input, the robot jumps to the first step in program 2; and if it has not been input, it
advances to steps 5 and 6. The robot does not return to the jump source program even when the playback of program 2 is
completed (the END command is executed).
Program 1 Step 4
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
When the I1 signal
has been input
When the I1 signal
has not been input
Program 2
5: End (FN92)
●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If no positioning is specified, the input
signal is inspected just before the command value reaches the accuracy range of the
move command, and if it has been input, an inside arc is drawn. If the input signal has
not been input, the command value heads toward the recorded point, and the input
signal is inspected when the robot has reached the accuracy range.
Unlike the program call command, the robot can jump any number of times.
■ Parameter
Parameter This specifies the number of the program which is to serve as the jump destination.
Program No.
No. 1 (1-9999)
This records the number of the input signal which is to serve as the condition for
Parameter executing the jump. When number 5101 or above is specified, multiple input signals
Input signal
No. 2 can be specified.
(1-2048、5101—5196)
See
JMPP: Program jump (FN83)
JMPPN: Conditional program jump after specified number of passes (FN85)
Function commands (FN codes)
■ General description
When this function command is executed, the robot jumps to the specified program. The robot passes for the specified number
of passes, and on the next time (specified number of passes +1) the jump command is executed. (For instance, if "2" is
specified as the number of passes, the robot passes twice, and on the third time the jump command is executed.)
Bear in mind that if a function command has been recorded in the first step in the jump destination program, the function
command at the jump destination will be executed as soon as the jump command has been executed.
The robot does not return to the jump source program even when the playback of the program at the jump destination is
completed (the END command is executed).
■ Example of operation
In step 4, record JMPPN: conditional program jump after specified number of passes (FN85), "2" as the program number, "1"
as the register number, and "2" as the number of passes.
When this is played back, the robot passes by for the first and second times, and then advances to steps 5; however, on the
third time, it jumps to the first step in program 2. The robot does not return to the jump source program even when the playback
of program 2 is completed (the END command is executed).
Step 4
Program 1 JMPPN: Conditional program jump after specified
number of passes (FN85)
Program number = 2
Register number = 1
Number of passes = 2
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Third time
First time, second time
Program 2
5: End (FN92)
●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is not specified, the command
is executed at the position reached by the robot in the accuracy range of the move
command immediately before.
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
Parameter This specifies the number of the program which is to serve as the jump destination.
Program No.
No. 1 (1-9999)
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 2 number
(1-200)
This records the number of passes which is to serve as the condition for executing the
Parameter Number of jump. The robot passes for the specified number of passes, and on the next time
No. 3 passes (specified number of passes +1) the jump command is executed.
(0-10000)
See
JMPP: Program jump (FN83)
JMPPI: Conditional program jump (FN84)
Function commands (FN codes)
■ General description
When this function command is executed, one of a multiple number of steps is selected and executed. It makes no difference
whether the selected step is a move command or function command. As the condition under which the step selection is
executed, Register is divided by a "dividing number" and, based on its "quotient" or "remainder", just the one step to be
executed is decided on.
Bear in mind that if the step selected is a function command, the function command at the jump destination will be executed
as soon as the conditional case jump after the specified number of passes command has been executed.
■ Example of operation
The FCASEN: conditional case jump after specified number of passes (FN86) command must always be paired with the
FCASEEND: case jump end (FN88) command for use.
In the example presented below, only one step among steps 5, 6 and 7 enclosed between the FCASEN and FCASEEND
commands is executed.
Step 4
FCASEN: Conditional case jump after
specified number of passes (FN86) One of the steps is
Register number = 1 played back in
Mode = 2 5 accordance with the
Dividing number = 3 register 1 value.
●
1 2 3
9 10
6
● ● ● ● ●
● 11: End (FN92)
7 ●
Step 8
The robot is not decelerated by this command. If positioning is not specified, the
command is executed at the position reached by the robot in the accuracy range of
the move command immediately before.
Operation proceeds as follows in numerical sequence starting from the step following the step in which FCASEN is recorded:
step executed when the quotient (or remainder) is 0 → step executed when the quotient (or remainder) is 1 → step executed
when the quotient (or remainder) is 2 and so on.
Step 4: FCASEN: Conditional case jump after specified number
of passes (FN86)
Step 5: (Selected when quotient or remainder is 0)
Step 6: (Selected when quotient or remainder is 1)
Step 7: (Selected when quotient or remainder is 2)
Step 8: FCASEEND: Case jump end (FN88)
Mode Explanation
"Quotient" The "quotient" of the [pass count divided by the dividing number] serves as the condition of the
assignment command.
In the example of the table presented below, step 5 is executed when the Register is 0, 1 or 2,
and step 6 is executed when it is 3, 4 or 5.
"Remainder" The "remainder" of [pass count divided by the dividing number] serves as the condition of the
assignment command.
In the table below, Register is add, the steps are executed in numerical order as follows: 5 → 6 →
7 → 5 → 6 → 7.
"Quotient" and "remainder" when 3 is the dividing number
Register 0 1 2 3 4 5 6 7 8 9 10 11
Quotient 0 0 0 1 1 1 2 2 2 3 3 3
Remainder 0 1 2 0 1 2 0 1 2 0 1 2
Any number of steps between the FCASEN and FCASEEND commands can be recorded provided that this number does not
exceed the maximum number of 999 steps allowed per program. Either move commands or function commands can be the
steps enclosed. If a step to be executed has not been recorded, an alarm is detected, and the robot stops.
■ Parameter
Parameter Register Global integer variable (1 to 200) is used, this parameter specifies its number.
No. 1 number (1-200)
1: The quotient of the [register value divided by the dividing number] is used as the
condition for the command.
Parameter
Mode 2: The remainder of the [register value divided by the dividing number] is used as the
No. 2
condition for the command.
(1-2)
Parameter Dividing This specifies the number that will divide the register value.
No. 3 number (1-127)
See
FCASEEND: Case jump end (FN88)
Function commands (FN codes)
1 2 3
10 11
7
● ● ● ● ●
● 12: End (FN92)
8
●
Step 9
Any number of steps between the FCASEI and FCASEEND commands can be recorded provided that this number does not
exceed the maximum number of 999 steps allowed per program. Either move commands or function commands can be the
steps enclosed. If a step to be executed has not been recorded, an alarm is detected, and the robot stops.
■ Parameter
Parameter No. 1 Input signal BIT 0
Parameter No. 2 Input signal BIT 1 The numbers of the input signals corresponding to bits 0 through
Parameter No. 3 Input signal BIT 2 7 are specified in sequence starting from the first parameter.
Parameter No. 4 Input signal BIT 3 If an input signal is not going to be used, 0 is specified. When
Parameter No. 5 Input signal BIT 4 number 5101 or above is specified, multiple input signals can be
Parameter No. 6 Input signal BIT 5 specified.
Parameter No. 7 Input signal BIT 6 (1–2048, 5101–5196)
Parameter No. 8 Input signal BIT 7
Pack the input signals in sequence starting from the lower bits. If the registration of any input signal is missing, an alarm results
during playback, and the robot stops.
■ Example of screen display
FCASEI [I1,I2,I3,I0,I0,I0,I0,I0] FN87; Conditional case jump
See
FCASEEND: Case jump end (FN88)
Function commands (FN codes)
■ General description
This function command is paired with the FCASEN: conditional case jump after specified number of passes (FN86) command
or FCASEI: conditional case jump (FN87) command for use. It signals the end of the case jump.
■ Example of operation
Refer to the FCASEN: conditional case jump after specified number of passes (FN86) or FCASEI: conditional case jump
(FN87) commands.
Step 4
FCASEN: Conditional case jump after specified
number of passes (FN86)
Register number = 1 One of the steps is played
Mode = 2 back in accordance with
Dividing number = 3 5
the register 1 value.
●
1 2 3
9 10
6
● ● ● ● ●
● 11: End (FN92)
7 ●
Step 8
FCASEEND: Case jump end (FN88)
The robot is not decelerated by this command. If positioning is not specified, the command
is executed at the position reached by the robot in the accuracy range of the move
command immediately before.
■ Parameter
None
See
FCASEN: Conditional case jump after specified number of passes (FN86)
FCASEI: Conditional case jump (FN87)
Application Command (FN Code)
Command
GOTO
name
FN code 90
Title name Line jump
Outline Used to jump to a specified line or label.
Outline
Executing this command transfers control to a line specified by line number or label without conditions.
Parameters
Used to make setting of line number or label of jump destination.
Parameter 1 Line No./ Label
(Setting range: 1 to 9999)
Related commands
∗LABEL: Label (FN601)
Application Command (FN Code)
Command
GOSUB
name
FN code 91
Title name Line call
Outline Used to subroutine-call a specified line or label.
Outline
Use this command in robot languages.
Executing this command makes the program jump to a specified line. Executing any of the commands RETURN: Step return
(FN22), RETI: Step return with conditions (FN25), and RETN: Step return with conditions for number of times (FN28) return to
a line next to the call in which call was made.
Parameters
Used to make setting of line number or label of jump destination.
Parameter 1 Line No./ Label
(Setting range: 1 to 9999)
Related commands
RETURN: Step return (FN22)
RETI: Step return with conditions (FN25)
RETN: Step return with conditions for number of times (FN28)
Function commands (FN codes)
■ General description
When this function command is executed, the playback of the program is ended.
In the single cycle mode, operation stops immediately; in the continuous mode, operation returns to the start of the program
and continues.
At least one END command is required in a program. This command does not signify the very end of the file so steps can still
be recorded after this function. It is also permissible to record a multiple number of END commands in a program.
■ Example of operation
In step 4, record END: End (FN92).
When this is played back in the single cycle mode, the robot stops at step 4. The program end status is established, and the
"program end" signal is output. If operation is now started again immediately, the robot returns to the first step.
However, if this program is the call destination program, the robot does not stop after END but returns to the call source
program. The "program end" signal is not output.
Step 4
1 2 3 5
● ● ● ●
Playback ends here.
9 8 7 6
● ● ● ●
After the robot reaches the recorded point, playback ends
regardless of the accuracy of the move command immediately
before.
■ Parameter
None
See
STOP: Stop (FN41)
Function commands (FN codes)
■ General description
When this function command is executed, the current axis coordinate values of the robot expressed as Eulerian angles are
stored in the real number variables of the specified numbers.
(The GETP: real number variable assignment (coordinate values) (FN142) command is used when the wrist posture is to be
expressed as the R (roll), P (pitch) and Y (yaw) angles.)
■ Example of operation
In the example of the figure presented below, when the robot arrives at the recorded point in step 2 and positioning is
completed, the GETPELR command in step 3 is executed, and six real number variables are assigned with the coordinate
values in sequence starting from the specified real number variable, as shown below.
Step 3 GETPELR: Coordinate value assignment (FN94)
First variable number = 1
Step 2
● ● Step 4
After the robot reaches the exact recorded point, the GETPELR command is executed
regardless of the accuracy of the move command immediately before and regardless of
whether positioning is specified.
■ Parameter
This specifies the first number of the
Real number register (real number variable) in which a
Parameter
variable coordinate value is to be stored. Six
No. 1
number variables are then used in succession.
(1-195)
See
GETP: Real number variable assignment (coordinate values) (FN142)
GETANGLE: Real number variable assignment (axis angles) (FN157)
Function commands (FN codes)
■ General description
There is an application that uses a tool changer to change the spot welding gun, hand grippers or other tools so that one robot
can be employed for a multi purpose use. If the tool to be changed is a spot welding gun or hand gripper and it is air-driven, it
can be changed by I/I sequences. On the other hand, if it is a servo gun or other servo-driven tool, it is not possible to
disconnect it in order to implement the change while still keeping the power supplied to their motors. Therefore, changing servo
guns and other such tools requires a function that makes it possible to electrically connect and disconnect the motor. This is
called the mechanism change function.
This command can implement this utility. (dedicated to mechanism 2 only)
Connecting and disconnecting the tools mechanically must be implemented using I/O sequences.
■ Example of operation
An example is given for tool changing system where the signals have been allocated as shown in the figure below. The method
shown here represents an example only, and will actually differs on the environment that depends on the customer’s facility.
At step N, the mechanism is moved by the following linear movement to the position where the changer can be connected. At
this position, the changer is set to the unclamp status by the way or precaution.
At step N+4, the mechanism is moved to the position where the changer is connected. At first its seating is checked and the
changer is clamped. After it has been clamped, the mechanism change function is executed.
At step N+11, the mechanism is disengaged from the stand.
Shown below is the transition of signal statuses when this series of operations is performed.
Connecting Operation
Connection
process
<Input Signals>
ATC clamp limit
ATC unclamp limit
ATC seating check
Sub-mechanism number
Disconnecting Operation
STEP N 500mm/s LIN A1 T1
STEP N+1 100mm/s LIN A1 T1 Move to the connect/disconnect position
STEP N+2 CHGGUN[0] FN95; Mechanism change Electrical disconnection
STEP N+3 RESET[O25] FN34; Output OFF Unclamp
STEP N+4 SET[O26] FN32; Output ON
STEP N+5 WAIT[I26] FN525; Wait input (positive) Waiting for unclamp finish
STEP N+6 100mm/s LIN A1 T31
At step N, the mechanism is moved by the following movement to the position where it can be brought to the stand. At step
N+1, the mechanism is moved to the changer disconnect position. At this position, the mechanism function is executed, and
the mechanism is electrically disconnected. Next, the changer is set to the unclamp status.
After the unclamp status has been checked, the mechanism is electrically disconnected at the step N+6. Shown below is the
transition of the signal statuses when this series of operations is performed.
Disconnecting Operation
Disconnect
mechanism
Chuck
open
Move to mechanism Away from
Stand position The stand
<Output Signals>
ATC clamp
ATC unclamp
Mechanism disconnection enable
Sub-mechanism number
<Input Signals>
ATC clamp limit
ATC unclamp limit
ATC seating check
Sub-mechanism number
■ Parameter
Connect / This is used to specify whether the mechanism is to be connected or disconnected
Parameter
Disconnect O; Connect
No. 1
1; Disconnect
■ Example of screen display
CHGGUN[0] FN95; Mechanism change
See
CHGMEC; Mechanism Change(mechanism can be designated)(FN301)
Application Command (FN Code)
Command
USE
name
FN code 98
Title name Pose file select
Outline Used to select pose file.
Outline
Pose data are controlled as files and one file can record poses P1 to P999. For example, this command is useful in playing
back the same program by changing only the data on robot positions according to the types of workpieces.
Parameters
Pose file Used to make setting of pose file number.
Parameter 1
number (Setting range: 1 to 9999)
■ General description
This command is used to provide comments inside programs.
Using the software keyboard, alphanumerics and symbols can be input.
A comment provided in step 0 is handled specially as the "program name," and it appears on the program directory by the R17
short-cut and on the status window at the top of the screen.
Software keyboard
■ Example of operation
The robot is not decelerated by this command.
More than one comment may be recorded in a program.
■ Parameter
Parameter
Comment Comments consisting of up to 230 characters can be recorded.
No. 1
See
None
Function commands (FN codes)
■ General description
When this function command is executed, any number of consecutive general-purpose output signals (O1 to O2048) are set to
ON or OFF altogether. It makes no difference how many consecutive signals are involved.
However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun signals
and starting signal) to ON or OFF. Which signals have been assigned as status signals can be identified on the monitor screen.
Signals whose numbers are displayed in the bold italics are status signals so any of the other signals can be set to ON or OFF.
■ Example of operation
Robot path
Step2 Step3 SETO (FN100)
Accuracy
Step1 Step4
Output signal
Time
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
This specifies the number of the first consecutive output signals which are to be
Parameter Output signal
turned ON or OFF.
No. 1 number
(1–2048)
This specifies the number of the last consecutive output signals which are to be
Parameter Output signal
turned ON or OFF.
No. 2 number
(1–2048)
Parameter "1" specified for ON, and "0" for OFF.
ON/OFF
No. 3 (0–1)
See
SETM: Output signal ON/OFF (FN105)
Function commands (FN codes)
■ General description
When this function command is used, character string data can be output to the specified communication (serial) port. A
character string consisting only of single-byte alphanumerics (up to 199) can be output.
At the present time, only port 1 (RS232C) can be used.
■ Example of operation
When the robot reaches the step in which the PRINT (FN101) command is recorded, the character string is sent from the
specified serial port.
The robot continues moving while the data is being sent.
■ Parameter
Parameter This is used to specify the number of the port from which the character string is
Port number
No. 1 to be output. At the present time, only port 1 (RS232C) can be used. (1 to 1)
Output This is used to specify the character string to be output.
Parameter
character (Up to 199 single-byte alphanumerics)
No. 2
string
The character string is input using the soft keyboard.
T E S T W O R K CR LF
See
SREQ: Shift amount request (FN51)
RSCLR: RS232C Buffer clear (FN111)
Function commands (FN codes)
■ General description
[Relative Program Call] calls a subprogram and makes the first step position and orientation the same as the current step in the
base program and all point positions in the subprogram become relative to that step position. (Refer to the illustration below)
This is a very convenient function for spot welding, weld gun sticking, grinding, cutting and other frequently repeated simple
task actions.
■ Example of operation
Program 1
1 6,7 (subprogram to be called)
1 MOVE
2 5 2 MOVE
3 MOVE
4 MOVE
3 4 5 MOVE
6 MOVE
7 END
Tool direction
Program 2
7,8,9 (Main(Base) program)
1 MOVE
2 CALLPR 1
3 MOVE
4 CALLPR 1
5,6 5 MOVE
6 CALLPR 1
7 MOVE
8 CALLPR 1
1,2 3,4
9 END
When CALLPR is recorded in program 2 as above the robot will operate as shown here. CALLPR function cannot be executed
again while executing CALLPR function. After other shifts are applied, the shift by CALLPR is done.
The CALLPR outputs abnormality when move command has never been executed before CALLPR is executed. Please note
immediately after having turned on the power supply of controller and immediately after selecting program.
This function cannot be used with two manipulators or more included in a unit. There is a possibility of doing the operation that
the robot doesn't anticipate.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (0-9999)
No. 1
See
CALLPRI: Conditional relative program call (FN103)
CALLPRN: Relative program call (freq. condition) (FN104)
Function commands (FN codes)
■ General description
If the designated input signal is being input, [Relative Program Call] calls a subprogram and makes the first step position and
orientation the same as the current step in the base program. Then all point positions in the subprogram become relative to
that step position. (Refer to the illustration below)
If the input signal is not being input the main program simply continues on. This is a very convenient function for spot welding,
weld gun sticking, grinding, cutting and other frequently repeated simple task actions.
■ Example of operation
Program 1
1 6,7 1 MOVE
2 MOVE
2 5 3 MOVE
4 MOVE
5 MOVE
3 4 6 MOVE
7 END
Tool direction
Program 2
7,8,9 1 MOVE
2 CALLPRI 1,I1 ← I1 ON
3 MOVE
4 CALLPRI 1,I1 ← I1 OFF
5 MOVE
5,6 6 CALLPRI 1,I1 ← I1 OFF
7 MOVE
8 CALLPRI 1,I1 ← I1 ON
1,2 3,4 9 END
When CALLPRI function is executed and the designated I signal is being input program 2 is played and robot will operate as
shown here. CALLPRI function cannot be executed again while executing CALLPRI function. After other shifts are applied, the
shift by CALLPRI is done.
The CALLPRI outputs abnormality when move command has never been executed before CALLPRUI s executed. Please note
immediately after having turned on the power supply of controller and immediately after selecting program.
This function cannot be used with two manipulators or more included in a unit. There is a possibility of doing the operation that
the robot doesn't anticipate.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (0-9999)
No. 1
This records the number of the input signal which is to serve as the condition for
Parameter executing the call. When number 5101 or above is specified, multiple input signals
Input signal
No. 2 can be specified.
(1-2048, 5101-5196)
See
CALLPR : Relative program call (FN102)
CALLPRN: Relative program call (freq. condition) (FN104)
Function commands (FN codes)
■ General description
Depending on the number of times CALLPRN function has been passed, [Relative Program Call] calls a subprogram and
makes the first step position and orientation the same as the current step in the base program. Then all point positions in the
subprogram become relative to that step position. (Refer to the illustration below) This is a very convenient function for spot
welding, weld gun sticking, grinding, cutting and other frequently repeated simple task actions.
When the cycle (frequency. + 1) is reached, [Relative Program Call] calls a subprogram, if the cycle is not (frequency + 1) the
main program will simply continue on.
■ Example of operation
Program 1
1 6,7
1 MOVE
2 MOVE
2 5 3 MOVE
4 MOVE
3 4 5 MOVE
6 MOVE
Tool direction 7 END
Program 2
6,7,8
1 MOVE
2 MOVE
3 CALLPRN 1,V1%,2
4 MOVE
4,5 5 CALLPRN 1,V1%,2
6 MOVE
7 CALLPRN 1,V1%,2
1 2,3 8 END
When CALLPRN function is being passed on the 3rd (Freq. + 1) cycle program 2 will operate, as shown here. CALLPRN
function cannot be executed again while executing CALLPRN function. After other shifts are applied, the shift by CALLPRN is
done.
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
The CALLPRN outputs abnormality when move command has never been executed before CALLPRN is executed. Please
note immediately after having turned on the power supply of controller and immediately after selecting program.
This function cannot be used with two manipulators or more included in a unit. There is a possibility of doing the operation that
the robot doesn't anticipate.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (0-9999)
No. 1
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 2 number
(1-200, 301-500)
This records the number of passes which is to serve as the condition for executing
Parameter Number of the call. The robot passes for the specified number of passes, and on the next time
No. 3 passes (specified number of passes +1) the call command is executed.
(0-10000)
See
CALLPR: Relative program call (FN102)
CALLPRI: Conditional relative program call (FN103)
Function commands (FN codes)
■ General description
When this function command is executed, any general-purpose output signal (O1 to O2048) is set to ON or OFF.
However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun signals
and starting signal) to ON or OFF. Which signals have been assigned as status signals can be identified on the monitor screen.
Signals whose numbers are displayed in the bold italics are status signals so any of the other signals can be set to ON or OFF.
Single-action recording is possible using the [OUT] key on the teach pendant.
■ Example of operation
Robot path
Step2 Step3 SETM (FN105)
Accuracy
Step1 Step4
Output signal
Time
The robot is not decelerated by this command. If positioning is not
specified, the command is executed at the position reached by
the robot in the accuracy range of the move command
immediately before.
■ Parameter
Parameter Output signal This specifies the number of the output signal which is to be turned ON or OFF.
No. 1 number (1–2048)
Parameter "1" specified for ON, and "0" for OFF.
ON/OFF
No. 2 (0–1)
See
SETO: Consecutive output signal ON/OFF (FN100)
Function commands (FN codes)
■ General description
When this function command is used, the send/receive buffer inside the specified RS232C port can be cleared.
At the present time, only port 1 can be used as the RS232C port.
■ Example of operation
When the robot reaches the step in which the RSCLR (FN111) command is recorded, the send/receive buffer inside the
specified RS232C port is cleared. The robot continues moving while the buffer is being cleared.
■ Parameter
This is used to specify the number of the
serial port whose send/receive buffer is to
Parameter
Port number be cleared. (1 to 1)
No. 1
At the present time, only port 1 can be
specified.
See
SREQ: Shift amount request (FN51)
PRINT: Strings output (FN101)
Function commands (FN codes)
■ General description
The user coordinate system can be selected as the coordinate system to serve as the reference for shifting when a command
such as the "SHIFTR: Shift 2 (FN52)" or "SHIFTA: XYZ shift (FN58)" is used to implement shift operations. The CHGCOORD
command specifies the number of the user coordinate system to be used at this time.
When a shift operation has been executed using a user coordinate system with no user coordinate system number selected by
this function command, an alarm results, and the robot is stopped.
The user coordinate system must be registered ahead of time using Service Utilities/User coordinates. Up to a hundred
coordinate systems can be registered.
■ Example of operation
In the figure below, the function command “SHIFTA: XYZ shift” (FN58) has been recorded in step 13, and a user coordinate
system has been selected as the coordinate system to be used for this. Therefore, the command “CHGCOORD: Change coord.
No. (shift)” (FN113) is recorded in step 11 which comes before, and user coordinate system No.1 has been specified.
The move commands executed in step 14 and the subsequent steps operate with the positions (positions of steps 14' and 15'
in the figure) shifted by 121.3 mm in the X direction of user coordinate system No.1 serving as the movement target.
■ Parameter
This is used to specify the user coordinate number to be used by the shift-related
User
Parameter function commands.
coordinate
No. 1 (0 to 100)
number
When "0" is specified, the user coordinates are not selected.
See
SHIFTR: Shift2 (FN52)
SHIFTA: XYZ shift (FN58)
Function commands (FN codes)
■ General description
Spot welding can be performed in the specified step by recording the spot welding function in the welding step. By using this
function, the output timings of the pressurizing signal, power-on signal, stroke signal and other welding control signals can be
programmed by the controller without having to use an external sequencer. A higher level of welding control tailored to each
weld point can be exercised by setting a multiple number of welding conditions and welding sequences.
This function is used with either an air gun or servo gun.
■ Example of operation
With an air gun:
Moving FN119
tip Full open
Half open
settled
tip Stroke
(press) timing
Full open signal
weld signal
weld completion Robot move start
timing
input (WI)
FN119 Stroke
Moving (weld finish)
tip
Stroke (press)
moving tip
clearance
settled
tip Settled tip
clearance
weld signal
■ Parameter
This parameter specifies the number of the first welder for which the welding control
Parameter Welder
signal is output.
No. 1 number
(1–6)
This specifies the number of the welding condition. It establishes the welding force
Parameter
Condition# and welding condition signal.
No. 2
(1–255)
Welding This specifies the number of the welding sequence. It establishes the output timing of
Parameter
sequence the pressurizing signal, power-on signal and stroke signal.
No. 3
number (1-64)
This specifies the number of the weld point. Use this parameter when controlling the
Parameter Welding point welding points. If welding trouble has occurred, this weld point number is output. In
No. 4 number the case of automatic recording, the step number is recorded.
(0–16000)
See
GSEA: Servo gun search (FN167)
Function commands (FN codes)
■ General description
When this function command is used, the robot operation is stopped and the wait status is established until the shift amount
data is input into the specified shift register or until the specified time arrives. As soon as the input of the shift amount data has
been detected within the specified time, the next step is executed. The input is judged to have been detected by the setting of
"input completed" data in the specified shift register to "1."
When the input of the shift amount data has not been detected within the specified time, operation jumps to the shelter step.
The input of the shift amount data can be confirmed even more definitely by having this function command before the
shift-related command that use the shift registers.
If the robot is stopped during shift amount receive wait and then restarted, the remaining time in the specified time serves as
the wait time.
■ Example of operation
In the figure, the "WAITR: Wait shift reg. receive" (FN127) command is recorded in step 13.
When the program is played back, the robot, after reaching step 13, is set to the wait status until the shift amount data is input
in the specified shift register. When the data input is confirmed, the robot heads toward the next step, and when a timeout
occurs, it heads towards shelter step 99.
Step 13 Step 15
WAITR(R1,10.0, 99) SHIFTR(1,0,R1,0)
FN127; Wait shift reg. FN52; Shift 2 / Start
Step 11
i
SREQ(R1,1)
FN51; Shift amount
Step 12 Step 14
request
Step 16
Step 10 Escape destination
Step 99 when shift amount Shift
could not be received operation
■ Parameter
Shift register This is used to specify the number of the shift register into which the input of the shift
Parameter number amount data is awaited. (1 to 9)
No. 1
See
SREQ: Shift amount request (FN51)
SHIFTR: Shift2 (FN52)
Function commands (FN codes)
■ General description
When this function command is executed, the current coordinate value expressed as RPY (roll, pitch and yaw) angle of each of
the robot's axes is stored in the real number variables with the specified numbers.
(If a wrist posture is to be expressed as Eulerian angles, use the GETPELR: real number variable assignment (coordinate
values) (FN94) instead.)
■ Example of operation
In the example of the figure presented below, when the robot arrives at the recorded point in step 2 and positioning is
completed, the GETP command in step 3 is executed, and six real number variables are assigned with the coordinate values in
sequence starting from the specified real number variable, as shown below.
● ● Step4
The robot reaches the exact recorded point, the GETP command is executed regardless of
the accuracy of the move command immediately before and regardless of whether
positioning is specified.
■ Parameter
Real number This specifies the first number of the register (real number variable) in which a
Parameter
variable coordinate value is to be stored. Six variables are then used in succession.
No. 1
number (1–195)
See
GETPELR: Real number variable assignment (Eulerian angle coordinate value) (FN94)
GETANGLE: Real number variable assignment (axis angles) (FN157)
Application Command (FN Code)
Command
GETPOSE
name
FN code 143
Title name Assign real variable (pose variable)
Outline Used to save pose variable Pn in the real variable V!.
Outline
This command is used to save pose variable Pn in the real variable V!.
Parameters
Used to make setting of leading numbers of real variables in which the current
robot coordinate values (X, Y, Z, r, p, y) and also pose file numbers.
(Setting range: 1 to 195)
The coordinate values are saved in six real variables in the order in which the
Leading variables were specified.
Parameter 1 variable V! [Leading variable number] = X
number
V! [Leading variable number + 1] = Y
V! [Leading variable number + 2] = Z
V! [Leading variable number + 3] = r
V! [Leading variable number + 4] = p
V! [Leading variable number + 5] = y
Pose
Used to make setting of robot posture (pose).
Parameter 2 variable
(Setting range: 1 to 9999)
number
Command
LETPOSE
name
FN code 144
Title name Assign pose variable
Outline Used to assign real variable V! to pose variable.
Outline
This command is used to assign the real variable V! to pose variable.
Parameters
Pose
Used to make setting of pose variable number to be assigned.
Parameter 1 variable
(Setting range: 1 to 9999)
number
Used to make setting of leading numbers of real variables.
(Setting range: 1 to 195)
Taking the values of specified real variables as coordinate values, assign these
Leading values to the pose coordinate values in order.
Parameter 2 variable X = V! [Leading variable number]
number Y = V! [Leading variable number + 1]
Z = V! [Leading variable number + 2]
r = V! [Leading variable number + 3]
p = V! [Leading variable number + 4]
y = V! [Leading variable number + 5]
■ General description
When this function command is used, the values (X, Y, Z, θx, θy, θz) recorded in the specified shift register can be assigned in
sequence from the number of the specified real number variable. Furthermore, the numerical value (1) indicating that the
values have been assigned is set in the number of the next specified real number variable.
The numerical values at the time concerned are assigned regardless of whether or not the data has been set in the specified
shift register.
■ Example of operation
When the robot reaches the step where the "GETSTF: Set real var. (shift)" (FN145) command is recorded, the contents of the shift
register are immediately read, copied into the real number variables, and set. The robot does not stop.
The numerical values are set (written over the existing data) in 7 consecutive real number variables regardless
of their usage status up to this point.
■ Parameter
Real number This is used to specify the starting number of the real number variables which will
Parameter variable store the numerical values inside the shift register. The numerical values are set
No. 1 number (overwritten) in 7 consecutive real number variables whose number starts with this.
(1 to 94)
Parameter Shift register This is used to specify the shift register number. (1 to 9)
No. 2 number
See
SREQ: Shift amount request (FN51)
SHIFTR: Shift2 (FN52)
Function commands (FN codes)
■ General description
When this function command is executed, the current angle value (in degrees) for each axis of all the mechanisms in the unit is
stored in a real number variable with the specified number.
■ Example of operation
In the example of the figure presented below, when the robot arrives at the recorded point in step 2 and positioning is
completed, the GETANGLE command in step 3 is executed, and the number of real number variables corresponding to the
number of axes starting from the specified real number variable are assigned in sequence to the axis angle values (in degrees),
as shown below.
Step3 GETANGLE: Coordinate value assignment (FN157)
First variable number = 1
Step2
● ● Step4
The robot reaches the exact recorded point, the GETANGLE command is executed regardless of the
accuracy of the move command immediately before and regardless of whether positioning is specified.
■ Parameter
This specifies the first number of the register (real number variable) in which a
Real number coordinate value is to be stored. Following this, the number of variables that
Parameter
variable corresponds to the "total number of axes of the mechanisms configuring the unit"
No. 1
number are used in succession.
(1–195)
Since the total number of axes is high, the number of variables may exceed 200, in which case an error occurs in playback.
See
GETPELR: Real number variable assignment (Eulerian angle coordinate value) (FN94)
GETP: Real number variable assignment (RPY angle coordinate value) (FN142)
Function commands (FN codes)
Command
GETFIGURE
name
FN code 158
Title name Set real variable(figure)
General The robot figure is used to store in real number
description variables.
■ General description
When this function command is executed, the position of the mechanism is stored in the V! variable.
You can choice the kind and type of the position of the mechanism as follow.
Kind
Angle The current angle of each of the mechanism's axes is
stored in the V! variable.
Unit [deg] or [mm]
TCP The current TCP coordinate of each of the mechanism is
Coordinate stored in six chosen V! variables in (X,Y,Z, R,P,Y)order.
(RPY) Output is in user coordinate if you use “FN171 NRLCRD”
or else is in the mechanism coordinate
Unit [mm]/[deg]
TCP The current TCP coordinate of each of the mechanism is
Coordinate stored in six chosen V! variables in (X,Y,Z, α,β,γ)
(EULER) order.
Output is in user coordinate if you use “FN171 NRLCRD”
or else is in the mechanism coordinate
Unit [mm]/[deg]
Type
Com Get the command value in the time.
Current Get the current value in the time.
Object Get the object value in the time.
This is not depend on accuracy of the move command.
The value reflects “shift” if you use “shift” and so on.
This function is carried out while passing. Was that, if the step that an accuracy of the move command is large, gotten value
in the time when enter accuracy extent.
■ Example of operation
case Type=com or cur
Step1 Step4
case Type=obj
Step1 Step4
See
GETPELR: Real number variable assignment (Eulerian angle coordinate value) (FN94)
GETP;Set real variable(Set real variable(pos)(FN142)
GETANGLE: Real number variable assignment (axis angles) (FN157)
NRLCRD;Change coord. for R-Lang(FN171)
Application Command (FN Code)
Command
POSAUTO
name
FN code 160
Title name Disable posture control
Used to disable the posture control for robot posture
Outline
calculation.
Outline
In order to perform a robot posture calculation, this command disables setting used to find the calculation result in a posture
that is forcedly set.
Parameters
Used to select posture control to be disabled.
(Selection range: 0 to 4)
Select posture
Parameter 1
control
0: All / 1: Right and left arm system / 2: System above/below elbow / 3: Wrist
posture system / 4: Flange shaft
Related commands
LEFTY: Left arm system (FN161)
RIGHTY: Right arm system (FN162)
ABOVE: System above elbow (FN163)
BELOW: System below elbow (FN164)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-related operations
are executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is
to be selected is normally determined automatically and sometimes the robot is not set to the desired pose. When this function
command is used, the poses of the left-arm system are forcibly selected from among the calculation results in the subsequent
steps.
■ Example of operation
When the "LEFTY: Arm config. (left/front)" (FN161) command is played back, the poses of the left-arm system are forcibly
selected when shift-related operations are executed in the subsequent steps.
The robot does not stop when this command is executed.
Tool tip
+Y
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the
process of automatically determining which angle to select is restored. However, the forced selection status
continues at step 0 of a program which has been called.
■ Parameter
None.
See
RIGHTY: Arm config. (right/back) (FN162)
ABOVE: Elbow config. (above) (FN163)
BELOW: Elbow config. (below) (FN164)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-type operations are
executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is to
be selected is normally determined automatically and sometimes the robot is not set to the desired pose. When this function
command is used, the poses of the right-arm system are forcibly selected from among the calculation results in the subsequent
steps.
■ Example of operation
When the "RIGHTY: Arm config. (right/back)" (FN162) command is played back, the poses of the right-arm system are
forcibly selected when shift-related operations are executed in the subsequent steps.
The robot does not stop when this command is executed.
Tool tip
+Y
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the process
of automatically determining which angle to select is restored. However, the forced selection status continues at step 0
of a program which has been called.
■ Parameter
None.
See
LEFTY: Arm config. (left/front) (FN161)
ABOVE: Elbow config. (above) (FN163)
BELOW: Elbow config. (below) (FN164)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-related operations are
executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is to be
selected is normally determined automatically and sometimes the robot is not set to the desired pose. When this function command
is used, the poses of the above-the-elbow system (less than 180-degree angle formed by J2 axis and J3 axis) are forcibly selected
from among the calculation results in the subsequent steps.
■ Example of operation
When the "ABOVE: Elbow config. (above)" (FN163) command is played back, the poses of the above-the-elbow system (less
than 180-degree angle formed by J2 axis and J3 axis) are forcibly selected when shift-related operations are executed in the
subsequent steps.
The robot does not stop when this command is executed.
Lower
Pose selected by
below-the-elbow
system (BELOW)
As soon as the first step (step 0) in the program is played back, the
forced selection status is released, and the process of automatically
determining which angle to select is restored. However, the forced
selection status continues at step 0 of a program which has been called.
■ Parameter
None.
See
LEFTY: Arm config. (left/front) (FN161)
RIGHTY: Arm config. (right/back) (FN162)
BELOW: Elbow config. (below) (FN164)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-related operations are
executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is to be
selected is normally determined automatically and sometimes the robot is not set to the desired pose. When this function command
is used, the postures of the below-the-elbow system (180-degree angle or more formed by J2 axis and J3 axis) are forcibly selected
from among the calculation results in the subsequent steps.
■ Example of operation
When the "BELOW: Elbow config. (below)" (FN164) command is played back, the poses of the below-the-elbow system
(180-degree angle or more formed by J2 axis and J3 axis) are forcibly selected when shift-related operations are executed in
the subsequent steps.
The robot does not stop when this command is executed.
Pose selected by J3 axis
Tool tip
above-the-elbow
system (ABOVE) Upper
J2 axis
Lower
Pose selected by
below-the-elbow
system (BELOW)
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the process
of automatically determining which angle to select is restored. However, the forced selection status continues at step 0
of a program which has been called.
■ Parameter
None.
See
LEFTY: Arm config. (left/front) (FN161)
RIGHTY: Arm config. (right/back) (FN162)
ABOVE: Elbow config. (above) (FN163)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-related operations are
executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is to be
selected is normally determined automatically and sometimes the robot is not set to the desired pose. When this application
command is used, the poses at which the angle of the J5 axis is negative are forcibly selected from among the calculation results in
the subsequent steps.
■ Example of operation
When the "FLIP: Wrist config. (flip)" (FN165) command is played back, the poses at which the angle of the J5 axis is negative
are forcibly selected when shift-related operations are executed in the subsequent steps.
The robot does not stop when this command is executed.
Pose selected by
Hand installation surface
wrist-flip system (FLIP)
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the process
of automatically determining which angle to select is restored. However, the forced selection status continues at step 0
of a program which has been called.
■ Parameter
None.
See
LEFTY: Arm config. (left/front) (FN161)
RIGHTY: Arm config. (right/back) (FN162)
ABOVE: Elbow config. (above) (FN163)
BELOW: Elbow config. (below) (FN164)
NONFLIP: Wrist config. (nonflip) (FN166)
Function commands (FN codes)
■ General description
This command obtains the angles of the robot axes by calculating them from the head coordinates when shift-related operations are
executed. The angles of two patterns capable of expressing the same position are obtained by the calculation. Which angle is to be
selected is normally determined automatically and sometimes the robot is not set to the desired pose.
When this function command is used, the poses at which the angle of the J5 axis is positive are forcibly selected from among the
calculation results in the subsequent steps.
■ Example of operation
When the "NONFLIP: Wrist config. (nonflip)" (FN166) command is played back, the poses at which the angle of the J5 axis is
positive are forcibly selected when shift-related operations are executed in the subsequent steps.
The robot does not stop when this command is executed.
Pose selected by
Hand installation surface
wrist-flip system (FLIP)
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the
process of automatically determining which angle to select is restored. However, the forced selection status
continues at step 0 of a program which has been called.
■ Parameter
None.
See
LEFTY: Arm config. (left/front) (FN161)
RIGHTY: Arm config. (right/back) (FN162)
ABOVE: Elbow config. (above) (FN163)
BELOW: Elbow config. (below) (FN164)
FLIP: Wrist config. (flip) (FN165)
Function commands (FN codes)
■ General description
As welding is performed over and over again, the electrodes gradually start to wear down, and their length shortens. If welding
is performed after the electrode lengths have changed, the settled side electrode can no longer be pressed against the work
piece: as a result, the work piece is subjected to extra stress, the welding force at the settled side becomes inadequate, etc.
The tip consumption must be compensated in order to eliminate these discrepancies.
GSEA is a function command which detects the tip consumption to perform this compensation.
There are three kinds of detection operations: gun search 1 which detects the total tip consumption, gun search 2 which
detects the tip consumption on the moving side, and gun search 3 which adds simplified compensation to the tip consumption
obtained by gun searches 1 and 2.
Search system Description of features
Total tip consumption detection
The total tip consumption is measured and subdivided into the settled side tip consumption and
moving side tip consumption according to a constant ratio.
Gun Search 1
When gun search 1 is used independently, there is no need for a reference stand, and the tip
consumption can be measured in a short period of time. On the other hand, the measurement
accuracy is not as good as when both gun search 1 and gun search 2 are performed.
Moving side tip consumption detection
This is used together with gun search 1.
The moving side tip consumption is measured. The settled side tip consumption is calculated by
Gun Search2
subtracting the moving side tip consumption from the total tip consumption obtained by gun search
1. This has the highest measurement accuracy.
It is necessary to provide a reference stand.
Simplified tip consumption detection
This is used together with gun search 1 and gun search 2. It measures the overall tip consumption.
With gun search 3, the tip consumption can be compensated in a simplified way for the tip
consumption after gun search 1 and gun search 2 have been executed.
Gun Search 3
The measurement accuracy is not as good as when gun search 3 is performed together with gun
search 1 and gun search 2. However, its advantage is that the search operation is completed in one
go except when the tips have been replaced.
Reference write is not required.
In accordance with the trouble detection level set by constants/spot welding application/servo gun tip consumption detection,
an error or information is output, and the corresponding alarm signal is output for the tip consumption obtained.
■ Parameter
This specifies the number of the welder to which the servo gun whose electrode tip
Parameter Welder
consumption are to be detected is connected.
No. 1 number
(1–6)
This specifies the type of gun search to be executed. (1–3)
1: Gun search 1 = Total tip consumption detection
Parameter Gun search
2: Gun search 2 = Moving side tip consumption detection
No. 2 number
3: Gun search 3 = Total tip consumption detection (simplified tip consumption
detection)
Parameter This specifies the welding force when detecting the tip consumption.
Pressure
No. 3 (1.0 – 100.0) [kN]
For detail, refer to information in the FD CONTROLLER OPERATING MANUAL “SPOT WELDING Chapter 4 Servo gun
wear amount measurements”.
See
SPOT: Spot welding execution (FN119)
Function commands (FN codes)
This function, however, cannot be used when an analog input board (option) is not installed.
■ Example of operation
In the following diagram, record "SPDDOWNA (FN169) / Start" in steps 4 and 7, and "SPDDOWNA (FN169) / End" in step 9.
When this is played back, the velocity override is performed by analog input signals in the sections indicated by the bold lines
in the diagram. As far as step 6 the operation is performed in accordance with the port 1, and as far as step 8 in accordance
with the port 2. Thus, the command played back later has priority.
Step 4 Step 7
SPDDOWNA: SPDDOWNA:
Analog input speed Override Analog input speed override
Start, port1 Start, port2
3 5 11
2 10
6
8
The velocity override
1 is enabled in the
Step 9
steps indicated by
bold lines SPDDOWNA:
Analog input speed override
End
If the rate of velocity override by F keys and R codes is set to 50% and that by input signals set to 50%, the actual rate of
velocity override is 25% (50% x 50%).
The velocity override by digital input (FN277) is also available, yet this cannot be used together with the SPDDOWNA
command.
■ Parameter
Parameter Specify whether to start or end the velocity override by input signals.
Start/end
No. 1 (1: Start, 0: End)
Parameter Select the analog input port to refer to from the four ports. It is ignored when "0:
Input port No.
No. 2 End" is selected as the setting of the first parameter. (1 to 4)
The correspondence between input voltage and speed override must be designed beforehand using "Constant Setting →
Signals → Velocity override depend on input". The velocity override by input signal cannot be set over 100%.
If no pattern is defined (all the parameters on the screen are set to 0), the velocity override function is disabled.
See
SPDDOWND: Digital input speed override (FN277)
Application Command (FN Code)
Command
NRLCRD
name
FN code 171
Title name Select robot language coordinate system
Used to switch functions to a specified user coordinate
Outline
system.
Outline
Using this command makes it possible to switch the following functions to a specified user coordinate system.
x LETX (FN71): Assign X component of pose
x LETY (FN72): Assign Y component of pose
x LETZ (FN73): Assign Z component of pose
x GETP (FN142): Assign real variable (coordinate value)
x GETPOSE (FN143): Assign real variable (pose variable)
x LETPOSE (FN144): Assign pose variable
Parameters
User coordinate Used to make setting of user coordinate system number.
Parameter 1
system number (Setting range: 0 to 100)
∗When “0” is set to this parameter, the robot will run in the machine coordinate system, but not in the user coordinate
system.
Related commands
LETX: Assign X component of pose (FN71)
LETY: Assign Y component of pose (FN72)
LETZ: Assign Z component of pose (FN73)
GETP: Assign real variable (coordinate value) (FN142)
GETPOSE: Assign real variable (pose variable) (FN143)
LETPOSE: Assign pose variable (FN144)
Function commands (FN codes)
■ General description
This function is dedicated to the MEDAR spot welder (IWB timer controller) interface application only. (welding I/F=MEDbus)
Spot welding can be performed in the specified step by recording the spot welding function in the welding step. By using this
function, the output timings of the pressurizing signal, power-on signal, stroke signal and other welding control signals can be
programmed by the controller without having to use an external sequencer. A higher level of welding control tailored to each
weld point can be exercised by setting a multiple number of welding conditions and welding sequences.
■ Example of operation
Pass previous Welding Next recorded
recorded point point point
FN199 Stroke
Moving (weld finish)
tip
Stroke (press)
moving tip
clearance
settled
tip Settled tip
clearance
■ Parameter
This parameter specifies the number of the first welder for which the welding control
Parameter Welder
signal is output.
No. 1 number
(1–1)
Welding This specifies the number of the welding sequence. It establishes the output timing of
Parameter
sequence the pressurizing signal, power-on signal and stroke signal.
No. 2
number (1-64)
This specifies the number of the weld point. Use this parameter when controlling the
Parameter Welding point welding points. If welding trouble has occurred, this weld point number is output. In
No. 3 number the case of automatic recording, the step number is recorded.
(0–16000)
See
GSEA; Servo gun search (FN167)
Function commands (FN codes)
■ General description
Restrictions stemming from the wiring that accompanies the tools and the installation conditions of the robot sometimes make
it preferable for the rotational direction of the tools to be fixed. During palletizing operations and rotational shifts based on the
robot language, etc., the poses that minimize the rotational amount are often selected automatically. This sometimes results in
operations which differ from the desired rotational direction.
When this finction command is used, the rotational direction of the J6 axis can be forcibly specified.
■ Example of operation
When the "FRANGE: Flange axis rot. config." (FN202) command is played back, the poses are forcibly selected with the
rotational direction of the J6 axis specified when shift-related operations are executed in the subsequent steps.
The robot does not stop when this command is executed.
Counterclockwise
rotation
Center of flange axis
(J6 axis) rotation
Clockwise
rotation
As soon as the first step (step 0) in the program is played back, the forced selection status is released, and the
process of automatically determining which angle to select is restored. However, the forced selection status
continues at step 0 of a program which has been called.
■ Parameter
ON/OFF This is used to specify whether to specify the rotational direction or release the
Parameter
specification.
No. 1
(1: ON/2: OFF)
Rotational This is used to specify the rotational direction of the J6 axis.
Parameter
direction (1: Clockwise rotation/
No. 2
–1: counterclockwise rotation)
See
LEFTY: Arm config. (left/front) (FN161)
RIGHTY: Arm config. (right/back) (FN162)
ABOVE: Elbow config. (above) (FN163)
BELOW: Elbow config. (below) (FN164)
FLIP: Wrist config.(flip) (FN165)
NONFLIP: Wrist config. (nonflip) (FN166)
Application Command (FN Code)
Command
COMPON
name
FN code 206
Title name Software compliance ON
Used to enable the software compliance control
Outline
function.
Outline
Using this command enables the software compliance control function, thus making it possible to run the robot according to
external force.
Parameters
Used to make setting of condition number that is selected within the software
Condition
Parameter 1 compliance data.
number
(Setting range: 1 to 10)
Used to select whether or not to retrieve the current position and take it as a
command position. (1: ON / 2: OFF)
Command
1: Used to retrieve the current position that made a change due to external force in a
Parameter 2 position
step in progress and perform a calculation of locus to the subsequent step according
replace
to this position.
0: Used to perform a normal locus calculation in a step in progress without retrieving
the current position.
Related commands
COMPOFF: Software compliance OFF (FN207)
Application Command (FN Code)
Command
COMPOFF
name
FN code 207
Title name Software compliance OFF
Used to disable the software compliance control
Outline
function.
Outline
Using this command disables the software compliance control function.
Parameters
None
Related commands
COMPON: Software compliance ON (FN206)
Function commands (FN codes)
■ General description
This function changes a stroke of air gun to half open or full open.
If you select half open, half open signal is on and full open signal off.
If you select half open, half open signal is on and full open signal off.
If you use this function, you must set “Full/half gun open function” of [Constant Setting][13 Spot welding application][1 Spot
welder setting] is enabled.
■ Example of operation
Step N+2
GUNOPEN(1, 1) Step N+1
FN218;Full open Move Accuracy
Accuracy Step N+3
Move
Step N
Move Step N+4
Move
■ Parameter
Parameter Welder The number of Welder number.
No. 1 number (1–6)
Parameter Half open / "1" means full open stroke, and "0" means half open stroke.
No. 2 Full open (0–1)
■ General description
When this function command is used, data can be copied between shift registers.
■ Example of operation
The "REGC: Shift register copy" (FN224) command is recorded in step N.
When the program is played back, the robot, after reaching step N, copies the contents of the copy source shift register into
the copy destination shift register. The "data input completed flag" of the copy destination shift register is always set to "1."
StepN
FN224(R1, R2)
Z
[Shift register 1] [Shift register 2]
Y
・Data request flag Copy ・Data request flag
・Data input complete flag ・Data input complete flag
X ・X, Y, Z values ・X, Y, Z values
・θX, θY, θZ values ・θX, θY, θZ values
■ Parameter
Parameter Copy source shift This is used to specify the number of the copy source shift register.
No. 1 register number (1 to 9)
Parameter Copy destination This is used to specify the number of the copy destination shift register.
No. 2 shift register number (1 to 9)
See
SREQ: Shift data request (FN51)
SHIFTR: Shift2 (FN52)
Function commands (FN codes)
■ General description
When gun search 1 and gun search 2 are to be used together, their execution sequence can be specified. The execution
sequence is specified using a function command. Under normal circumstances, set so that gun search 1 is executed first
followed by gun search 2. In this case, there is no need to register the function command. Use this sequence when, due to
the system configuration or other factors, it is better to execute gun search 2 first.
Please refer to GSEA: Servo gun search (FN167) for the detail of Servo gun search.
■ Example of operation
If what has been specified in the search sequence and the gun search sequence differ, an alarm is detected during playback,
and the robot stops.
■ Parameter
Parameter Gun number This parameter specifies the number of the gun which is to measure the wear amount.
No. 1 (1–32)
Execution This parameter specifies the execution sequence of gun search 1 and gun search 2.
Parameter sequence (0–1)
No. 2 0; Gun search 1 is executed first followed by gun search 2.
1; Gun search 2 is executed first followed by gun search 1.
See
SPOT: Spot welding (FN119)
GSEA: Servo gun search (FN167)
SGTIPRST: Reset servo gun tip consumption (FN270)
Application Command (FN Code)
Command
COLSEL
name
FN code 230
Title name Select interference detection level
Outline Used to select a detection level.
Outline
Using this command makes it possible to select a threshold used to determine interference.
For example, use this command to reduce interference detection sensitivity or prevent detection errors in cases where you
want to put a robot tip in narrow places, have a close look at interference, keep threshold levels low, increase detection
sensitivity, and make the robot conduct contact work.
Parameters
Used to make setting of detection level number.
(Setting range: 1 to 3)
Command
CHGXXGUN
name
FN code 238
Title name Mechanism change
Used to select a mechanism to be operated manually.
Outline (Command dedicated to Mechanism 2 / Mechanism
change type “Unlock”)
Outline
This application command is used for mechanism changes without electrical disconnection or unlocked mechanism changes
(e.g. to control two gun arms with a single motor for servo gun application).
Use this application command to make mechanism changes.
(Command dedicated to Mechanism 2 / Mechanism change type “Unlock”)
Example of motion
When the mechanism change type is set to “Unlock”, teaching will be conducted as shown below.
For steps in which mechanism changes are made, teach positions in which both guns can move. If one gun is located outside
the motion range even though the other gun is located within the motion range (software limit), “software stroke over” error
may be detected when executing the mechanism change function.
Set a correct tool number to the spot welding function execution step. Not doing so will disable proper equalizing operation. If the
“Tool number check” parameter on the Servo Gun usage condition screen is set to “Enabled”, the tool number recorded and that
set with the “Spot welding gun setting” parameter will be verified. If different, an error will be detected to stop playback of
mechanism change.
Parameters
Sub-mechanism Used to make setting of sub-mechanism number.
Parameter 1
number (Setting range: 1 to 31)
■ General description
Execution of this command starts seam welding.
First, pressurization operation of the electrode by the side of pressurization is carried out, and a work is put. Next, after
applying delay by pressurization waiting time, the weld signal and a welding condition signal are outputted. Furthermore,
rotation of electrodes which synchronized with a robot's speed is started. The rotation direction is specified by a parameter.
By this command, welding conditions can be automatically changed according to welding speed. It can have a maximum of 5
sets of correspondences of the welding speed and a welding condition number. This correspondence data is recorded as a
parameter of a function. Moreover, the welding condition output signals can be outputted by the WELDCND function(FN33) to
use this automatic welding condition change function. In this case, the parameter 1 of a function is set as 0.
Furthermore, when the parameter 1 of a function is set as 2, electrodes are rotated at the speed specified with the parameters,
without carrying out pressurization. Pressurization side electrode rotates at the speed set as the parameter 3, and settle side
electrode rotates at the speed set as the parameter 5.
This is used in dressing of electrodes.
■ Example of operation
The robot shall move to a specified position according to specified motion command and start seam welding as follow time
chart.
Record point
Robot speed
(Welding speed)
Gun signal
Weld signal
Rotation speed of
electrode
Threshold
Pressurization side pressurization
electrode waiting time
Settle side
electrode
■ Parameter
Welding condition
Parameter No.1 0-2
(0:Manu/1:Auto)
Rotation direction
Parameter No.2 0-1
(0:Normal/1:Reverse)
Parameter No.3 0.0-10.0 Press wait time(sec)
Parameter No.4 0-65535 Weld condition 1 (Auto)
Parameter No.5 0-1000 Weld speed 1 (Auto)
0-1000 Speed of electrode (Dress)
Parameter No.6 0-65535 Weld condition 2 (Auto)
Parameter No.7 0-1000 Weld speed 2 (Auto)
0-1000 Speed of electrode (Dress)
Parameter No.8 0-65535 Weld condition 3 (Auto)
Parameter No.9 0-1000 Weld speed 3 (Auto)
Parameter No.10 0-65535 Weld condition 4 (Auto)
Parameter No.11 0-1000 Weld speed 4 (Auto)
Parameter No.12 0-65535 Weld condition 5 (Auto)
Seam gun type
Parameter No.13 0-1
(0:Both type/1:One type)
Parameter No.14 0-30 Press value(mm) (One type)
Weld operation
Parameter No.15 0-1
(0:Continue/1:Pitch/2:Dress)
Parameter No.16 0-5000 Welding distance(mm) (Pitch)
Parameter No.17 0-5000 Idle distance(mm) (Pitch)
The Unit of Parameter No.5, No.7 and No.9 are changed by the parameter,“unit of velocity” in [Constant menu] [Spot
Welding Application] [Seam Welding] monitor. Details is explained by the manual of Seam Welding.
See
SEAMEND: Seam weld end (FN246)
SEAMSPDD: Seam electrode speed (FN247)
WELDCND: Spot condition output (FN33)
SEAMOV: Seam override (FN313)
Function commands(FN codes)
■ General description
Execution of this command ends seam welding started by the seam welding start function SEAMST.
From position attainment of the move command on which the function was recorded, weld signal turns off previously only the
order to time or order to distance specified with the parameter, and it ends welding. Then, rotations of electrodes are stopped at
the same time a robot is positioned by hold time progress. Next, gun signals are made to turn off and between electrodes are
opened wide. Furthermore, the following step is performed after the open waiting time progress specified with the parameter.
■ Example of operation
The robot shall move to a specified position according to specified motion command and end seam welding.
Record point
Robot speed
(Welding speed)
Gun signal
Weld signal
Hold distance
Hold time
Pressurization side
electrode
Settle side
electrode
■ Parameter
Parameter No.1 0-10.0 Time (sec)
0-5000.0 Distance (mm)
Parameter No.2 0-10 Open wait time (sec)
Pre-out timing of electric off
Parameter No.3 0-1
0:Order to time / 1:Order to distance
See
SEAMST: Seam weld start (FN245)
SEAMSPD: Seam electrode speed (FN247)
WELDCND: Spot condition output (FN33)
Function commands(FN codes)
■ General description
Fundamentally, the rotation speed of electrodes are automatically controlled after seam welding start function execution to
become the speed corresponding to a robot's speed. However, the speed of electrodes can be specified by this command to
tune speed only for a specific part finely.
■ Example of operation
Function execution point
Robot speed
(Welding speed)
Rotation speed
of electrode Set speed
■ Parameter
Speed 1
Parameter No.1 0-1000
Welding speed of move-side electrode.
Speed 2
Parameter No.2 0-1000
Welding speed of settle-side electrode.
The Unit of Parameter No.1 and No.2 are changed by the parameter, “unit of velocity” in [Constant menu] [Spot Welding
Application] [Seam Welding] monitor. Details is explained by the manual of Seam Welding.
See
SEAMST: Seam weld start (FN245)
SEAMEND: Seam weld end (FN246)
Function commands (FN codes)
■ General description
The equalize setting set by the EQUALIZE; Equalize value (FN287) function is cleared.
■ Parameter
Parameter This parameter specifies the welder number.
Welder No.
No. 1 (1–6)
See
SPOT ; Spot welding (FN119)
TIPDRESS ; Tip dress (FN265)
EQUALIZE ; Equalize value(FN287)
Function commands (FN codes)
■ General description
When this function command is executed, the specified palletizing can be started.
It is executed in tandem with the FN250 "Palletize end" command which is used to end palletizing.
■ Example of operation
As shown in the figure below, record “PALLET3: Palletize start” (FN249) in step N and “PALLET3 END: Palletize end” (FN250)
in step N+3.
When the program is played back and the robot reaches step N, the shift amount is calculated from the palletize number
specified by FN249 and the palletize counter, and the shift operation is performed. Step N+1 and step N+2 are shifted. (The
robot passes along the path indicated by the dotted lines in the figure below.) When it reaches step N+3, FN250 is executed,
and the palletizing operation is ended. The robot now heads toward the point where step N+4 is recorded.
StepN+3
FN48[1,0]
StepN+1
StepN+4
StepN
StepN+2
FN47[1]
Palletパレット
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Palletize 0:palletize
Parameter No.2
type 1:de-palletize
Layer count O-signal No. for layer counter. (1 to 1024)
Parameter No.3
signal The counter is outputted by binary data. This number shows the last bit.
Work count O-signal No. for work counter. (1 to 1024)
Parameter No.4
signal The counter is outputted by binary data. This number shows the last bit.
See
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
When this function command is executed, the specified palletizing work can be completed.
It is executed in tandem with the FN249 "Palletize start" command which is used to start palletizing.
■ Example of operation
As shown in the figure below, record “PALLET3: Palletize start” (FN249) in step N and “PALLET3 END: Palletize end” (FN250)
in step N+3.
When the program is played back and the robot reaches step N, the shift amount is calculated from the palletize number
specified by FN249 and the palletize counter, and the shift operation is performed. Step N+1 and step N+2 are shifted. (The
robot passes along the path indicated by the dotted lines in the figure below.) When it reaches step N+3, FN250 is executed,
and the palletizing operation is ended. The robot now heads toward the point where step N+4 is recorded.
Refer to the picture of FN249 PALLET3’s Help screen.
■ Parameter
Palletize No. This specifies the number of the palletizing operation which is to be ended. (1
Parameter No.1
to 100)
Completion
Parameter No.2 When the palletizing finishes all works, this O-signal is outputted. (1 to 1024)
signal
See
PALLET3: Palletize start (FN249)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
The specified palletize counter can be forcibly reset (cleared to zero).
If this function is executed while palletizing is under execution, the palletizing is forcibly terminated.
● Signals
When this function is executed, layer counter signal and work counter signal are cleared. And ACK signal is turned on.
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be reset. (1 to 100)
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
The robot enters the state of the standby if the designated input signal is turned off when this function is effective. Moreover,
when the designated input signal is turned on, the robot restarts operation.
■ Parameter
Parameter No. 1 1~4 Signal No.
Parameter No. 2 0~1 enabled/disabled(1/0)
Step1 Step4
Strobe signal
Bit0 Bit7
Bit8 Bit15
The output data (0 to 65535) specified by the function command (FN264) is converted into a 16-bit binary value, and the
general-purpose output signals concerned are set to ON or OFF. In order to provide the read timing of the output signals, one
strobe signal can be defined in addition to the 16 general-purpose output signals. (If this signal is not going to be used, its
number is zero.) It is not possible to specify other multiple output signals as signals which configure multiple output signals.
■ Parameter
This specifies the numbers of the multiple output signals to be output. It is defined in
Parameter Output signal
advance in the constants mode.
No. 1 number
(5101 – 5196)
Parameter This specifies the data to be output in the binary format by the multiple output signals.
Output data
No. 2 (0 – 65535)
■ Example of screen display
MULTIM [05102, 65535] FN264; Multiple output signals
See
OUTDIS: Discrete format output signals (FN43)
OUT: Binary format output signal (FN44)
Function commands (FN codes)
■ General description
During the course of welding, the tips of the electrodes eventually wear down and their shapes change. Since the shape of the
electrode tips determines the current density of the current-carrying path, proper welding cannot be performed if the electrodes
have worn down.
Therefore, before the wear amounts become significant and the welding quality is impaired, the electrodes must be ground and
reshaped. This work is known as “tip dressing”. A machine called a “tip dresser” is used to dress the tips. It has a rotary blade
matching the shape of the electrodes.
The electrodes are ground by rotating the rotary blade while pressure remains applied to the blade by the spot welding gun.
Normally, tip dressing is taught so that it is performed when the prescribed number of welding times or cycles have been
executed.
The tips are generally dressed by executing welding operations in the welding OFF status. For the rotational direction and
speed of the dresser and the time to be controlled, an interface using I/O signals between the robot controller and tip dresser is
required.
This function, which utilizes the characteristics inherent to a servo gun, divides the tip dressing cycle into six periods, two of
which are the tip dressing start time and the initial pressurizing time. By specifying the servo gun welding force and rotational
speed of the tip dresser for each of these periods, the function achieves high-quality tip dressing without using an external
sequencer.
Inputs FN265
Tip Dress
Function
Outputs
■ Example of operation
Proceed with the same teaching as for the spot welding function (FN119). Record the positions where contact has been made
on the tip dresser at both the moving and fixed sides, and record the tip dressing function TIPDRESS (FN265) in the step
concerned.
When TIPDRESS(FN265) is executed, pressure and rotating speed of tip dresser is controller under the condition that is
defined in Service / 20 Spot welding application / 3 Tip dress.
Servo gun
Pressure
Initial Real
pressure pressure Finish
Pre-pre pressure
ssure time
Tip Dresser
Rotating Speed
Rotation 3
Rotation 2
Rotation 4
Rotation 1 time
<output signals>
Tip dressing
Rotation 1
Rotation 2
Rotation 3
Rotation 4
The tip dressing signal is set to ON from the dress start time to the dress
stop time.
The rotational speed 1 signal is set to ON during the dress start time and
initial time. The rotational speed 2 signal is set to ON during the preliminary
time, and the rotational speed 3 signal is set to ON during the main time.
The rotational speed 4 signal is set to ON during the finishing time and
dress stop time.
(In the case of an air gun, the pressurizing force itself may be treated
as the output data of the pressurizing control signals.)
Input & output signals should be assigned in Constant setting / 3 Input & output / 2 Input signal assignment or 3 Output signal
assignment.
■ Parameter
Parameter Welder
This is used to specify the number of the tip dressing welder. (1-6)
No. 1 number
Tip dressing
Parameter
sequence is used to specify the sequence number to be used for tip dressing.(1-8)
No. 2
number
See
SPOT; Spot welding (FN119)
Application Command (FN Code)
Command
SPOT2
name
FN code 268
Title name Spot welding
Used to output welding signals according to the set
Outline
sequence.
Outline
By recording the spot welding function in steps in which welding is carried out, spot welding can be carried out in the steps
specified. Using this function enables the controller to program timing for outputting welding control signals such as
pressurization signal, weld start signal, and stroke signal without using any external programmable logic controller. In addition,
making setting of multiple welding conditions and welding sequence enables detailed welding control by welding point.
This function is used for both air guns and servo guns.
Examples of motions
Welding with air gun:
Passing preceding recording point Weld recording point Executing next step
Moving-side
electrode
Fully open
Half open
Fixed-side
electrode
Timing for stroke
(pressurization)
Fully-open signal
Passing preceding recording point Weld recording point Next recording point
Fixed-side clearance
Fixed-side
electrode
Fully-open signal
Half-open signal
Pressurization signal
Timing for releasing gun Weld completion waiting time Timing for starting robot movement
Parameters
Weld
Used to make setting of welding condition output data.
Parameter 1 condition
(Setting range: 0 to 65535)
output data
Weld Used to make setting of welding sequence number and also determine timing for
Parameter 2 sequence outputting pressurization signal, weld start signal, and stroke signal.
No. (Setting range: 1 to 64)
Used to make setting of gun pressure for pressurization. This parameter is ignored for
Parameter 3 Pressure welding with air gun.
(Setting range: 0.5 to 10.0 [kN], or 50 to 1,020 [kgf] depending on the selection of unit)
Used to make setting of thickness of plate to be welded.
Parameter 4 Thickness
(Setting range: 0 to 20.00 [mm])
Related commands
GSEA: Servo gun weld point search (FN167)
Function commands (FN codes)
■ General description
The tip consumption amounts can be cleared to zero using a function command. (They cannot be preset to the desired values.)
When the electrodes are to be replaced automatically, record this function command in the electrode replacement program.
Please refer to GSEA: Servo gun search (FN167) for the detail of Servo gun search.
■ Example of operation
When SGTIPRST (FN270) is executed, the moving tip or settled tip or both tip consumption of designated servo gun is reset.
Also, the tip consumption amounts can be cleared to 0 by the following method.
・ R code (R339)
・ Manual operation
・ Input signal
■ Parameter
Parameter Gun number This parameter specifies the number of the gun whose tip consumption amounts are to
No. 1 be reset. (1–31)
Tip selection This parameter specifies the tip whose amounts is to be reset. (0–2)
0: The consumption amount of only the moving side electrode is reset.
Parameter
1: The consumption amount of only the settled side electrode is reset.
No. 2
2: The consumption amounts of both the moving side and settled side electrode are
reset.
See
SPOT: Spot welding (FN119)
GSEA: Servo gun search (FN167)
GSER_ORDER: Servo gun search order (FN229)
Function commands (FN codes)
■ General description
When this function command is used, a character string which is input from the specified serial port can be read and then
stored in the specified character string variable. Only character strings consisting of up to 100 single-byte alphanumerics per
string can be read.
The robot stops until the input process of the character string is completed. If the process of inputting the character string could
not be completed even after the timeout time has elapsed, it is aborted, and execution is transferred to the next step.
■ Example of operation
When the step where the "INPUT: Strings input" (FN271) command is recorded is played back, the robot checks the
positioning and then waits for the data input from the specified serial port.
When any data is received during the specified timeout time, the received data is stored in the specified character string
variable. The standby status is released, and the robot moves to the next step.
If no data is input even after the timeout time has elapsed, the robot simply moves to execute the next step.
■ Parameter
Parameter Port number This is used to specify the number of the input destination port.
No. 1 At the present time, only port 1 can be used. (1 to 1)
Character string This is used to specify the number of the character string variable in which the
Parameter
variable number received character string is to be stored.
No. 2
(1 to 100)
Parameter Connection This is used to specify the timeout time.
No. 3 time out (1.0 to 60.0 sec.)
See
PRINT: Strings output (FN101)
RSCLR: RS232C Buffer clear (FN111)
Application Command (FN Code)
Command
CNVYSYNCCHG
name
FN code 274
Title name Conveyor synchronize select
Used to select a mechanism that is synchronized with
Outline the conveyor with the conveyor synchronization
function.
Outline
Using this application command makes it possible to specify a mechanism that follows the conveyor with the conveyor
synchronization function.
If this application command is not used, such mechanism will be determined in the order of slider and manipulator included in
the targeted unit. The mechanism is automatically selected in such a manner that the slider moves to the motion range in
synchronization with the conveyor, and then the manipulator is synchronized with it.
Example of motion
Enter a mechanism number that you want to synchronize with the conveyor.
Parameters
Mechanism Used to make setting of mechanism that is synchronized with the conveyor.
Parameter 1
No. (Setting range: 0 to 9)
Setting “0” to the mechanism number that you want to synchronize will return the system to the default state:
Default: The mechanism is automatically selected in such a manner that the slider moves to the motion range in
synchronization with the conveyor, and then the manipulator is synchronized with it.
■ General description
This function command proceeds with playback while shifting the recorded position in the robot program on the basis of the
shift amount data stored in the specified shift register. If the shift amount data has not been set in the specified shift register, it
is possible to jump to the shelter step. Alternatively, the robot can be stopped immediately without escaping.
It is similar to FN52 (shift 2) excluding the thing that the shift processing method and the shift are always done in the machine
coordinate system.
■ Operation example
The shift beginning is recorded at position Step N where the shift wants to begin as shown in the figure below and the shift
end is recorded in position (Step N+2) 'which wants to end shifting. The robot reads the content of the shift register specified
with FN275 after it reaches step N, and faces position (Step N+1) 'by which the following target position Step N+1 is shifted
when reproducing. The robot works as a target position, position where the record position was similarly shifted to position
(Step N+2) 'where the shift end is recorded.(solid line tracks of figure below)
The shift is done in the machine coordinate system regardless of the coordinate system selection.
(Step N+2)’
(Step N+1)’ FN275(0,R1,N+6)
Step N
FN275(1,R1,N+6)
Y
When FN275 is executed in step N, if the shift data is not set when the specified shift register is read, the robot faces the
shelter step (Step N+6) which is set with FN275.
WORK
Y
Robot coordinate
Y’
The work when teaching and the position of the robot are shown by the solid line. (Hereafter, explain by two dimensions for
the simplification of the explanation)
Two point chain line shows the thing which shifts more than the position of work teaches, and also shows the appearance by
which robot coordinate system (X'-Y') is described to become as the work when the shifting work is taught is the same as the
relative position between robots.
X Y
3. Robot coordinate system (X-Y) sequentially
(1) θx rotation X axially of robot coordinate system (X-Y)
(2) θy rotation Y axially of robot coordinate system (X-Y)
(3) θz rotation Z axially of robot coordinate system (X-Y)
(4) X, Y, and Z translation in robot coordinate system (X-Y).
It becomes robot coordinate system (X'-Y') in robot coordinate system
■ Parameters
Parameter This is used to specify the start or end of the shift operation.
Start/End
No. 1 1: Start / 0: End
Parameter Shift register This is used to specify the shift register number.
No. 2 number (1 to 9)
This is used to specify the number of the shelter step when the shift amount data
was not set in the specified shift register.
Parameter Shelter step (0 to 10000)
No. 3 When 10000 is specified as the shelter step number, an alarm (A2118: “No data has
been input in shift register.”) results immediately with no escape operation performed,
and the robot can be stopped.
See
This function begins processing before the record point reaches. Therefore, it is necessary to have been set before the shift amount data
processing.
When shift amount data is set by using SREQ: Shift amount request (FN51) or SREQ2: Shift amount request 2(FN315), it is better to record
WAITR: Wait shift value receive(FN127) before this function, to confirm the shift amount data is surely input.
Function commands (FN codes)
■ General description
With this function command, the playback speed of the robot can be changed in accordance with digital input signals. It is
necessary to design the velocity override patterns (Constant Setting / Signals / Velocity override depend on input) and allocate
input signals beforehand in the "Constant Setting" mode.
Four digital input ports are provided, any of which can be specified.
■ Example of operation
In the following diagram, record "SPDDOWND (FN277) / Start" in steps 4 and 7, and "SPDDOWND (FN277) / End" in step 9.
When this is played back, the velocity override is performed by digital input signals in the sections indicated by the bold lines in the
diagram. As far as step 6 the operation is performed in accordance with the port 1, and as far as step 8 in accordance with the port
2. Thus, the command played back later has priority.
Step 4 Step 7
SPDDOWND: SPDDOWND:
Digital input speed override Digital input speed override
Start, port1 Start, port2
3 5 11
2 10
6
8
The velocity
1 override is enabled
in the steps Step 9
indicated by bold SPDDOWND:
lines Digital input speed override
End
If the rate of velocity override by f keys and R codes is set to 50% and that by input signals set to 50%, the actual rate of
velocity override is 25% (50% x 50%).
The velocity override by analog input (FN169) is also available, yet this cannot be used together with the SPDDOWND
command.
■ Parameter
Parameter Specify whether to start or end the velocity override by input signals.
Start/end
No. 1 (1: Start, 0: End)
Parameter Select the digital input port to refer to from the four ports. It is ignored when "0: End" is
Input port No.
No. 2 selected as the setting of the parameter No.1. (1 to 4)
The correspondence between digital input signals and speed override must be designed beforehand using "Constant Setting
→ Signals → Velocity override depend on input". The velocity override by input signal cannot be set over 100%.
In addition, 7 bits per port must be allocated to the digital input signals (Constant Setting → Signals). The speed override is
executed by reading out this signal in the binary format and referencing the above table.
If not even one digital input signal has been allocated, the speed override will not function.
See
SPDDOWNA: Analog input speed override (FN169)
Function commands (FN codes)
■ General description
When this function command is used, the TCP (robot tool center point) linear speed and other data can be output to an external
device as 12-bit digital values (0 to 4095) using general-purpose output signals. They are useful for sealing and other applications.
The TCP speed, a direct specification or OFF can be selected as the output data.
The output signals must be allocated in advance (⇒ Constant Setting/Signals). When the TCP speed has been specified, the
TCP speed output data must be designed ahead of time (⇒ Constants/TCP speed data).
One output port is provided for each TCP speed output pattern. (6 ports)
This command can be executed before the recorded point is reached. Specify its amount as a time or distance.
Step 7
DOUT: Digital output
(FN278)
Step 6
●
DOUT Step 8
execution ●
timing First-out can be
specified by time or
Step 5 distance
●
Digital output
■ Example of operation
Record the DOUT command (FN278) in steps 2, 5, 7 and 11 in the figure shown below.
When the program is played back, the output changes to the specified data each time the DOUT command (FN278) is
executed. The output value remains unchanged at those steps in which the DOUT command (FN278) has not been recorded.
DOUT DOUT DOUT DOUT
[TCP speed] [Number A] [TCP speed] [OFF]
13
2 5 7 11
END
Step ● ● ● ● ● ● ● ●
1 3 4 6 8 9 10 12
Time
If a first-out time of 0.2 sec. has been specified in the DOUT command of step 7 in this example, the output changes from
numerical data A to the TCP speed 0.2 sec. before the robot reaches step 6 (the previous movement command).
In the teach mode, any data can be output by performing a manual operation (shortcut R278).
The data which is output last is held even if the mode is switched between teach and playback mode.
■ Parameter
Parameter This is used to specify the number of the output signal port from which data will be
Port number
No. 1 digitally output. (1 to 6)
This is used to specify the type of data to be output digitally. (0 to 2)
Parameter Output signal 0: OFF (“0” is output)
No. 2 type 1: TCP speed
2: Directly specified
When output signal type = 0:
This recorded data is not used.
When output signal type = 1:
This recorded data is not used.
Parameter
Output data (With digital outputs, the speed pattern numbers and output signal port numbers
No. 3
correspond on a 1:1 basis.)
When output signal type = 2:
Directly specify the output data.
(0 to 4095)
This enables the output to be started before the recorded point is reached. Select the
Parameter specification method. (0 to 1)
Pre-out type
No.4 0: Specified as a time
1: Specified as a distance
This is used to initiate pre-out using a negative numerical value.
Parameter
When pre-out type = 0:
Pre-out data Specify it as a time. (–1.0 to 0 sec.)
No. 5
When pre-out type = 1:
Specify it as a distance. (–500 to 0 mm)
See
AOUT: Analog output (FN046)
DPRESETM: Distance specification output preset (FN280)
Function commands (FN codes)
■ General description
Separate the servo gun from the robot.
During servo gun separating, because the servo gun axis is separated from the robot, at the external signal it
becomes possible to operate.
At external play stop and emergency stop, it stops also the servo gun axis.
External operation)
Ext. squeeze, Wide open, Small open, Ext. gun search1~3
■ Parameter
Parameter No. 1 1~6 Welder No.
Parameter No. 2 0~1 Separation/Release(1/0)
■ Status display
During servo gun separating, icon is indicated.
Function commands (FN codes)
■ General description
When this function command is executed, it is possible to set any one of the general-purpose output signals (O1 to O2048) to
ON or OFF. And this enables advanced output designated by distance from the recorded point.
However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun signals
and starting signal) to ON or OFF. Which signals have been assigned as status signals can be identified on the monitor screen.
Signals whose numbers are displayed in the bold italics are status signals so any of the other signals can be set to ON or OFF.
■ Example of operation
Robot path Step2 Step3
Accuracy DPRTESETM(FN280)
Advancing
distance
Step1 Step4
Output signal
Time
In advanced output, the output can cover plural MOVE steps. Advancing distance is calculated linear length from recorded
point, so if MOVE step is recorded by JOINT output point differs from the real moving length of robot TCP.
■ Parameter
This specifies the number of the general-purpose output signal which is to be set to ON
Parameter Output signal
or OFF.
No. 1 number
(1-2048)
Parameter "1" is specified for ON, and "0" for OFF.
ON/OFF
No. 2 (0-1)
This specifies the output advancing timing that is designated by the linear
Parameter
No. 3
Output timing length from the recorded point.
(-500 - 0) [mm]
See
ALLCLR; All output signals clear (FN0)
SET; Output signal ON (FN32)
RESET; Output signal OFF (FN34)
SETO; Consecutive output signal ON/OFF (FN100)
SETM; Output signal ON/OFF (FN105)
SETMD; Output with pulse or delay ON/OFF (FN35)
Function commands (FN codes)
■ General description
When this function command is executed, the weld controller number to be used by the welding function (FN119) and the
welding condition group number are designated.
■ Example of operation
If spot welding command is executed without designating spot weld condition group number,
Alarm “A2063: Weld condition group number is not set.” is detected and robot stops. FN282 must be recorded
before FN119.
■ Parameter
Parameter Welder This specifies the weld controller number. Its maximum number is according to the
No. 1 number registered data.
Parameter This specifies the weld condition group number.
Group number
No. 2 (1 to 16)
See
Function commands (FN codes)
■ General description
This command is used to the equalizing motion as defined by the servo gun.
1. The equalize start is order position to before the pressing motion.
2. The equalize end is order the open position to after the pressing motion.
Moving tip
WI
Equalize start :
Settle-tip Equalize end :
Settle-tip
Settled tip
Spot welding command and tip dress command is referring to after this command.
A Step zero, EQUALIZECLR; Equalize clear (FN248) is executed to the release of this command.
And, you can confirm current equalize setting by Servo gun data monitor and Equalize confirmation / clear (R376).
■ Parameter
Parameter This parameter specifies the welder number.
Welder No.
No. 1 (1–6)
This is used to specify the equalizing motion as defined by the pressing start position
Parameter Equalize Start : by moving tip.
No. 2 Move-tip Range: Clearance Limit : move-tip – Large opening end(#1)
Initial value: Clearance : move-tip
This is used to specify the equalizing motion as defined by the pressing start position
Parameter Equalize Start : by settled tip.
No. 3 Settle-tip Range: Clearance Limit : settle-tip – Large opening end(#1)
Initial value: Clearance : settle-tip
This is used to specify the equalizing motion as defined by the open position by
Parameter Equalize End : moving tip.
No. 4 Move-tip Range: Clearance Limit : Move-tip – Large opening end(#2)
Initial value: Clearance : move-tip
This is used to specify the equalizing motion as defined by the open position by
Parameter Equalize End : settled tip.
No. 5 Settle-tip Range: Clearance Limit : settle-tip – Large opening end(#2)
Initial value: Clearance : settle-tip
#1 [Equalize Start: Move-tip + Equalize Start: Move-tip] value is limited the Large opening end value.
#2 [Equalize End: Move-tip + Equalize End: Move-tip] value is limited the Large opening end value.
See
SPOT ; Spot welding (FN119)
TIPDRESS ; Tip dress (FN265)
EQUALIZECLR ; Equalize clear(FN248)
Function commands (FN codes)
■ General description
This function calibrates the robot using the DynalogFMS. This makes it possible to improve the accuracy of a robot program.
IF the [FN296 Measurement point] is executed after starting a calibration cycle, the current position of the TCP will be
measured. If the calibration cycle is finished after the measurement of each point, the characteristic of the robot will be
calculated automatically and the robot program will be compensated based on the result.
■ Example of operation
When the step where the "DYNCALIBROB: Robot calibration" (FN295) command is recorded is played back, the robot checks
the positioning and then waits for the Reply data from Dynalog PC.
When any data is received during the specified timeout time, the standby status is released, and the robot moves to the next
step.
If no data is input even after the timeout time has elapsed, the robot jumps to the specified escape step.
■ Parameter
Calibration When “1” is designated, a calibration cycle will be started.
Parameter
Start/Finish When “0” is designated, a calibration cycle will be finished.
No. 1
(0 –1 )
Parameter Alphanumeric character
Robot program name
No. 2 (Max 8 characters)
Parameter Alphanumeric character
Vision model name
No. 3 (Max 8 characters)
This specifies the wait unit in seconds.
Parameter
Wait time IF “0” is designated, the robot will forever.
No. 4
(0.0 – 300.0)
This specifies the number of the step to which the robot is to jump if condition
Parameter is not satisfied even though the wait time has elapsed. Any step in the same
Escape destination step
No. 5 program can be designated.
(1 – 9999)
See
DYNMESPOS: Measurement point (FN296)
Function commands (FN codes)
■ General description
This function calibrates the robot using the DynalogFMS. This makes it possible to improve the accuracy of a robot program.
If this function is executed after starting a calibration cycle [FN295 Robot calibration], the current position of the TCP will be
measured. If the calibration cycle is finished [FN295 Robot calibration] after the measurement of each point, the characteristic
of the robot will be calculated automatically and the robot program will be compensated based on the result.
■ Example of operation
When the step where the "DYNMESPOS: Measurement point" (FN296) command is recorded is played back, the robot checks
the positioning and then waits for the measurement completion data from Dynalog PC.
When measurement completion data is received during the specified timeout time, the standby status is released, and the
robot moves to the next step.
If no data is input even after the timeout time has elapsed, the robot jumps to the specified escape step.
■ Parameter
Parameter Robot position name Alphanumeric character
No. 1 (Max 8 characters)
See
DYNCALIBROB: Robot calibration (FN295)
Function commands (FN codes)
■ General description
About mechanism change itself, please refer to description of function CHGGUN; mechanism change (FN95).
CHGGUN (FN95) is dedicated to mechanism 2 only, but on the other hand mechanism can be designated on CHGMEC
(FN301).
This point is only difference between CHGGUN (FN95) and CHGMEC (FN301).
■ Example of operation
Please refer to CHGGUN; mechanism change (FN95).
■ Parameter
Parameter Mechanism Specify the mechanism number to be connected or disconnected. (1-9)
No. 1 number
Connect / This is used to specify whether the mechanism is to be connected or disconnected.
Parameter
Disconnect O; Connect
No. 2
1; Disconnect
See
CHGGUN; Mechanism Change(designated to mechanism 2 only)(FN95)
Application Command (FN Code)
Command
CHGXXMEC
name
FN code 302
Title name Mechanism change
Outline Used to select a mechanism to be operated manually.
Outline
For mechanism change, refer to information on the Application Command CHGXXGUN: Mechanism change (FN238).
While the CHGXXGUN (FN238) is a command dedicated to Mechanism 2, the CHXXMEC (FN302) can specify arbitrary
mechanisms.
Except for that point, this command is the same as the CHGXXGUN (FN238).
Example of motion
For detail, refer to information on the Application Command CHGXXGUN: Mechanism change (FN238).
Setting the Parameter 1 to Mechanism 2 will provide exactly the same motion as that provided by the CHGXXGUN (FN238).
Parameters
Used to make setting of mechanism number to perform change operation.
Parameter 1 Mechanism No.
(Setting range: 1 to 9)
Sub-mechanism Used to make setting of sub-mechanism number.
Parameter 2
No. (Setting range: 1 to 31)
Related commands
CHGXXGUN: Mechanism change (dedicated to Mechanism 2) (FN238)
Application Command (FN Code)
Command
SYNCSPOT
name
FN code 303
Title name Spot sync welding
Outline Used to weld with two servo guns at a time.
Outline
This is a command to control special servo gun that enables welding at two weld points at a time as one of multi gun system
patterns. Since this command enables spot welding at two points at a time, cycle time can be significantly reduced.
There are limits to workpiece shapes that can be welded.
For detail of multi-gun synchronous welding, refer to information in the “Multi-gun synchronous welding” section in
the “APPLICATION MANUAL / SPOT WELDING”.
Parameters
Parameter 1 Welder No. Used to makes setting of welder number used for welding. A gun set with this
parameter serves as the master for synchronous welding.
(Setting range: 0 to 6)
Parameter 2 Weld condition Used to make setting of welding condition number that determines the pressure,
No. welding condition signal, and others of a gun set with the Parameter 1.
(Setting range: 1 to 255)
Parameter 3 Weld sequence Used to make setting of welding sequence number that determines timing for
No. outputting the pressurization signal, weld start signal, and stroke signal a gun set with
the Parameter 1.
(Setting range: 1 to 64)
Parameter 4 Welder No. Used to makes setting of welder number used for welding.
(Setting range: 0 to 6)
Parameter 5 Weld condition Used to make setting of welding condition number that determines the pressure,
No. welding condition signal, and others of a gun set with the Parameter 4.
(Setting range: 1 to 255)
Parameter 6 Weld sequence Used to make setting of welding sequence number that determines timing for
No. outputting the pressurization signal, weld start signal, and stroke signal a gun set with
the Parameter 4.
(Setting range: 1 to 64)
Parameters 7 Welder No. Used to make settings of welder number, welding condition number, and welding
to 18 Weld condition sequence number for the third and later welders following the setting procedure for
No. the first and second welders.
Weld sequence
No.
Parameter 19 Weld point No. Used to control weld points. If a weld fault occurs, the relevant weld point number will
be output, thus making it possible to identify the weld point. To disable this function,
set this parameter to “0”.
(Setting range: 0 to 16000)
Related commands
SPOT: Spot welding (FN119)
Function commands (FN codes)
■ General description
This command controls the start and end of the alignment function.
From the Parameter No.3 onward, the values are automatically substituted in when the alignment standard is written.
When the function is recorded, they must be set to zero.
■ Operation example
[Unload direction 1]
In case the sensing position and the unload position are on the same
side, relative to the slider axis.
Sensor
Slider
axis
Sensor
Sensing pos.
Slider
axis
Unload pos.
[Unload direction 2]
In case the sensing position and the unload position are on the
opposite side, relative to the slider axis.
About rotary alignment shift action (The same applies to both right and left alignment.)
The rotary alignment shift action is used to carry out the shifts (1) to (3) shown below at a time.
(1) Used to carry out a shift by the amount of misplacement of the glass in the rotation direction (the direction of the J3 axis).
∗ For the right and left alignment, this shift amount [DEG] is stored to the set real variable number.
Negative direction
Insertion direction
Positive direction
(2) Used to carry out a shift by the amount of misplacement of the glass in the front and back directions (the direction of the J5
axis for the hand on the right side or that of the J4 axis for that on the left side).
∗ For the right and left alignment, this shift amount [DEG] is stored to the set real variable number.
Shift of front-back axis
- Plan view
Insertion direction
(3) Used to carry out a shift by the amount of misplacement of the glass in the lateral direction (the direction of the slider axis).
∗ For the right and left alignment, this shift amount [mm] is stored to the number of the set real variable number plus 2.
Positive direction
Insertion direction
Negative direction
Glass position for alignment
■ Parameters
Parameter Start/ end Set 1 to start alignment and 0 to stop it.
No.1
Parameter Shift type Set the type of shift.
No.2 0: Rotary shift
1: Parallel shift, fixed sensor 1, unload direction 1.
2: Parallel shift, fixed sensor 2, unload direction 1.
3: Parallel shift, fixed sensor 1, unload direction 2.
4: Parallel shift, fixed sensor 2, unload direction 2.
Parameter Set standard Indicates whether alignment standard writing has been completed.
No.3 value When the function is set, it must be set to zero.
Parameter Standard 1 When the function is set, it must be set to zero.
No.4
Parameter Standard 2 When the function is set, it must be set to zero.
No.5
See
ALIGNR ; Right alignment (FN320)
ALIGNL ; Left alignment (FN321)
ALIGNT ; Slider alignment (FN322)
Function commands (FN codes)
■ General description
This command controls the start and end of mapping.
■ Parameters
Parameter Start/ end Set 1 to start mapping and 0 to stop it.
No.1
Parameter Cassette Set the cassette number.
No.2 number (1 - 32)
See
Application Command (FN Code)
Command
GETTIPCON
name
FN code 306
Title name Get tip consumption
Outline Used to get tip consumption amount.
Outline
Using this command makes it possible to get the consumption amounts of the moving- and fixed-side gun tips.
Parameters
Used to make setting of gun number which you want to detect the tip consumption
Parameter 1 Gun No. amount.
(Setting range: 1 to 31)
Moving-side Used to make setting of variable in which the consumption amount of the moving-side
Parameter 2 save variable tip is saved.
No. (Setting range: 1 to 200)
Fixed-side Used to make setting of variable in which the consumption amount of the fixed-side
Parameter 3 save variable tip is saved.
No. (Setting range: 1 to 200)
Related commands
Short-cut (R code)
R code 307
Title name Press brake shelter
This executes retreat actions after work process, in the
Outline
press brake synchronization function.
■ Outline
When this function is used, the tool tip coordinates of the first manipulator registered in the unit are taken into real
variables. The robot moves to the position with addition of the "retreat distance" of the press brake data to the coordinates.
At movement, it retreats at the speed designated by the "retreat distance" of the press brake data.
■ Action example
Parameter Conveyor This designates a conveyor number registered as press brake. (1-2)
No.1 number
This designates the start number of the real variables to store the current robot
position values (X, Y, Z, R, P, Y). (1-195)
The position values are stored to 6 real variables sequentially from the designated
real variables.
Parameter Real variable V![Start variable number] =X
No.2 number V![Start variable number+1] = Y
V![Start variable number+2] = Z
V![Start variable number+3] = R
V![Start variable number+4] = P
V![Start variable number+5] = Y
Reference
PRSD; Read press data (FN308)
Function commands (FN codes)
Command
PRSD
name
FN code 308
Title name Read press data
This reads a press brake synchronization setting file, in
Outline
the press brake synchronization function.
■ Outline
When this function command is executed, the synchronization data registered in PRESS.CON file is read.
■ Action example
Parameter Conveyor This designates a conveyor number registered as press brake. (1-2)
No.1 number
Parameter Press data This designates a press condition number to be read. (1-10)
No.2 number
Reference
PRSS; Press brake shelter (FN307)
Function commands (FN codes)
■ General description
Only one-axis mechanism can use the function. And it must be set an endless axis. Allowed endless type is an speed control
type or change control type.
The rotation speed of an endless axis can be freely changed between arbitrary record points.
When this function is used for a change control type endless axis, it is necessary to change the velocity control by the
CHGENDLESS; Change endless control (FN373).
■ Parameter
First parameter Explanation
Mechanism No. This specifies the mechanism number of an endless axis. (1-9)
See
CHGENDLESS; Change endless control(FN373)
Function commands (FN codes)
■ General description
This function code is used combine with the input functions such as INP, INPB, GETSIG, and GETSIGB, of the robot
language and the signal acquisition timing may be matched to actual step execution.
In the AX controller, the step execution processing is done in AX to make the robot work smoothly, and the robot works
follows to it.
Therefore, a part of application instruction is executed earlier than the displays executing. (execution step ahead)
・
・
・
M OVE
↓
M OVE Actual
executing step
↓
FU N CTIO N
↓
Executing step
FU N CTION
inside A X
controller ↓
M OVE
・
・
・
When this function is executed waits until execution is controlled the step ahead, and the execution step in AX is
corresponding to an actual execution step.
Afterwards, the step execution is restarted as usual.
・
・
・
M O VE
↓
Waits until the execution Actual
M O VE
step on the inside is executing step
corresponding to an ↓
actual execution step.
FU N CTION
↓
Executing step Actual
IN H(FN 310)
inside AX executing step
controller ↓
FU N CTIO N
After the step agrees, the
step execution is ・
restarted as usual. ・
・
■ Parameter
None
■ General description
When performing seam welding on 3-dimensional space, a difference appears in the welding speed of move-side electrode
and settle-side electrode by the thickness of a work. According to this speed difference, the rotation speed of electrode can be
adjusted automatically, and welding by the optimal electrode rotation can be performed. In this command, the thickness of the
work used as the basement of the amount of compensation is specified.
■ Example of operation
When welding the work of 3-dimensional form as shown in the following figure by setting work board thickness by this
command, according to board thickness, the rotation speed of electrode can be changed automatically, and it can weld at the
electrode rotation speed optimal at a work contact surface.
Move-side electrode
Fast
Teaching
Settle-side Line
electrode Work
Slow
■ Parameter
Panel thickness[mm]
Parameter No.1 -100.0 - 100.0
Set the thickness of the work.
See
SEAMST Seam weld start (FN245)
Function commands (FN codes)
■ General description
In the field bus function, when AX is used as master, the error detection is done in each slave connected with it. This function is
used to invalidate the error detection of a specific slave temporarily because of the mechanism change etc.
Enabled/Disabled of the error detection is switched specifying the slave node of each field bus master by using this function.
In the example of the figure below, the example of invalidating the error detection of slave 2 which leads to mastering is shown
by using this application instruction. When slave 1 occurs the error, mastering detects the error in the figure below. However,
even if slave 2 occurs the error, mastering does not detect the error.
Master
Slave 1
(Node no:1)
Slave 2
(Node no:2)
Slave 3
(Node no:3)
■ Example of operation
An example is given for tool changing system where the signals have been allocated as shown in the figure below. The method
shown here represents an example only, and will actually differs on the environment that depends on the customer’s facility.
The error does not occur even if it is a field bus disengaging (error detection invalidity) and the specified slave node is
physically cut off in step N+2 before the disengaging of the mechanism.
It is a field bus disengaging (effective the error detection) in STEP N+15 after enough time passes until the mechanism is
connected in step N+13 and the link of the field buses establishes, and the error detection of the field bus is restarted.
< Note >
It is necessary to see enough time until the link establishes before executing the field bus disengaging (effective the error
detection) after reconnecting the field bus. Error "E0960 A part or all I/O links are stopping." is generated when becoming the
error detection effective before the field bus link is established.
Time until the link establishes after reconnecting the field bus is different according to the system environment etc. which the
customer uses.
When field bus master is connected with the field bus slave by one-to-one, one example of the average time until the link
establishes is shown as follows.
Protocol type Average time until the link establishes
Device net 8-10[sec]
Device net
2[sec]
(Quick Connect Enable)
CC-Link 2[sec]
JEMANET 1[sec]
PROFIBUS 2[sec]
■ Parameter
Parameter Channel No. Channel number which the field bus master is using is specified.(1-4)
No. 1
Parameter Slave The slave node number of the object of the error detection is specified.
No. 2 Node No. (0-127)
Error detection Enabled/Disabled of the error
Parameter
Enabled/Disabled detection is specified.
No. 3
(0=Disabled/1=Enabled)
■ General description
This function overrides the rotational speed of the electrode to the welding speed according to the correction rates specified by
the parameter.
The override values are cleared when step 0 of the unit that contains the electrode mechanism executions.
Note)
The rotational speed is not corrected in the welding off.
■ Example of operation
Function execution point
Robot speed
(Welding speed)
Override
Rotation speed
of electrode
If this function is executed before welding, the override values which are specified by this function are applied at time when the
welding is begun.
When this function is executed again during welding at the override speed, the rotational speed of the electrodes is changed at
the override speed newly specified.
■ Parameter
Parameter No.1 -20-20 Override (Move) [%]
Parameter No.2 -20-20 Override (Settle) [%]
See
SEAMST: Seam weld start (FN245)
SEAMEND: Seam weld end (FN246)
Function commands (FN codes)
0x21 0x07 T ID
Robot
controller
RS232C cable
Visual device
Shift amount data
0x06 0x1B 0x16 X Y Z R P W
When this function command is executed, following binary data is output from the RS232C port, and the shift amount data is
thereby requested.
0x21 0x07 T ID
Here, T and ID is as followed.
T = time out (4 bytes integer [msec])
Designated time value is transmitted from lower byte to upper byte.
ID = ID of virtual frame (1 byte integer)
The robot continues to operate even after the request data has been output.
When the shift amount data is input from the external device in the following format, it is stored in the specified shift register.
0x06 0x1B 0x16 X Y Z R P W
Here, from X to W is following binary data received from lower byte to upper byte. XYZ direction is right hand coordinate
system.
X = X direction shift amount (4 byte floating real value [mm])
Y = Y direction shift amount (4 byte floating real value [mm])
Z = Z direction shift amount (4 byte floating real value [mm])
R = Rotating amount on Z axis (4 byte floating real value [degree])
P = Rotating amount on Y axis (4 byte floating real value [degree])
W = Rotating amount on X axis (4 byte floating real value [degree])
The receive time, wait time and communication conditions are set by selecting "8 Communication" from "Constant Setting" and
then "1 Serial port." The data input wait time can be set in "Timeout time," and if this is set to "0," the serial port will remain in
the wait status until an input arrives. (The robot continues to operate.) If this function is again executed while waiting for the
previous receive, next request command is not sent until receiving is completed. But time out is set to “0” and
FN111(RSCLR) is executed, waiting status is abort.
■ Example of operation
As shown in the figure, when SREQ2 (FN315) is executed, the shift amount request command is sent to the external device
through the serial port, and it is ensured that the data can be received at any time. The robot continues to operate as is and
heads toward step N+1. When the shift data is received from the external device at any position, the legitimacy of the data is
checked, and the data is stored in the specified shift register only when the data is found to be legitimate.
But received shift data is committed after executing the function “WAITR: Wait shift value receive” (FN127) which is
programmed at step N+2.
This shift register value is used for the shift operations by the "SHIFTR: Shift2" (FN52) or such other command.
Shift amount
request command PC
Shift data
Response data
If the response data from the external device is sent in any other format, the values will not be set correctly in the shift register.
■ Parameter
This is used to specify the number of the shift register in which to store the shift amount
Parameter Shift register
received from the external device.
No. 1 number
(1 to 9)
This is used to specify the number of the port to be used to transfer the data. At the
Parameter
Port number present time, only port 1 can be used.
No. 2
(1 to 1)
This is used to specify the waiting time.
Parameter
Time out (0.0 to 3600.0 sec)
No. 3
This is sent as the time out data of sending command to the vision sensor.
Parameter Virtual frame This is used to specify the virtual frame ID of the vision sensor.
No. 4 ID (0 to 255)
■ Example of screen display
See
SHIFTR: Shift2 (FN52)
RSCLR: Buffer clear (FN111)
WAITR: Wait shift value receive (FN127)
CLRREGWR: Clear register of written sts (FN699)
Application Command (FN Code)
Command
SYNCSPOTIWB
name
FN code 316
Title name Spot sync welding
Used to weld with two servo guns at a time.
Outline
(dedicated to welding I/F=MEDbus only)
■ Outline
This function is dedicated to the MEDAR spot welder (IWB timer controller) interface application only. (welding I/F=MEDbus)
This is a command to control special servo gun that enables welding at two weld points at a time as one of multi gun system
patterns. Since this command enables spot welding at two points at a time, cycle time can be significantly reduced.
There are limits to workpiece shapes that can be welded.
For detail of multi-gun synchronous welding, refer to information in the “Multi-gun synchronous welding” section in
the “APPLICATION MANUAL / SPOT WELDING”.
■ Parameters
Used to makes setting of welder number used for welding. A gun set with this
Parameter 1 Welder No. parameter serves as the master for synchronous welding.
(Setting range: 0 to 6)
Weld sequence Used to make setting of welding sequence number with the Parameter 1.
Parameter 2
No. (Setting range: 1 to 255)
Used to makes setting of welder number used for welding.
Parameter 3 Welder No.
(Setting range: 0 to 6)
Weld sequence Used to make setting of welding sequence number with the Parameter 3.
Parameter 4
No. (Setting range: 1 to 255)
Welder No. Used to make settings of welder number and welding sequence number for the
Parameters 5
Weld sequence third and later welders following the setting procedure for the first and second
to 12
No. welders.
Used to control weld points. If a weld fault occurs, the relevant weld point
number will be output, thus making it possible to identify the weld point. To
Parameter 13 Weld point No.
disable this function, set this parameter to “0”.
(Setting range: 0 to 16000)
Related commands
SPOTIWB1: Spot welding (FN199)
Function commands (FN codes)
■ General description
The analog signal input is prepared two channels for the servo amplifier. The analog input signal has the unavoidable offset
value when it is 0V. The measurement accuracy of the analog input signal decreases if the influence of the offset is not
removed.
This function executes the autozero of the analog input, and removes the influence of the offset.
■ Example of operation
This function is used as follows.
We recommend that this function is executed at the beginning of the program when the analog input signal is used.
For the convenience, the above-mentioned functions is used as the user macro.
Please execute this function when the analog input signal is always 0V. The measurement accuracy of the
analog input signal decreases when executing it, except when the analog input signal is 0V.
■ Parameter
None.
■ General description
Glass panel transferring allocation only.
This command controls the start and end of the right alignment function.
Right alignment is performed by the right arm seen from the robot rear.
From the Parameter No.3 onward, the values are automatically substituted in when the alignment standard is written.
When the function is recorded, they must be set to zero.
■ Operation example
Alignment shift is carried out in two steps. One shift is glass rotating direction and another one is slider direction.
Alignment shift is carried out according to the deviation compared with the base position. So at first, base position registration
is necessary using the master work (glass).
Alignment shift amount is stored into the designated global real variables on the order of J3 axis shift amount [DEG] ->
front/back axis (J5) shift amount [mm] -> slider shift amount [mm].
For example, when real variable No.100 is designated, each data is stored as followed.
V![100] is occupied by J3 axis shift amount [DEG]
V![101] is occupied by front/back axis (J5) shift amount [mm]
V![102] is occupied by slider shift amount [mm].
So free real variables is maximum 198.
Top view
Hand folk
Inserting direction
Slider direction
3 shift amount calculated by alignment are stored into the real variables designated by argument.
n designated real variables number
V![n] Rotating (J3) axis shit amount (plus/minas is based on monitor data)
V![n+1] Front/back (J5) axis shit amount (plus/minas is based on monitor data)
V![n+2] Slider shit amount (plus/minas is based on monitor data)
Slider direction
■ Parameters
Parameter
Start/ end Set 1 to start alignment and 0 to stop it.
No.1
Parameter
Real variable number Set the real variable number to store the shift amount. (1 to 198)
No.2
Parameter Indicates whether alignment standard writing has been completed.
Set standard value
No.3 When recording, this must be set to “0”.
Parameter
Standard 1 When recording, this must be set to “0”.
No.4
Parameter
Standard 2 When recording, this must be set to “0”.
No.5
See
ALIGNMENT ; Alignment (FN304)
ALIGNL ; Left alignment (FN321)
ALIGNT ; Slider alignment (FN322)
Function commands (FN codes)
■ General description
Glass panel transferring allocation only.
This command controls the start and end of the left alignment function.
Left alignment is performed by the left arm seen from the robot rear.
From the Parameter No.3 onward, the values are automatically substituted in when the alignment standard is written.
When the function is recorded, they must be set to zero.
■ Operation example
Alignment shift is carried out in two steps. One shift is glass rotating direction and another one is slider direction.
Alignment shift is carried out according to the deviation compared with the base position. So at first, base position registration
is necessary using the master work (glass).
Alignment shift amount is stored into the designated global real variables on the order of J3 axis shift amount [DEG] ->
front/back axis (J5) shift amount [mm] -> slider shift amount [mm].
For example, when real variable No.100 is designated, each data is stored as followed.
V![100] is occupied by J3 axis shift amount [DEG]
V![101] is occupied by front/back axis (J5) shift amount [mm]
V![102] is occupied by slider shift amount [mm].
So free real variables is maximum 198.
Top view
Hand folk
Inserting direction
Slider direction
3 shift amount calculated by alignment are stored into the real variables designated by argument.
n designated real variables number
V![n] Rotating (J3) axis shit amount (plus/minas is based on monitor data)
V![n+1] Front/back (J4) axis shit amount (plus/minas is based on monitor data)
V![n+2] Slider shit amount (plus/minas is based on monitor data)
Slider direction
■ Parameters
Parameter
Start/ end Set 1 to start alignment and 0 to stop it.
No.1
Parameter
Real variable number Set the real variable number to store the shift amount. (1 to 198)
No.2
Parameter Indicates whether alignment standard writing has been completed.
Set standard value
No.3 When recording, this must be set to “0”.
Parameter
Standard 1 When recording, this must be set to “0”.
No.4
Parameter
Standard 2 When recording, this must be set to “0”.
No.5
See
ALIGNMENT ; Alignment (FN304)
ALIGNR ; Right alignment (FN320)
ALIGNT ; Slider alignment (FN322)
Function commands (FN codes)
■ General description
Glass panel transferring allocation only.
This command controls the start and end of the slider alignment function.
Only fixed sensor 1 is used. Fixed sensor 2 is not used.
From the Parameter No.3 onward, the values are automatically substituted in when the alignment standard is written.
When the function is recorded, they must be set to zero.
(If the direction of sensing position and unloading position is different, shift amount must to be used after multiplying -1.)
■ Operation example
Alignment shift is carried out according to the deviation compared with the base position. So at first, base position registration
is necessary using the master work (glass).
Real variables are available 1 to 200.
Top view
Shifted glass position
Fixed Sensor
Slider direction
In this case, minus shift amount is stored into the real variable.
When the glass must be loaded on the cassette at J3=-90 degree side (direction of sensing position and unloading position is
same), slider axis is shifted by the shift amount as it was.
When the glass must be loaded on the cassette at J3=+90 degree side (direction of sensing position and unloading position is
different), slider axis is shifted by the shift amount after changing the sign of shift amount programmed by robot language.
Slider shift
Top view (J3=+90degree)
+ -
In this case, plus shift amount is stored into the real variable.
When the glass must be loaded on the cassette at J3=+90 degree side (direction of sensing position and unloading position is
same), slider axis is shifted by the shift amount as it was.
When the glass must be loaded on the cassette at J3=-90 degree side (direction of sensing position and unloading position is
different), slider axis is shifted by the shift amount after changing the sign of shift amount programmed by robot language.
■ Parameters
Parameter
Start/ end Set 1 to start alignment and 0 to stop it.
No.1
Parameter
Real variable number Set the real variable number to store the shift amount. (1 to 200)
No.2
Parameter Indicates whether alignment standard writing has been completed.
Set standard value
No.3 When recording, this must be set to “0”.
Parameter
Standard 1 When recording, this must be set to “0”.
No.4
Parameter
Standard 2 When recording, this must be set to “0”.
No.5
See
ALIGNMENT ; Alignment (FN304)
ALIGNR ; Right alignment (FN320)
ALIGNL ; Left alignment (FN321)
Function commands (FN codes)
■ General description
This instruction used to clear data of the vision sensor built into AX controller.
In general, it is necessary to execute this instruction before measuring.
Operations and parameters are different from which vision sensor uses.
■ Parameter
None
■ Parameter
Parameter No.1 0~999 Measure condition No.
If you set 0, all measure results are cleared.
See
VSTART: Vision start (FN331)
VWORK: Vision discrimination (FN332)
VSHIFT: Vision shift (FN333)
VDATA: Vision data (FN334)
VLOCCVT: Vision location convert (FN342)
VWAIT: Vision wait (FN343)
Function commands (FN codes)
■ General description
[High-speed synchro vision is unavailable]
When this instruction is executed, the AX controller request to start the measurement of the vision sensor.
The next step is not executed until the measurement is completed.
Jumps to the shelter step specified by the parameter the vision sensor notifies abnormality.
Operations and parameters are different from which vision sensor uses.
■ Parameter
Parameter No.1 1-256 Measurement No.
Parameter No.2 1-9999 Shelter step No.
■ Parameter
Parameter No.1 1~999 Measure condition No.
Parameter No.2 0~16 Image Proc. No. / Measure point No.
Parameter No.3 0~3 Trigger No.
Parameter No.4 1~10000 Shelter step No.
Robot will stop with recognition error if you set [10000] for shelter step.
See
VRESET: Vision reset (FN330)
VWORK: Vision discrimination (FN332)
VSHIFT: Vision shift (FN333)
VDATA: Vision data (FN334)
VLOCCVT: Vision location convert (FN342)
VWAIT: Vision wait (FN343)
Function commands (FN codes)
■ General description
When this instruction is executed, the AX controller request to start the distinction of the work with the vision sensor.
The next step is not executed until the distinction is completed.
Jumps to the shelter step specified by the parameter the vision sensor notifies abnormality.
■ Example of operation
STEP4
STEP5
STEP1 STEP2
■ Parameter
Parameter No.1 1-256 Start Measure No.
Parameter No.2 1-256 End Measure No.
Parameter No.3 1-9999 Shelter step No.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VSHIFT: Vision shift (FN333)
VDATA: Vision data (FN334)
Function commands (FN codes)
Operations and parameters are different from which vision sensor uses.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VWORK: Vision discrimination (FN332)
VDATA: Vision data (FN334)
VLOCCVT: Vision location convert (FN342)
VWAIT: Vision wait (FN343)
Function commands (FN codes)
■ General description
The kind of data specified that this function is executed from the last measurement result of the vision sensor by the parameter
is acquired, and stores data in the real variable register. Three kinds of data of X scale, Y scale, and the score can be selected.
The next step is not executed until the function is completed.
Jumps to the shelter step specified by the parameter the vision sensor notifies abnormality.
■ Example of operation
STEP4
STEP5
STEP1 STEP2
■ Parameter
Data select
1: X Scale
Parameter No.1 1-16
2: Y Scale
3: Score
Parameter No.2 1-200 Real variable No.
Parameter No.3 1-9999 Shelter step No.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VWORK: Vision discrimination (FN332)
VSHIFT: Vision shift (FN333)
Function commands (FN codes)
■ General description
This function change the measurement group of the vision sensor.
The group number after this processing is stored in the specified integer variable. The next step is not executed until
processing is completed.
Jumps to the shelter step specified by the parameter when the measurement group is not correctly changed, or when the
vision sensor notifies abnormality.
■ Example of operation
STEP4
STEP5
STEP1 STEP2
■ Parameter
Parameter No.1 1-20 Measurement group No.
Parameter No.2 1-200 Integer variable No.
Parameter No.3 1-9999 Shelter step No.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VWORK: Vision discrimination (FN332)
VSHIFT: Vision shift (FN333)
VDATA: Vision data (FN334)
Function commands (FN codes)
■ General description
This function acquires the measurement group of the vision sensor in the integer variable specified by the parameter.
The next step is not executed until processing is completed.
Step jumps to the shelter step specified by the parameter when the vision sensor notifies abnormality. Moreover, Step jumps to
the shelter step when this value and the acquired measurement number are different when the values other than 0 are set in
the measurement group number of the parameter.
■ Example of operation
STEP4
STEP5
STEP1 STEP2
■ Parameter
Parameter No.1 0-20 Measurement group No.
Parameter No.2 1-200 Integer variable No.
Parameter No.3 1-9999 Shelter step No.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VWORK: Vision discrimination (FN332)
VSHIFT: Vision shift (FN333)
VDATA: Vision data (FN334)
Function commands (FN codes)
Step N
FN342(1,R1,N+6)
Y
When FN342 is executed in step N, if the shift data is not set when the specified shift register is read, the robot faces the
shelter step (Step N+6) which is set with FN342.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VSHIFT: Vision shift (FN333)
VWAIT: Vision wait (FN343)
Function commands (FN codes)
■ General description
It waits until the measurement of the vision sensor is completed when this function is executed.
The next step is not executed until the measurement is completed.
It jumps to the shelter step when failure occurs when measuring by the vision sensor.
■ Example of operation
STEP4
STEP5
STEP1 STEP2
■ Parameter
Parameter No.1 1-256 Measurement No.
Parameter No.2 1-9999 Shelter step No.
The maximum value of the shelter step is 10000 for vision sensor type 2. Robot will stop with recognition error if you set
[10000] for shelter step.
See
VRESET: Vision reset (FN330)
VSTART: Vision start (FN331)
VSHIFT: Vision shift (FN333)
VLOCCVT: Vision location convert (FN342)
Function commands(FN codes)
■ General description
This instruction used to actuate the dispense applicator and start the dispensing.
Flow rate and execution timing parameters are set in “Sealing Schedule.”
This instruction contains a schedule number used as an input parameter.
■ Example of operation
The robot shall move to a specified position according to specified motion command and start dispensing according to the
parameters specified in the sealing schedule.
Record point
Robot motion
Valve on timing
Motor rotation
■ Parameter
Parameter No.1 1-6 Gun No.
Parameter No.2 1-255 Seal Schedule No.
See
SLEND: Seal end (FN351)
SLRELOAD: Reload (FN352)
SLREADY: Flow ready (FN353)
SLPRS: Seal press ctrl (FN355)
Function commands(FN codes)
■ General description
This instruction used to stop the dispensing process.
This instruction is executed according to the timing described to the seal schedule specified by the last executed seal start
function.
The pressure correction is turned off.
■ Example of operation
The robot shall move to a specified position according to specified motion command and start dispensing according to the
parameters specified in the sealing schedule.
Record point
Robot motion
Motor rotation
■ Parameter
Parameter No.1 1-6 Gun No.
See
SLSTART: Seal start (FN350)
SLRELOAD: Reload (FN352)
SLREADY: Flow ready (FN353)
SLPRS: Seal press ctrl (FN355)
Function commands(FN codes)
■ General description
This instruction used to refill the booster pump. The reload operation ends automatically when reaching the reload limit.
The robot can move while reloading.
■ Example of operation
Record point
Robot motion
Motor rotation
■ Parameter
Parameter No.1 1-6 Gun No.
See
SLSTART: Seal start (FN350)
SLEND: Seal end (FN351)
SLREADY: Flow ready (FN353)
SLPRS: Seal press ctrl (FN355)
Function commands(FN codes)
■ General description
The motor which controls the pump is moved when this instruction is executed, and controls to the value for which pressure in
the pump is specified by the parameter of the function.
The change of the bead shape when beginning to dispense in controlling pressure in the pump can be controlled.
The robot can move in the flow ready control.
■ Example of operation
Record point
Robot motion
Target pressure
Motor rotation
■ Parameter
Parameter No.1 1-6 Gun number
Parameter No.2 0-50.0 Pre-pressure[MPa]
See
SLSTART Seal start (FN350)
SLEND: Seal end (FN351)
SLRELOAD: Reload (FN352)
SLPRS: Seal press ctrl (FN355)
Function commands(FN codes)
■ General description
This instruction declares start/end of pressure control as flow control.
When this instruction for which start(ON) is specified by the parameter is executed, the dispensing will be executed by the
pressure control. When this instruction is executed specifying end (OFF), the pressure control is canceled. Even if the pressure
control end is not executed, the pressure control is canceled by the seal end function.
■ Example of operation
Robot motion
■ Parameter
Parameter No.1 1-6 Gun number
Parameter No.2 0-1 ON/OFF(1/0)
See
SLSTART Seal start (FN350)
SLEND: Seal end (FN351)
SLRELOAD: Reload (FN352)
SLREADY: Flow ready (FN353)
Function commands(FN codes)
■ General description
This instruction declares start/end of pressure control as flow control.
When this instruction for which start (ON) is specified by the parameter is executed, the dispensing will be executed by the
pressure control.
During pressure control, the control level is corrected by the value specified by the parameter.
It is happen the pulsation or the oscillation though the response improves if a big value is set.
When this instruction is executed specifying end (OFF), the pressure control is canceled. Even if the pressure control end is
not executed, the pressure control is canceled by the seal end function. It is possible to end with FN355.
■ Example of operation
Robot motion
■ Parameter
Parameter No.1 1-6 Gun number
Parameter No.2 0-1 ON/OFF(1/0)
Parameter No.3 0.0-10.0 Rate
See
SLSTART Seal start (FN350)
SLEND: Seal end (FN351)
SLRELOAD: Reload (FN352)
SLREADY: Flow ready (FN353)
SLPRS: Seal press ctrl (FN355)
Function commands(FN codes)
■ General description
By executing this command, the force / torque data inputted from the force sensor are acquirable to a real variable.
■ Example of operation
The force / torque data are stored in six variables from the specified variable number.
STEP N-1 MOVE STEP N MOVE STEP N+2 MOVE
■ Parameter
Parameter No.1 1-195 Variable No.
■ General description
By this command,the FLEXhand clamps the work.
■ Parameter
Parameter No.1 1-2 FLEXhand Number
Clamping direction
Parameter No.2 1-2 1:close
2:open
Air force mechanism
Parameter No.3 0-1 0:not use
1:use
Parameter No.4 0-50[kN] Clamping force
■ General description
By this command,the FLEXhand unclamps the work.
■ Parameter
Parameter No.1 1-2 FLEXhand Number
Specifying method of opened finger position
Parameter No.2 0-1 0:absolute
1:relative
-1000-1000[
Parameter No.3 Opened finger position
mm]
■ General description
During recording steps from Adaptive Motion ON function (FN364) to Adaptive Motion OFF function (FN365), Adaptive Motion
function becomes valid and robot moves in accordance with external force.
1 MOVE (P1) P3
2 MOVE (P2) P4
P2
3 ADAPTON (FN364) Interval of valid
4 MOVE (P3) Adaptive Motion
5 MOVE (P4)
6 ADAPTOFF (FN365)
7 MOVE (P5) P1 P5
8 END
■ Parameter
Condition Conditional numbers selected in “Constants-39 Adaptive Motion” shall be set up.
Parameter No.1
No. (1~10)
Command 1: After taking in present position changed by external force, trace calculation to
position next step is done based on its position.
Parameter No.2
replacing 0: Trace is normally calculated without taking in present position halfway in the
ON/OFF(1/0) step.
See
ADAPTOFF: Adaptive Motion OFF (FN365)
Function commands (FN codes)
■ General description
This command enables to end Adaptive Motion function.
1 MOVE (P1) P3
2 MOVE (P2) P4
P2
3 ADAPTON (FN364) Interval of valid
4 MOVE (P3) Adaptive Motion
5 MOVE (P4)
6 ADAPTOFF (FN365)
7 MOVE (P5) P1 P5
8 END
■ Parameter
Nil
See
ADAPTON: Adaptive Motion ON (FN364)
Function commands(FN codes)
■ General description
By this command,the FLEXhand clamps the work.
■ Parameter
Parameter No.1 1-2 FLEXhand Number
Clamping direction
Parameter No.2 1-2 1:close
2:open
Air force mechanism
Parameter No.3 0-1 0:not use
1:use
Parameter No.4 0-50[kN] Clamping force
Parameter No.5 0-500 Clamping speed
Brake during clamping
Parameter No.6 0-1 0:not use
1:use
Parameter No.7 0-2[s] Brake delay time
■ General description
By this command,the FLEXhand unclamps the work.
■ Parameter
Parameter No.1 1-2 FLEXhand Number
Specifying method of opened finger position
Parameter No.2 0-1 0:absolute
1:relative
-1000-1000[
Parameter No.3 Opened finger position
mm]
■ General description
This command detects that the FLEXhand clamps the work.
■ Parameter
Parameter No.1 1-2 FLEXhand Number
Parameter No.2 0-1000[mm] Clamping position
Parameter No.3 0-60[sec] Wait time
Parameter No.4 1-9999 Escape destination step
1-200 or
Parameter No.5 Real variable number for clamping position value.
301-500
■ General description
It is a function to change the control of the endless rotation axis to the position control or the speed control.
If you use the position control, endless rotation axis moves to recorded position.
if you use the velocity control, endless rotation axis doesn’t move to recorded position. The axis rotates by the speed setting of
SETVELO; Set velocity (FN309).
Only endless axis set by “Change control” can use the function. Please set the endless rotation axis to "Change" by [Constant
setting][Machine constant][Endless Rotation].
This function becomes in position only when the control changes, and robot stops one moment. Robot doesn’t stop when the
control doesn’t change.
Please record the function between the start and the end section.
■ Example of operation
■ Parameter
Parameter Mechanism This specifies the mechanism number of a change type endless axis.
No. 1 Number (1 – 9)
See
SETVELO;Set velocity(FN309)
Function commands (FN codes)
■ General description
‘Approaching motion’ is for preventing from collision with works already stacked at the time of stacking a new work.
‘Approach distance’ is defined in palletize pattern, and ‘Approach direction’ is desgined each works. When this function is
executed, robot performs ‘Approaching motion’ according to the setting from next step.
Yp
3 2 1
Yp
(Xa, Ya) 4
8 Xp
Xp 5 6 7
■ Example of operation
Following figure shows FN249 palletize start is recorded at step N+1. And FN374 Palletize approach selection is recorded at
step N+1. And Move step N+2, N+3 and N+4 are also recorded.
StepN :MOVE
StepN+1:FN249 PALLET3
StepN+2:FN374 PALLET3_APR
Zp
StepN+3:MOVE
StepN+4:MOVE
StepN+5:MOVE
Xp
Program sample of approach
Robot starts palletizing based on the palletize pattern of FN249 and the palletize counter. At next step of FN374, Robot moves
with palletizing shift and approach shift that includes some value and direction.
(Xa, Ya)
Zp
StepN+3:MOVE
StepN+4:MOVE
StepN+5:MOVE
Xp
Approach motion 1
(Appr-down)
(Xa, Ya)
Zp
StepN+3:MOVE
StepN+4:MOVE
StepN+5:MOVE
Xp
Approach motion 2
(Down-appr)
■ Approach motion
The next step of PALLET3_APR will move with approach shift. In case of Down-appr, robot has some approach shift from next
two step of function. Please be careful when you add some steps.
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be reset. (1 to 100)
Route Select Appr-down(0) or Down-appr(1)
Parameter No.2
selection
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
Palletizing motion often has some useless motion when steps are recorded as avoiding the interference in case of big
cargo. This function optimizes and adjusts the next position automatically based on the locus of previous step and
following step.
Not selected
2'
Optimize step
position 2' 3
4
2 2' 2
1 1
■ Example of operation
Concretely a Z axis value of “Next move position” will be replaced with higher Z axis value of two command positions.
Regarding two command positions, one is the previous step of the function, another is the reference move step where is
set by parameter of the function.
A Z axis value is calculated by the pallet coordinates used as reference Palletize Pattern.
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Reference Reference move step (1 to 9999)
Parameter No.2
step Z axis value will be compared.
■ Example of teaching
[P1] [P3]
[P9] [P4]
[P2]
[P5]
[P6]
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
This function selects one Work grasp position from “Work grasp position” which is set by Palletize pattern which has maximum
4 positions.
Suppose that robot grasps some cargo at once. Robot moves toward to cargo position set by Palletize pattern, but robot
cannot put a cargo correctly if every cargo has different grasp position.
If you select the grasp position for every cargo correctly, robot target position would be the center of cargo.
If you want to change a work grasp position for cargo (work) number, please use FN377 PALLET_GETREG. This function can
get a current work number and store V% variable etc. Then please record SWICH command and FN376 PALLET3_SELGR to
move correctly.
■ Default
If this function never runs before, automatically work grasp position is set to one. After changing work grasp position, the
position would be kept until the palletize END.
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Work grasp
Parameter No.2 Work grasp position (1 to 4) which is set by Palletize pattern.
position
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_GETREG: Get palletize register(FN377)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
Palletize register means internal variables that shows some status of palletize.
You don’t have to use the function normally because it is for system software. If you want to check some status and use them
for changing sequence of robot program, the function offers some useful status to you.
(Example)
Change locus depended on the palletize counter.
Skip palletize counter with intension.
Modify shift values.
This function stores some palletize registers to some variables. If you want to change back some palletize registers from some
variables, you use FN378 PALLET3_SETREG.
■ Palletize Registers
No. Register name Description Type Range
1 Palletize No. Target palletize No. Int. 1~100
2 Pallet No. Target pallet No. Int. 1~100
3 Running status Stop or Running Int. 0/1
4 Type Palletizing or De-palletizing Int. 0/1
5 Layer counter Layer No. in running Int. 0~50
6 Work counter Work No. in running Int. 0~99
7 Total counter Total work counter in running() Int. 0~4950
8 Grasp position sel. Work grasp position No. in use Int. 1~4
9 Approach dir. Approach direction in use Int. 0~8
10 Layer count signal LSB Signal No. of Layer count signal Int. 0~1024
11 Work count signal LSB Signal No. of work count signal Int. 0~1024
12 Work complete signal Work complete signal No. Int. 0~1024
13 Shift value X Current shift value of X axis based on the pallet coordinate Real ―
14 Shift value Y Current shift value of Y axis based on the pallet coordinate Real ―
15 Shift value Z Current shift value of Z axis based on the pallet coordinate Real ―
16 Shift value Rz Current shift value of Rz axis based on the pallet coordinate Real ―
■ Parameter
Variable No. Target variable No. to store value
Parameter No.1
Select from V!, V%, L! or L%
Parameter No.2 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Register type
Parameter No.3 Set number of Palletize Registers(1 - 255)
(Start)
Register type Set number of Palletize Registers(1 - 255)
Parameter No.4
(End) You can select and get consecutive register values from Start to End
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_SETREG: Set palletize register(FN378)
Function commands (FN codes)
■ General description
Palletize register means internal variables which shows some status of palletize.
You don’t have to use the function normally because it is for system software. If you want to check some status and use them
for changing sequence of robot program, the function offers some useful status to you.
(Example)
Change locus depended on the palletize counter.
Skip palletize counter with intension.
Modify shift values.
This function sets some variables to some palletize registers. If you want to change back some variables from some palletize
registers, you use FN377 PALLET3_GETREG.
Some registers cannot written. Please refer to table below "Palletize Registers" which register is writable.
When the register that cannot be written is specified, it is not changed though alarm doesn't occur.
■ Cautions
Changing registers effect the motion of robot. Do not replace the registers if you don’t use them.
■ Palletize Registers
No. Register name Description Type Range Write
1 Palletize No. Target palletize No. Int. 1~100
2 Pallet No. Target pallet No. Int. 1~100
3 Running status Stop or Running Int. 0/1
4 Type Palletizing or De-palletizing Int. 0/1 ○
5 Layer counter Layer No. in running Int. 0~50 ○
6 Work counter Work No. in running Int. 0~99 ○
7 Total counter Total work counter in running Int. 0~4950
8 Grasp position sel. Work grasp position No. in use Int. 1~4 ○
9 Approach dir. Approach direction in use Int. 0~8 ○
10 Layer count signal LSB Signal No. of Layer count signal Int. 0~1024 ○
11 Work count signal LSB Signal No. of work count signal Int. 0~1024 ○
12 Work complete signal Work complete signal No. Int. 0~1024 ○
13 Shift value X Current shift value of X axis based on the pallet coordinate Real ― ○
14 Shift value Y Current shift value of Y axis based on the pallet coordinate Real ― ○
15 Shift value Z Current shift value of Z axis based on the pallet coordinate Real ― ○
16 Shift value Rz Current shift value of Rz axis based on the pallet coordinate Real ― ○
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Register type
Parameter No.2 Set number of Palletize Registers(1 - 255)
(Start)
Register type Set number of Palletize Registers(1 - 255)
Parameter No.3
(End) You can select and get consecutive register values from Start to End
Variable No. Target variable No. to store value
Parameter No.4
Select from V!, V%, L! or L%
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection(FN374)
PALLET3_OPT: Palletize optimize path(FN375)
PALLET3_SELGR: Palletize select grasp position(FN376)
PALLET3_GETREG: Get palletize register(FN377)
Function commands (FN codes)
■ General description
Optimize path selection adjusts not only the Z direction (height) shift value but also X and Y direction shift because target step
is inside palletize section. This function can be placed the target step at outside of palletize section, and then you can get only
Z direction shift.
A target step of Z-axis direction is the next move step of the function.
The function compares the Z-axis value of target step and the Z-axis value of reference step after palletizing shift by using
target palletizing number set by the first parameter of the function, and then Z-axis value of target step will be adjust higher
value of both.
■ Parameter
Parameter No.1 Palletize No. This specifies the palletizing number to be executed. (1 to 100)
Reference
Parameter No.2 Compared move step. (1 to 9999)
Step
See
PALLET3: Palletize start (FN249)
PALLET3_END: Palletize end (FN250)
PALLET3_RESET: Palletize reset (FN251)
PALLET3_APR: Palletize approach selection (FN374)
PALLET3_OPT: Palletize optimize path (FN375)
PALLET3_SELGR: Palletize select grasp position (FN376)
PALLET3_GETREG: Get palletize register (FN377)
PALLET3_SETREG: Set palletize register (FN378)
Function Commands (FN Codes)
■ General description
This command enables to jump to the program externally designated by the BCD code.
However, if the designated input signal has not been entered, it will not jump but only pass. Alternatively, it is also available to
wait in the current step until the signal is entered.
For the branch program No., enter it in “Branch Prg.No.(BCD)” in the standard input signal. To use this function command,
the signal must be assigned in advance. If not assigned, the program No. is to be designated to 0 and to jump to the head
step of the program No. 0.
Note that, if a function command is stored in the head step of the destination program, the function command in the destination
is to be executed in the step where the jump command was executed.
Even after completing the playback of the destination program, the robot will not return to the original program.
■ Example of operation
● With the wait input signal “OFF”
Store the JMPPBCD command, the input signal=1 and the wait signal=0 in the step 4. (0: Input wait ”OFF”/ 1: Input wait
“ON”) And during playback, the program 2 is supposed be specified by the external signal (BCD code).
By performing playback, the robot will jump to the head step of the program 2 when the input signal I1 has been entered;
while it will proceed to the step 5~6 when not entered.
Step4
Program 1
JMPPBCD; Program jump (Selecting ext.BCD prog.)
Input signal = I1
Wait signal = 0 (Not wait)
1 2 3 5 6
● ● ● ● ●
END
When I1 signal is When I1 signal is
input. not input.
4 ●END Program 2
1 ●
By performing playback, the robot will jump to the head step of the program 2 when the input signal I1 has been entered;
while it will wait in the step 3 until the signal is entered in the input signal I1 when not entered. If the input signal I1 is
entered while waiting, the robot will jump to the head of the program 2.
Step 4
Program 1
JMPPBCD; Program jump (Selecting ext.BCD prog.)
Input signal = I1
Wait signal = 1 (Wait)
1 2 3 5 6
● ● ● ● ●
END
When I1 signal has been
input or is being input
during the waiting status.
4 ●END Program 2
1 ●
■ Parameters
This parameter stores the input signal No. as the jump execution condition.
Parameter
Input signal (1~2048, 5001~5196)
No.1
Multiple signals can be specified by designating 5001~5196.
The robot jumps when the designated input signal above has been entered; while it will not
jump but only pass when not entered. Alternatively, the robot can even wait in the current
Parameter
Wait signal step until the signal is entered.
No.2
0: Wait signal “OFF”
1: Wait signal “ON”
See
CALLPBCD ; Program call (Selecting ext.BCD prog.) (FN402)
JMPPBIN ; Program jump (Selecting ext.BIN prog.) (FN401)
CALLPBIN ; Program call (Selecting ext.BIN prog.) (FN403)
Function Commands (FN Codes)
■ General description
This command enables to jump to the program externally designated by the binary code.
However, if the designated input signal has not been entered, it will not jump but only pass. Alternatively, it is also available to
wait in the current step until the signal is entered.
For the branch program No., enter it in “Branch Prg.No.(BCD)” in the standard input signal. To use this function command,
the signal must be assigned in advance. If not assigned, the program is to be designated to 0 and to jump to the head step of
the program No. 0.
Note that, if the function command is stored in the head step of the destination program, the function command in the
destination is to be executed in the step where the jump command was executed.
After completing the playback of the destination program, the robot will not return to the original program.
■ Example of operation
● With the wait input signal “OFF”
Store the JMPPBIN command, the input signal=1 and the wait signal=0 in the step 4. (0: Input wait ”OFF”/ 1: Input wait
“ON”) And during playback, the program 2 is supposed be specified by the external signal (Binary code).
By performing playback, the robot will jump to the head step of the program 2 when the input signal I1 has been entered;
while it will proceed to the step 5~6 when not entered.
Step 4
Program 1
JMPPBIN; Program jump (Selecting ext.BIN prog.)
Input signal = I1
Wait signal = 0 (Not wait)
1 2 3 5 6
● ● ● ● ●
END
When I1 signal is When I1 signal is
input. not input.
4 ● 1 ● Program 2
END
1 2 3 5 6
● ● ● ● ●
END
When I1 signal has been
input or is being input
during the waiting status.
4 ● Program 2
END 1 ●
■ Parameters
This parameter stores the input signal No. as the jump execution condition. (1~2048,
Parameter
Input signal 5001~5196)
No.1
Multiple signals can be specified by designating 5001~5196.
The robot jumps when the designated input signal above has been entered; while it will not
jump but only pass when not entered.
Parameter
Wait signal Alternatively, the robot can even wait in the current step until the signal is entered.
No.2
0: Wait signal “OFF”
1: Wait signal “ON”
See
CALLPBIN ; Program call (Selecting ext.BIN prog.) (FN403)
JMPPBCD ; Program jump (Selecting ext.BCD prog.) (FN400)
CALLPBCD ; Program call (Selecting ext.BCD prog.) (FN402)
Function Commands (FN Codes)
■ General description
This command enables to call the program externally designated by the BCD code.
However, if the designated input signal has not been entered, it will not call but only pass. Alternatively, it is also available to
wait in the current step until the signal is entered.
For the branch program No., enter it in “Branch Prg.No.(BCD)” in the standard input signal. To use this function command,
the signal must be assigned in advance. If not assigned, the program No. is to be designated to 0 and to jump to the head
step of the program No. 0.
Note that, if a function command is stored in the head step of the call destination program, the function command in the
destination is to be executed in the step where the call command was executed.
Even after completing the playback of the destination call program, the robot will not return to the original program.
■ Example of operation
● With the wait input signal “OFF”
Store the CALLPBCD command, the input signal=1 and the wait signal=0 in the step 4. (0: Input wait ”OFF”/ 1: Input wait
“ON”) And during playback, the program 2 is supposed be specified by the external signal (BCD code).
By performing playback, the robot will jump to the head step of the program 2 when the input signal I1 has been entered;
while it will proceed to the step 5~6 when not entered.
Step 4
Program 1
CALLPBCD; Program call (Selecting ext.BCD prog.)
Input signal = I1
Wait signal = 0 (Not wait)
1 2 3 5 6
● ● ● ● ●
END
When I1 signal is
input. When I1 signal is
not input.
4 1
●END
Program 2
●
1 2 3 5 6
● ● ● ● ●
END
When I1 signal has been
input or is being input
during the waiting status
4 ●END Program 2
1 ●
■ Parameters
This parameter stores the input signal No. as the call execution condition.
Parameter
Input signal (1~2048、5001~5196)
No.1
Multiple signals can be specified by designating 5001~5196.
The robot calls when the designated input signal above has been entered; while it will
not call but only pass when not entered.
Parameter
Wait signal Alternatively, the robot can even wait in the current step until the signal is entered.
No.2
0: Wait signal “OFF”
1: Wait signal “ON”
See
JMPPBCD ; Program jump (Selecting ext.BCD prog.) (FN400)
JMPPBIN ; Program jump (Selecting ext.BIN prog.) (FN401)
CALLPBIN ; Program call (Selecting ext.BIN prog.) (FN403)
Function Commands (FN Codes)
■ General description
This command enables to call the program externally designated by the binary code.
However, if the designated input signal has not been entered, it will not call but only pass. Alternatively, it is also available to
wait in the current step until the signal is entered.
For the branch program No., enter it in “Branch Prg.No.(BCD)” in the standard input signal. To use this function command,
the signal must be assigned in advance. If not assigned, the program is to be designated to 0 and to jump to the head step of
the program No. 0.
Note that, if the function command is stored in the head step of program in the call destination. Note that, if the function
command is stored in the head step of the destination program, the function command in the destination is to be executed in
the step where the call command was executed.
After completing the playback of the call destination program, the robot will not return to the original program.
■ Example of operation
● With the wait input signal “OFF”
Store the CALLPBIN command, the input signal=1 and the wait signal=0 in the step 4. (0: Input wait ”OFF”/ 1: Input wait
“ON”) And during playback, the program 2 is supposed be specified by the external signal (Binary code).
By performing playback, the robot will jump to the head step of the program 2 when the input signal I1 has been entered;
while it will proceed to the step 5~6 when not entered.
Step 4
Program 1
CALLPBIN; Program call (Selecting ext.BIN prog.)
Input signal = I1
Wait signal = 0 (Not wait)
1 2 3 5 6
● ● ● ● ●
END
When I1 signal is
input. When I1 signal is
not input.
4 ●END Program 2
1 ●
Step 4
Program 1
CALLPBIN; Program call (Selecting ext.BIN prog.)
Input signal = I1
Wait signal = 1 (Wait)
1 2 3 5 6
● ● ● ● ●
4 Program 2
● END 1 ●
■ Parameters
This parameter stores the input signal No. as the call execution condition. (1~2048, 5001
Parameter
Input signal ~5196)
No.1
Multiple signals can be specified by designating 5001~5196.
The robot calls when the designated input signal above has been entered; while it will not
call but only pass when not entered.
Parameter
Wait signal Alternatively, the robot can even wait in the current step until the signal is entered.
No.2
0: Wait signal “OFF”
1: Wait signal “ON”
See
JMPPBIN ; Program jump (Selecting ext.BIN prog.) (FN401)
JMPPBCD ; Program jump (Selecting ext.BCD prog.) (FN400)
CALLPBCD ; Program call (Selecting ext.BCD prog.) (FN402)
Function Commands (FN Codes)
The program for the workpiece A created in this position can be also
executed in the workpiece B and C.
A single RELMOV command can specify a single relative move of the external axis.
The type of interpolation from the current position to the target position is the axis interpolation motion.
■ Example of operation
This function command enables the designated external axis to move the specified distance or angle from the current position.
The simplest way of executing this command is to call the program, created when the external axis was in a particular position,
again after executing this RELMOV command.
Steps Operation of Slider Destination of Slier
100% JOINT Slider moves to point A.
A
CALLP [100] Program 100 is called.
Slider shifts +3000mm from
RELMOV +3000
point A. B
CALLP [100] Program 100 is called.
Slider shifts +3000mm from
RELMOV +3000
point B. C
CALLP [100] Program 100 is called.
A B C
+3000mm +3000mm
■ Parameters
Parameter
Mechanism No. This specifies the mechanism No. defined in the current unit. (1~9)
No.1
This designates the axis No. for move in the mechanism specified above.
Parameter
Axis No. For the 1st axis slider : 1
No.2
For the 2nd axis positioner : 2
Parameter
Rate of Move Speed This specifies the move speed. (1~100%)
No.3
For slider, this specifies the move distance from the current position.
Parameter Distance/ (-9999~9999mm)
No.4 Angle of Movement For positioner, this specifies the rotation angle from the current position.
(-999.9~999.9deg)
■ Example of screen display
RELMOV[4, 1, 100, 3000] FN407; Move of External axis
Application command (FN code)
Command
SPRAYON
name
FN code 408
Title names Spray Start
General
Turn ON the start signal of thermal spraying
description
■ General description
If this application command is executed, after the spray start signal being turned ON to the spray machine set in a parameter,
the robot operation will be started after passage of delay time set in a parameter similarly.
■ Parameter
Parameter name Details Range
Thermal spraying This specifies the number of the number
1~6
ID of the thermal spray machine to be used.
This sets the thermal spraying method.
Kind of Thermal
(0: Plane, 1: Drain, 2: Polyhedron, 3: 0~5
spraying
Expanded synch, 4: Proportion control,
5: Lattice frame)
This is used to set the robot movement 1~999
Speed
speed during thermal spraying. mm/sec
This is used to set the waiting time from
Delay time the start of thermal gas spraying to the 0~99.9 sec
start of the robot movement.
Specify the axis number set by "thermal
spray constant-number sets" - "rotation
central-axis setting".
Rotation Shaft No It is effective only when the thermal 1~50
spraying type of the second parameter
falls on "Expanded synchronize thermal
spray".
See
SPRAYOFF; Spray End (FN409)
Application command (FN code)
Command
SPRAYOFF
name
FN code 409
Title names Spray End
General
Turn OFF the start signal of thermal spraying
description
■ General description
If this application command is executed, the spray start signal will be turned-OFF that has been taught by the previous spray
start command.
See
SPRAYON: Spray Start (FN408)
Function Commands (FN Codes)
■ General description
The robot performs to inch the wire with specified time and wire speed.
Specified time and speed determines the inching value.
The robot does not stop operating while the inching or retract command is executed.
Furthermore, if the arc start command is placed immediately after an inching or retract command in the teaching, welding will
be started as soon as the inching or retract operation is completed.
■ Parameters
Conditions Range Unit
Time 0.0 ~ 9.9 sec
Wire speed 1 ~ 9999 cm/min
[ ] shows the welder number, time, and wire speed from the left.
See
RTC ; Retract (FN411)
Function Commands (FN Codes)
■ General description
The robot performs to retract the wire with specified time and wire speed.
Specified time and speed determines the retract value.
The robot does not stop operating while the inching or retract command is executed.
Furthermore, if the arc start command is placed immediately after an inching or retract command in the teaching, welding will
be started as soon as the inching or retract operation is completed.
■ Parameters
Conditions Range Unit
Time 0.0 ~ 9.9 sec
Wire speed 1 ~ 9999 cm/min
[ ] shows the welder number, time, and wire speed from the left.
See
ICH ;Inching (FN410)
Function Commands (FN Codes)
Command name GS
FN code 412
Title name Gas ON
General description Starts to output the shield gas.
■ General description
The robot starts to output the shield gas.
Prior to starting welding, the robot normally performs pre-flow for the duration which was set in the welding constants
("pre-flow time"). However, pre-flow can be started from any position by teaching the following commands.
The robot performs pre-flow from the position of the operation command that was taught immediately before the gas ON
command (GS). When automatic operation is temporarily stopped during pre-flow initiated by the gas ON command (GS),
pre-flow is suspended but it is then resumed after operation has been restarted.
■ Parameters
Parameter
Welder No. This specifies the welder number (1 to 12) to be controlled to output the shield gas.
No.1
GS[W1] FN412;Gas ON
See
GE; Gas OFF(FN413)
Function Commands (FN Codes)
Command name GE
FN code 413
Title name Gas OFF
General description Stops the shield gas.
■ General description
The robot stops the shiled gas performed to start with Gas ON command (GS).
■ Parameters
Parameter
Welder No. This specifies the welder number (1 to 12) to be controlled to stop the shield gas.
No.1
See
GS; GasON(FN412)
Function Commands (FN Codes)
Command name AS
FN code 414
Title name Arc start(DL(S-2))
General description Starts arc welding with the specified conditions.
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding
condition is changed to the specified one.
The welding start position is a move command shortly before AS(FN414). To select the command, designate the FN
code “414” or press F key <AS>.
■ Parameters
After selecting the Arc start instructions (AS), specify the “Arc start control conditions” first. “Arc start control conditions”
are the ones displayed on the page 1. Specify the “Arc start conditions” from on and after the page 2.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), Arc retry condition No., and welding
conditions (Current/Voltage/Speed) from the left.
See
AE; Arc end (FN415)
Function Commands (FN Codes)
Command name AS
FN code 414
Title name Arc start(WBML)
General description Starts arc welding with the specified conditions.
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding
condition is changed to the specified one.
The welding start position is a move command shortly before AS(FN414). To select the command, designate the FN
code “414” or press F key <AS>.
■ Parameters
After selecting the Arc start instructions (AS), specify the “Arc start control conditions” first. “Arc start control conditions”
are the ones displayed on the page 1. Specify the “Arc start conditions” from on and after the page 2.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), Arc retry condition No., and welding
conditions (Current/Voltage/Speed) from the left.
See
AE; Arc end (FN415)
Application command (FN code)
Command
AS
name
FN code 414
Title name Arc start(WBM)
General
Starts arc welding with the specified conditions.
description
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding condition is
changed to the specified one.
The welding start position is a move command shortly before AS (FN414). To select the command, designate the FN code
“414” or press F key <AS>.
■ Parameter
After selecting the Arc start instructions (AS), specify the “Arc start control conditions” first. “Arc start control conditions” are the
ones displayed on the page 1. Specify the “Arc start conditions” from on and after the page 2.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), Arc retry condition No., and welding
conditions (Current/Voltage/Speed) from the left.
See
AE; Arc end (FN415)
Function Commands (FN Codes)
Command name AS
FN code 414
Title name Arc start(WBP)
General description Starts arc welding with the specified conditions.
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding
condition is changed to the specified one.
The welding start position is a move command shortly before AS(FN414). To select the command, designate the FN code
“414” or press F key <AS>.
■ Parameters
After selecting the Arc start instructions (AS), specify the “Arc start control conditions” first. “Arc start control conditions” are
the ones displayed on the page 1. Specify the “Arc start conditions” from on and after the page 2.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), Arc retry condition No., welding
conditions (Current/Voltage/Speed) , and welding process from the left.
See
AE; Arc end (FN415)
Function Commands (FN Codes)
Command name AS
FN code 414
Title name Arc start(WBPL)
General description Starts arc welding with the specified conditions.
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding
condition is changed to the specified one.
The welding start position is a move command shortly before AS(FN414). To select the command, designate the FN code
“414” or press F key <AS>.
■ Parameters
After selecting the Arc start instructions (AS), specify the “Arc start control conditions” first. “Arc start control conditions” are
the ones displayed on the page 1. Specify the “Arc start conditions” from on and after the page 2.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), Arc retry condition No., welding
conditions (Current/Voltage/Speed) , and welding process from the left.
See
AE; Arc end (FN415)
Function Commands (FN Codes)
Command name AE
FN code 415
Title name Arc end(DL(S-2))
Terminates arc welding with the specified
General description
conditions.
■ General description
This command enables to end Arc welding, performing the crater process with the specified conditions. The welding end
position is a move command shortly before AE(FN415). To select the command, designate the FN code “415” or press F
key <AE>.
■ Parameters
Set "Welding end control conditions" first, after selecting this command (AE). "Welding end control conditions" are the
conditions displayed on Page 1. "Welding end conditions" are displayed on Page 2 and after.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc end conditions (Current/
Voltage/ Crater time/ Postflow time) from the left.
See
AS; Arc start (FN414)
Function Commands (FN Codes)
Command name AE
FN code 415
Title name Arc end(WBML)
Terminates arc welding with the specified
General description
conditions.
■ General description
This command enables to end Arc welding, performing the crater process with the specified conditions. The welding end
position is a move command shortly before AE(FN415). To select the command, designate the FN code “415” or press F
key <AE>.
■ Parameters
Set "Welding end control conditions" first, after selecting this command (AE). "Welding end control conditions" are the
conditions displayed on Page 1. "Welding end conditions" are displayed on Page 2 and after.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc end conditions (Current/
Voltage/ Crater time/ Postflow time) from the left.
See
AS; Arc start (FN414)
Application command (FN code)
Command
AE
name
FN code 415
Title name Arc end(WBM)
General
Terminates arc welding with the specified conditions.
description
■ General description
This command enables to end Arc welding, performing the crater process with the specified conditions.
The welding end position is a move command shortly before AE (FN415). To select the command, designate the FN code
“415” or press F key <AE>.
■ Parameter
Set "Welding end control conditions" first, after selecting this command (AE). "Welding end control conditions" are the
conditions displayed on Page 1. "Welding end conditions" are displayed on Page 2 and after.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc end conditions (Current/
Voltage/ Crater time/ Postflow time) from the left.
See
AS; Arc start (FN414)
Function Commands (FN Codes)
Command name AE
FN code 415
Title name Arc end(WBP)
Terminates arc welding with the specified
General description
conditions.
■ General description
This command enables to end Arc welding, performing the crater process with the specified conditions. The welding end
position is a move command shortly before AE(FN415). To select the command, designate the FN code “415” or press F
key <AE>.
■ Parameters
Set "Welding end control conditions" first, after selecting this command (AE). "Welding end control conditions" are the
conditions displayed on Page 1. "Welding end conditions" are displayed on Page 2 and after.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), arc end conditions (Current/ Voltage/
Crater time/ Postflow time), and welding process from the left.
See
AS; Arc start (FN414)
Function Commands (FN Codes)
Command name AE
FN code 415
Title name Arc end(WBPL)
Terminates arc welding with the specified
General description
conditions.
■ General description
This command enables to end Arc welding, performing the crater process with the specified conditions. The welding end
position is a move command shortly before AE(FN415). To select the command, designate the FN code “415” or press F
key <AE>.
■ Parameters
Set "Welding end control conditions" first, after selecting this command (AE). "Welding end control conditions" are the
conditions displayed on Page 1. "Welding end conditions" are displayed on Page 2 and after.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc end conditions (Current/
Voltage/ Crater time/ Postflow time) from the left.
See
AS; Arc start (FN414)
Function commands (FN codes)
Example of operation
5 JOINT
6 OFFSET (Start)
7 JOINT 9 LIN (CIR1/CIR2)
8 ASM The movements are repeated for the 10 AEM
set times 11 OFFSET (End)
Step Command
1 100% JOINT
2 100% JOINT
3 MPS [3 times] Multi-pass welding start condition file (ASM*ARCW.001)
4 100% JOINT Multi-pass welding start Weaving condition
5 100% JOINT Pass
condition file number file number
6 OFFSET [Start] First pass
1 1
7 100% JOINT (AS**ARCW.001) (WFP.001)
8 ASM [1] Second 2 2
pass (AS**ARCW.002) (WFP.002)
9 300cm/m LINE 3 3
10 AEM [1] Third pass
(AS**ARCW.003) (WFP.003)
11 OFFSET [End] Fourth 4 4
12 100% JOINT pass (AS**ARCW.004) (WFP.004)
13 MPE 5 5
Fifth pass
(AS**ARCW.005) (WFP.005)
14 100% JOINT : : :
15 END
Parameter
This designates the multi-pass welding start condition file number. (1 - 999)
Parameter
AS Cond. file This file is to be created in advance by <Arc Condition> - [6 Arc start in multi-pass
No. 1
welding].
See
AEM: Multi Pass Welding End (FN419)
MPS; Multi Pass Section Start (FN496)
MPE; Multi Pass Section End (FN497)
EP; Execution Pass Specification (FN498)
OFFSET; Multi Offset Specification (FN499)
Function commands (FN codes)
Example of operation
5 JOINT
6 OFFSET (Start)
7 JOINT 9 LIN (CIR1/CIR2)
8 ASM The movements are repeated for the 10 AEM
set times 11 OFFSET (End)
Step Command
1 100% JOINT
2 100% JOINT
3 MPS [3 times]
4 100% JOINT
5 100% JOINT
6 OFFSET [Start] Multi-pass welding end condition file
(AEM*ARCW.001)
7 100% JOINT
Multi-pass welding end
8 ASM [1] Pass
condition file number
9 300cm/m LINE First pass 1 (AE**ARCW.001)
10 AEM [1] Second pass 2 (AE**ARCW.002)
11 OFFSET [End] Third Pass 3 (AE**ARCW.003)
12 100% JOINT Fourth pass 4 (AE**ARCW.004)
Fifth pass 5 (AE**ARCW.005)
13 MPE
: :
14 100% JOINT
15 END
Parameter
This designates the multi-pass welding end condition file number. (1 - 999)
Parameter
AS Cond. file This file is to be created in advance by <Arc Condition> - [7 Arc end in multi-pass
No. 1
welding].
See
ASM: Multi Pass Welding Start (FN418)
MPS; Multi Pass Section Start (FN496)
MPE; Multi Pass Section End (FN497)
EP; Execution Pass Specification (FN498)
OFFSET; Multi Offset Specification (FN499)
Function commands (FN codes)
General description
This turns ON the servo power source in unit of designated mechanism. For teach and playback, the optional software
"Mechanism-by-Mechanism Servo ON/OFF function" is required.
• At check go operation (when <Service Utilities> - [1 Teach / Playback Condition] - [9 Check with function] is set to
"Enabled")
• At automatic operation (at playback)
Parameter
This designates the mechanism number to turn ON the servo power source. (1 - 9)
When a mechanism that does not exist, or a mechanism that does not belong to the
Parameter Mechanism
unit of teach objective is designated, though there is no error at teaching, it is detected
No. 1 No.
as an alarm "A4911" at check go operation, and an error "E4911" at automatic
operation.
See
SPF; Servo OFF (FN439)
Function commands (FN codes)
General description
This turns OFF the servo power source in unit of designated mechanism. For teach and playback, the optional software
"Mechanism-by-Mechanism Servo ON/OFF function" is required.
• At check go operation (when <Service Utilities> - [1 Teach / Playback Condition] - [9 Check with function] is set to
"Enabled")
• At automatic operation (at playback)
Parameter
This designates the mechanism number to turn OFF the servo power source. (1 - 9)
When a mechanism that does not exist, or a mechanism that does not belong to the
Parameter Mechanism
unit of teach objective is designated, though there is no error at teaching, it is detected
No. 1 No.
as an alarm "A4911" at check go operation, and an error "E4911" at automatic
operation.
See
SPN; Servo ON (FN438)
Function Commands (FN Codes)
■ General description
This command enables to start with the specified waveform, attitude, and frequency.
The robot starts weaving from a position of the movement command taught immediately before this command (WFP).
■ Parameters
Conditions Range
WFP cond. file 0 ~ 999
Frequency 0.0 ~ 20.0 [Hz]
Linear func./ Sine wave /
Function Type
Circle
Amplitude (right amplitude, left amplitude)
0.0 ~ 50.0 [mm]
* When the linear or sine wave function has been set as the operation pattern
Radius (right radius, left radius)
0.0 ~ 50.0 [mm]
* When the arc has been set as the operation pattern
Stopping time (center, 1/4 period, 3/4 period) 0.0 ~ 9.9 [sec.]
Move at Stop Time Not exist/ Exist
Keep weaving time Not keep/ Keep
Weav Start Direct. Right/ Left
Weav Angle (right angle of inclination, left angle of inclination) -180 ~ 180 [deg.]
Torch Angle (right angle of inclination, left angle of inclination) -180 ~ 180 [deg.]
Push Angle (right crosswise angle, left crosswise angle)
-180 ~ 180 [deg.]
* When the linear or sine wave function has been set as the operation pattern
Circle center ratios (front circle center ratio, back circle center ratio)
1 ~ 100 [%]
* When the arc has been set as the operation pattern
Frequency
This is the weaving frequency (number of waveforms per second).
Function Type
One of the following can be selected as the weaving operation pattern (waveform).
Amplitude
This condition is for setting the weaving amplitude when the linear function or trigonometric function has been set as
the operation pattern. Both the left and right amplitudes relative to the advance direction can be set.
The radius from the center of the circle is set when the arc has been set as the operation pattern. Both the left and right
radii relative to the advance direction can be set.
Left
amplitude
Left Advance
amplitude direction
Stopping time
The center stop time, 1/4 period stop time and 3/4 period stop time are set.
Deeper penetration can be obtained by setting the stopping time.
Advance direction
Left amplitude
Main path
Right amplitude
Center period stop time
Start
開始点 point
左振幅
Left amplitude
右振幅
Right amplitude 進行方向 direction
Advance
Left amplitude
左振幅 進行方向
Advance direction
Right amplitude
右振幅
開始点
Start point
Weave angle
This condition is for setting angle of the weaving from the main path. It can be set both for the left and right amplitude.
The initial value is 0 degrees, and the weaving plane is perpendicular to the torch.
Right Left
右振幅
amplitude 左振幅
amplitude
(-) (-)
Torch angle
When the angle of inclination of the torch is set, this condition makes it possible to determine the welding posture in
respect of the work piece surface at the weaving end point.
- 0°
トーチ左傾斜角
Left torch angle
+
0°
-
トーチ右傾斜角
Right torch angle
Push angle
When the crosswise angle is set, this enables a change into a waveform such as the one shown in the figure below.
However, when the crosswise angle is set, the amplitude is tilted in the advance direction and is thus shortened. If, for
instance, the angle is set to -45 degrees, the amplitude will be about 70% of what it would be if the angle were 0 degrees.
Left 左前後角
push angle
0゜
(-) (+)
Advance
進行方向 direction
(-) (+)
0゜
Right右前後角
push angle
Circle rate
The circle center ratio is set when the arc has been set as the operation pattern. This ratio is for determining the
percentage of the advance direction component to be reflected in the arc radius (for determining to what extent the arc is
to be distorted).
For instance, if it is assumed that the circle in Fig. (A), when the front and back center circle ratios are 100% has:
・A left radius and right radius of the same length
・A front circle center ratio and back circle center ratio of 100%
Then the circle will have a perfectly round shape. (Perfect circles are formed in cases where weaving is performed
immediately. Normally, they are not formed since the speed component of the advance direction is added.)
The center circle ratio is what determines the extent to which the arcs are to be distorted in the advance direction.
The circle shown in Fig.(B) is formed if 50% is set as the front center circle ratio and 75% is set as the back center circle
ratio.
Seam
Waveform when
Front circle 100% is set as the
ratio front center circle
=100% ratio and as the
back center circle
ratio.
Back circle
ratio
=100%
(A)
Seam
Waveform when
50% is set as the
front center circle
Front circle ratio and 75% is
前円心率
ratio set as the back
=50%
=50% center circle ratio
Back
後円心率circle
ratio
=75%
=75%
Left 左半径
radius 右半径
Right radius
(B)
See
WAX; Axis weaving (FN441)
WE; Weaving end(FN443)
Function Commands (FN Codes)
■ General description
This command enables to start weaving with the simple harmonic motion of the axes.
The robot starts weaving from a position of the movement command taught immediately before this command (WAX).
■ Parameters
Conditions Range
WFP cond. file 0 ~ 999
Frequency 0.0 ~ 20.0 [Hz]
Stopping time (center, 1/4 period, 3/4 period) 0.0 ~ 9.9 [sec.]
Move at Stop Time Not exist/ Exist
Keep weaving time Not keep/ Keep
Axis No. 1 ~ 6
Amplitude (right amplitude, left amplitude) 0.0 ~ 50.0 [mm]
Frequency
This is the weaving frequency (number of waveforms per second).
Stopping time
The center stop time, 1/4 period stop time and 3/4 period stop time are set. Deeper penetration can be obtained by
setting the stopping time.
Advance direction
Left amplitude
Main path
Right amplitude
Center period stop time
Amplitude
This condition is for setting the weaving amplitude. Both the left and right amplitudes relative to the advance direction
can be set.
Left
amplitude
Left Advance
amplitude direction
See
WFP; Fixed Pattern weaving (FN440)
WE; Weaving end(FN443)
Function commands (FN codes)
General description
Taught weaving (optional) is the weaving operation where points for weaving can be taught according to the groove shape.
A weaving pattern as shown in the figure below can be created arbitrarily.
1 2
1, 2 and 3 are the taught
weaving points.
As for details of taught weaving, refer to the instruction manual for taught weaving. This help explains its outline.
Parameter
Condition Description Setting range
Weaving condition
Control of This sets whether the weaving speed is designated by the frequency or Frequency /
Weaving speed by the speed between points. Point speed
Frequency This sets the weaving frequency in the case when "Control of Weaving 0.1~10.0 [Hz]
speed" is set to "Frequency".
Point speed This sets the speed in the case when "Control of Weaving speed" is set 1~999 [cm/min]
to "Point speed".
Motion type This sets whether to loop or repeat between taught points. Loop /
Repeat
Move at Stop This sets whether or not to move the robot in the main track direction Not exist /
Time during stop time, in the case when stop time is set in teaching point. Exist
Advancing Advancing
direction direction
Stop time
Keep weaving This sets whether or not to maintain the actual welding time even in the Not keep /
time case where stop time is set in teaching point. Keep
Weaving plane This sets "User" when the number of teaching points is 3 points or User /
more. Advance /
This sets "Advance" or "Torch" when the number of teaching points is 2 Torch
points.
Advance ·······The plane perpendicular to the advancing direction is the
weaving plane.
Torch … ······The plane perpendicular to the torch direction is the
weaving plane.
Curveture Curvature level becomes valid only when the number of teaching points -5 ~ 5
is 2 points, and this sets what a curvature should be drawn. (When the
curvature level is 0, a straight line results.)
When the number of teaching points is 3 points or more, the torch
moves in a straight line between points, so even if this is set, setting is
ignored. (Normally, leave it "0".)
Seam
(Arc upward) (from the front
+5
to the depth)
-5
(Arc downward)
Teaching point
Seam
-5 (Arc forward)
Seam
Viewed from direction
Curvature level 0
the top
Teaching point
+5
(Arc backward)
Positional data This sets the point position and posture with the seam coordinate
Posture data system as reference.
See
WE; Weaving End (FN443)
Function Commands (FN Codes)
Command name WE
FN code 443
Title name Weaving End
General description Terminates weaving
■ General description
This command is used to end the weaving while it is being executed.
TCP returns to the main path if it is midway through a weaving waveform.
Main path
■ Parameters
None
See
WFP; Fixed Pattern weaving (FN440)
WAX; Axis weaving (FN441)
Application Command (FN Code)
Command
FORK
name
FN code 450
Title name Start other unit
Outline Used to start the work program of other unit.
Outline
This command is used to start the work program of other unit. (The command starts a specified work program in addition to a
work program currently being played back.)
If the FORK command is taught, teach the FORKWAIT command that waits for the completion of the FORK command to a
proper position.
Even though the FORK command and the FORKWAIT command are not necessarily taught by the set, it is recommended to
teach them by the set for the safety purpose in order to avoid resource conflict or multiple execution of the FORK command.
■ Example of motion
Unit1.001
001 100% JOINT
002 FORK [002,0] Unit2.002
003 600cm/m LIN 001 100% JOINT
004 600cm/m LIN 002 600cm/m LIN
005 600cm/m LIN 003 600cm/m LIN
006 FORKWAIT 004 600cm/m LIN
007 100% JOINT 005 600cm/m LIN
008 100% JOINT 006 END
009 END
1 2 3 4 5
Unit2.002 6: END
If the FORKWAIT command is not used in the source work program of the FORK command, the source work program of the
FORK command may be completed before its destination work program is completed.
In this case, the handling of the start signal for the source work program of the FORK command varies with the setting of
“Service” → “1 Teach/Playback Condition” → “27 Start during FORK”.
Parameters
Parameter 1 Program No. Used to make setting of program number to be started.
(Setting range: 0 to 9999)
Parameter 2 Resource Used to make setting of a period of time waiting for a mechanism to be used in the
conflict work program that is started to be released if this mechanism is being started in a
waiting time different unit, in seconds.
(Setting range: ∞ (−1) or 0 to 99)
If the relevant mechanism is released within the set period of time, the set program will
be started.
If it is not released, a fault will be output.
Related commands
FORKI: Start other unit (Input) (FN451)
FORKN: Start other unit (Number of times) (FN452)
FORKWAIT: Fork complete waiting (FN453)
Application Command (FN Code)
Command
FORKI
name
FN code 451
Title name Start other unit (Input)
Used to start the work program of other unit according to
Outline
input signal.
Outline
This command is used to start the work program of other unit according to input signal. (The command starts a specified work
program in addition to a work program currently being played back.)
Without input signal, the work program cannot be started.
If the FORKI command is taught, teach the FORKWAIT command that waits for the completion of the FORKI command to a
proper position.
Even though the FORKI command and the FORKWAIT command are not necessarily taught by the set, it is recommended to
teach them by the set for the safety purpose in order to avoid resource conflict or multiple execution of the FORKI command.
■ Example of motion
Unit1.001
001 100% JOINT
002 FORK [002,0] Unit2.002
003 600cm/m LIN 001 100% JOINT
004 600cm/m LIN 002 600cm/m LIN
005 600cm/m LIN 003 600cm/m LIN
006 FORKWAIT 004 600cm/m LIN
007 100% JOINT 005 600cm/m LIN
008 100% JOINT 006 END
009 END
1 2 3 4 5
Unit2.002 6: END
If the FORKWAIT command is not used in the source work program of the FORK command, the source work program of the
FORK command may be completed before its destination work program is completed.
In this case, the handling of the start signal for the source work program of the FORK command varies with the setting of
“Service” → “1 Teach/Playback Condition” → “27 Start during FORK”.
Related commands
FORK: Start other unit (FN450)
FORKN: Start other unit (Number of times) (FN452)
FORKWAIT: Fork complete waiting (FN453)
Application Command (FN Code)
Command
FORKN
name
FN code 452
Title name Start other unit (Number of times)
Used to start the work program of other unit according to
Outline
the number of pass times.
Outline
This command is used to start the work program of other unit. (The command starts a specified work program in addition to a
work program currently being played back.)
This command makes the unit pass by the specified number of times and starts the work program of a different unit when the
number of pass times reaches “specified number of pass times + 1”.
For example, when the “Number of times” parameter is set to “2”, the unit will pass two times, and the work program of a
different unit will be started at the third pass.
When the number of pass times is less than the set value, such work program will not be started.
If the FORKN command is taught, teach the FORKWAIT command that waits for the completion of the FORKN command to a
proper position.
Even though the FORKN command and the FORKWAIT command are not necessarily taught by the set, it is recommended to
teach them by the set for the safety purpose in order to avoid resource conflict or multiple execution of the FORKN command.
■ Example of motion
Unit1.001
001 100% JOINT
002 FORK [002,0] Unit2.002
003 600cm/m LIN 001 100% JOINT
004 600cm/m LIN 002 600cm/m LIN
005 600cm/m LIN 003 600cm/m LIN
006 FORKWAIT 004 600cm/m LIN
007 100% JOINT 005 600cm/m LIN
008 100% JOINT 006 END
009 END
1 2 3 4 5
Unit2.002 6: END
If the FORKWAIT command is not used in the source work program of the FORK command, the source work program of the
FORK command may be completed before its destination work program is completed.
In this case, the handling of the start signal for the source work program of the FORK command varies with the setting of
“Service” → “1 Teach/Playback Condition” → “27 Start during FORK”.
Related commands
FORK: Start other unit (FN450)
FORKI: Start other unit (Input) (FN451)
FORKWAIT: Fork complete waiting (FN453)
Application Command (FN Code)
Command
FORKWAIT
name
FN code 453
Title name Fork complete waiting
Used to wait for the completion of the work programs of
Outline other unit started by the FORK, FORKI and FORKN
commands.
Outline
This command is used to wait for the completion of all programs started by the FORK, FORKI and FORKN commands.
■ Example of motion
2: FORK [002,0]
Unit2.002 1 2 3 4 5 6: END
Unit3.003 1 2 3 4 5 6: END
Parameters
N/A
Related commands
FORK: Start other unit (FN450)
FORKI: Start other unit (Input) (FN451)
FORKN: Start other unit (Number of times) (FN452)
Application Command (FN Code)
Command
CALLFAR
name
FN code 454
Title name Call other unit
Outline Used to call the work program of other unit.
Outline
Using this command makes it possible to call the work program of other unit.
When the work program of other unit is called, the relevant unit will stop executing its own work program, and resume it when
the execution of the program called is completed.
It is impossible to further call the program of other unit with the program of call destination.
However, it is possible to call the program within the unit using the CALLP command with the program of call destination (for a
maximum of eight hierarchies).
Example of motion
Record “CALLFAR: Call other unit (FN454), Program No.=2” in Step 4.
When playing back this program, the robot will reach Step 4, and then skip Steps 5 and 6 to jump to the leading step of the
Program 2.
When the playback of the Program 2 is completed (the END: End command is executed), the robot will return to the next step,
Step 5 of call command of the call source program 1.
Step 4
Program 1
CALLFAR: Call other unit (FN454)
Program No.=2
1 2 3 5 6
● ● ● ● ●
7: END (FN92)
Program 2
1
5: END (FN92) ● ●
4
● ●
3 2
Parameters
Parameter 1 Program No. Used to make setting of program number to be called.
(Setting range: 0 to 9999)
Parameter 2 Resource Used to make setting of a period of time waiting for a mechanism to be used in the
conflict work program that is called to be released if this mechanism is being started in a
waiting time different unit, in seconds.
(Setting range: ∞ (−1) or 0 to 99)
If the relevant mechanism is released within the set period of time, the set program
will be called.
If it is not released, a fault will be output.
Related commands
CALLFARI: Call other unit (Input) (FN455)
CALLFARN: Call other unit (Number of times) (FN456)
Application Command (FN Code)
Command
CALLFARI
name
FN code 455
Title name Call other unit (Input)
Used to call the work program of other unit if input signal
Outline
is input.
Outline
Using this command makes it possible to call the work program of other unit if input signal is input.
This command makes the unit pass by the specified number of times and calls the work program of other unit when the number of
pass times reaches “specified number of pass times + 1”.
For example, when the “Number of times” parameter is set to “2”, the unit will pass two times, and the work program of other unit
will be called at the third pass.
Note that, if application command is recorded in the leading step of the program of call destination program, the application
command of jump destination will be executed on the spot where the call command is executed.
When the work program of other unit is called, the relevant unit will stop executing its own work program, and resume it when the
execution of the program called is completed.
It is impossible to further call the program of other unit with the program of call destination.
However, it is possible to call the program within the unit using the CALLP command with the program of call destination (for a
maximum of eight hierarchies).
Example of motion
Record “CALLFARI: Call other unit (Input) (FN455), Program No. of other unit=2, Input signal=I1)” in Step 4.
When playing back this program, the robot will reach Step 4, jump to the leading step of the Program 2 when the input signal I1
is input, and return to the next step, Step 5 of call command of the call source program 1, when the playback of the Program 2
is completed (the END: End command is executed).
If the input signal is not input, the robot will not jump to the Program 2.
Step 4
Program 1
CALLFARI: Call other unit (Input) (FN455)
Program No.=2
Input signal No. =I1
1 2 3 5 6
● ● ● ● ●
If the input signal 7: END (FN92)
I1 is input If the input signal I1
is not input
Program 2
5: END (FN92) ●4 ●
1
● ●
3 2
Related commands
CALLFAR: Call other unit (FN454)
CALLFARN: Call other unit (Number of times) (FN456)
Application Command (FN Code)
Command
CALLFARN
name
FN code 456
Title name Call other unit (Number of times)
Used to call the work program of other unit according to
Outline
the number of pass times.
Outline
This command is used to call the work program of other unit.
This command makes the unit pass by the specified number of times and calls the work program of other unit when the number of
pass times reaches “specified number of pass times + 1”.
For example, when the “Number of times” parameter is set to “2”, the unit will pass two times, and the work program of other unit
will be called at the third pass.
Note that, if application command is recorded in the leading step of the program of call destination program, the application
command of jump destination will be executed on the spot where the call command is executed.
When the work program of other unit is called, the relevant unit will stop executing its own work program, and resume it when the
execution of the program called is completed.
It is impossible to further call the program of other unit with the program of call destination.
However, it is possible to call the program within the unit using the CALLP command with the program of call destination (for a
maximum of eight hierarchies).
Example of motion
Record “CALLFARN: Call other unit (Number of times) (FN456), Program No. of other unit =2, Register No.=1, Number of
times=2)” in Step 4.
When playing back this program, the robot will pass the first and second calls to move to the Step 5, but jump to the leading
step of the Program 2 at the third call.
When the playback of the Program 2 is completed (the END: End command is executed), the robot will return to the next step,
Step 5 of call command of the call source program 1.
Step 4
Program 1 CALLFARN: Call other unit (Number of times) (FN456)
Program No.=2
Register No.=1
Number of times=2
1 2 3 5 6
● ● ● ● ●
Third call 7: END (FN92)
First and Second calls
Program 2
5: END (FN92) ●4 ●
1
● ●
3 2
Related commands
CALLFAR: Call other unit (FN454)
CALLFARI: Call other unit (Input) (FN455)
Function commands (FN codes)
■ General description
When this function is played, this can output the user error (or alarm or information) that is defined in Service / 25.Root
Diagnosis / 6.User error definition. Total 997 errors (or alarm or information) can be defined.
■ Example of operation
When this function is played, this can output the user error (or alarm or information). If designated error is not defined, default
error is detected.
■ Parameter
Parameter This specifies the error number to be happened in recorded step.
Error code
No. 1 (7003-7999)
General description
SF0 is the command to detect the wire extension so that the search motions and deviation detection of SF1 and SF2 should be
carried out correctly. By this command, for example, even if the wire extension length changes, it is possible to limit mistake in
detection or deviation caused by that to minimum.
As for details on the respective functions, teach examples and so forth of the touch sensor (AX-WD), refer to the
instruction manual for the touch sensor. This help explains its outline.
Example of operation
When SF0 is executed, deviation between the search point at teaching and the touch point detected during automatic
operation is detected.
In SF1 and SF2 after SF0, the wire top positions are corrected so as to be always constant.
As for the correction of SF0, until welding is executed, the search command and the motion command just before it is corrected
automatically.
(4) By manual operation, movements are made until the wire touches the reference surface.
Movement is made until the wire touches
the reference surface.
When it touches, "Touched" is displayed on
the teach pendant screen.
Search direction
Reference
surface
(5) When the wire touches, select f12 <Record Current Position>, and record the reference position.
(6) Press f12 <Complete> and record SF0.
Parameter
Parameter name Description Range
This selects the sensor to become a teach objective in the case where plural sensors
Sensor
are connected.
Mechanism No. The mechanism number to use the sensor is displayed. This cannot be edited. -
Welder No. This sets the welding machine number. 1~4
This is the speed of search motions at playback. When the search speed is increased,
that tact time is shortened, but the detection precision decreases, and the coasting run
6 ~ 360
Search speed amount after touching increases. (The wire may be bent.) Set around 60cm/min
[cm/min]
(10mm/sec) as a standard amount. Set an appropriate search speed according to your
purpose.
This sets the maximum searching distance so as to detect the search idle run at
Search range execution of SF0. 0 ~ 999
(Max.) When after start of search, touch is not detected in motions on set distance from the [mm]
reference position, a failure is detected.
This sets the minimum searching distance so as to detect that the wire has already
Search range touched at execution of SF0. 0 ~ 999
(Min.) When after start of search, touch is detected in motions on set distance, a failure is [mm]
detected.
This sets the allowable range of wire extension deviation detected by SF0. When the
Over deviation 0 ~ 999
wire extension deviation after touch detection is larger than the set value, a failure is
range [mm]
detected.
Tool No. This sets the tool number. 1 ~ 32
Taught Vector When the search vector is taught, a value is set. The value cannot be edited. -
General description
SF1 is the command that detects the deviation of a workpiece from the positional difference between the search point at
teaching and the touch point at automatic operation, and records it to the deviation correction file.
• The deviation of a workpiece to be detected by SF1 is in one direction. When a workpiece displaces in 3 dimensional
manners, carry out SF1 in 3 directions.
• Only by executing SF1, the deviation of a workpiece cannot be corrected. To correct the deviation, teaching of SF3
(receiving deviation amount) is necessary.
As for details on the respective functions, teaching examples and so forth of the touch sensor (AX-WD), refer to the
instruction manual for the touch sensor. This help explains its outline.
(5) By manual operation, movements are made until the wire touches the reference surface.
The wire moves to the point where it
touches the workpiece.
When it touches, "Touched" is displayed on
the teach pendant screen.
Search direction
(6) When the wire touches, select f12 <Record Current Position>, and record the reference position.
(7) Press f12 <Complete> and record SF1.
Parameter
Parameter name Description Range
This selects the sensor to become a teach objective in the case where plural
Sensor -
sensors are connected.
The manual operation mechanism at the moment when a command is selected is
selected as the mechanism to carry out search motions, and is displayed here.
When the manipulator is selected, it becomes the one direction search, and when
Mechanism No. -
the external axis is selected, it becomes the external axis search.
Editing is not available, so if a wrong mechanism is displayed, exit teaching by reset
once, and newly select the correct mechanism and select the command once again.
This sets the number of deviation length detected by SF1. Detected deviation is
Store No. 1 ~ 999
stored per number. Stored deviation can be received by SF3 command.
When deviation has been already stored by the same store number, when the
Dev. deviation composition is set to "ON", the detected deviation and the already stored Disabled/
Composition deviation can be composed. When the deviation composition is set to "OFF", the Enabled
detected deviation is overwritten.
This designates the logic of touch detection.
This judges the touch detection from changes from the wire off status to the wire OFF → ON/
Touch Logic
touch status by "OFF → ON", while from the wire touch status to the wire off status ON → OFF
by "ON → OFF".
Manipulator:
This is the speed of search motions at playback. When the search speed is 6 ~ 360
increased, that tact time is shortened, but the detection precision decreases, and [cm/min]
Search Speed coasting amount after touching increases. (The wire may be bent.) Set around
60cm/min (10mm/sec) as a standard amount. Set an appropriate search speed
according to your purpose. External axis:
1 ~ 100 [%]
Manipulator:
0 ~ 999 [mm]
Search range This sets the maximum searching distance so as to detect the search idle run at
(Max.) execution of SF1. Slider:
Search range When after start of search, touch is not detected in motions on set distance from the 0 ~ 9999 [mm]
(Max.) reference position, a failure is detected.
Positioner:
0 ~ 180 [deg]
Manipulator:
This sets the minimum searching distance so as to detect that the wire has already 0 ~ 999 [mm]
Search range touched at execution of SF1. Slider:
(Min.) When after start of search, touch is detected in motions on set distance, a failure is 0 ~ 9999 [mm]
detected. Positioner:
0 ~ 180 [deg]
Manipulator:
0 ~ 999 [mm]
This sets the allowable range of wire extension deviation detected by SF1. When the
Over deviation Slider:
wire extension deviation after touch detection is larger than the set value, a failure is
range 0 ~ 9999 [mm]
detected. Positioner:
0 ~ 180 [deg]
Manipulator:
This designates the coordinate system to store the deviation. In the list box,
Store Machine /
coordinate systems that can be selected are displayed, so select one. At the
Coordinates Tool /
external axis search, it is fixed to each axis coordinate system.
Other
External axis:
Axis
Parameters displayed on the screen are "Search speed", "Store No.", and "Mechanism No." from the left.
See
SF3; Deviation call (FN473)
SF4; Dev. vector composition (FN474)
Application command (FN code)
Command
SF2
name
FN code 472
Title names Pattern Search(Touch)
Detect setting deviation of the work object by the touch
General sensor attached to the welding wire and store the
description deviation volume/gap volume file in the specified file /
gap file.
■ General description
Use of this application command allows reflecting the deviation volume from the reference position of the work to the
"deviation revision file", with the touch sensing by using the search pattern prepared beforehand.
As for details on the respective functions, teach examples and so forth of the touch sensor, refer to the instruction
manual for the touch sensor. This help explains its outline.
■ Parameter
Parameter name Details Range
This sets the types of the sensor to be
Sensor 1~12
used.
A mechanism number corresponding to
Mechanism No. the parameter "Sensor" will be -
automatically set.
Number of the search pattern to be used.
Pattern number Specify the number registered as the 1~99
search pattern file (SFM file) beforehand.
The results of the search operation will
Store No.
be stored as the deviation volume in the 1~999
DEV
deviation file (DEV**).
The gap volume calculated by the search
Store No. operation will be stored in the GAP
1~999
GAP revision file (GAP**) specified by this
parameter.
Set the moving speed at the time of
search movement.
6~360
Search Speed The same value will be used for all
cm/min
search operations and it is not possible
to be changed by command.
Set the torch speed at the time of
movement in other than search
movement. 6~360
Move speed
The same value will be used for all move cm/min
operations and it is not possible to be
changed by command.
If this parameter is tuned ON, the
deviation value can be stored by adding
the said-value to the existing deviation
Disabled/
Dev. Composition file, at the time when the detected
Enabled
deviation value is stored.
By this compounding the file number can
be reduced.
This is used to reverse the movement of
Disabled/
Direction reversal right and left sides in the pattern search
Enabled
operations.
Basic coordinate system at the deviation
issuance time.
The rectangular coordinate system now
registered will be displayed as choice
Store coordinates -
candidate, however it will become
"machine" if all items are not registered.
User coordinate system cannot be
selected.
Designate the basic coordinate system Direction
for the search movement. specify/
Vector
Tool
coordinates
Vector start point will be memorized,
Vector Un-teaching/
when the direction specify is selected by
Start Finished
vector.
Vector end point will be memorized,
Vector Un-teaching
when the direction specify is selected by
End /Finished
vector.
The "reference position" as a calculation Un-teaching
Reference point standard of deviation will be specified. /
Finishing
"Dummy point" will be memorized. Un-teaching
Dummy point /
Finishing
This is used to set the maximum
movement volume possible to search at
the search movement. Error of the
Search range 0.0~999.9
"Search range exceeded" will be
Max mm
generated when search is not finished if
this maximum movement volume is
exceeded at each search movement.
This is used to set the minimum required
search volume at the search movement.
Search range Error of the "Search range is short" will 0.0~999.9
Min be generated when search is finished at mm
less than this movement volume in each
search movement.
If the deviation volume detected and
generated in the SF2 exceeds the value
Over deviation 0.0~999.9
specified by this parameter, it will be
range mm
treated as disorder of "Deviation range
exceeded".
This designates the maximum gap
volume issued by SF2. If the deviation
Gap range -999.0
volume exceeding this maximum value is
Max ~999.0 mm
detected, it will be treated as disorder of
"GAP over".
This designates the minimum gap
volume issued by SF2. If the deviation
Gap range -999.0
volume less than this minimum value is
Min ~999.0 mm
detected, it will be treated as disorder of
"GAP short".
Groove depth It is used to measure the groove
-999.0
range information using SF2.
~999.0 mm
Max
Groove depth It is used to measure the groove
-999.0
range information using SF2.
~999.0 mm
Min
Groove angle1 It is used to measure the groove
-180.0
range information using SF2.
~180.0 deg
Max
Groove angle1 It is used to measure the groove
-180.0
range information using SF2.
~180.0 deg
Min
Groove angle2 It is used to measure the groove
-180.0
range information using SF2.
~180.0 deg
Max
Groove angle2 It is used to measure the groove
-180.0
range information using SF2.
~180.0 deg
Min
Parameters displayed on the screen show "Sensor No.", "Pattern number.", "Store No DEV", and " Store No GAP" from the
left.
Function commands (FN codes)
General description
In SF3, this receives the stored deviation, and corrects positions. To the teaching position of the manipulator, the position of the
manipulator is corrected by the deviation received by SF3.
• The objective to be corrected by SF3 is the move command (LIN / CIR / JOINT).
• By receiving the deviation by the touch sensor, only the position is corrected. The torch posture is not changed.
• SF3 is a section command. Designate receiving before the step at which you want to start correction, and teach the end of
receiving before the step at which you want to end the correction.
• In the receiving section, irresponsive of presence or absence of an arc command, all the teaching points become objectives
for receiving.
• Receiving deviation can be made only between devices of the same mechanism kind. For example, deviation stored by a
positioner cannot be received by a manipulator.
• Deviation receiving section can be designated per mechanism. Use this function with sufficient care on up to where and
which deviation should be reflected.
• Receiving deviation is made in the coordinate system where deviation is stored, which please note. Especially, as for
deviation files, files stored by various kinds of mechanisms exist. For example, if a receiving number is wrong, deviation
stored by the neighbor manipulator is received.
• In the case where deviation is received between units or so, there may be the case when there is no stored coordinate
system. In such a case, receiving is not carried out (movement toward the teaching point), which please note.
• Only one deviation amount to be received by one mechanism in a section. When to simultaneously reflect (receive) plural
search results, convert plural search results into one deviation composed by SF4 in advance.
As for details on the respective functions, teach examples and so forth of the touch sensor (AX-WD), and the laser
search (AX-RD), refer to the respective instruction manuals. This help explains its outline.
Parameter
Parameters displayed on the screen show "Call No.", "Section Start or End", and "Mechanism No." from the left.
See
When using the touch sensor:
SF1; One Direction Search (Touch) (FN471)
SF4; Dev. vector composition (FN474)
General description
In SF4, a new deviation is calculated on the basis of stored deviation. And at the same time, by receiving this deviation,
positions may be corrected.
As for details on the respective functions, teach examples and so forth of the touch sensor (AX-WD), and the laser
search (AX-RD), refer to the respective instruction manuals. This help explains its outline.
Parameter
SF4 is calculated on the basis of the above parameters by the following equation.
Parameters displayed on the screen show "DEV file 1 No.", "DEV file 2 No.", "DEV file 3 No.", and "Store No." from the
left.
See
When using the touch sensor:
SF1; One Direction Search (Touch) (FN471)
SF3; Deviation call (FN473)
Command
SF5
name
FN code 475
Title names Store of tracking deviation
Store the cumulative volume of the weld line tracking
General
augmenter up to the present will be stored in the
description
deviation file.
■ General description
If the tracking command is used in a case where a deviation is generated between the step site and the welding line in the
actual work, arc welding can be made by revising the tool location so that the route between the step site and step can be
coincided with the welding line in the actual work.
In this case by using this application command at any step site on the tracking section, deviation volume during the tracking
can be stored. The stored deviation volume can be received by using the "FN473 deviation call," as necessary.
This command can be effective only when the arc sensor, TIG-AVC, and laser sensor are being used.
As for details on the respective functions, teach examples and so forth of each sensor, refer to the instruction
manual of each sensor. This help explains its outline.
■ Parameter
Parameter name Details Range
Sensor This specifies the sensor executing the 1~12
tracking revision.
Mechanism No. A mechanism number corresponding to
the parameter "Sensor" will be 1~9
automatically set.
DEV. storage No. The deviation revision file in the storage 1~999
location will be designated.
Store Coordinates Basic coordinate system at the deviation -
issuance time.
Basement of This sets the standard of deviation Tracking
Store issuance. only/
Teaching
Point
Posture-deviation Select the Enabled when issuing posture Disabled/
ingredient Enabled
Parameters displayed on the screen show "Sensor" and "DEV. storage No.", from the left.
Application command (FN code)
Command
SF8
name
FN code 478
Title names Generation of a DEV. file
General Exchange the deviation volume between the general
description purpose register and the deviation file.
■ General description
By use of this application command, the values of designated general purpose register can be stored into a deviation file
(DEV***) as deviation volume. And a designated deviation volume can be obtained from the deviation revision file to the
general purpose register.
With this deviation volume can be temporarily evacuated in the general purpose register, deviation volume can be treated in
various ways, including when diverging the task programs depending upon the deviation volume or when deviation volume in
a specified direction is desired to be used.
■ Parameter
Parameter name Details Range
Storing direction This sets the storing direction of the Register →
generated deviation volume. File /
File →
Register
Register This sets the register kinds to be stored. Local/
Kind Global real
number
Register No. This sets the top number of the register 1~195,
[real number/variable] to be stored. 301~495
DEV file No. This sets the top number of the
1~999
"Deviation revision file" to be stored.
Mechanism No. This sets the mechanism number when All
new files are generated. mechanisms
in the
present unit
Store Coordinates It will be enabled when the mechanism is
a manipulator and it make possible to
select the coordinate system registered
-
in the registration coordinate system of a
unit at present as the issuance
coordinate system.
Posture-deviation This sets whether to issue posture
Disabled/
deviation volume when the deviation
Enabled
revision file is generated.
Compensative-Su This sets the maximum permissible value
rveillance val. of the position deviation volume. -999.9~
Position 999.9 mm
Max
Compensative-Su This sets the minimum permissible value
rveillance val. of the position deviation volume. -999.9~
Position 999.9 mm
Min
Compensative-Su This sets the maximum permissible
rveillance val. posture deviation volume. -90.0~
Posture 90.0 deg
Max
Compensative-Su This sets the minimum permissible
rveillance val. posture deviation volume. -90.0~
Posture 90.0 deg
Min
Parameters displayed on the screen show "Storing direction", "Register Kind", "Register top No.", and "DEV file No.", from the
left.
Function commands (FN codes)
General description
By use of this function command, the values of designated actual variables (global actual numbers, local actual numbers) can
be stored into a gap file (GAP***) as gap values. In the case when there is not a gap file, one is newly created and gap values
are stored into it. And gap values designated from gap file to variables can be obtained.
Thereby, in the case where there is restriction in available "gap file" or 3 gap values or more are to be composed, gap values
can be saved to variables (and can be composed by calculation by register), accordingly more gap values can be handled.
As for details on the respective functions, teach examples and so forth of the touch sensor (AX-WD), and the laser
search (AX-RD), refer to the respective instruction manuals. This help explains its outline.
Parameter
See
SF1; One Direction Search (Touch) (FN471)
SF3; Deviation call (FN473)
Function commands (FN codes)
General description
ZF1 is the command that detects the deviation of a workpiece from the positional difference between the search point at
teaching and the touch point at automatic operation, and records it to the deviation correction file.
• The deviation of a workpiece to be detected by ZF1 is in one direction. When a workpiece displaces in 3 dimensional
manners, carry out ZF1 in 3 directions.
• Only by executing ZF1, the deviation of a workpiece cannot be corrected. To correct the deviation, teaching of SF3
(receiving deviation amount) is necessary.
As for details on the respective functions, teach examples and so forth of the laser search (FD-RD), refer to the
instruction manual for the laser search. This help explains its outline.
(5) By manual operation, movements are made until the wire touches the reference surface.
Set
設定距 離
distance
アンタッ チ・
Untouch
Touch
タ ッチ・
(6) When the wire touches, select f12 <Record Current Position>, and record the reference position.
(7) Press f12 <Complete> and record SF1.
Parameter
Parameter name Description Range
This selects the sensor to become a teach objective in the case where plural sensors
Sensor -
are connected.
The manual operation mechanism at the moment when a command is selected is
selected as the mechanism to carry out search motions, and is displayed here. When
the manipulator is selected, it becomes the one direction search, and when the
Mechanism No. -
external axis is selected, it becomes the external axis search.
Editing is not available, so if a wrong mechanism is displayed, exit teaching by reset
once, and newly select the correct mechanism and select the command once again.
This sets the number of deviation length detected by ZF1. Detected deviation is stored
Store No. 1 ~ 999
per number. Stored deviation can be received by SF3 command.
When deviation has been already stored by the same store number, when the
Dev. deviation composition is set to "ON", the detected deviation and the already stored Disabled/
Composition deviation can be composed. When the deviation composition is set to "OFF", the Enabled
detected deviation is overwritten.
This designates the logic of touch detection.
This judges the touch detection from changes from the wire off status to the wire touch OFF → ON/
Touch Logic
status by "OFF → ON", while from the wire touch status to the wire off status by "ON ON → OFF
→ OFF".
Manipulator:
6 ~ 360
When the search speed is increased, the tact time is shortened, but the detection
Search Speed [cm/min]
precision declines. Set an appropriate search speed according to your purpose.
External axis:
1 ~ 100 [%]
Manipulator:
0 ~ 999 [mm]
This sets the maximum searching distance so as to detect the search idle run at
Search range execution of ZF1. Slider:
(Max.) When after start of search, touch is not detected in motions on set distance from the 0 ~ 9999 [mm]
reference position, a failure is detected.
Positioner:
0 ~ 360 [deg]
Manipulator:
This sets the minimum searching distance so as to detect laser touch is already made 0 ~ 999 [mm]
Search range at execution of ZF1. Slider:
(Min.) When after start of search, touch is detected in motions on set distance, a failure is 0 ~ 9999 [mm]
detected. Positioner:
0 ~ 360 [deg]
Manipulator:
0 ~ 999 [mm]
This sets the allowable range of wire extension deviation detected by ZF1. When the
Over deviation Slider:
wire extension deviation after touch detection is larger than the set value, a failure is
range 0 ~ 9999 [mm]
detected. Positioner:
0 ~ 360 [deg]
Manipulator:
Machine /
Tool /
This designates the coordinate system to store the deviation. In the list box, coordinate Other
Store
systems that can be selected are displayed, so select one. At the external axis search,
Coordinates
it is fixed to each axis coordinate system.
External axis:
Axis
Parameters displayed on the screen shows "Search Speed", "Store No.", and "Mechanism No." from the left.
See
SF3; Deviation call (FN473)
SF4; Dev. vector composition (FN474)
Function commands (FN codes)
General description
This carries out a search motion crossing the groove (seam) once, and obtains the groove (seam) shape, and searches the
welding position by simple image processing method, and detects deviation from teaching of the welding portion.
As for details on the respective functions, teach examples and so forth of the laser search (FD-RD), refer to the
instruction manual for the laser search. This help explains its outline.
Parameter
Parameter name Description Range
This selects the sensor to become a teach objective in the case where plural
Sensor -
sensors are connected.
The manual operation mechanism at the moment when a command is selected is
selected as the mechanism to carry out search motions, and is displayed here. When
the manipulator is selected, it becomes the one direction search, and when the
Mechanism No. -
external axis is selected, it becomes the external axis search.
Editing is not available, so if a wrong mechanism is displayed, exit teaching by reset
once, and newly select the correct mechanism and select the command once again.
This sets the number of deviation detected by ZG1. Detected deviation is stored per
File Number DEV 1 ~ 999
number. Stored deviation amount can be received by SF3 command.
File Number GAP This sets the number of the gap value detected by ZG1. 1 ~ 999
File Number GFF This sets the number of the GFF file (image processing parameter file) to be used. 1 ~ 999
Manipulator:
6 ~ 360
[cm/min]
When the search speed is increased, the tact time is shortened, but the detection
Search Speed
precision declines. Set an appropriate search speed according to your purpose. External axis:
1 ~ 100 [%]
Manipulator:
Machine /
Tool /
This designates the coordinate system to store the deviation. In the list box, Other
Store Coordinates coordinate systems that can be selected are displayed, so select one. At the
external axis search, it is fixed to each axis coordinate system.
External axis:
Axis
At teaching, this parameter becomes valid. And even in trail operation, it does not
get invalid automatically, therefore, if the trail operation is left ON by the setting of
the soft key, acquisition of reference position is always executed in the next
playback motion, which please note.
Stable waiting
This sets the stability waiting time at distance measurement. 0.3 ~ 9.9 [sec]
time
This is the position to be the reference of deviation store. Coordinates of the
reference position are displayed, which can be confirmed easily.
Vertical Base • The reference position cannot be registered by teaching. Be sure to execute trial
Distance operation to register it.
• When correction is erroneous, by checking the reference position, it may be easy
to specify the problem.
Manipulator:
0 ~ 999 [mm]
This sets the allowable range of wire extension deviation detected by ZF1. When the
Over deviation Slider:
wire extension deviation after touch detection is larger than the set value, a failure is
range 0 ~ 9999 [mm]
detected. Positioner:
0 ~ 360 [deg]
This parameter is the one to be used in the image processing portion. This sets the
maximum expected gap value. 0.0 ~ 99.9
Max. Gap value
Designate the maximum value and the minimum value of the gap value obtained as [mm]
the result of image processing by the parameter "gap watch value".
This sets the minimum depth value to be used in the process of image processing.
0.0 ~ 99.9
Min. Depth value As same as the above "maximum gap value", this may be used or not according to
[mm]
applicable shapes.
When the gap value detected in the image processing exceeds the value of this
Gap watch range -999 ~ 999
parameter, it is judged as a failure. As for the troubleshooting, designation can be
(Max.) [mm]
made by sensor constant.
When the gap value detected in the image processing is below the value of this
Gap watch range -999 ~ 999
parameter, it is judged as a failure. As for the troubleshooting, designation can be
(Min.) [mm]
made by sensor constant.
When the groove depth detected in the image processing exceeds the value of this
Groove depth -999 ~ 999
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Max.) [mm]
made by sensor constant.
When the groove depth detected in the image processing is below the value of this
Groove depth -999 ~ 999
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Min.) [mm]
made by sensor constant.
When the groove angle 1 detected in the image processing exceeds the value of this
Groove angle 1 -360 ~ 360
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Max.) [deg]
made by sensor constant.
When the groove angle 1 detected in the image processing is below the value of this
Groove angle 1 -360 ~ 360
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Min.) [deg]
made by sensor constant.
When the groove angle 2 detected in the image processing exceeds the value of this
Groove angle 2 -360 ~ 360
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Max.) [deg]
made by sensor constant.
When the groove angle 2 detected in the image processing is below the value of this
Groove angle 2 -360 ~ 360
parameter, it is judged as a failure. As for the troubleshooting, designation can be
range (Min.) [deg]
made by sensor constant.
This parameter is the one to designate the allowable deviation at circular detection,
Allowable arc dev to be used in the process of image processing. As same as the above "maximum 0 ~ 100 [%]
gap value", this may be used or not according to applicable shapes.
Parameters displayed on the screen show "DEV file No.", "GAP file No.", and "Search speed" from the left.
See
SF3; Deviation call (FN473)
SF4; Dev. vector composition (FN474)
Function commands (FN codes)
Command name ST
FN code 485
Title name Start Tracking
This starts seam tracking.
General description *This is used when arc sensor (AX-AR/AX-AR2) or
TIG arc sensor (AX-TR/AX-TR2) is connected.
General description
ST is the start command of seam tracking.
In tracking section, it detects the workpiece deviation while welding, and corrects taught seam.
• Teach the move command in tracking section by linear interpolation (LIN) or circular interpolation (CIR).
• Deviation stored by ET, SF4, and SF5 is data of the designated coordinate system. In the case to shift a task program
including motion commands of different coordinate systems, shift may not be available by the coordinate system to be the
reference or shift may be made in unexpected direction, which please note.
Parameter
Parameter name Description Range
This is the parameter necessary for the arc sensor, and the basic data to set the
Sample data No. 1 ~ 50
values to be used in common according to mainly joint kinds and so forth.
<Arc Sensor>
This sets the speed to correct the detected deviation.
1 (slow) → 5 (fast)
z Offset (Horizontal)
At setting the horizontal offset, refer to the figure below.
Advancing
When the right toward the When the left toward the direction
welding advancing welding advancing
direction is the upper plate direction is the upper plate
z Offset (Vertical)
At setting the vertical offset, refer to the figure below.
Wire extension
z Chasing coordinates
At setting the chasing method, refer to the figure below.
Point C Point C
Point B Point B
Correction
motion example
Point A Point A
See
SF3; Deviation call (FN473)
SF4; Dev. vector composition (FN474)
SF5; Dev. vector composition (FN475)
ET;End Tracing (FN486)
Function commands (FN codes)
Command name ET
FN code 486
Title name Tracking end
This ends the seam tracking.
General description * This is used when the arc sensor (AX-AR) is
connected.
General description
ET is the command to end the seam tracking.
In ET, deviation (touch sensor deviation + arc sensor deviation, or arc sensor deviation) in the designated coordinate system in
the execution of ET is stored into the deviation correction file of the designated store number.
• Teach ET in the tracking section and the welding section and the weaving section.
• Teach the move command in the tracking section by linear interpolation (LIN) or circular interpolation (CIR).
• When to carry out corner winding process or so in the section by use of the deviation stored by ET, designate receiving by
SF3 after ET.
Parameter
Parameter name Description Range
This sets the number of deviation to be stored. Contents of store may be selected by
"Basement of Store".
Store No. 1 ~ 999
Detected deviation is stored per number.
Stored deviation can be received by SF3 command.
Endpoint This sets the end point detection whether disabled or enabled. Be sure to set this to Disabled/
detection "Disabled". Enabled
Endpoint 0 ~ 999
Not in use at present
detection offset [mm]
Endpoint 0 ~ 999
Not in use at present
detection range [mm]
This selects an store coordinate system. Coordinate systems for selection are
Store Coordinates -
displayed, so select the one you want.
This designates the contents to be stored.
Tracking only :
Only the amount corrected by the arc sensor is stored as deviation. In the receiving Tracking
Basement of section of SF3, received amount becomes subtracted amount. only /
Store Teaching Point : Teaching
The deviation of the present torch position to the teaching point is stored. In the Point
receiving section of SF3, its amount is also included. It is convenient for carrying
out corner winding process or so.
This designates whether to keep the tracking correction amount at the moment of ET,
Keep Disabled/
or to move as taught toward the next teaching point. Correction is kept until arc end
compensation Enabled
command.
z "Keep compensation"
As for "Keep compensation" parameter movements, refer to the table below.
See
SF3; Deviation call (FN473)
SF4; Dev. vector composition (FN474)
ST;Start Tracing (FN485)
Function commands (FN codes)
General description
This is the command to represent the start of multi-pass section. For teach and playback, the optional software "Multi-pass
Welding function" is required.
The multi-pass section means the section where taught movements including not only welding but also approach movements
to workpiece and retreat movements are carried out repeatedly.
As for details, refer to the multi-pass welding function instruction manual (optional).
Example of operation
5 JOINT
6 OFFSET (Start)
7 JOINT 9 LIN (CIR1/CIR2)
8 ASM The movements are repeated 10 AEM
for the set times 11 OFFSET (End)
(1) Joint interpolation movements are carried out from the position of step 2 to the teach position of step 4. In the
conventional DAIHEN multi-pass welding function, since MPS had position data, the robot moved to the teach position of
MPS. While, in the AX controller, MPS does not have position data, the robot moves to the next step of MPS.
(2) The robot moves to the arc start point of step 7, and starts welding under the multi-pass welding condition taught by ASM.
(3) After completion of welding, the robot moves to the position of step 12.
(4) If the number of repetitions in the multi-pass section is smaller than the number of repetitions set by MPS (3 times), the
step execution shifts to MPS. The robot moves to the position of step 4.
(6) After execution of MPE of step 13, if repetition movements are completed by the set number, the robot moves to the
position of step 14, and completes its movements.
Parameter
Parameter Variable No. The number of the integer variable to count the number of passes is
No. 1 designated here. ( 1 - 200)
As for the integer variable to be designated here, designate a number
different from the integer variable to be used for other applications.
The pass number now under execution may be confirmed on the integer
variable monitor.
Parameter Number of the pass "How many times to be repeated" is designated as the number of passes. (1
No. 2 - 100)
See
MPE; Multi Pass Section End (FN497)
Function commands (FN codes)
General description
This is the command to represent the end of multi-pass section. For teach and playback, the optional software "Multi-pass
Welding function" is required.
As for details, refer to the multi-pass welding function instruction manual (optional).
Example of operation
Refer to the multi-pass welding start MPS (FN496).
Parameter
None
See
MPS; Multi Pass Section Start (FN496)
Function commands (FN codes)
Command name EP
FN code 498
Title name Execution Pass Specification
This designates per pass whether the function
General description commands are to be executed or not in the
multi-pass section.
General description
This is the command to designate per pass whether the function commands are to be executed or not in the multi-pass section.
In the case when this command is not taught, the function commands in the multi-pass area are executed at every execution of
each pass.
For teach and playback, the optional software "Multi-pass Welding function" is required.
As for details, refer to the multi-pass welding function instruction manual (optional).
Example of operation
By teaching EP <FN498>, the following movements are available. The designated parameter is shown in [ ].
Parameter
Parameter Condition One of the following conditions for executing the function commands taught in the next
No. 1 step is selected here.
y == (execution only at the designated number of pass)
y <= (execution at one over the designated number of pass)
y >= (execution at one below the designated number of pass)
y Forward (not supported at present)
y Return (not supported at present)
See
MPS; Multi Pass Section Start (FN496)
MPE; Multi Pass Section End (FN497)
Function commands (FN codes)
General description
This is the command to set the offset in the movement steps in the multi-pass welding section. This is used when to weld the
second pass and passes after that with shift from the first pass.
For teach and playback, the optional software "Multi-pass Welding function" is required.
As for details, refer to the multi-pass welding function instruction manual (optional).
Example of operation
As shown below, by teaching the OFFSET command to the step just before the arc start point, and further the OFFSET
command again to the step just after the arc end point, the entire multi-pass welding section is shifted by the designated offset
amount.
Second pass
First pass
Third pass
Parameter
Parameter Multi Offset The number of the multi offset condition file is designated here. (1 - 999)
No. 1 No. This file is to be created in advance in <Arc condition> - [9 Multi offset condition].
Parameter Mechanism The mechanism number to which offset is set is designated here. (1 - 9)
No. 2 No. Normally, since the manipulator having the welding torch is set as mechanism 1,
designate "1".
Parameter Section Kind Since the offset becomes valid over the entire multi-pass welding section, whether to
No. 3 "start" or "end" the offset is designated here.
(1 : start, 0 : end)
Designate "start" for the start position of the multi-pass welding section, while
designate "end" for the end position.
See
MPS; Multi Pass Section Start (FN496)
MPE; Multi Pass Section End (FN497)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is made to stand by until the specified general-purpose input signal is
input.
It can be recorded in a single action using the [IN] dedicated key on the teach pendant.
It is not possible to wait for a status signal (a signal such as the welding finish signal and start signal whose application has
already been assigned). Which signals have been assigned as status signals can be identified on the monitor screen. Signals
whose numbers are displayed in the bold italics are status signals so any of the other signals can be awaited.
■ Example of operation 1
Step 1 Step 4
■ Example of operation 2
If SET (FN32) has been recorded after WAITI (FN525)
Robot path Step 2 Step 3 WAITI (FN525)
Accuracy
Step 4 SET (FN32)
Step 1 Step 5
Input signal inspected here
Time
Output signal
(when the i signal
was input)
If the input signal has been input, step 4 is executed at the time
when the accuracy is matched.
If it has not been input, after arriving at step 2, the input signal is
checked, and after it has been input, step 4 is executed.
■ Example of operation 3
If SET (FN32) has been recorded before WAITI (FN525)
Robot path Step 2 Step 3 SET(FN32)
Accuracy
Step 4 WAITI(FN525)
Step 1 Step5
Input signal inspected here
Time
Output signal
(when the i signal
was input)
If the input signal has been input, step 3 is executed at the time
when the accuracy is matched.
If it has not been input, step 3: SET is not executed at the above
location; instead, after arriving at step 2, step 3: SET is executed.
Then, the input signal is checked again, and after it has been
input, the robot moves toward step 5.
■ Parameter
This specifies the number of input signal to be awaited. When number 5101 or above
Parameter Input signal
is specified, multiple input signals can be awaited.
No. 1 number
(1–2048, 5101–5196)
See
WAITJ: Input signal wait (negative logic) (FN526)
WAIT: Input signal wait with timer (FN552)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is made to stand by until the one specified general-purpose input signal is
set to OFF.
It is not possible to wait for a status signal (a signal such as the welding finish signal and start signal whose application has
already been assigned). Which signals have been assigned as status signals can be identified on the monitor screen. Signals
whose numbers are displayed in the bold italics are status signals so any of the other signals can be awaited.
■ Example of operation
Step 1 Step 4
■ Parameter
This specifies the number of input signal to be awaited. When number 5101 or above
Parameter Input signal
is specified, multiple input signals can be awaited.
No. 1 number
(1 – 2048, 5101 – 5196)
See
WAITI: Input signal wait (positive logic) (FN525)
WAIT: Input signal wait with timer (FN552)
Function commands (FN codes)
Command
FETCH
name
FN code 528
Title name Fetch Input cond.
General Determine judgment the input condition of a following
description function.
■ General description
This has a parameter I-signal No., it decides judgment the input condition of a following function. Input condition function (ex.
WAITI, JMPI, etc.) might cause robot deceleration, because pathway might not be decided immediately before.
‘FN258 FETCH’ function decides judgment the input condition in any timing, it also prevents from deceleration.
■ Example of operation
Functions with I-cond. in short pitch
Step4 Step5 Step7 Step8
1 100% LIN A1 T1
2 100% LIN A8 T1 Step3
I condition function judges I signal when robot passes a previous move command. Therefore, when the
movement section is short the migration pathway might not be decided immediately before, and the robot
decelerate.
■ Parameter
Parameter
Input signal I signal No. to fetch.(1-5196)
No. 1
■ Example of screen display
FETCH[I1]
FETCH[I2]
MOVE
WAITI[I1]
MOVE
WAITI[I2]
■ Settings
Some error is supported.
Refer to ‘Constants: 6 Signals: 1 Signal Condition’
Setting function
Error occurs when a fetched signal status by function FETCH(Fn528) is changed before the
Detect fetch error intended function working.
Choice: Disabled / Enabled
Detect an error when a fetched signal by a function FETCH(Fn528) spends the designated
Effective span of
number of move steps.
a fetched signal
Range: 0~9999(0: disabled)
■ Monitor
Fetched signals indicate back color on ‘User Inputs monitor’.
■ Others
‘FETCH’ function does not work while operating ‘Check back’.
‘FETCH’ function is managed separately each units. Executing ‘FETCH’ in one unit does not affect other unit.
Function commands (FN codes)
■ General description
This function is used in conveyor synchronizing application.
Robot waits until conveyor register reaches up to the designated distance (= interlock distance). While waiting, robot is
stationary. When conveyor register reaches, robot proceeds to the next step. If conveyor register had already reached to the
interlock distance before the start of waiting, robot immediately proceeds to the next step.
Please refer to the “Conveyor Synchronization Manual” (option) for detail operations.
■ Example of operation
In case of CNVI:Conveyor Interlock (FN550) is recorded at step4, robot will wait until conveyor register reaches up to 2000mm
in the position of step4 stationary.
● Step 4
■ Parameter
Interlock Input the conveyor interlock distance.
Parameter
distance Linear conveyor; (0-30,000) mm
No. 1
Circular conveyor; (0-180) degree
See
CNVSYNC; Conveyor Counter Reset (FN55)
CNVYSYNCI; Synchronizing Conveyor Interlock (FN562)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is made to stand by until the specified general-purpose input signal is input.
If the input signal is not input even after the specified time has elapsed, the robot jumps to the specified escape step.
The escape step can be designated with a move command or a function command. Bear in mind that when a function
command has been designated, the command will be executed straight away.
It is not possible to wait for a status signal (a signal such as the welding finish signal and start signal whose application has
already been assigned). Which signals have been assigned as status signals can be identified on the monitor screen. Signals
whose numbers are displayed in the bold italics are status signals so any of the other signals can be awaited.
■ Example of operation
Robot path
Escape destination step
Step 1 Step 4
■ Parameter
This specifies the number of input signal to be awaited. When number 5101 or above
Parameter Input signal
is specified, multiple input signals can be awaited.
No. 1 number
(1 – 2048, 5101 – 5196)
Parameter This specifies the wait unit in seconds.
Wait time
No. 2 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if the input signal is
Parameter Escape step not input even though the wait time has elapsed. Any step in the same program can
No. 3 number be designated.
(1 – 9999)
See
WAITI: Input signal wait (positive logic) (FN525)
WAITJ: Input signal wait (negative logic) (FN526)
Function commands (FN codes)
WAITA (FN553)
Step 2 Step 3 Group2,AND
Accuracy =&B0000001001,
time = 60sec,
step = 10
Step 1 Step 4
The robot is not decelerated by this command. If no positioning is specified, the input signal is inspected just before the
command position reaches the accuracy range of the move command, and if it has been input, an inside arc is drawn.
If the input signal has not been input, the robot toward the recorded point and the condition is inspected when the robot has
reached.
If the condition is not satisfied even after the specified time has elapsed, the robot jumps to the specified escape step. On this
sample as followed table, signals described “ON” should be “ON”, and signals described “any” does not matter ON or OFF.
In the case of an interlock signal requiring a stringent accuracy, either reduce the accuracy level in step 2 or record positioning
"P" in step 2 in the figure above.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. “1” should be ON, and “0” does not
Parameter
AND condition matter ON/OFF.
No. 2
(0000000000 - 1111111111)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
See
WAITO; Wait group input (OR) with timer(FN554)
WAITE; Wait group input with timer(FN555)
Function commands (FN codes)
WAITO (FN554)
Step 2 Step 3 Group2, OR
Accuracy =&B0000001001,
time = 60sec,
step = 10
Step 1 Step 4
The robot is not decelerated by this command. If no positioning is specified, the input signal is inspected just before the
command position reaches the accuracy range of the move command, and if it has been input, an inside arc is drawn.
If the input signal has not been input, the robot toward the recorded point and the condition is inspected when the robot has
reached.
If the condition is not satisfied even after the specified time has elapsed, the robot jumps to the specified escape step. On this
sample as followed table, at least one signal described “ON” should be “ON”, and signals described “any” does not matter ON
or OFF.
In the case of an interlock signal requiring a stringent accuracy, either reduce the accuracy level in step 2 or record positioning
"P" in step 2 in the figure above.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. At least one “1” signal should be ON,
Parameter
OR condition and “0” does not matter ON/OFF.
No. 2
(0000000000 - 1111111111)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
■ Example of screen display
WAITO[Group2, &B00000101,60.0,10] FN554;Wait group input (OR) with timer
See
WAITA; Wait group input (AND) with timer(FN553)
WAITE; Wait group input with timer(FN555)
Function commands (FN codes)
WAITE (FN555)
Step 2 Step 3 Group2, cond
Accuracy =&B0000001001,
time = 60sec,
step = 10
Step 1 Step 4
The robot is not decelerated by this command. If no positioning is specified, the input signal is inspected just before the
command position reaches the accuracy range of the move command, and if it has been input, an inside arc is drawn.
If the input signal has not been input, the robot toward the recorded point and the condition is inspected when the robot has
reached.
If the condition is not satisfied even after the specified time has elapsed, the robot jumps to the specified escape step. On this
sample as followed table, all signals described “ON” should be “ON”, and all signals described “OFF” should be “OFF”.
In the case of an interlock signal requiring a stringent accuracy, either reduce the accuracy level in step 2 or record positioning
"P" in step 2 in the figure above.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. “1” signal should be ON, and “0” signal
Parameter
condition should be “OFF”.
No. 2
(0000000000 - 1111111111)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
■ Example of screen display
WAITE[Group2, &B00000101,60.0,10] FN555;Wait group input with timer
See
WAITA; Wait group input (AND) with timer(FN553)
WAITO; Wait group input (OR) with timer(FN554)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is stand by until the specified group input satisfies the condition that is all
designated bit (I signal) should be ON.
The only one difference from WAITA (FN553) is how to designate condition that is here BCD (Binary Coded Decimal).
■ Example of operation
In case of “condition = 63”, signals described “ON” should be “ON”, and signals described “any” does not matter ON or OFF.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. “1” should be ON and “0” does not
Parameter
AND condition matter ON/OFF, then describe it by BCD,
No. 2
(0 - 399)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
See
WAITA; Wait group input (AND) with timer(FN553)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is stand by until the specified group input satisfies the condition that is at
least one designated bit (I signal) should be ON.
The only one difference from WAITO (FN554) is how to designate condition that is here BCD (Binary Coded Decimal).
■ Example of operation
In case of “condition = 63”, at least one signal described “ON” should be “ON”, and signals described “any” does not matter ON
or OFF.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. At least one “1” should be ON and “0”
Parameter
AND condition does not matter ON/OFF, then describe it by BCD,
No. 2
(0 - 399)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
See
WAITO; Wait group input (OR) with timer(FN554)
Function commands (FN codes)
■ General description
When this function command is executed, the robot is stand by until the specified group input satisfies the condition that is all
bit (I signal) should be coincident.
The only one difference from WAITE (FN555) is how to designate condition that is here BCD (Binary Coded Decimal).
■ Example of operation
In case of “condition = 63”, signals described “ON” should be “ON”, and signals described “OFF” should be “OFF”.
■ Parameter
Parameter This specifies the group number.
Group number
No. 1 (1-204)
This specifies the condition of 10 input signals. “1” should be ON and “0” should be
Parameter
AND condition “OFF”, then describe it by BCD,
No. 2
(0 - 399)
Parameter This specifies the wait unit in seconds.
Wait time
No. 3 (0.0 – 60.0)
This specifies the number of the step to which the robot is to jump if condition is not
Escape
Parameter satisfied even though the wait time has elapsed. Any step in the same program can
destination
No. 4 be designated.
step
(1 – 9999)
See
WAITE; Wait group input with timer(FN555)
Application Command (FN Code)
Command
CNVYSYNCI
name
FN code 562
Title name Sync conveyor interlock
Used to make the robot wait until the conveyor travels a
Outline distance specified by the conveyor register while
following the conveyor.
Outline
The CNVYSYNCI command is an application command dedicated to synchronization with the conveyor.
Recording this application command enables the conveyor to wait for interlock until the conveyor travels a specified distance
while in playback mode. The robot also moves while following the conveyor even in interlock waiting mode. When the
conveyor reaches an interlocking distance, the robot will proceed to the next step. If the conveyor already reaches the
interlocking distance when the robot starts waiting for interlock, the robot will not wait but immediately proceed to the next
step.
For detail of the conveyor synchronization function, refer to information in the FD CONTROLLER OPERATING MANUAL
“CONVEYOR SYNCHRONIZATION FUNCTION” (OPTION).
Example of motion
Record “CNVYSYNCI: Sync. conveyor interlock (FN562)” in Step 4.
When playing back this command, the robot will complete positioning in the Step 4, and subsequently wait while following the
conveyor until the conveyor register (the current conveyor position found by the current conveyor counter) reaches a distance
of 2,000 mm. After that, the conveyor will proceed to the next step.
● Step 4
●
7 6
● Conveyor traveling direction
Parameters
Used to enter an interlocking distance.
Interlocking
Parameter 1 Setting range: 0 to 30000 mm for straight conveyors
distance
0 to 180 deg. for circular conveyors.
Related commands
CNVSYNC: Conveyor counter reset (FN55)
CNVI: Conveyor interlock (FN550)
Function commands (FN codes)
Command
PRSI
name
FN code 564
Title name Press interlock
This sets interlock, in the press brake synchronization
Outline
function.
■ Outline
When the parameter 1 (downward) is designated, "synchronization start position" of the press brake setting data is used,
and when the conveyor register becomes larger than the value, the interlock is released. At waiting for interlock, the robot
stops and waits.
When the parameter 0 (upward) is designated, "retreat start position" is used, and when the conveyor register becomes
smaller than the value, the interlock is released. At waiting for interlock, the robot waits in synchronization.
■ Parameters
Parameter Conveyor This designates a conveyor number registered as press brake. (1-2)
No.1 number
Parameter Upward/ This designates punch upward/downward.
No.2 Downward (Upward: 0 / Downward: 1)
■ General description
The socket is made. It is necessary to execute this function before other socket functions are executed when communicating
with a socket.
■ Parameter
The socket number used is specified. When the socket number that has already been
Parameter made is specified, it becomes an
Socket No.
No. 1 error.
( 1 – 16 )
Whether the specified socket is used with TCP or it uses it with UDP is specified. 0 If
Parameter
TCP/UDP TCP and 1 is specified, it becomes UDP if is specified.
No.2
(0–1)
See
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
The socket made with SOCKCREATE is cleared, and it puts it into the state that can be used again. When the user task
program ends, it is closed automatically.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter
Socket No. it becomes an error.
No. 1
( 1 – 16 )
See
SOCKCREATE ; Open the socket (FN570)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
When AX Controller is used as a server, the port where the connection from the client is waited is specified for the socket.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter
Socket No. it becomes an error.
No. 1
( 1 – 16 )
The waiting port when operating as a server is specified. When the port number used
Parameter
Port No. is specified, it becomes an error.
No. 2
( 1 – 65535 )
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
SOCKWAIT is waited for until the connection from the outside is done to the allocated port. Meanwhile, the program stops.
When the time-out is done, the reproduction of the program is restarted. SOCKWAIT is used only in the case of TCP.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter Waiting Socket
it becomes an error.
No. 1 No.
( 1 – 16 )
The socket to connect it with the client that has been connected is specified. When
the client has connected it, the socket is made by the specified socket. Therefore,
Parameter Communicatio
after the communication ends, it is necessary to close by using the SOCKCLOSE
No. 2 n Port No.
function.
( 1 – 16 )
The time of connected waiting time-out is set every second. It keeps waiting for the
Parameter
Timeout connection without doing the time-out when 0 is set.
No. 3
( 0 – 20 )
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
This command is connected with the server for TCP. It is necessary to set IP address with SOCKCONNECT though this
command doesn't connect with the server for UDP.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter
Socket No. it becomes an error.
No. 1
( 1 – 16 )
The least significant byte of IP address of the server is specified. Other values use the
Parameter
IP Address same one as the setting of TCP/IP of the AX Controller.
No. 2
( 1 – 254 )
Parameter The port number of the server is specified.
Port No.
No. 3 ( 1 – 65535 )
Parameter The time of connected waiting time-out is set every second.
Timeout
No. 4 ( 1 – 20 )
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
This command transmits the data stored in the specified buffer. When it doesn't connect or the other party closes, it becomes
an error. When SOCKSEND is done because the other party's cutting cannot be recognized at once, it is likely not to become
an error when the other party doesn't do the close processing and it cuts it. When the data of length that exceeds the size of the
buffer is transmitted, it is necessary to transmit ,divided into two portions.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter
Socket No. it becomes an error.
No. 1
( 1 – 16 )
Parameter The buffer number is specified.
Buffer No.
No. 2 ( 1 – 16 )
Parameter The size of the transmitted data is set.
Data Length
No. 3 ( 1 – 1024)
Parameter The time of connected waiting time-out is set every second.
Timeout
No. 4 ( 1 – 20 )
Parameter Integer
The variable in which the transmitted data size (unit of the byte) is written is specified.
No. 5 Variable
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSENDSTR ; Send string data (FN576)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
This command transmits the specified string. At that time, the terminal character that shows the end of the string can be added.
When it doesn't connect or the other party closes, it becomes an error. When SOCKSENDSTR is done because the other
party's cutting cannot be recognized at once, it is likely not to become an error when the other party doesn't do the close
processing and it cuts it. When the data of length that exceeds the size of the buffer is transmitted, it is necessary to transmit,
divided into two portions.
■ Parameter
The socket number used is specified. When the socket number not made is specified,
Parameter
Socket No. it becomes an error.
No. 1
( 1 – 16 )
Parameter The transmitted string data is specified. String data can be specified by the string
String
No. 2 variable and the string constant.
Parameter The size of the transmitted data is set.
Data Length
No. 3 ( 1 – 1024)
Parameter The time of connected waiting time-out is set every second.
Timeout
No. 4 ( 1 – 20 )
Parameter Integer
The variable in which the transmitted data size (unit of the byte) is written is specified.
No. 5 Variable
The termination character is specified. When the terminal character is specified, the
Data Length becomes long only as for the length of the terminal character.
(0–3)
Parameter Termination
No. 6 character 0 : The terminal character is not added.
1 : It transmits applying “¥r” as a terminal character.
2 : It transmits applying “¥n” as a terminal character.
3 : It transmits applying “¥r¥n” as a terminal character.
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKRECV ; Receive data (FN577)
Function commands (FN codes)
■ General description
This command is used to receive the data. Operation changes into this command with TCP in UDP.
■ Parameter
The socket number used is specified. When the socket number not made is
Parameter
Socket No. specified, it becomes an error.
No. 1
( 1 – 16 )
Parameter The number of the buffer where the received data is stored is specified.
Buffer No.
No. 2 ( 1 – 16 )
Parameter The size of the receive data is set.
Data Length
No. 3 ( 1 – 1024)
Parameter The time of connected waiting time-out is set every second.
Timeout
No. 4 ( 1 – 20 )
The variable in which the received data size (unit of the byte) is written is specified.
Parameter Integer
The data size actually received might be smaller than the value specified by the
No. 5 Variable
receive data length.
See
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
Function commands (FN codes)
■ General description
This command is used to stored string at an arbitrary position in the buffer. When the writing string overflows of the buffer
(When starting position + data size exceeds the size of the buffer), the controller outputs "E2250 step data is abnormal".
Data size
String
Starting
Point
Buffer
■ Parameter
Parameter The number of the buffer to store data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter The string stored in the buffer is specified. The string data can be specified by the
String
No. 2 string variable and the string constant.
Parameter The stored position of the buffer is specified.
Starting point
No. 3 ( 0 – 1023)
Parameter The data size of the data stored in the buffer is specified.
Data size
No. 4 ( 1 – 199 )
See
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to stored integer value at an arbitrary position in the buffer. The integral value with the sign is stored by
four bytes in the big endian in this command.
■ Parameter
Parameter The number of the buffer to store data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter The integer value stored in the buffer is specified. The integer value can be specified
Integer value
No. 2 by the integer variable and the integer constant.
Parameter The stored position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
See
SETSTR ; Set buffer(string) (FN580)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to stored real value at an arbitrary position in the buffer.
The real number value is expressed in the form of the single precision floating point number defined by IEEE754. The data is
stored in the buffer by the big endian by four bytes.
■ Parameter
Parameter The number of the buffer to store data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter The real value stored in the buffer is specified. The real value can be specified by the
Real value
No. 2 real variable and the real constant.
Parameter The stored position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to stored byte data at an arbitrary position in the buffer. This command is userd, when the data that
cannot correspond with SETSTR, SETINT, and SETREAL is stored in the buffer.
■ Parameter
Parameter The number of the buffer to store data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter The value stored in the buffer is specified. The value can be specified by the variable
Integer value
No. 2 and the constant.
Parameter The stored position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to read data from specified position of the buffer, and to store data in the specified string variable. When
the reading string overflows of the buffer (When starting position + data size exceeds the size of the buffer), it becomes it ,
saying that "E2250 step data is abnormal".
String
Starting
Data size
Point
Buffer
■ Parameter
Parameter The number of the buffer to read data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter
String variable The string variable to store the read data is specified.
No. 2
Parameter The read position of the buffer is specified.
Starting point
No. 3 ( 0 – 1023)
Parameter The data size of the data read in the buffer is specified.
Data size
No. 4 ( 1 – 199 )
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to read four bytes data from the specified position of the buffer, and stored the integer variable. When
this command is used, it is necessary to confirm the big endian the data stored in the buffer, and the integer value with the sign
in four bytes. It is necessary to use the GETBYTE function for other integral values.
■ Parameter
Parameter The number of the buffer to read data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter Integer
The integer variable to store the read data from the buffer is specified.
No. 2 variable
Parameter The read position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to read four bytes data from the specified position of the buffer, and stored the real variable. When this
command is used, it is necessary to confirm the big endian the data stored in the buffer, and the floating point number provided
for by IEEE754 in four bytes.
■ Parameter
Parameter The number of the buffer to read data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter
Real variable The real variable to store the read data from the buffer is specified.
No. 2
Parameter The read position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes)
■ General description
This command is used to read one byte data from the buffer, and stored the integer variable.
■ Parameter
Parameter The number of the buffer to read data is specified.
Buffer No.
No. 1 ( 1 – 16 )
Parameter Integer
The integer variable to store the read data from the buffer is specified.
No. 2 variable
Parameter The read position of the buffer is specified.
Starting point
No. 3 ( 0 – 1023)
See
SETSTR ; Set buffer(string) (FN580)
SETINT ; Set buffer(integer) (FN581)
SETREAL ; Set buffer(real) (FN582)
SETBYTE ; Set buffer(byte) (FN583)
GETSTR ; Get buffer(string) (FN584)
GETINT ; Get buffer(integer) (FN585)
GETREAL ; Get buffer(real) (FN586)
Function commands (FN codes)
■ General description
When this function command is executed, the specified program is called and passed the arguments.
Bear in mind that if a function command has been recorded in the first step in the call destination program, the function
command at the jump destination will be executed as soon as the call command has been executed.
When the playback of the program at the call destination is completed (in the status established by executing the END
command), the robot returns to the step following the step with the call command of the call source program.
■ Example of operation
In step 4, record LCALLP: program call with Arguments (FN590) and "2" as the program number, and “10” as an argument.
When this is played back, the robot calls the Program 2 upon arriving at step 4. The program2 can get the value “10” passed an
argument1 in LCALLP command by using variable of argument “A1!”.
When the playback of program 2 is completed (in the status established by executing the END command), the robot returns to
step 5 following the step with the call command of call source program 1.
Program 1 Step 4
CALLP; Program call with Args (FN590)
Program number = 2
Argument 1 = 10
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: End (FN92) ● 4
●
V1! = A1!
● ●
3 2
The robot is not decelerated by this command. If positioning is not specified, the command is executed
at the position reached by the robot in the accuracy range of the move command immediately before.
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of calls
can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is detected during
playback, and the robot stops.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
Parameter This specifies the value of an argument passed to the program serving as the call
Argument 1-10
No.2-No.11 destination. (-1E38 – 1E38)
See
LCALLPI: Conditional program call with Arguments (FN591)
LCALLPN: Conditional program call after specified number of passes with Arguments (FN592)
Function commands (FN codes)
When this is played back, the robot arrives at step 4, and if input signal I1 has been input, it jumps to the first step in program 2.
The program2 can get the value “10” passed an argument1 in LCALLP command by using variable of argument “A1!”. When
the playback of program 2 is completed (the END command is executed), the robot returns to step 5 following the step with the
call command of call source program 1.
If the signal has not been input, the robot does not jump to program 2.
Step 4
5: End (FN92) ●4 ●
1
● ● V1! = A1!
3 2
The robot is not decelerated by this command. If no positioning is specified, the input signal is inspected just before the
command value reaches the accuracy range of the move command, and if it has been input, an inside arc is drawn. If the
input signal has not been input, the command value heads toward the recorded point, and the input signal is inspected
when the robot has reached the accuracy range.
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of calls
can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is detected during
playback, and the robot stops.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
This records the number of the input signal which is to serve as the condition for
Parameter executing the call. When number 5101 or above is specified, multiple input signals
Input signal
No. 2 can be specified.
(1-2048、5101—5196)
Parameter This specifies the value of an argument passed to the program serving as the call
Argument 1-10
No.3–No.12 destination. (-1E38 – 1E38)
See
LCALLP: Program call with Arguments (FN590)
LCALLPN: Conditional program call after specified number of passes with Arguments (FN592)
Function commands (FN codes)
5: End (FN92) ●4 ●
1
● ● V1! = A1!
3 2
A global integer variable common to all units is used for the number of passes.
The current number of passes can be referenced using monitor/integer variables.
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-9999)
No. 1
A "register" refers to the memory used for counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its number.
No. 2 number
(1-200)
This records the number of passes which is to serve as the condition for executing the
Parameter Number of call. The robot passes for the specified number of passes, and on the next time
No. 3 passes (specified number of passes +1) the call command is executed.
(0-10000)
Parameter This specifies the value of an argument passed to the program serving as the call
Argument 1-10
No.4-No.13 destination. (-1E38 – 1E38)
■ Example of screen display
LCALLPN[2,V1%,2,10,0,0,0,0,0,0,0,0,0] FN82; Conditional program call after
specified number of passes with Arguments
See
LCALLP: Program call with Arguments (FN590)
LCALLPI: Conditional program call with Arguments (FN591)
Function commands (FN codes)
■ General description
When this function command is executed, the specified user task program is called and passed the arguments. When program
call user task program, program stop one’s playback and start specified user task program.
When the playback of the user task program at the call destination is completed (in the status established by executing the
END command), the program returns to the step following the step with the call command of the call source program.
■ Example of operation
In step 4, record LCALLMCR: User Task Program Call with Arguments (FN593) and "1" as the program number, “10000” as the
shelter step, and“10” as an argument.
When this is played back, the program1 call the user task program 1 upon arriving at step 4. The program2 can get the value
“10” passed an argument1 in LCALLP command by using variable of argument “A1!”. When the start of User Task 1 fails, the
program1 jumps shelter step.
When the playback of user task program 1 is completed (in the status established by executing the END command), the robot
returns to step 5 following the step with the call command of call source program 1.
Step 4
Program 1 CALLP; User Task Program Call (FN671)
Program number = 1
Shelter step = 10000
Argument 1 = 10
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
User Task 1
1
5: End (FN92) ●4 ●
V1! = A1!
● ●
3 2
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-999)
No. 1
This is used to specify the number of the shelter step when the specified user task
program was not starting.
Parameter (1 to 10000)
Shelter step
No. 2 When 10000 is specified as the shelter step number, an alarm results immediately
with no escape operation performed, and the robot can be stopped.
Parameter This specifies the value of an argument passed to the program serving as the call
Argument 1-10
No.3-No.12 destination. (-1E38 – 1E38)
■ General description
Doing nothing. This is used as a punctuation mark in program.
■ Example of operation
no parameters necessary
<SLIM sample> NOP
Command name *
FN code 601
Title name Label
Outline Doing nothing
■ General description
Doing nothing.
This is used as a label that can be referred by GOTO command.
■ Example of operation
Beginning from *, and open software keyboard by [Enable]+[Edit] to input characters of label.
<SLIM sample> *LOADING
See
ONGOTO ;ONGOTO jump(FN603)
Function commands (FN codes)
Command name IF
FN code 602
Title name Condition (IF-THEN-ELSE)
If condition is satisfied then command after “THEN”
Outline
is execute, else command after “ELSE” is executed
General description
This is flow control statement (IF-THEN-ELSE).
If condition is satisfied then command after “THEN” is execute, else command after “ELSE” is executed. If “ELSE” is not
described and condition is not satisfied, then next step is executed.
Example of operation
Parameter
IF This is condition.
No. 1
Parameter Command after this (described with the line number or label) is executed when
THEN
No. 2 condition is satisfied.
Command after this (described with the line number or label) is executed when
Parameter
ELSE condition is not satisfied.
No. 3
This is not to be described all the time.
[Description example]
IF V1% = 1 THEN 10 ELSE 20
; To step 10 when the integer variable "1" is "1", and
to step 20 in other cases
z Integer Variables
Numeric values not containing decimal point are handled.
Format Vn%, V%[n] n=1 ~ 200 (Global integer variable)
Ln%, L%[n] n=1 ~ 200 (Local integer variable)
* Vn% is same in meaning as V%[n].
Range -2147483648 ~ +2147483647
Sample IF V1%=1 ; When the variable 1 is 1
IF V2%<>0 ; When the variable 2 is not 0
Storage All the global integer variables are stored even if the main
power source is turned off.
All the local integer variables are not stored.
■ General description
This is flow control statement.
Next command is determined by the value of condition.
It’s order is from 1 to 2,3,…
■ Example of operation
This is condition.
Parameter
ON One integer variable is designated.
No. 1
(1-200:global variables, 201-400:local variables)
Command after this (described with the line number or label) is executed depending on
the value of condition.
The order is;
command executed when condition=1,
Parameter
GOTO command executed when condition=2,
No. 2 command executed when condition=3,
,..
Press [Enable]+[Edit] to open software keyboard. Characters must includes
comma that separates each command.
<SLIM sample> ON V3% GOTO *CASE1,*CASE2,*CASE3
■ General description
Plural commands enclosed with FOR and NEXT are repeated.
This command is used with the set of NEXT command (no exception).
■ Example of operation
Please key in each parameters on the following diagram.
Parameter
Scope
No. 1
Parameter This is to designate the variable to be used to determine the loop counter.
Type
No. 2
Parameter Variable
No. 3 number
Parameter
Initial Val This is loop starting counter.
No. 4
Parameter
End Val This is loop ending counter.
No. 5
Parameter
Increments This is the increments in every loop.
No. 6
<SLIM sample> FOR V3%=1 TO 100 STEP 2
See
NEXT ;Loop End(FN605)
Function commands (FN codes)
■ General description
Plural commands enclosed with FOR and NEXT are repeated.
This command is used with the set of FOR command (no exception).
■ Example of operation
No parameter.
<SLIM sample> NEXT
See
FOR ;Loop Start (FN604)
Function commands (FN codes)
■ General description
When this function command is used, character string data can be displayed on the TP screen or output to the specified serial
port. (RS232C is option)
Device number can designate to where output data. #0 is screen, #1 is RS232C. If device number is omitted, #0 is selected. If
character is omitted, line feed code is only sent. Plural characters can be combined by “;” or “,”. If last character was “;”, line
feed code is not sent.
FN101 is same as this function.
■ Example of operation
When the robot reaches the step in which the PRINT command is recorded, the character string is sent.
The robot continues moving while the data is being sent.
■ Parameter
This is used to specify the number of the port from which the character string is to be
Parameter output.
Port number
No. 1 0; screen
1; RS232C
Output This is used to specify the character string to be output. Press [Enable]+[Edit] to open
Parameter
character software keyboard to input characters.
No. 2
string (Up to 199 single-byte alphanumeric)
<SLIM sample> PRINT #0,ABC
■ General description
User task can draw the custom dialog on the screen, this is called “User screen”. User screen can be drawn on any place at
the mode screen (where 12 F keys are displayed on left side and right side).
Size of TP screen is 640 * 480 dots, left top corner is (0,0). WINDOW command can designate the position of user screen.
The position can be designated in every 16 dots. When one of width or height is defined 0, user screen can be closed.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
task” operating manual for the detail of user task and user screen.
(0,0) 640
+X
User screen
480
WINDOW command
can designated the
left top position and
size of user screen.
■ Parameters
Parameter This is to define the X position of left top corner of user screen. (0 to
X position of left top corner
No. 1 624)
Parameter This is to define the Y position of left top corner of user screen. (0 to
Y position of left top corner
No. 2 464)
Parameter
No. 3 Width This is to define the width of user screen. (0 to 640)
Parameter
No. 4
Height This is to define the height of user screen. (0 to 480)
See
TITLE ;User title (FN608)
Function commands (FN codes)
■ General description
This is to draw the title of user screen.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
(0,0) 640
+X
User screen
480
WINDOW command
can designated the
left top position and
size of user screen.
■ Parameters
Parameter
Title This is the character pattern data which show a title.
No. 1
<SLIM sample> TITLE “MONITOR”
See
WINDOW ;User screen open/close(FN607)
Function commands (FN codes)
■ General description
This is to erase user screen. (User screen is fully painted by background color.) Its color can be designated by BGCOLOR
command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
No parameters.
<SLIM sample> CLS
See
WINDOW ;User screen open/close (FN607)
TITLE ;User title (FN608)
BGCOLOR ;Background color (FN617)
Function commands (FN codes)
■ General description
The position of the character displayed by the PRINT command in the user screen is specified by the row and the column.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
Row number The row to which the character string is displayed is specified. (0 to 22)
No. 1
Parameter Column
The column at the character string head is specified. (0 to 80)
No. 2 number
<SLIM sample> LOCATE 12,5
See
PRINT ; Print strings (FN606)
Function commands (FN codes)
■ General description
This command describes a straight-line in the user screen. A straight-line color is a value set by the COLOR command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
X position of start of line X position of the point that the straight line begins is specified. (0 to 639)
No. 1
Parameter
Y position of start of line Y position of the point that the straight line begins is specified. (0 to 479)
No. 2
Parameter
X position of end of line X position of the point that the straight line ends is specified. (0 to 639)
No. 3
Parameter
Y position of end of line X position of the point that the straight line ends is specified. (0 to 479)
No. 4
<SLIM sample> GLINE 10,10,100,100
See
GBOX ; Draw the box (FN612)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
Function commands (FN codes)
■ General description
This command describes a box in the user screen. A box color is a value set by the COLOR command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
X position of left top corner This is to define the X position of left top corner of the box. (0 to 639)
No. 1
Parameter
Y position of left top corner This is to define the Y position of left top corner of the box. (0 to 479)
No. 2
Parameter
Width This is to define the width of the box. (0 to 640)
No. 3
Parameter
Height This is to define the height of the box. (0 to 480)
No. 4
Parameter 1: paint out
Select of paint out
No. 5 0: not paint out
<SLIM sample> GBOX 64,160,80,64,1
See
GLINE ; Draw the line FN611)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
BGCOLOR ; Background color (FN617)
Function commands (FN codes)
■ General description
This command describes an arc in the user screen. An arc color is a value set by the COLOR command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
X position of left top corner This is to define the X position of arc center. (0 to 639)
No. 1
Parameter
Y position of left top corner This is to define the Y position of arc center. (0 to 479)
No. 2
Parameter
Arc radius This is to define the arc radius. (0 to 800)
No. 3
Parameter
Starting point of arc This is to define the angle of starting point of the arc. (0 to 360)
No. 4
Parameter
Center angle This is to define the center angle. (0 to 360)
No. 5
<SLIM sample> BARC 64,160,80,45,90
See
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
BGCOLOR ; Background color (FN617)
Function commands (FN codes)
■ General description
This command is used to paint out the enclosed area on the user screen. An paint out color is a value set by the COLOR
command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
X position of left top corner This is to define the X position of paint out starting. (0 to 639)
No. 1
Parameter
Y position of left top corner This is to define the Y position of paint out starting. (0 to 479)
No. 2
Parameter
Border color This is to define the border color to paint out. (0 to 15)
No. 3
<SLIM sample> GPAINT 64,160,8
See
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
BGCOLOR ; Background color (FN617)
Function commands (FN codes)
■ General description
This command describes a pixel in the user screen. A pixel color is a value set by the COLOR command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
X position of left top corner This is to define the X position of pixel. (0 to 639)
No. 1
Parameter
Y position of left top corner This is to define the Y position of pixel. (0 to 479)
No. 2
<SLIM sample> GSETP 64,160
See
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
COLOR ; Color (FN616)
Function commands (FN codes)
■ General description
This can designate the color used in color graphics command. Total 16 colors (0 to 15) are available.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
task” operating manual for the detail of user task and user screen.
■ Parameters
0; Black
1: Gray
2: Dark Blue
3: Blue
4: Dark Green
5: Green
6: Dark Sky Blue
Parameter 7: Sky Blue
Color
No. 1 8: Dark Red
9: Red
10:Purple
11:Pink
12:Dark Yellow
13:Yellow
14:Light Gray
15:White
<SLIM sample> COLOR 15
See
GLINE ;Draw line (FN611)
GBOX ;Draw rectangle (FN612)
BGCOLOR ;Background color (FN616)
Function commands (FN codes)
■ General description
This can designate the background color used in color graphics command.(CLS, PRINT) Total 16 colors (0 to 15) are available.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
Color (refer to COLOR command)
No. 1
<SLIM sample> BGCOLOR 15
See
COLOR ;Color(FN616)
Function commands (FN codes)
■ General description
This can terminate the user task.
User task never ends (back to the top command after finishing the last command) unless otherwise stopped by manual
operation or this EXIT command is executed.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
No parameters.
<SLIM sample> EXIT
See
OPENMCR ;Start user task(FN621)
WAITMCR ;Wait user task(FN622)
Function commands (FN codes)
■ General description
This can pause (make a brief stop of) user task for designated time period.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter
Pause time This is to define the pause time of user task. (0 to 999) [msec]
No. 1
<SLIM sample> PAUSE 300
See
EXIT ;End user task (FN619)
OPENMCR ;Start user task (FN621)
Function commands (FN codes)
■ General description
This command describes a ellipse in the user screen. A ellipse color is a value set by the COLOR command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the “User
Task” operating manual for the detail of user task and user screen.
■ Parameters
Parameter This is to define the X position of left top corner of the box to which
X position of left top corner
No. 1 oval is inscribed. (0 to 639)
Parameter This is to define the Y position of left top corner of the box to which
Y position of left top corner
No. 2 oval is inscribed. (0 to 479)
Parameter This is to define the width of the box to which oval is inscribed. (0 to
Width
No. 3 640)
Parameter This is to define the height of the box to which oval is inscribed. (0 to
Height
No. 4 480)
Parameter 1: paint out
Select of paint out
No. 5 0: not paint out
<SLIM sample> GARC 64,160,80,45,1
See
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
BGCOLOR ; Background color (FN617)
Function Commands (FN Codes)
■ General description
Executing this function command, the origin position and posture on the existent user coordinates can be modified using three
pose variables.
The MODUSRCOORD command is so useful that the pose variables, that have been operated/ modified while executing the
teaching programs, can be designated as a reference point on the user coordinates; however, the user coordinates that have
been once modified can be never restored.
Therefore, if necessary to store the original user coordinates, be sure to duplicate the user coordinates file before executing
MODUSRCOORD.
■ Parameter
Designates the existent user coordinate No. (1~100)
1st parameter User coordinate No.
st
Designates the 1 pose variable No. to define the user coordinates.
nd st
2 parameter 1 pose variable No. (1~9999)
Designates the 2nd pose variable No. to define the user coordinates.
3rd parameter 2nd pose variable No. (1~9999)
Designates the 3rd pose variable No. to define the user coordinates.
4th parameter 3rd pose variable No. (1~9999)
* The pose variables used in the 2nd ~ 4th parameters depend on the USE command.
The parameters shown on the screen are “User coordinate No.”, “1st pose variable No.”, “2nd pose variable No.”, and “3rd
pose variable No.” from the left.
See
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let pose element (FN632)
Function Commands (FN Codes)
■ General description
This function command allows to set the value into the specified local integer variable. The local integer variables can be
referred to by each unit.
■ Example of operation
st
The step 4 is recorded by “LETLI: Set local integer variable (FN628)”, “Variable No.=1”, and “Set value=5”. The 1 integer
variable is set to 5 by playback. The set variables can be checked by the register screen of local integer variable on the
monitor.
Step 4
LETLI; Set local integer variable (FN628)
Variable No.=1, Set value=5
1 2
3
● ● ●
5 6
● ●
The robot will not slow down by this command. Without any positioning
designation, this command is executed where the robot reaches the accuracy
range of the move command right before.
■ Parameter
1st parameter Local integer variable No. Designates the integer variable No. to set the value. (1-200)
nd Designates the value to set in the integer variables.
2 parameter Set value
(-2147483647~+2147483647)
See
LETLF; Set local real variable (FN629)
Function Commands (FN Codes)
■ General description
This function command allows to set the value into the specified local real variable. The local real variables can be referred to
by each unit.
■ Example of operation
st
The step 4 is recorded by “LETLF: Set local real variable (FN629)”, “Variable No.=1”, and “Set value=5.5”. The 1 real variable
is set to 5.5 by playback. The set variables can be checked by the register screen of local real number variable on the monitor.
Step 4
LETLF; Set local real variable(FN629)
Variable No.=1, Set value=5.5
1 2
3
● ● ●
5 6
● ●
The robot will not slow down by this command. Without any positioning designation, this
command is executed where the robot reaches the accuracy range of the move
command right before.
■ Parameter
1st parameter Local real variable No. Designates the real variable No. to set the value. (1-200)
2nd parameter Set value Designates the value to set in the real variable. (-1.0E38~+1.0E38)
See
LETLI; Set local real variable (FN628)
Function Commands (FN Codes)
■ General description
This function command allows to record the pose variable set command of the coordinates designation.
・ The LETCOORDP command is the pose set command by each mechanism. If there exist multiple mechanisms in the unit,
execute the LETCOORDP command for the number of registered mechanisms.
* Also, in order not to forget initializing the pose variables (= Execution of LETCOORDP command for all the mechanisms),
it is recommended to teach the LETCOORDP command for the number of registered mechanisms when starting to run the
program.
・ Before executing LETCOORDP under the structure of synchronized unit, be sure to execute this command first in the
operation standard mechanism.
・ The robot does not move by executing LETCOORDP only. To move the robot, it is required to teach the MOVEX
command.
■ Parameter
Parameter name Description Range
Pose No. Enters the pose variable No. of the set destination. 1~9999
Selects the mechanism No. of the pose set destination.
Mechanism 1~9
Æ Be sure to teach the operation standard mechanism first.
Selects the method of how to deal with the pose data other than the
record mechanism. Do nothing/
Other Poses
If selecting “Initialize”, a function variable in the MOVE command step Initialize in the previous step
right before is set as the pose datum.
XYZ element:
Enters the rectangular coordinates value of the specified coordinates
Rectangular -99999.9~99999.9[mm]
base. The current position can be also obtained by F8 “Record
coordinates RPY (Rotation) element:
Current Position” key.
-360.0~360.0[deg]
Manipulator:
Designates the coordinates of the rectangular coordinates value.
Coordinate Base/ User/ Absolute/
The external axis is fixed to the axis coordinates in being recorded.
Workpiece
External axis:
Each axis
User coordinate Enters the user coordinate No. when “User” has been selected in
1~100
No. [Coordinate].
Designates the selection method of redundant solution in the reverse
conversion, With "Configuration” selected, the radio button for
Axis angle refer Previous step/ Configuration
redundant solution selection become ON in the J1, J3, J5, and J6
axis.
Selects the redundant solution of the J1 axis.
・ Left arm: +45 ~ 135º
J1 axis angle Left arm/ Right arm/ Less
・ Right arm: -45 ~ -135º
selection than ±90º/±90 or more
・ Less than ±90º: -45 ~ +45º
・ ±90º or more: -135º or below or +135º or more
The parameters appeared on the screen are “Pose variable No.”, “Mechanism No.”, “Other Poses(0/1)”, and
“Coordinates (+ User coordinate No.)” from the left.
See
LETPE; Let pose element (FN632)
LETPE; Let shift element (FN633)
LET; Let variable (FN634)
ADDP; Add pose variable (FN635)
Function Commands (FN Codes)
■ General description
This function command allows to record the let pose element command of the coordinates designation by each single element.
・ The LETPE command allows to specify a pose storage position by the parameter and set the pose only in that element.
*For smooth teaching operation, it is recommended to use FN630 (the LETCOORDP command) on the pose storage of all
the elements, and the LETPE command on a single element or when modifying the pose data of only 1 axis.
nd
(The following is the example when setting 10º only into the 2 axis of the mechanism 5 using LETPE.)
・ If there is no original pose variable, it is not available to use LETPE. In that case, execute FN630 (LETCOORDP) and
create the pose data.
・ The robot does not move by executing LETPE only. To move the robot, it is required to teach MOVEX command.
The parameters appeared on the screen are “Pose variable No.”, “Mechanism No.”, “Pose element=Pose set value”,
and “Coordinates (+ User coordinate No.)” from the left.
See
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let shift element (FN633)
LET; Let variable (FN634)
ADDP; Add pose variable (FN635)
Function Commands (FN Codes)
■ General description
This function command allows to set the shift amount data in the specified shift register by a single element.
Even if the specified shift register has been occupied by “SHIFTR; Shift2 (FN52)” or others, the value specified by LETRE can
be newly set in the shift register without any influence exerted on the robot motion. The modified shift value becomes effective
by the next playback of the SHIFTR; Shift2 (FN52).
・ The LETRE command allows to specify the shift element storage position by the parameter and set the shift amount data
only in that element.
*For smooth teaching operation, it is recommended to use FN68 (LETR command) on the shift amount set of all the
elements, and LETRE command on modifying the shift amount data.
(The following is an example when setting 10mm only into the X element using LETRE.)
■ Example of operation
Shift register value when executing LETRE [R1, X = 10.00].
<1> Executing with the specified shift register value
Before After executing
executing LETRE LETRE
Request flag 0 0
Set flag 1 1
X 110 10
Y 120 100
Z 130 100
θX 5 10
θY 6 11
θZ 7 12
By executing this command, the request flag of shift register always becomes “0” and the set flag “1”. The values specified by
the parameter are stored in X ~ θz.
■ LETRE Teach Method
(1) Select FN633 “Let shift element”.
■ Parameter
Parameter name Description Range
Shift register No. Enters the shift register No. of the set destination. 1~9
Element Selects the shift element of the set destination. X/Y/Z/θX/θY/θZ
Selects the type of shift operation.
Shift operation Set/ Add/ Subtract
Addition and subtraction are carried out to the original shift amount data.
Selects a type of the shift amount substitution value. Global real variable/
Type It becomes available to input [Variable No.] with a variable selected, and Local real variable/
[Constant value] with a constant selected. Real constant
The parameters appeared on the screen are “Shift register No.” and “Shift element=Shift amount set value”.
See
LETR; Let shift amount (FN68)
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let pose element (FN632)
LET; Let variable (FN634)
ADDP; Add pose variable (FN635)
Function Commands (FN Codes)
■ General description
This function command allows to set the variable of the same type.
This is executed when using this command as a storage of the operation result while executing the program or copying the
contents of variables.
・ There are six types of variables available in the LET command; the global/local integer variable, global/local real variable,
pose variable, and shift variable (shift register).
*Values can be set each other only within the same type for the pose variable and shift variable, while it is available across
the scope and type for the integer variable and real variable.
■ Parameter
Parameter name Description Range
Global integer variable/
Global real variable/
Variable type of Local integer variable/
Selects the variable type of the set destination.
set destination Local real variable/
Pose variable/
Shift variable
Pose variable:
1~9999
Variable No. of Shift variable:
Enters the variable No. of the set destination.
set destination 1~9
Others:
1~200
Same as the set destination.
Variable type/
However, if different kinds of variable type are selected for setting
Variable No. of -
the pose variable/shift variable, the variable type of the set
set value
destination is applied.
The parameters appeared on the screen are “Set destination variable” and “Set value variable” from the left.
See
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let pose element (FN632)
LETPE; Let shift element (FN633)
ADDP; Add pose variable (FN635)
Function Commands (FN Codes)
■ General description
This function command allows to add the shift amount of shift register to the pose variable based on the specified coordinates.
・ If there is no original pose variable, it is not available to use ADDP. In this case, execute FN630 (LETCOORDP command)
and create the pose data.
The robot does not move by executing ADDP only. To move the robot, it is required to teach MOVEX command.
■ Parameter
Parameter name Description Range
Pose No. Enters the pose variable No. of the add destination. 1~9999
Shift mechanism Selects the manipulator of the shift target. 1~9
Shift register No. Enters the shift register No. (added value). 1~9
Robot/ User/ World/
Coordinate Designates the coordinates of the rectangular coordinates value.
Work
User coordinate Enters the user coordinate No. when “User” has been selected in
1~100
No. [Coordinate].
The parameters appeared on the screen are “Pose variable No.”, “Mechanism No.”, “Shift register No.”, and
“Coordinates (+ User coordinate No.)” from the left.
See
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let pose element (FN632)
LETPE; Let shift element (FN633)
LET; Let variable (FN634)
Function Commands (FN Codes)
■ General description
This function command allows to add the integer variables.
■ Example of operation
Any steps can be recorded by “ADDVI: Add integer variable (FN637)”, “Global variable No. of the add destination=1”, and
nd st
“Global variable No. of the add value=2”. The 2 variable is added to the 1 variable by playback of this command. The set
variables can be checked by the register screen of global integer variable on the monitor. (Local integer variables are also
available.)
Execution sample of ADDVI [V1%, V2%]
Global variable Before After executing
executing ADDVI ADDVI
V1% 1 3
V2% 2 2
■ Parameter
Parameter name Description Range
Variable type of Global integer variable/
Enters the variable type of add destination.
add destination Local integer variable
Variable No. of
the add Enters the variable No. of the add destination. 1~200
destination
Enters the type of add value. Global integer variable/
Type of add
※ Selecting “Integer constant”, the value to add can be directly Local integer variable/
value
designated. Integer constant
Variable No.:
Variable No. of
Enters the variable No. with “Variable” selected, and the constant 1~200
add value
value with “Integer constant” selected in the variable type of add Constant value:
or
value. -2147483647~
Add constant
2147483647
The parameters appeared on the screen are “Variable of the add destination”, “Add variable (or add constant)” from the
left.
See
SUBVI; Subtract integer variable (FN639)
MULVI; Multiply integer variable (FN641)
DIVVI; Divide integer variable (FN643)
Function Commands (FN Codes)
■ General description
This function command allows to add the real variables.
■ Example of operation
Any steps can be recorded by “ADDVF: Add real variable (FN638)”, “Global variable No. of the add destination=1”, and “Global
nd st
variable No. of the add value=2”. The 2 variable is added to the 1 variable by playback of this command. The set variables
can be checked by the register screen of global real number variable on the monitor. (Local variables are also available.)
Execution sample of ADDVF [V1!, V2!]
Global variable Before After executing
executing ADDVF ADDVF
V1! 1.1000 3.3000
V2! 2.2000 2.2000
■ Parameter
Parameter name Description Range
Variable type of Global real variable/
Enters the variable type of the add destination.
add destination Local real variable
Variable No. of
Enters the variable No. of the add destination. 1~200
add destination
Enters the type of add value. Global real variable/
Type of add
※ Selecting “real constant”, the value to add can be directly Local real variable/
value
designated. Real constant
Variable No.:
Variable No. of
1~200
add value Enters the variable No. with “Variable” selected, and the constant value
Constant value:
or with “real constant” selected in the variable type of add value.
-1e+038~
Add constant
1e+038
The parameters appeared on the screen are “Variable of add destination”, “Add variable (or add constant)” from the left.
See
SUBVF; Subtract real variable (FN640)
MULVF; Multiply real variable (FN642)
DIVVF; Divide real variable (FN644)
Function Commands (FN Codes)
■ General description
This function command allows to subtract the integer variables.
■ Example of operation
Any steps can be recorded by “SUBVI: Subtract integer variable (FN639)”, “Global variable No. of the subtract destination=1”,
nd st
and “Global variable No. of the subtract value=2”. The 2 variable is subtracted from the 1 variable by playback of this
command. The set variables can be checked by the register screen of global integer variable on the monitor. (Local integer
variables are also available.)
Execution sample of SUBVI [V1%, V2%]
Global variable Before After executing
executing SUBVI
SUBVI
V1% 2 1
V2% 1 1
■ Parameter
Parameter name Description Range
Enters the variable type of the subtract Global integer variable/
Variable type of subtract destination
destination. Local integer variable
Enters the variable No. of the subtract
Variable No. of subtract destination 1~200
destination.
Enters the type of subtract value. Global integer variable/
Type of subtract value ※ Selecting “Integer constant”, the value to Local integer variable/
subtract can be directly designated. Integer constant
Variable No.:
Enters the variable No. with “Variable”
Variable No. of subtract value 1~200
selected, and the constant value with “Integer
or Constant value:
constant” selected in the variable type of
Subtract constant -2147483647
subtract value.
~2147483647
The parameters appeared on the screen are “Variable of the subtract destination”, “Subtract variable (or subtract
constant)” from the left.
See
ADDVI; Add integer variable (FN637)
MULVI; Multiply integer variable (FN641)
DIVVI; Divide integer variable (FN643)
Function Commands (FN Codes)
■ General description
This function command allows to subtract the real variable.
■ Example of operation
Any steps can be saved by “SUBVF: Subtract real variable (FN640)”, “Global variable No. of the subtract destination=1”, and
nd st
“Global variable No. of the subtract value=2”. By playback of this command, the 2 variable is subtracted from the 1 variable.
The set variables can be checked by the register screen of global real number variable on the monitor. (Local variables are
also available.)
Execution sample of SUBVF [V1!, V2!]
Global variable Before After executing
executing SUBVF SUBVF
V1! 2.2000 1.1000
V2! 1.1000 1.1000
■ Parameter
Parameter name Description Range
Enters the variable type of the subtract Global real variable/
Variable type of subtract destination
destination. Local real variable
Enters the variable No. of the subtract
Variable No. of subtract destination 1~200
destination.
Enters the type of subtract value. Global real variable/
Type of subtract value ※ Selecting “Real constant”, the value to Local real variable/
subtract can be directly designated. Real constant
Variable No.:
Enters the variable No. with “Variable”
Variable No. of subtract value 1~200
selected, and the constant value with “Real
or Constant value:
constant” selected in the variable type of
Subtract constant -1e+038~
subtract value.
1e+038
The parameters appeared on the screen are “Variable of subtract destination”, “Subtract variable (or subtract constant)”
from the left.
See
ADDVF; Add real variable (FN638)
MULVF; Multiply real variable (FN642)
DIVVF; Divide real variable (FN644)
Function Commands (FN Codes)
■ General description
This function command allows to multiply the integer variables.
■ Example of operation
Any steps can be recorded by “MULVI: Multiply integer variable (FN641)”, “Global variable No. of the multiply destination=1”,
st nd
and “Global variable No. of the multiply value=2”. The 1 and the 2 variable are multiplied by playback of this command. The
set variables can be checked by the register screen of global integer variable on the monitor. (Local integer variables are also
available.)
Execution sample of MULVI [V1%, V2%]
Global variable Before After executing
executing MULVI MULVI
V1% 2 6
V2% 3 3
■ Parameter
Parameter name Description Range
Enters the variable type of the multiply Global integer variable/
Variable type of multiply destination
destination. Local integer variable
Variable No. of multiply destination Enters the variable No. of the multiply destination.
1~200
Enters the type of multiply value. Global integer variable/
Type of multiply value ※ Selecting “Integer constant”, the value to Local integer variable/
multiply can be directly designated. Integer constant
Variable No.:
Variable No. of multiply value Enters the variable No. with “Variable” selected, 1~200
or and the constant value with “Integer constant” Constant value:
Multiply constant selected in the variable type of multiply value. -2147483647~
2147483647
The parameters appeared on the screen are “Variable of multiply destination”, “Multiply variable (or multiply constant)”
from the left.
See
ADDVI; Add integer variable (FN637)
SUBVI; Subtract integer variable (FN639)
DIVVI; Divide integer variable (FN643)
Function Commands (FN Codes)
■ General description
This function command allows to multiply the real variables.
■ Example of operation
Any steps can be recorded by “MULVF: Multiply real variable (FN642)”, “Global variable No. of the multiply destination=1”, and
st nd
“Global variable No. of the multiply value=2”. The 1 and the 2 variables are multiplied by playback of this command. The set
variables can be checked by the register screen of global real number variable on the monitor. (Local variables are also
available.)
Execution sample of MULVF [V1!, V2!]
Global variable Before After executing
executing MULVF MULVF
V1! 2.2000 6.6000
V2! 3.0000 3.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of multiply destination Enters the variable type of the multiply destination.
Local real variable
Variable No. of multiply destination Enters the variable No. of the multiply destination. 1~200
Enters the type of multiply value. Global real variable/
Type of multiply value ※ Selecting “Real constant”, the value to multiply Local real variable/
can be directly designated. Real constant
Variable No.:
Variable No. of multiply value Enters the variable No. with “Variable” selected, and 1~200
or the constant value with “Real constant” selected in Constant value:
Multiply constant the variable type of multiply value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of multiply destination”, “Multiply variable (or multiply constant)”
from the left.
See
ADDVF; Add real variable (FN638)
SUBVF; Subtract real variable (FN640)
DIVVF; Divide real variable (FN644)
Function Commands (FN Codes)
■ General description
This function command allows to divide the integer variables.
■ Example of operation
Any steps can be recorded by “DIVVI: Divide integer variable (FN643)”, “Global variable No. of the divide destination=1”, and
st nd
“Global variable No. of the divide value=2”. The 1 variable is divided by the 2 variable by playback of this command. The set
variables can be checked by the register screen of global integer variable on the monitor. (Local integer variables are also
available.)
Execution sample of DIVVI [V1%, V2%]
Global variable Before After executing
executing DIVVI DIVVI
V1% 4 2
V2% 2 2
■ Parameter
Parameter name Description Range
Enters the variable type of the divide Global integer variable/
Variable type of divide destination
destination. Local integer variable
Enters the variable No. of the divide
Variable No. of divide destination 1~200
destination.
Enters the type of divide value. Global integer variable/
Type of divide value ※ Selecting “Integer constant”, the value to Local integer variable/
divide by can be directly designated. Integer constant
Enters the variable No. with “Variable” Variable No.:
Variable No. of divide value
selected, and the constant value with “Integer 1~200
or
constant” selected in the variable type of Constant value:
Divide constant
divide value. -2147483647~2147483647
The parameters appeared on the screen are “Variable of divide destination”, “Variable of divide value (or divide
constant)” from the left.
See
ADDVI; Add integer variable (FN637)
SUBVI; Subtract integer variable (FN639)
MULVI; Multiply integer variable (FN641)
Function Commands (FN Codes)
■ General description
This function command allows to divide the real variables.
■ Example of operation
Any steps can be recorded by “DIVVF: Divide real variable (FN644)”, “Global variable No. of the divide destination=1”, and
st nd
“Global variable No. of the divide value=2”. The 1 variable is divided by the 2 variable by playback of this command. The set
variables can be checked by the register screen of global real variable on the monitor. (Local variables are also available.)
Execution sample of DIVVF [V1!, V2!]
Global variable Before After executing
executing DIVVF DIVVF
V1! 4.4000 2.0000
V2! 2.2000 2.2000
■ Parameter
Parameter name Description Range
Variable type of divide Global real variable/
Enters the variable type of the divide destination.
destination Local real variable
Variable No. of divide
Enters the variable No. of the divide destination. 1~200
destination
Enters the type of divide value. Global real variable/
Type of divide value ※ Selecting “Real constant”, the value to divide by can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of divide value Enters the variable No. with “Variable” selected, and the 1~200
or constant value with “Real constant” selected in the variable Constant value:
Divide constant type of divide value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of divide destination”, “Variable of divide value (or divide
constant)” from the left.
See
ADDVF; Add real variable (FN638)
SUBVF; Subtract real variable (FN640)
MULVF; Multiply real variable (FN642)
Function commands (FN codes)
■ General description
It calculates the real value of ASIN and set the result to real variable.
■ Example of operation
Record ASIN, designated global variable1(V1!) and original global variable2(V2!). After acting the function, ASIN value of V2! is
stored V1!
You can see the values by some monitors. You can use Local variables too.
Functionality of ASIN[V1!,V2!]
Global variables Before ASIN After ASIN
V1! 0.0000 1.5708
V2! 1.0000 0.0000
■ Parameters
Parameters Contents Range
Real Global Var. /
Type of designated variables Set the type of designated variable
Real Local Var.
Variable number Set the number of variables 1~200
Set the type of original value Real Global Var. /
Type of original value ※You can set the value directly if you use “Real Real Local Var.
constant value” Real constant value
Variables:
Variable number
Set variable number if you use variable type 1~200
or
Set real constant if you use Real constant value. Constant:
Constant value
-1e+038~1e+038
Displayed parameters on the screen from left are “Designated variables”, “Original value set by some variables, or real
value”
See
ACOS; Let ACOS function (FN649)
SIN; Let SIN function (FN652)
COS; Let COS function (FN653)
TAN; Let TAN function (FN654)
ATN; Let ATN function (FN655)
ATN2; Let ATN2 function (FN656)
Function commands (FN codes))
■General description
It calculates the real value of ACOS and set the result to real variable.
■ Example of operation
Record ACOS, designated global variable1(V1!) and original global variable2(V2!). After acting the function, ACOS value of V2!
is stored V1!
You can see the values by some monitors. You can use Local variables too.
Functionality of ACOS[V1!,V2!]
Global variables Before ACOS After ACOS
V1! 0.0000 1.5708
V2! 1.0000 0.0000
■ Parameters
Parameters Contents Range
Real Global Var. /
Type of designated variables Set the type of designated variable
Real Local Var.
Variable number Set the number of variables 1~200
Set the type of original value Real Global Var. /
Type of original value ※You can set the value directly if you use “Real constant Real Local Var.
value” Real constant value
Variables:
Variable number
Set variable number if you use variable type 1~200
or
Set real constant if you use Real constant value. Constant:
Constant value
-1e+038~1e+038
Displayed parameters on the screen from left are “Designated variables”, “Original value set by some variables, or real
value”
See
ASIN; Let ASIN function (FN648)
SIN; Let SIN function (FN652)
COS; Let COS function (FN653)
TAN; Let TAN function (FN654)
ATN; Let ATN function (FN655)
ATN2; Let ATN2 function (FN656)
Function Commands (FN Codes)
■ General description
This function command allows to set the time value into the specified real variable register by 1ms.
■ Parameter
Real variable Designates the real variable No. to set.
1st parameter
No. (1-200)
■ General description
This function command allows to calculate the square root of the real number and set its return value into the specified real
variable register.
■ Example of operation
Any steps can be recorded by “SQR: Let SQR function (FN651)”, “Global variable No. of the set destination=1”, and “Global
nd st
variable No. of the set value=2”. The square root of the 2 variable is set into the 1 variable by playback of this command.
The set variables can be checked by the register screen of global real number variable on the monitor. (Local variables are
also available.)
Execution sample of SQR [V1!, V2!]
Global variable Before After executing
executing SQR SQR
V1! 0.0000 2.0000
V2! 4.0000 4.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enters the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be directly Local real variable/
designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and the 1~200
or constant value with “Real constant” selected in the Constant value:
Set constant variable type of set value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set constant)”
from the left.
Function Commands (FN Codes)
■ General description
This function command allows to calculate the SIN value of the real number and set its return value into the specified real
variable register.
■ Example of operation
Any steps can be recorded by “SIN: Let SIN function (FN652)”, “Global variable No. of the set destination=1”, and “Global
nd st
variable No. of the set value=2”. The SIN value of the 2 variable is set into the 1 variable by playback of this command. The
set variables can be checked by the register screen of global real number variable on the monitor. (Local variables are also
available.)
Execution sample of SIN [V1!, V2!]
Global variable Before After executing
executing SIN SIN
V1! 0.0000 0.8415
V2! 1.0000 1.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enter the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and 1~200
or the constant value with “Real constant” selected in the Constant value:
Set constant variable type of set value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set constant)”
from the left.
See
COS; Let COS function (FN653)
TAN; Let TAN function (FN654)
ATN; Let ATN function (FN655)
ATN2; Let ATN2 function (FN656)
Function Commands (FN Codes)
■ General description
This function command allows to calculate the COS value of the real number and set its return value into the specified real
variable register.
■ Example of operation
Any steps can be recorded by “COS: Let COS function (FN653)”, “Global variable No. of the set destination=1”, and “Global
nd st
variable No. of the set value=2”. The COS value of the 2 variable is set to the 1 variable by playback of this command. The
set variables can be checked by the register screen of global real number variable on the monitor. (Local variables are also
available.)
Execution sample of COS [V1!, V2!]
Global variable Before After executing
executing COS COS
V1! 0.0000 0.5403
V2! 1.0000 1.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enter the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and the 1~200
or constant value with “Real constant” selected in the Constant value:
Set constant variable type of set value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set constant)”
from the left.
See
SIN; Let SIN function (FN652)
TAN; Let TAN function (FN654)
ATN; Let ATN function (FN655)
ATN2; Let ATN2 function (FN656)
Function Commands (FN Codes)
■ General description
This function command allows to calculate the TAN value of real number and set its return value into the specified real variable
register.
■ Example of operation
Any steps can be recorded by “TAN: Let TAN function (FN654)”, “Global variable No. of the set destination=1”, and “Global
nd st
variable No. of the set value=2”. The TAN value of the 2 variable is set into the 1 variable by performing playback of this
command. The set variables can be checked by the register screen of global real number variable on the monitor. (Local
variables are also available.)
Execution sample of TAN [V1!, V2!]
Global variable Before After executing
executing TAN TAN
V1! 0.0000 1.5574
V2! 1.0000 1.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enters the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and the 1~200
or constant value with “Real constant” selected in the Constant value:
Set constant variable type of set value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set constant)”
from the left.
See
SIN; Let SIN function (FN652)
COS; Let COS function (FN653)
ATN; Let ATN function (FN655)
ATN2; Let ATN2 function (FN656)
Function Commands (FN Codes)
■ General description
This function command allows to calculate the ATN value of the real number and set its return value into the specified real
variable register.
■ Example of operation
Any steps can be recorded by “ATN: Let ATN function (FN655)”, “Global variable No. of the set destination=1”, and “Global
nd st
variable No. of the set value=2”. By playback of this command, the ATN value of the 2 variable is set into the 1 variable. The
set variables can be checked by the register screen of global real number variable on the monitor. (Local variables are also
available.)
Execution sample of ATN [V1!, V2!]
Global variable Before After executing
executing ATN ATN
V1! 0.0000 0.7854
V2! 1.0000 1.0000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enter the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and 1~200
or the constant value with “Real constant” selected in the Constant value:
Set constant variable type of set value. -1e+038~
1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set constant)”
from the left.
See
SIN; Let SIN function (FN652)
COS; Let COS function (FN653)
TAN; Let TAN function (FN654)
ATN2; Let ATN2 function (FN656)
Function Commands (FN Codes)
The parameters appeared on the screen are “Variable of set destination”, “Variable of set value 1 (or set constant 1)”,
and “Variable of set value 2 (or set constant 2)” from the left.
See
SIN; Let SIN function (FN652)
COS; Let COS function (FN653)
TAN; Let TAN function (FN654)
ATN; Let ATN function (FN655)
Function Commands (FN Codes)
■ General description
This function command allows to calculate the absolute value of real number and set its return value into the specified real
variable register.
■ Example of operation
Any steps can be recorded by “ABS: Let ABS function (FN657)”, “Global variable No. of the set destination=1” and “Global
nd st
variable No. of the set value=2”. By playback of this command, the absolute value of the 2 variable is set into the 1 variable.
The set variables can be checked by the register screen of global real variable on the monitor. (Local variables are also
available.)
Execution sample of ABS [V1!, V2!]
Global variable Before After executing
executing ABS ABS
V1! 0.0000 1.1000
V2! -1.1000 -1.1000
■ Parameter
Parameter name Description Range
Global real variable/
Variable type of set destination Enters the variable type of the set destination.
Local real variable
Variable No. of set destination Enters the variable No. of the set destination. 1~200
Enters the type of set value. Global real variable/
Type of set value ※ Selecting “Real constant”, the set value can be Local real variable/
directly designated. Real constant
Variable No.:
Variable No. of set value Enters the variable No. with “Variable” selected, and the
1~200
or constant value with “Real constant” selected in the
Constant value:
Set constant variable type of set value.
-1e+038~1e+038
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or substitution
constant)” from the left.
Function Commands (FN Codes)
The parameters appeared on the screen are “Variable of set destination”, “Variable of set value 1 (or set constant 1)”
and “Variable of set value 2 (or set constant 2)” from the left.
See
MAX; Let MAX function (FN659)
Function Commands (FN Codes)
The parameters appeared on the screen are “Variable of set destination”, “Variable of set value 1 (or set constant 1)”
and “Variable of set value 2 (or set constant 2)” from the left.
See
MIN; Let MIN function (FN658)
Application command (FN code)
Command
OFFSETV
name
FN code 660
Title name Multi Offset condition specification (Variable)
General It gives offset to the movement steps between
description multi-pass welding section.
■ General description
This command gives offset to the movement steps between multi-pass welding section. Multi Offset condition number can be
specified by variables. Except multi offset condition number, other parameters are same as FN499 OFFSET.
■ Parameter
1st Multi Offset Specify the multi offset condition file
parameter condition number by direct value /Global variable
number /Local variable method.
This file is already created by the <Arc
condition setting> - [9 Multi offset
condition].
2nd Mechanism ID This specifies the mechanism number that
parameter gives the offset. (1 to 9)
Normally, "1" is specified because the
Manipulator with welding torch has
Mechanism 1.
3rd Section type Offset becomes enabled for entire
parameter multi-pass welding section, so this
specifies whether to "Start" or "End" the
offset.
(1: Start / 0: End)
See
OFFSET;Multi Offset condition specification (FN499)
Application command (FN code)
Command
ASMV
name
FN code 661
Title names Multi Pass Welding Start(Variable)
General
Multi-pass welding start
description
■ General description
Start the multi-pass welding start under the specified conditions by the commands used in the multi-pass interval (MPS to
MPE).
As the parameter kinds of multi-pass welding start number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
This is V1%=1 in this example.
5 JOINT
6 OFFSETV(Start)
7 JOINT 9 LIN (CIR1/CIR2)
8 ASMV 10 AEMV
It will be repeated for the
predetermined number 11 OFFSETV(End)
Step Command
1 100% JOINT
2 100% JOINT
3 MPS [3 times] Multi-pass welding start condition file (ASM*ARCW.001)
4 100% JOINT Welding start Weaving condition
5 100% JOINT Pass
condition file No. file number
6 OFFSETV [Start] The 1st pass
1 1
7 100% JOINT (AS**ARCW.001) (WFP.001)
2 2
8 ASMV [W1,V1%] The 2nd pass
(AS**ARCW.002) (WFP.002)
9 300cm/m LINE 3 3
10 AEMV [W1,V1%] The 3rd pass
(AS**ARCW.003) (WFP.003)
11 OFFSETV [End] 4 4
The 4th pass
12 100% JOINT (AS**ARCW.004) (WFP.004)
13 MPE 5 5
The 5th pass
(AS**ARCW.005) (WFP.005)
14 100% JOINT : : :
15 END
■ Parameter
Parameter name Details Range
This sets the welding machine number to
Welder -
be used.
Specified method for the multi-pass Direct value/
welding start condition file can be Global
AS Cond. File
selected. variable/
Type
Local
variable
AS Cond. File Multi-pass welding start condition file ID
1-999
Direct val will be specified at the direct value.
AS Cond. File Multi-pass welding start condition file ID
1-200,
G variable will be specified at the global variable.
301-500
number
AS Cond. File Multi-pass welding start condition file ID 1-200,
L variable number will be specified at the local variable. 301-500
This sets the mechanism number to be
Mechanism ID 1~9
used.
See
MPS; Multi-pass section end (FN496)
MPE; Multi-pass section end (FN497)
EP; Execution pass end (FN498)
OFFSETV;Multi Offset specification (Variable)(FN660)
AEMV; Multi Pass Welding End(Variable) (FN662)
Application command (FN code)
Command
AEMV
name
FN code 662
Title names Multi Pass Welding End(Variable)
General
Multi-pass welding end
description
■ General description
End the multi-pass welding under the specified conditions by the commands used in the multi-pass interval (MPS~MPE).
As the parameter kinds of multi-pass welding end number, direct value, global integral /variable, and local integral / variable
can be selected.
■ Example of operation
This is V1%=1 in this example.
5 JOINT
6 OFFSETV(Start)
7 JOINT 9 LIN (CIR1/CIR2)
8 ASMV 10 AEMV
It will be repeated for the
predetermined number 11 OFFSETV(End)
Step Command
1 100% JOINT
2 100% JOINT
3 MPS [3 times] Multi-pass welding ending condition file (AEM*ARCW.001)
4 100% JOINT
5 100% JOINT Pass Welding ending condition file No.
6 OFFSETV [Start] The 1st pass 1 (AE**ARCW.001)
7 100% JOINT The 2nd pass 2 (AE**ARCW.002)
The 3rd pass 3 (AE**ARCW.003)
8 ASMV [W1,V1%]
The 4th pass 4 (AE**ARCW.004)
9 300cm/m LINE The 5th pass 5 (AE**ARCW.005)
10 AEMV [W1,V1%] :
11 OFFSETV [End] :
:
12 100% JOINT
13 MPE
14 100% JOINT
15 END
■ Parameter
Parameter name Details Range
This sets the welding machine number to
Welder -
be used.
Specified method for the multi pass Direct value/
welding end condition file can be Global
AS Cond. file
selected. variable/
Type
Local
variable
AS Cond. file Multi-pass welding end condition file ID
1-999
Direct val will be specified at the direct value.
AS Cond. file Multi-pass welding end condition file ID
1-200,
G variable will be specified at the global variable.
301-500
number
AS Cond. file Multi-pass welding end condition file ID 1-200,
L variable number will be specified at the local variable. 301-500
This sets the mechanism number to be
Mechanism ID 1~9
used.
See
MPS; Multi-pass section termination (FN496)
MPE; Multi-pass section termination (FN497)
EP; Execution pass termination (FN498)
OFFSETV; Multi Offset specification(Variable) (FN660)
ASMV; Multi‐pass welding start(Variable)(FN661)
Function commands (FN codes)
Example:
V1%=0
WHILE V1%<10
Instruction 1
Instruction 2
V1%=V1%+1
ENDW
■ Parameter
It is a conditional expression.
Parameter Conditional The conditional expression that compare
No. 1 expression the integer variable or the real number
variable can be described now.
■ Method of specifying the first parameter
The first parameter can be freely described with a soft keyboard.
The conditional expression that compare the integer variable or the real number variable can be described now.
description example:
WHILE V1% = 1
; While integer variable 1 is equal to 1
WHILE V2! < 0
; While real number variable 2 is Negative
WHILE V3% > 1
; While integer variable 3 is larger than 1
- Integer variable
Treat the numerical value that doesn't contain the decimal point.
Format Vn% and V% n ; n=1-200 (global integer variable)
Ln% and L% n ; n=1-200 (local integer variable)
- Vn% and V% n are the same meanings.
Range -2147483648~+2147483647
Sample WHILE V1%=1 ;while variable 1 is one
WHILE V2%<>0 ;while variable 2 is not 0
Preservation Even if the main power supply is cut, all a global integer variables are preserved.
All a local integer variables are not preserved.
- Real number variable
Treat the numerical value including the decimal point.
Format Vn!, V!n ; n=1-100 (global real variable)
Ln!, L!n ; n=1-100 (local real variable)
- Vn! With V. n is the same meaning.
Range -1.0E38~+1.0E38
Sample WHILE V1!>0 While variable 1 is larger than 0
Preservation Even if the main power supply is cut, all a global real number variables are preserved.
All a local real number variables are not preserved.
- Relational operation type
Use the relational operation when you compare two numerical values. The result obtains by truth (1) and false (0), and is used
for the change in the order of executing the program like the condition judgment sentence etc. etc.
Operator Content of operation Example
= It is equal. V1%=V2%
<> It is not equal. V1%<>V2%
< It is small. V1%<V2%
> It is large. V1%>V2%
<= It is small or equal. V1%<=V2%
>= It is large or is equal. V1%>=V2%
■ Example of screen display
WHILE V1%<10 FN663;WHILE loop
See
ENDW: WHILE end (FN664)
Function commands (FN codes)
■ General description
Execute the instructions described in the WHILE-ENDW loop repeatedly.
Use it together with WHILE.
■ Parameter
None.
See
WHILE; WHILE loop (FN663)
Application command (FN code)
Command
ASV
name
FN code 665
Title name Arc start (Variable specification)
General
Starts arc welding with the specified conditions.
description
■ General description
Condition file No. such as Arc start condition file, retry condition file can be specified indirectly through variables. This allows
you to change the Arc start conditions by the input of internal counter value or signal from external source.
In case of the conditions that are not required to be changed, the file No. can be specified by direct value.
The welding start position is a move command just before the ASV (FN665). To select the command, designate the FN code
“665”.
■ Parameter
For details of each setting items, also refer to arc start command (FN414).
[ ] shows Welder No., Arc start conditions (Variable), Arc retry No. (Variable), RS control condition No. (Variable), Move cond.
no. (Variable), Restart No. (Variable) from the left.
See
AS; Arc start (FN414)
AE; Arc end (FN415)
AEV; Arc end (Variable specification)(FN666)
Application command (FN code)
Command
AEV
name
FN code 666
Title name ASV Arc end(Variable)
General
Terminates arc welding with the specified conditions.
description
■ General description
Arc end conditions file can be specified indirectly through variables. This allows you to change the Arc end conditions by input
of internal counter value or signal from external source.
In case of the conditions that are not required to be changed, the file No. can be specified by direct value.
The welding start position is a move command just before the AEV (FN 666). To select the command, designate the FN code
“666”.
■ Parameter
For details of each setting items, also refer to arc start command (FN415).
See
AS; Arc start (FN414)
AE; Arc end (FN415)
ASV; Arc start (Variable specification)(FN665)
Application command (FN code)
Command
WFPV
name
FN code 667
Title names Fixed pattern weaving (Variable)
General Starts weaving with the specified waveform, attitude,
description and frequency.
■ General description
Start weaving under the conditions memorized in the specified fixed pattern weaving condition file.
The robot starts weaving from a position of the movement command taught immediately before the fixed pattern weaving
(variable) (WFPV).
As the specification method of the condition file ID, direct value, global integral / variable, and local integral / variable can be
selected.
For details of the fixed pattern weaving, refer to the fixed pattern weaving (WFP).
■ Parameter
Parameter name Details Range
Specified method for the weaving start Direct value/
condition number can be selected. Global
Weav cond. File
variable/
Type
Local
variable
Weav cond. File This condition specifies the direct
1~999
Direct val number of the weaving start number.
Weav cond. File This specifies the weaving start number
1~200,
G variable as a global variable.
301~500
number
Weav cond. File This specifies the weaving start number 1~200,
L variable number as a global variable. 301~500
See
WFP; Fixed Pattern weaving (FN440)
WE; Weaving End (FN443)
WAXV; Axis weaving (variable) (FN668)
Application command (FN code)
Command
WAXV
name
FN code 668
Title names Axis Weaving (variable)
General Starts weaving with the simple harmonic motion of the
description axes.
■ General description
Start weaving with the simple harmonic motion of the axis under the conditions memorized in the specified particular weaving
condition file.
The robot starts weaving from a position of the movement command taught immediately before the particular weaving
(variable) (WAXV).
As the specification method of the condition file ID, direct value, global integral / variable, and local integral / variable can be
selected.
For details of the axis weaving, refer to the axis weaving (WAX).
■ Parameter
Parameter name Details Range
Specified method for the weaving start Direct value/
condition number can be selected. Global
Weav cond. file
variable/
Type
Local
variable
Weav cond. file This condition specifies the direct
1~999
Direct val number of the weaving start number.
Weav cond. file This specifies the weaving start number
1~200,
G variable as a global variable.
301~500
number
Weav cond. file This specifies the weaving start number 1~200,
L variable number as a global variable. 301~500
See
WAX; Axis weaving (FN441)
WE; Weaving End (FN443)
WFPV; Fixed Pattern weaving (variable) (FN667)
Function commands (FN codes)
■ General description
The function draws some string data and output some string data via RS232C.
You should select “Device”. Device number must start character”#”. The form is based on the “Printf” function of C language
library. Corresponding sub parameters will translate to some string data and output to the device. Sub parameters will be
designate max.5, and you can skip too.
■Example of operation
When the robot reaches the step where FN669 is recorded, the function will act with no motion pause.
■ Parameters
Set port number of string code
#0: User display(It is only available by User task)
#1: RS232C port
1st parameter Device number
#2: Not supported now
#3: Not supported now
#4: Playback logging monitor
Set the string data.
You can set the data from Soft keyboard by [Enable]+[Edit].
(Max. 100 characters)
Corresponding sub parameters will translate to some string data and
2nd parameter String data with form output to the device if you use below string forms
You must start 「%」character. If you use 「%」itself, you should put
「%%」
% [flag] [] []
■ General description
When this function command is executed, the specified user task program is started. Started user task program finish after the
program is executed once from start to end.
■ Example of operation
In step 4, record FORKMCR: User Task Program Start (FN670) and "1" as the program number. When this is played back, the
program1 start the user task program 1 upon arriving at step 4. (program1 and user task 1 operate concurrently.)
When the start of User Task 1 fails, the program1 jumps shelter step.
Program 1 Step 4
FORKMCR; FN670
Program No = 1
1 2 3 5 6
● ● ● ● ●
7 : END(FN92)
User Task 1
● ● ● ●
1 2 3 4
5 : END(FN92)
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-999)
No. 1
This is used to specify the number of the shelter step when the specified user task
program was not starting.
Parameter (1 to 10000)
Shelter step
No. 2 When 10000 is specified as the shelter step number, an alarm results immediately
with no escape operation performed, and the robot can be stopped.
See
CALLMCR: Call user task program (FN671)
FORKMCRTM: Fork user task program (Time) (FN672)
FORKMCRDST: Fork user task program (Distance) (FN673)
Function commands (FN codes)
■ General description
When this function command is executed, the specified user task program is called. When program call user task program,
program stop one’s playback and start specified user task program.
When the playback of the user task program at the call destination is completed (in the status established by executing the
END command), the program returns to the step following the step with the call command of the call source program.
■ Example of operation
In step 4, record CALLMCR: User Task Program Call (FN671) and "1" as the program number.
When this is played back, the program1 call the user task program 1 upon arriving at step 4. When the start of User Task 1 fails,
the program1 jumps shelter step.
When the playback of user task program 1 is completed (in the status established by executing the END command), the robot
returns to step 5 following the step with the call command of call source program 1.
Program 1 Step 4
CALLP; User Task Program Call (FN671)
Program number = 1
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
User Task 1
1
5: End (FN92) ●4 ●
● ●
3 2
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-999)
No. 1
This is used to specify the number of the shelter step when the specified user task
program was not starting.
Parameter (1 to 10000)
Shelter step
No. 2 When 10000 is specified as the shelter step number, an alarm results immediately
with no escape operation performed, and the robot can be stopped.
See
FORKMCR: fork user task program (FN670)
FORKMCRTM: Fork user task program (Time) (FN672)
FORKMCRDST: Fork user task program (Distance) (FN673)
Function commands (FN codes)
■ General description
When this function command is executed, the specified user task program is started. Furthermore, the command enables
advance execution earlier than at the position reached by the robot in the accuracy range of the move command.
■ Example of operation
In step 4, record FORKMCRTM : User Task Program Start with early execution (FN672) and "1" as the program number.
When this is played back, the program1 start the user task program 1 before specified seconds from arriving at step 4.
(program1 and user task 1 operate concurrently.)
When the start of User Task 1 fails, the program1 jumps shelter step.
Program 1 Step 4
FORKMCRST; FN672
Program No = 1
1 2 3 5 6
● ● ● ● ●
Advance time 7 : END(FN92)
User Task 1
● ● ● ●
1 2 3 4
5 : END(FN92)
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-999)
No. 1
If "0.0" is specified as the time, the command is executed at the timing which
coincides with the recorded point.
Parameter Advance
the command is starting user task program ahead of the original execution timing
No. 2 execution time
by the amount equivalent to the delay time setting.(Increment: seconds)
(-10.0 – 0.0)
This is used to specify the number of the shelter step when the specified user task
program was not starting.
Parameter (1 to 10000)
Shelter step
No. 3 When 10000 is specified as the shelter step number, an alarm results immediately
with no escape operation performed, and the robot can be stopped.
See
FORKMCR: Fork user task program (FN670)
CALLMCR: Call user task program (FN671)
FORKMCRDST: Fork user task program (Distance) (FN673)
Function commands (FN codes)
■ General description
When this function command is executed, the specified user task program is started. Furthermore, the command enables
advanced execute designated by distance from the recorded point. Advancing distance is calculated linear length from
recorded point, so if MOVE step is recorded by JOINT output point differs from the real moving length of robot TCP.
■ Example of operation
In step 3, record FORKMCRDST : Fork User Task Program (distance) (FN672) and "1" as the program number.
When this is played back, the program1 start the user task program 1 before specified distance from arriving at step 3.
(Program1 and user task 1 operate concurrently.)
When the start of User Task 1 fails, the program1 jumps shelter step.
Step1
User Task 1
Time
■ Parameter
Parameter
Program No. This specifies the number of the program serving as the call destination. (1-999)
No. 1
Advance This specifies the output advancing timing that is designated by the linear length
Parameter
execution from the recorded point.
No. 2
timing (-1500.0 – 0.0)
This is used to specify the number of the shelter step when the specified user task
program was not starting.
Parameter (1 to 10000)
Shelter step
No. 3 When 10000 is specified as the shelter step number, an alarm results immediately
with no escape operation performed, and the robot can be stopped.
See
FORKMCR: Fork user task program (FN670)
CALLMCR: Call user task program (FN671)
FORKMCRTM: Fork user task program (Time) (FN672)
Function commands (FN codes)
Command name IF
FN code 676
Title name Condition
Move the control to the following instruction when the
condition consists.
Outline
Move the control to ELSEIF, ELSE, and ENDIF for
the failure.
■ General description
It is conditional.
Use it together with ELSEIF, ELSE, and ENDIF.
IF conditional expression
Instruction 1
Instruction 2
・・
Instruction I
ELSEIF conditional expression
Instruction J
・・
Instruction K
ELSE
Instruction L
・・
Instruction M
ENDIF
If the condition of the IF instruction consists, it moves the control to instruction 1 and moves the control to ENDIF after
executing instruction I.
If the condition of the IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction
consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K.
If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and
moves the control to ENDIF after executing instruction M.
■ Parameter
It is a conditional expression.
Parameter Conditional
The conditional expression that comparing operates the integer variable or the real
No. 1 expression
number variable can be described now.
description example:
IF V1% = 1
; if integer variable 1 is 1
IF V2! > 0
; if real number variable 2 is larger than 0
IF V3% >= 1
; When integer variable 3 is 1 or more.
See
ELSEIF; ELSEIF Condition (FN677)
ELSE; ELSE (FN678)
ENDIF; Condition end (FN679)
Function commands (FN codes)
Command name ELSEIF
FN code 677
Title name Condition
Move the control to the following instruction when the
Outline condition consists.
Move the control to ELSE and ENDIF for the failure.
■ General description
It is conditional.
Use it together with IF, ELSEIF, ELSE, and ENDIF.
IF conditional expression
Instruction 1
Instruction 2
・・
Instruction I
ELSEIF conditional expression
Instruction J
・・
Instruction K
ELSE
Instruction L
・・
Instruction M
ENDIF
If the condition of the IF instruction consists, it moves the control to instruction 1 and moves the control to ENDIF after
executing instruction I.
If the condition of the IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction
consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K.
If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and
moves the control to ENDIF after executing instruction M.
■ Parameter
It is a conditional expression.
Parameter Conditional
The conditional expression that comparing operates the integer variable or the real
No. 1 expression
number variable can be described now.
description example:
IF V1% = 1
; if integer variable 1 is 1
IF V2! > 0
; if real number variable 2 is larger than 0
IF V3% >= 1
; When integer variable 3 is 1 or more.
See
IF; IF Condition (FN676)
ELSEIF; ELSEIF Condition (FN677)
ELSE; ELSE (FN678)
ENDIF; Condition end (FN679)
Function commands (FN codes)
Command name ELSE
FN code 678
Title name Condition
Outline Move the control to the following instruction.
■ General description
It is conditional.
Use it together with IF, ELSEIF, ELSE, and ENDIF.
IF conditional expression
Instruction 1
Instruction 2
・・
Instruction I
ELSEIF conditional expression
Instruction J
・・
Instruction K
ELSE
Instruction L
・・
Instruction M
ENDIF
If the condition of the IF instruction consists, it moves the control to instruction 1 and moves the control to ENDIF after
executing instruction I.
If the condition of the IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction
consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K.
If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and
moves the control to ENDIF after executing instruction M.
■ Parameter
None.
See
IF; IF Condition (FN676)
ELSEIF; ELSEIF Condition (FN677)
ELSE; ELSE (FN678)
ENDIF; Condition end (FN679)
Function commands (FN codes)
■ General description
It is a terminator of IF – ENDIF structure.
Use it together with IF, ELSEIF, ELSE, and ENDIF.
IF conditional expression
Instruction 1
Instruction 2
・・
Instruction I
ELSEIF conditional expression
Instruction J
・・
Instruction K
ELSE
Instruction L
・・
Instruction M
ENDIF
If the condition of the IF instruction consists, it moves the control to instruction 1 and moves the control to ENDIF after
executing instruction I.
If the condition of the IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction
consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K.
If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and
moves the control to ENDIF after executing instruction M.
■ Parameter
None.
See
IF; Condition (FN676)
ELSEIF; Condition (FN677)
ELSE; Condition (FN678)
Application command (FN code)
Command
JMPPV
name
FN code 680
Title names Program jump(Variable)
General This command enables to jump to the specified task
description program top.
■ General description
This application command enables to jump to the specified task program.
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
It will be recorded in the Step 4 as JMPPV: Program jump(Variable) (FN680) and Jump task program No. = V1%.
When it is replayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%,
skipping the Steps 5-6. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of the
task program designated in V1% (by execution of the END command), it will not return to the original task program from
where the jump has been made.
Step 4
Program 1
JMPPV; Program jump(Variable) (FN680)
Jump program No. =V1%
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: End (FN92) ●4 ●
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the command is executed at the position reached
by the robot in the accuracy range of the immediately preceding
movement command.
■ Parameter
Parameter name Details Range
The task program No. in the jump
Jump program No. destination will be selected as a direct 0~9999
number.
The task program No. in the jump
Jump program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the jump
Jump program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
See
JMPPIV; Program jump (I-cond…)(Variable) (FN681)
JMPPNV; Program jump (freq…)(Variable) (FN682)
Application command (FN code)
Command
JMPPIV
name
FN code 681
Title names Program jump (I-cond…)(Variable)
General This command enables to jump to the specified task
description program top.
■ General description
This application command enables to jump to the specified task program.
However, it will jump if a specified input signal has been entered, and it will not jump but only pass, if a specified input signal
has not been entered.
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
It will be recorded in the Step 4 as JMPPIV: Program jump (I-cond…)(Variable)(FN681), Jump task program No. = V1%, and
Entry signal = I1.
When it is replayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%, if
input signal I1 is entered. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of
the task program specified by V1% (by execution of the END command), it will not return to the original task program from
where the jump has been made.
If there is no entry made, it will proceed to Step 5-6, without jumping to the task program specified by V1%.
Step 4
Program 1
JMPPIV; Program jump (I-cond…)(Variable) (FN681)
Jump program No.=V1%
Input signal =I1
1 2 3 5 6
● ● ● ● ●
When input I1 7: End (FN92)
signal is entered When input I1
signal is not entered
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the input signal will be inspected before reaching
to the accuracy range of the movement command, and the input
signal will make an inner rotation, if the positioning has been
entered. If positioning is not specified, the command value will
proceed to the recording point, and the input signal will be
inspected where the robot reached the accuracy range.
■ Parameter
Parameter name Details Range
The task program No. in the jump
Jump program No. destination will be selected as a direct 0~9999
number.
The task program No. in the jump
Jump program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the jump
Jump program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
The input signal number, as a condition
for execution of jump, will be recorded.
Input Sig. 1~5196
Multiple input signals can be specified
if 5101 and over are selected.
Command
JMPPNV
name
FN code 682
Title names Program jump(freq…)(Variable)
General This command enables to jump to the specified task
description program top by the passing number.
■ General description
This application command enables to jump to the specified task program.
After passing for the specified number of times, execute a jump next to the specified number of times (specified number + 1).
(For example, if "2" is specified, pass for two times and then makes a jump on the third time.)
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
It will be recorded in the Step 4 as JMPPNV: Program jump(freq…)(Variable) (FN682), Jump Task program No. = V1%, Entry
signal =1, and Frequency = 2.
When it is replayed, the robot will proceed to Step 5, skipping for the 1st and 2nd time, however, it will jump to the top step of
the task program specified by V1% on the 3rd time. In this example, it has jumped to Task program No. 2 at V1%=2. After
completing the playback of the task program specified by V1% (by execution of the END command), it will not return to the
original task program from where the jump has been made.
Step 4
Program 1 JMPPNV; Program jump(freq…)(variable) (FN85)
Call Program No.=V1%
Register No.=1
Number of times=2
1 2 3 5 6
● ● ● ● ●
The 3rd time 7: End (FN92)
The 1st time,
2nd time
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the command is executed at the position reached
by the robot in the accuracy range of the immediately preceding
movement command.
■ Parameter
Parameter name Details Range
The task program No. in the jump
Jump Program No. destination will be selected as a direct 0~9999
number.
The task program No. in the jump
Jump Program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the jump
Jump Program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
Specify the integration variable for 1~200
Register No.
counting. 301~500
The frequency number, as a condition
for execution of jump, will be recorded.
After passing for the specified number
Frequency 0~10000
of times, execute a jump next to the
specified number of times (specified
number + 1).
■ General description
The font of the character string where it draws to the user screen is set.
If this function is executed, PRINTF; Print string (FN606) will draw the string of the font set by this function.
It returns to the default font when WINDOW; User screen open / close (FN607) is executed.
This command is available only in user task, and is permitted being written by robot language only. Please refer to the “User
task” operating manual for the detail of user task and user screen.
■ Parameter
Parameter The height of the character is specified.
Height
No. 1 When 0 is set, It become same height of the current font.
Parameter The width of the character is specified.
Width
No. 2 When 0 is set, It become same width of the current font.
Parameter 0:disabled
Bold
No. 3 1:enabled (Bold)
Parameter 0:disabled
Italic
No. 4 1:enabled (Italic)
Parameter 0:disabled
Under line
No. 5 1:enabled (Under line)
<SLIM sample> GFONT 16,8,0,0,0
See
PRINT ; Print String (FN606)
WINDOW ; Open/Close user display (FN607)
TITLE ; Set the title on user display (FN608)
CLS ; Set the title on user display (FN609)
LOCATE ; Locate the diplay pos (FN610)
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
BARC ; Draw the arc (FN613)
GPAINT ; Paint (FN614)
GSETP ; Draw the arc (FN615)
COLOR ; Ste the color (FN616)
BGCOLOR ; Set the bkgr color (FN617)
GARC ; Display ellipse (FN623)
GSOFTKEY ; Create soft key (FN684)
GMSGBOX ; Create message box (FN685)
Function commands (FN codes)
■ General description
This function creates a soft key on the user screen.
The “AC00USK.INC file (User soft key definition file)” where the definition of a soft key is described is necessary to create a
soft key by this function.
You can make or edit the user soft key definition file in [Service][User task][User task softkey] menu.
The user soft key definition file can be made or be edited by text editor because it is descried by the text form.
Please refer to "User task operation manual" for the description of the file.
The coordinates of the soft key are specified by relative coordinates on the upper-left of the user screen.
But, an actual display position of the user soft key become a position adjusted by a multiple of 80 on teach pendant.
Specified Y coordinate
80
240
480
80 160 240 320 400 480 560 640
Teach pendant
This command is available only in user task, and is permitted being written by robot language only. Please refer to the “User
task” operating manual for the detail of user task and user screen.
■ Parameter
Parameter X coordinates of the user soft key are specified.
X coordinate
No. 1 (0 – 560)
Parameter Y coordinates of the user soft key are specified.
Y coordinate
No. 2 (0 – 400)
The soft key number described in the user soft key definition file (AC00USK.INC) is
Parameter Soft key specified.
No. 3 number When 0 is specified, a soft key to specified coordinates is deleted.
(0 - 96)
<SLIM sample> GSOFTKEY 80,160,1
See
PRINT ; Print String (FN606)
WINDOW ; Open/Close user display (FN607)
TITLE ; Set the title on user display (FN608)
CLS ; Set the title on user display (FN609)
LOCATE ; Locate the diplay pos (FN610)
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
BARC ; Draw the arc (FN613)
GPAINT ; Paint (FN614)
GSETP ; Draw the arc (FN615)
COLOR ; Ste the color (FN616)
BGCOLOR ; Set the bkgr color (FN617)
GARC ; Display ellipse (FN623)
GFONT ; Set the font (FN683)
GMSGBOX ; Create message box (FN685)
Function commands (FN codes)
■ General description
This function creates a message box on the user screen.
It is for selecting some items by the user screen. When this function is executed, the user task stops processing until the button
of the message box is selected. It is necessary to activate the user screen to display the message box.
This command is available only in user task, and is permitted being written by robot language only. Please refer to the “User
task” operating manual for the detail of user task and user screen.
■ Parameter
0: Display the “OK” button.
1: Display the “OK” and “Cancel” button.
Parameter
Display form 2: Display the “YES” and “NO” button.
No. 1
3: Display the “YES”, “NO” and “Cancel” button.
4: Display the user definition buttons specified parameter No.6 – No.9.
0: Not display an Icon.
1: Display the icon of warning.
Parameter
Icon 2: Display the con of question.
No. 2
3: Display the icon of caution.
4: Display the icon of information.
Parameter The string of the title bar is specified.
Title
No. 3 (normal-width 20 characters)
Parameter The string of the text is specified.
Text
No. 4 (normal-width 100 characters)
Parameter The default select button is specified.
Default
No. 5 (1 -4)
Parameter When the user definition is specified by parameter No.1, the string of the button is
Button 1
No. 6 specified.
Parameter These parameters are not used, and please specify the empty string when
Button 2
No. 7 specifying it by the parameter No.1 excluding the user definition.
Parameter (normal-width 8 characters)
Button 3
No. 8
Parameter
Button 4
No. 9
<SLIM sample 1> GMSGBOX 2, 2, ”Confirm”, ”Is counter reset?”, 2, ””, ””, ””, ””
<SLIM sample 2> GMSGBOX 4, 4, ”Select processing”,
”Please select the processing”,
2, ”set”,”all set”,”return”,”cancel”
See
PRINT ; Print String (FN606)
WINDOW ; Open/Close user display (FN607)
TITLE ; Set the title on user display (FN608)
CLS ; Set the title on user display (FN609)
LOCATE ; Locate the diplay pos (FN610)
GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
BARC ; Draw the arc (FN613)
GPAINT ; Paint (FN614)
GSETP ; Draw the arc (FN615)
COLOR ; Ste the color (FN616)
BGCOLOR ; Set the bkgr color (FN617)
GARC ; Display ellipse (FN623)
GFONT ; Set the font(FN683)
GSOFTKEY ; Create soft key (FN684)
Function commands (FN codes)
■ General description
Two or more conditions are judged.
Use it together with CASE, BREAK, and ENDS.
SWITCH V1%
CASE 1
Instruction 1
・・
Instruction I
BREAK
CASE 2
CASE 3
Instruction J
・・
Instruction K
BREAK
CASE
Instruction L
・・
Instruction M
BREAK
ENDS
When the value of integer variable V1% is one, it executes from instruction I to instruction K and moves the control to ENDS.
When the value of integer variable V1% is 2 or 3, it executes from Instruction J to instruction K and moves the control to ENDS.
When the value of integer variable V1% is not equal to 1, 2 and 3, it executes from Instruction L to instruction M and moves the
control to ENDS.
■ Parameter
Parameter
Expression It is an expression of the integer type.
No. 1
See
CASE; CASE (FN687)
BREAK; BREAK(FN688)
ENDS; SWITCH end (FN689)
Function commands (FN codes)
■ General description
Two or more conditions are judged.
Use it together with SWITCH, BREAK, and ENDS.
SWITCH V1%
CASE 1
Instruction 1
・・
Instruction I
BREAK
CASE 2
CASE 3
Instruction J
・・
Instruction K
BREAK
CASE
Instruction L
・・
Instruction M
BREAK
ENDS
When the value of integer variable V1% is one, it executes from instruction I to instruction K and moves the control to ENDS.
When the value of integer variable V1% is 2 or 3, it executes from Instruction J to instruction K and moves the control to ENDS.
When the value of integer variable V1% is not equal to 1, 2 and 3, it executes from Instruction L to instruction M and moves the
control to ENDS.
■ Parameter
Parameter Integer
It is an integer constant.
No. 1 constant
See
SWITCH; SWITCH(FN686)
BREAK; BREAK(FN688)
ENDS; SWITCH end (FN689)
Function commands (FN codes)
■ General description
It is possible to use it in the WHILE-ENDW structure, the FOR-NEXT structure, and the SWITCH-ENDS structure.
The control moves to the following instruction of the first ENDW instruction in the direction of the program end.
The control moves to the following instruction of the first NEXT instruction.
The control moves to the following instruction of the first ENDS instruction.
Example:
WHILE 1
Instruction 1
Instruction 2
V1%=V1%+1
IF V1% > 10
BREAK
ENDIF
ENDW
Instruction 3
It exits the WHILE-ENDW loop, and moves the control to instruction 3, when the value of V1% becomes larger than ten.
■ Parameter
None
See
SWITCH; SWITCH(FN686)
CASE; CASE(FN687)
ENDS; SWITCH end(FN689)
WHILE; WHILE loop (FN663)
ENDW; WHILE loop end(FN664)
FOR; FOR(FN604)
NEXT; NEXT(FN605)
Function commands (FN codes)
■ General description
It is a terminator of the SWITCH-ENDS structure.
Use it together with SWITCH, CASE, and BREAK.
SWITCH V1%
CASE 1
Instruction 1
・・
Instruction I
BREAK
CASE 2
CASE 3
Instruction J
・・
Instruction K
BREAK
CASE
Instruction L
・・
Instruction M
BREAK
ENDS
When the value of integer variable V1% is one, it executes from instruction I to instruction K and moves the control to ENDS.
When the value of integer variable V1% is 2 or 3, it executes from Instruction J to instruction K and moves the control to ENDS.
When the value of integer variable V1% is not equal to 1, 2 and 3, it executes from Instruction L to instruction M and moves the
control to ENDS.
■ Parameter
None
See
SWITCH; SWITCH(FN686)
CASE; CASE(FN687)
BREAK; BREAK(FN688)
Application command (FN code)
Command
CALLPV
name
FN code 690
Title names Program call(Variable)
General This command enables to call the specified task
description program.
■ General description
This application command enables to call the specified task program.
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
It will be recorded in the Step 4 as CALLPV: Program call(Variable) (FN690) and Call task program No. = V1%.
When it is replayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%,
skipping the Steps 5-6. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of the
task program specified by V1% (by execution of the END command), it will return to the next step 5 of the task program 1, the
original call task program.
Step 4
Program 1
CALLPV; Program call(Variable) (FN690)
Call program No.=V1%
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: End (FN92) ●4 ●
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the command is executed at the position reached
by the robot in the accuracy range of the move command
immediately before.
■ Parameter
Parameter name Details Range
The task program No. in the call
Call program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Call program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the call
Call program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
See
CALLPIV; Program call(I-cond…)(Variable) (FN691)
CALLPNV; Program call(freq…)(Variable) (FN692)
Application command (FN code)
Command
CALLPIV
name
FN code 691
Title names Program call(I-cond…)(Variable)
General
Call the specified task program.
description
■ General description
This application command enables to call the specified task program.
However, if the designated input signal has not been entered, it will not call but only pass.
As the specification method of the task program No. direct value, global integral / variable, and local integral / variable can be
selected.
■ Example of operation
It will be recorded in the Step 4 as CALLPIV: Conditioned Program call(I-cond…)(Variable) (FN691), Call task program No. =
V1%, and Entry signal = I1.
When it is relayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%, if input
signal I1 is entered. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of the task
program specified by V1% (by execution of the END command), it will return to the next step 5 of the task program 1, the
original call task program.
If there is no entry made, it will proceed to Step 5-6, without jumping to the task program specified by V1%.
Step 4
Program 1
CALLPIV; Program call(I-cond…)(Variable) (FN691)
Call program No.=V1%
Input signal=I1
1 2 3 5 6
● ● ● ● ●
When input I1 7: End (FN92)
signal is entered When input I1
signal is not entered
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the input signal will be inspected before reaching
to the accuracy range of the movement command, and the input
signal will make an inner rotation, if the positioning has been
entered. If positioning is not specified, the command value will
proceed to the recording point, and the input signal will be
inspected where the robot reached the accuracy range.
■ Parameter
Parameter name Details Range
The task program No. in the call
Call program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Call program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the call
Call program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
This parameter records the input signal
No. as the call execution condition.
Input Signal 1~5196
Multiple input signals can be specified
if 5101 and over are selected.
See
CALLPV; Program call (Variable)(FN690)
CALLPNV; Program call(freq…)(Variable) (FN692)
Application command (FN code)
Command
CALLPNV
name
FN code 692
Title names Program call(freq…)(Variable)
General This command enables to call the specified task
description program by the passing number.
■ General description
This application command enables to call the specified task program.
After passing for the specified number of times, execute a call next to the specified number of times (specified number + 1).
(For example, pass-by for two times if the specified number is "2," and make a call on the 3rd time.)
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
■ Example of operation
It will be recorded in the Step 4 as CALLPNV: Program call(freq…)(Variable) (FN692), Call task program No. = V1%, Register
No. = 1, and Frequency = 2.
When it is replayed, the robot will proceed to Step 5, skipping for the 1st and 2nd time, however, it will jump to the top step of
the task program specified by V1% on the 3rd time. In this example, it has jumped to Task program No. 2 at V1%=2. After
completing the playback of the task program specified by V1% (by execution of the END command), it will return to the next
step 5 of the task program 1, the original call task program.
Step 4
Program 1 CALLPNV; Program call(freq…)(Variable) (FN692)
Call program No.=V1%
Register No.=1
Number of times=2
1 2 3 5 6
● ● ● ● ●
The 3rd time 7: End (FN92)
The 1st time,
2nd time
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
The robot is not decelerated by this command. If positioning is
not specified, the command is executed at the position reached
by the robot in the accuracy range of the move command
immediately before.
■ Parameter
Parameter name Details Range
The task program No. in the call
Call program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Call program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the call
Call program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
Specify the integration variable for 1~200
Register No.
counting. 301~500
The frequency number, as a condition
for execution of call, will be recorded.
After passing for the specified number
Frequency 0~10000
of times, execute a call next to the
specified number of times (specified
number + 1).
Command
CALLFARV
name
FN code 693
Title names CallFar Program(variable)
General
Call the task program in other unit.
description
■ General description
Call the task program in other unit.
Note that, if the application command is stored in the head step of the call destination task program, the application command
in the call destination is to be executed in the step where the call command was executed.
If a call is made, the task program in the original location will be stopped once and resumed, after the task program execution
in the call destination has been completed.
It is not possible to make further call to outside unit using the task program of the call destination.
It is possible, however, to make further call to inside of the unit using the CALL demand in the task program of the call
destination (at most 8 layers).
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable can
be selected.
■ Example of operation
It will be recorded in the Step 4 as CALLFARV: CallFar Program(variable) (FN693) and Task program No. of other unit = V1%.
When it is replayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%,
skipping the Steps 5-6. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of the
task program specified by V1% (by execution of the END command), it will return to the next step 5 of the task program 1, the
original call task program.
Step 4
Program 1
CALLFARV; CallFar Program(variable) (FN693)
PProgram No.=V1%
1 2 3 5 6
● ● ● ● ●
7: End (FN92)
Program 2
1
5: End (FN92) ●4 ●
● ●
3 2
■ Parameter name
Parameter name Details Range
The task program No. in the call
Program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the jump
Program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
In a case where the mechanism, to be
used in the task program of call
destination, is activated in another unit,
specify the time length waiting for
opening of the mechanism by the
second unit.
Waiting time (∞(-1), 0-99) -1~99
If the mechanism is opened within the
specified length of time, the specified
task program will be called.
It will become abnormal if the
mechanism will not be opened in the
specified time.
See
CALLFARIV; CallFarI Program(Variable) (FN694)
CALLFARNV; CallFarN Program(Variable) (FN695)
Application command (FN code)
Command
CALLFARIV
name
FN code 694
Title names CallFarI Program(Variable)
General Call the task program in other unit, if there is a signal
description input.
■ General description
Call the task program in other unit, if there is a signal input.
Note that, if the application command is recorded in the head step of the destination task program, the application command in
the destination is to be executed in the step where the call command was executed.
If a call is made, the task program in the original location will be stopped once and resumed, after the task program execution
in the call destination has been completed.
It is not possible to make further call to outside unit using the task program of the call destination.
It is possible, however, to make further call to inside of the unit using the CALL demand in the task program of the call
destination (at most 8 layers).
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable can
be selected.
■ Example of operation
It will be recorded in the Step 4 as CALLFARIV: CallFarI Program(Variable)(FN694), Task program No. of other unit = V1%,
and Input signal = I1.
When it is relayed, the robot will, after reaching to Step 4, jumps to the top step of the task program specified by V1%, if input
signal I1 is entered. In this example, it has jumped to Task program No. 2 at V1%=2. After completing the playback of the task
program specified by V1% (by execution of the END command), it will return to the next step 5 of the task program 1, the
original call task program.
If there is no entry made, it will proceed to Step 5-6, without jumping to the task program specified by V1%.
Step 4
Program 1
CALLFARIV; CallFarI Program(Variable) (FN694)
Program No.=V1%
Input signal=I1
1 2 3 5 6
● ● ● ● ●
When input I1 7: End (FN92)
signal is entered When input I1 signal
is not entered
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
■ Parameter name
Parameter name Details Range
The task program No. in the call
Program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the call
Program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
In a case where the mechanism, to be
used in the task program of call
destination, is activated in another unit,
specify the time length waiting for
opening of the mechanism by the
second unit.
Wait time (∞(-1), 0-99) -1~99
If the mechanism is opened within the
specified length of time, the specified
task program will be called.
It will become abnormal if the
mechanism will not be opened in the
specified time.
This parameter stores the input signal
No. as the call execution condition.
Port number 1~5196
Multiple input signals can be specified if
5101 and over are selected.
See
CALLFARV; CallFar Program(Variable) (FN693)
CALLFARNV; CallFarN Program(Variable) (FN695)
Application command (FN code)
Command
CALLFARNV
name
FN code 695
Title names CallFarN Program(Variable)
General Call the task program in other unit by the passing
description frequency.
■ General description
After passing for the specified number of times, execute a call on the task program in another unit next to the specified number
of times (specified number +1). (For example, pass-by for two times if the specified number is "2," and make a call on the 3rd
time.)
Note that, if the application command is recorded in the head step of the destination task program, the application command in
the destination is to be executed in the step where the call command was executed.
If a call is made, the task program in the original location will be stopped once and resumed, after the task program execution
in the call destination has been completed.
It is not possible to make further call to outside unit using the task program of the call destination.
It is possible, however, to make further call to inside of the unit using the CALL demand in the task program of the call
destination (at most 8 layers).
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable can
be selected.
■ Example of operation
It will be recorded in the Step 4 as CALLFARNV: CallFarN Program(Variable) (FN695), Task program No. of other unit = V1%,
Variables No. = 100, Frequency = 2.
When it is replayed, the robot will proceed to Step 5, skipping for the 1st and 2nd time, however, it will jump to the top step of
the task program specified by V1% on the 3rd time. In this example, it has jumped to Task program No. 2 at V1%=2. After
completing the playback of the task program specified by V1% (by execution of the END command), it will return to the next
step 5 of the task program 1, the original call task program.
Step 4
Program 1 CALLFARNV; CallFarN Program(Variable) (FN695)
Program No.=V1%
Variable No.=100
Number of times=2
1 2 3 5 6
● ● ● ● ●
The 3rd time 7: End (FN92)
The 1st time,
2nd time
Program 2
5: End (FN92) ●4 ●
1
● ●
3 2
■ Parameter name
Parameter name Details Range
The task program No. in the call
Program No. destination will be selected as a direct 0~9999
number.
The task program No. in the call
Program No. 1~200
destination will be selected as a global
(G Variable) 301~500
integral variable.
The task program No. in the call
Program No. 1~200
destination will be selected as a local
(L Variable) 301~500
integral variable.
In a case where the mechanism, to be
used in the task program of call
destination, is activated in another unit,
specify the time length waiting for
opening of the mechanism by the
second unit.
Waiting time (∞(-1), 0-99) -1~99
If the mechanism is opened within the
specified length of time, the specified
task program will be called.
It will become abnormal if the
mechanism will not be opened in the
specified time.
Specify the integration variable for 1~200
Variable number
counting. 301~500
The frequency number, as a condition
for execution of jump, will be recorded.
After passing for the specified number
Frequency of times, execute a jump next to the 0~10000
specified number of times (specified
number + 1).
(0-10000)
CA LLFA RNV[ 10, 25,V 100 %,2] FN 695; Cal lFa rN P rog ram( Var iabl e)
CA LLFA RNV[ V10 0%,2 5,V 1%,2 ] F N695 ; Ca llF arN Pro gram (Va riab le)
CA LLFA RNV[ L10 0%,2 5,V 1%,2 ] F N695 ; Ca llF arN Pro gram (Va riab le)
See
CALLFARV; CallFar Program(Variable) (FN693)
CALLFARIV; CallFarI Program(Variable) (FN694)
Function commands (FN codes)
■ General description
This command reads specified “inc file”, and adds the conversion rule to the table.
START_INPUT,I10
END_OUTPUT,O100
COUNT,V100%
CNT_MAX,255
EX) INCLDUE FILE
The conversion processing is done from the next step of INCLUDE Command according to the table of the conversion rule.
The conversion rule described in two or more files is applied by using INCLUDE Command more than once.
When reproducing, nothing is processed.
See
INCLUDEIO : Translate table included (I/O) (FN698)
Function commands (FN codes)
■ General description
This command makes the conversion rule from “I/O NAME”, and adds it to the table. The conversion processing is done from
the next step of “INCLUDEIO Command” according to the table of the conversion rule. Signal with “I/O NAME” where
prohibited character is included is not added to the conversion rule. This Command can be used with “INCLUDE Command
(FN697)”. The table of conversion rule can be added up to 9999.
When play backing, nothing is processed.
See
INCLUDE : Translate table included (file) (FN697)
Function commands (FN codes)
■ General description
This command resets the written flag of the specified shift register. “SHIFTR: Shift2" (FN52) or other command, this command
will reset the written flag of shift register without adversely affecting the operation of the other command being executed.
■ Example of operation
The Shift register values when CLRREGWR[R1] has been executed.
Before LETR is After LETR is
executed executed
Request flag 0 0
Setting flag 1 0
X 110 110
Y 120 120
Z 130 130
θX 5 5
θY 6 6
θZ 7 7
Written flag of shift register set 0 when this command is executed.
Other shift register values are not changed after this command is executed.
Please see “SREQ: Shift amount request” (FN51) about how to use.
■ Parameter
This is used to specify the number of the shift register in which to clear the written flag
Parameter Shift register
of the shift register. Setting 0 means clear written flag of all shift registers.
No. 1 number
(0 to 9)
See
SREQ: Shift amount request (FN51)
SHIFTR: Shift2 (FN52)
RSCLR: Buffer clear (FN111)
WAITR: Wait shift value receive (FN127)
Application command (FN code)
Command
MESPOS
name
FN code 700
Title names Taking of a Measuring/Reference point
General
This is to specify the measurement point.
description
■ General description
By executing this command, deviation will be calculated and the results will be stored in the "Register for MESPOS
command".
■ Parameter
Parameter name Details Range
This specifies the mechanism number
Mechanism No. that becomes the check target. This is 1~32
"1" in general.
This specifies the tool number that
Tool No. becomes the check target. This is "1" in 1~32
general.
Calibration This sets the Calibration Sensor number.
1~2
Sensor No. This is "1" in general.
This is used to set the speed when
sensing the laser light. It is general to 6~360
Search Speed
specify within the range of 30 ~ 120 cm/min
[cm/min.].
This sets the maximum searching
distance so as to detect the search idle
run at execution. After start of the search,
Search range
when laser light cannot be detected if the 0~999 mm
Max
set distance is activated after passing
through the reference point, a failure
shall be detected.
This sets the minimum searching
distance so as to detect laser touch is
Search range already made at execution. After start of
0~999 mm
Min search, when laser light is detected
before set distance is activated, a failure
shall be detected.
This sets the measurement point
number.
It must be "1" if it is the 1st point, and it
must be "2" if it is the 2nd point. It must
Measurement 1A~21A,
be "A" if it is for the progress movement,
point No. 1B~21B
and it must be "B" if it is for the retreat
movement.
For example it must be "1A", if it is in A
on the 1st point.
Taught Vector (X, The results of taught vector will be
-
Y, Z) displayed.
See
MESQCP; Taking of a Quick check point (FN701)
CALIBROB; Calibration Execution (FN702)
Application command (FN code)
Command
MESQCP
name
FN code 701
Title names Taking of a Quick check point
General
Obtain and store the quick check pints.
description
■ General description
By executing this command, quick check points will be obtained and the results will be stored in the "Register for MESQCP
command".
■ Parameter
Parameter name Details Range
This specifies the mechanism number
Mechanism No. that becomes the check target. This is 1~9
"1" in general.
This specifies the tool number that
Tool No. becomes the check target. This is "1" in 1~32
general.
Calibration This sets the Calibration Sensor number.
1~2
Sensor No. This is "1" in general.
This is used to set the speed when
sensing the laser light. It is general to 6~360
Search Speed
specify within the range of 30 ~ 120 cm/min
[cm/min.].
This sets the maximum searching
distance so as to detect the search idle
run at execution. After start of the search,
Search range
when laser light cannot be detected if the 0~999 mm
Max
set distance is activated after passing
through the reference point, a failure
shall be detected.
This sets the minimum searching
distance so as to detect laser touch is
Search range already made at execution. After start of
0~999 mm
Min search, when laser light is detected
before set distance is activated, a failure
shall be detected.
This sets the measurement point
number.
It must be "1" if it is the 1st point, and it
must be "2" if it is the 2nd point. It must 1A~21A,
Measurement
be "A" if it is for the progress movement,
Point No. 1B~21B
and it must be "B" if it is for the retreat
movement.
For example it must be "1A", if it is in A
on the 1st point.
Taught Vector (X, The results of taught vector will be
-
Y, Z) displayed.
MESQCP[ 60cm/m, M1, T1, 1Q, →] FN701; Taking of a Quick check point
See
MESPOS; Taking of a measuring/Reference point (FN700)
CALIBROB; Calibration Execution (FN702)
Application command (FN code)
Command
CALIBROB
name
FN code 702
Title names Calibration Execution
General This is to execute deviation revision against the task
description program as a calibration target.
■ General description
It reflects the deviation measured by the "deviation measurement program" in the task program.
■ Parameter
Parameter name Details Range
This specifies the mechanism number
Mechanism No. that becomes the calibration target. This 1~9
is "1" in general.
This specifies the tool number that
Tool No. becomes the check target. This is "1" in 1~32
general.
See
MESPOS; Taking of a measuring/Reference point (FN700)
MESQCP; Taking of a Quick check point (FN701)
Function commands (FN code)
Command
SIGREQ
name
FN code 723
Title name Shift value get (signal)
Using external signals, the command requests shift
General
amount input, and the shift amount data which is input is
description
stored in the designated shift register.
■ General description
The robot controller requests the shift amounts using external output signals, and the external unit inputs the shift amounts
using signals in response to the requests, after which the controller stores these amounts in the specified shift register.
Shift amount
request signals
External
Controller Shift amounts + unit
ACK
The shift amount data (X, Y, Z, θX, θY, θZ) and shift amount input completed notice signal (ACK signal) are input from the
external unit. This controller acquires the ACK signal input pending from the specified pending time, and the shift amount from
the shift amount input signal after the ACK signals are received. If the ACK signal is not received during the specified period,
operation jumps to the save destination step.
The signals must be allocated before this application
command is used. For details, refer to [Constant Setting]
IMPORTANT [17 Handling Application] [3 Shift signal allocation].
If the robot has been stopped while waiting to receive the shift amounts and then restarted, the remaining time in the specific
period serves as the wait time.
■ Example of operation
When, as shown in the figure, SIGREQ (FN723) is executed at step N, the "shift amount request" is output to the external unit,
and the shift amount input is awaited until the shift amount reception is completed. Once shift data has been received from an
external unit, whether or not the data is appropriate is checked, and it is only when the data has been found to be correct that
its values are stored in the designated shift register and operation moves to the next step. Shift operations can be performed
with the shift register values using the SHIFTR: shift 2 (FN52) command, for example, such as the one contained in step N+2.
StepN+2
StepN-1 FN52(1,0,R1,0)
MOVE StepN+1
On-line
shift start
■ Parameter
This specifies the number (1 to 9) of the
1st Shift shift register where the shift amount data
parameter Register No. input is awaited.
This specifies the wait time
(0.0 to 60.0 seconds).
2nd
Timer When 0.0 sec. is specified, the wait is
parameter
extended until the shift amount data is
input.
This specifies the save step (0 to 10000)
when the data was not input during the
specified period.
3rd When 10000 is specified as the save
Shelter No.
parameter step, the save operation is not performed,
an alarm (A2118: Shift register contains
no data.) results immediately so that the
robot is stopped.
See
SHIFTR; Shift (FN52)
Application command (FN code)
Command
AIMBASEPL
name
FN code 725
Title name Aimed angle standard plane selection
General This switches between the standard planes of aimed
description angle.
■ General description
Standard plane of the aimed angle can be selected from the XY, YZ, ZX planes of the standard coordinate system.
■ Parameter
Conditions Setting range
Mechanism No. 1 to 9
Standard coordinate 0 : Count / 1 : Machine / 2 : User / 3 : Absolute /
system 4 : Work
Standard plane 0 : XY / 1 : YZ / 2 : ZX
Regarding the contents of [ ], display the Mechanism number, Standard coordinate system, Standard plane respectively.
See
AIMREFPL; reference to define the aimed angle standard plane (FN726)
Application command (FN code)
Command
AIMREFPT
name
FN code 726
Title name Aimed angle standard plane selection
General This switches between the standard planes of aimed
description angle.
■ General description
The standard plane of the aimed angle can be defined if the reference position is taught to any place.
■ Parameter
Conditions Setting range
Mechanism No. 1 to 9
Work coordinate system is selected in case of
Standard coordinate Synchronized units and in any other cases,
system machine coordinate system is selected
automatically.
Standard plane Reference position data
Regarding the contents of [ ], display the Mechanism number and reference position status from the left side.
See
AIMBASEPL; Aimed angle standard plane selection (FN725)
Application command (FN code)
Command
ASS
name
FN code 740
Stitch pulse welding start command
Title name
Cycle pulse welding start command
General
Starts arc welding with the specified conditions.
description
■ General description
This command enables to start Arc welding with the specified conditions. If it has been already started, the welding condition
is changed to the specified one.
The welding start position is a move command just before ASS (FN740). To select the command, designate the FN code
“740”.
AES and ASS commands with same names, function numbers are used in the Cycle pulse welding and Stitch pulse welding.
These commands automatically change from cycle pulse welding to stitch pulse welding depending upon the selected type
of welder.
Regarding RS control
RS control can effectively minimize the spatter at the time of arc start.
Rs control is an optional functionality.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc conditions (Current/
Voltage/ Speed) from the left.
See
AS; Arc start (FN414)
AES; End Stitch pulse welding (FN741)
Application command (FN code)
Command
AES
name
FN code 741
Stitch pulse welding end command
Title name
Cycle pulse welding end command
General The arc welding will be terminated at the specified
description conditions.
■ General description
The welding ending position will be decided by the movement command made immediately prior to the AES (FN741). To
select the command, designate the FN code “741”.
AES and ASS commands with same names, function numbers are used in the Cycle pulse welding and Stitch pulse welding.
These commands automatically change from cycle pulse welding to stitch pulse welding depending upon the selected type
of welder.
[ ] shows Welder No., Condition file No. (OFF indicates no number is specified), and arc conditions (Current/
Voltage/ Speed) from the left.
See
AE; Arc end (FN415)
ASS; Stitch pulse arc start (F740)
Function commands (FN codes))
■General description
You can define some variables as Integer, real and Array, as you like.
And you define maximum three dimensions of array.
DIM Integer
Single (Real)
String
Position XYZRPY
Angle Deg or mm
Encoder Hex.
■ Parameters
Set Data type, Array and Variable name.
Data type)
Integer, Single(Real), String, Position, Angle, Encoder
1st Array)
Variables
Parameter None, One dimension, two dimension, three dimension(For only Integer,
Single and String)
Variable name)
Initial letter must be English letter. Maximum letters are 20 which can be
used some English letters, numbers and underline.
■General description
You can make some procedures in your programs. And you can call and use the procedures. To read and modify program
easily, you should merge some similar procedures by using sub parameter of procedure.
■Example of operation
‘ AREA1 Interlock
CallProc V1% = InToOut(V11%, V21%) ‘Call User Proc
‘AREA2 Interlock
CallProc V2% = InToOut(V12%, V22%) ‘Call User Proc
END
■ Parameter
Define User procedure.
1st parameter Name Initial letter must be English letter. Maximum letters are 20 which can be used
some English letters, numbers and underline
Define a return value type
None
Integer
2nd Single(Real)
Return value
parameter String
Position
Angle
Encoder
3rd parameter
4th
5th
6th
Set Data type, Array, Variable name and number of array
7th
Sub parameter You can skip the parameter when you set none of data type.
8th
9th
th
10
th
11
12th
See
ExitProc:Exit User procedure(Fn803)
EndProc:End User procedure(Fn804)
RetProc:Return User Procedure(Fn805)
CallProc:Call User procedure(Fn806)
Function commands (FN codes))
■ General description
Stop procedure routine and back to source procedure
See
UsrProc:User procedure(Fn802)
EndProc:End User procedure(Fn804)
RetProc:Return User Procedure(Fn805)
CallProc:Call User procedure(Fn806)
Function commands (FN codes)
■ General description
Finish and exit Procedure, and back to source procedure
See
UsrProc:User procedure(Fn802)
ExitProc:Exit User procedure(Fn803)
RetProc:Return User Procedure(Fn805)
CallProc:Call User procedure(Fn806)
Function commands (FN codes)
■ General description
Set a return value of user procedure
See
UsrProc:User procedure(Fn802)
ExitProc:Exit User procedure(Fn803)
EndProc:End User procedure(Fn804)
CallProc:Call User procedure(Fn806)
Function commands (FN codes)
Command
CallProc
name
FN code 806
Title name Call User Procedure
General
Call User procedure
description
■ General description
Call User procedure.
See
UsrProc:User procedure(Fn802)
ExitProc:Exit User procedure(Fn803)
EndProc:End User procedure(Fn804)
RetProc:Return User Procedure(Fn805)
Function commands (FN codes)
■ General description
Set a position variable(As Position) to Pose variable Pn.
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
3th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
When you select tool or user coordinate, you should select the coordinate
4th
Coordinate number number. It will be fixed “1”if you use other coordinates.
parameter
5rd Pose variable
Set Pose variable number (1-9999)
parameter number
See
DIM; Any variable (FN801)
POSE2POS; Set position variable(pose) (FN812)
ANG2POS; Set position variable(angle) (FN813)
ENC2POS; Set position variable(encoder) (FN814)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
GETPOS; Set position variable(pos.data) (FN822)
OPEPOS; Extraction position variable (FN826)
Function commands (FN codes)
■ General description
Set Angle variable(As Angle) to Pose variable Pn.
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd
Angle variable Set Angle variable
parameter
3rd Pose variable
Set Pose variable number (1-9999)
parameter number
See
DIM; Any variable (FN801)
ANG2POS; Set position variable(angle) (FN813)
POSE2ANG; Set angle variable(pose) (FN815)
POS2ANG; Set angle variable(position) (FN816)
ENC2ANG; Set angle variable(encoder) (FN817)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
OPEANG; Extraction angle variable (FN827)
Function commands (FN codes)
■ General description
Set encoder variable(As Encoder) to Pose variable Pn.
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd
Encoder variable Set Encoder variable
parameter
3rd Pose variable
Set Pose variable number (1-9999)
parameter number
See
DIM; Any variable (FN801)
ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817)
POSE2ENC; Set encoder variable(pose) (FN818)
POS2ENC; Set encoder variable(position) (FN819)
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
OPEENC; Extraction encoder variable (FN828)
Function commands (FN codes)
■ General description
Set a Pose variable Pn to position variable (As position).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd Pose variable
Set Pose variable number (1-9999)
parameter number
3rd
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
4th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
When you select tool or user coordinate, you should select the coordinate
5th
Coordinate number number. It will be fixed “1”if you use other coordinates.
parameter
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
ANG2POS; Set position variable(angle) (FN813)
ENC2POS; Set position variable(encoder) (FN814)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
GETPOS; Set position variable(pos.data) (FN822)
OPEPOS; Extraction position variable (FN826)
Function commands (FN codes)
■ General description
Set an angle variable(As angle) to position variable(As position).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Angle variable Set angle variable
parameter
rd
3
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
4th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
5th When you select tool or user coordinate, you should select the coordinate
Coordinate number
parameter number. It will be fixed “1”if you use other coordinates.
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
POSE2POS; Set position variable(pose) (FN812)
ENC2POS; Set position variable(encoder) (FN814)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
GETPOS; Set position variable(pos.data) (FN822)
OPEPOS; Extraction position variable (FN826)
Function commands (FN codes)
■ General description
Set an encoder variable(As encoder) to position variable(As position).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
encoder variable Set encoder variable
parameter
rd
3
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
4th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
5th When you select tool or user coordinate, you should select the coordinate
Coordinate number
parameter number. It will be fixed “1”if you use other coordinates.
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
POSE2POS; Set position variable(pose) (FN812)
ANG2POS; Set position variable(angle) (FN813)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
GETPOS; Set position variable(pos.data) (FN822)
OPEPOS; Extraction position variable (FN826)
Function commands (FN codes)
■ General description
Set Pose variable Pn to Angle variable(As Angle).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd Pose variable
Set Pose variable number (1-9999)
parameter number
3rd
Angle variable Set Angle variable
parameter
See
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810)
ANG2POS; Set position variable(angle) (FN813)
POS2ANG; Set angle variable(position) (FN816)
ENC2ANG; Set angle variable(encoder) (FN817)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
OPEANG; Extraction angle variable (FN827)
Function commands (FN codes)
■ General description
Set a position variable(As position) to Angle variable(As Angle).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
3th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
When you select tool or user coordinate, you should select the coordinate
4th
Coordinate number number. It will be fixed “1”if you use other coordinates.
parameter
5rd
Angle variable Set Angle variable
parameter
See
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810)
ANG2POS; Set position variable(angle) (FN813)
POSE2ANG; Set angle variable(pose) (FN815)
ENC2ANG; Set angle variable(encoder) (FN817)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
OPEANG; Extraction angle variable (FN827)
Function commands (FN codes)
■ General description
Set an encoder variable(As encoder) to Angle variable(As Angle).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Encoder variable Set encoder variable
parameter
rd
3
Angle variable Set Angle variable
parameter
See
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810)
ANG2POS; Set position variable(angle) (FN813)
POSE2ANG; Set angle variable(pose) (FN815)
POS2ANG; Set angle variable(position) (FN816)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
OPEANG; Extraction angle variable (FN827)
Function commands (FN codes)
■ General description
Set Pose variable Pn to encoder variable(As encoder).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd Pose variable
Set Pose variable number (1-9999)
parameter number
3rd
encoder variable Set encoder variable
parameter
See
DIM; Any variable (FN801)
ENC2POSE; Set pose variable(encoder) (FN811)
ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817)
POS2ENC; Set encoder variable(position) (FN819)
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
OPEENC; Extraction encoder variable (FN828)
Function commands (FN codes)
■ General description
Set a position variable(As position) to encoder variable(As encoder).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Position variable Set position variable
parameter
Set the number of coordinates as below.
0:Base
3th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
When you select tool or user coordinate, you should select the coordinate
4th
Coordinate number number. It will be fixed “1”if you use other coordinates.
parameter
5rd
Encoder variable Set encoder variable
parameter
See
DIM; Any variable (FN801)
ENC2POSE; Set pose variable(encoder) (FN811)
ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817)
POSE2ENC; Set encoder variable(pose) (FN818)
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
OPEENC; Extraction encoder variable (FN828)
Function commands (FN codes)
■ General description
Set an angle variable(As angle) to encoder variable(As encoder).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Angle variable Set angle variable
parameter
rd
3
encoder variable Set encoder variable
parameter
See
DIM; Any variable (FN801)
ENC2POSE; Set pose variable(encoder) (FN811)
ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817)
POSE2ENC; Set encoder variable(pose) (FN818)
POS2ENC; Set encoder variable(position) (FN819)
GETENC; Set encoder variable(pos.data) (FN824)
OPEENC; Extraction encoder variable (FN828)
Function commands (FN codes)
Command
CVTCOORDPOS
name
FN code 821
Title name Coord. trans(position)
General Translate a position variable(As Position)to a
description designated coordinate.
■ General description
Translate a position variable(As Position)to a designated coordinate.
■ Parameter
1st Mechanism number(0-9)
Mechanism number
parameter 0 means all mechanism of the unit.
2nd
Position variable1 Set an acquired position variable.
parameter
Set a coordinate of an acquired position variable.
0:Base
3rd 1:Tool
Coordinate1
parameter 2:User
3:World
4:Work
4th If you select tool or user coordinate as acquired coordinate, you should select
Coordinate number1
parameter the coordinate number. It will be fixed “1”if you use other coordinates.
5th
Position variable2 Set a substituted position variable.
parameter
Set a coordinate of a substituted position variable.
0:Base
6th 1:Tool
Coordinate2
parameter 2:User
3:World
4:Work
7th If you select tool or user coordinate as substituted coordinate, you should
Coordinate number1
parameter select the coordinate number. It will be fixed “1”if you use other coordinates.
See
DIM:Any Variable(FN801)
POS2POSE:Set pose variable (position) (FN809)
POSE2POS: Set position variable (pose) (FN812)
ANG2POS: Set position variable (angle) (FN813)
ENC2POS:Set position variable (encoder) (FN814)
POS2ANG: Set angle variable (pos.data) (FN816)
POS2ENC:Set encoder variable (pos.data)(FN819)
GETPOS:Set position Variable (pos.data) (FN822)
OPEPOS:Extraction position variable(FN826)
Function commands (FN codes)
■ General description
The code substitutes the designated mechanism position to positional variables. You can select the mechanism position
from below types.
Types
Command Get the command position when it does.
position
Current Get the current position when it does.
position
Target Get the target command position where it is recorded.
position It isn’t depended on the accuracy setting of the step. If you
use the shift function, the values include the shift values.
The function acts with no motion pause. Then the results are related with the accuracy of the step.
■ Example of operation
Step2 Step3
Accuracy
GETPOS:FN822
Step1 Step4
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETPOS acts after reaching the step position.
Type=Target position
Step2 Step3
Accuracy
GETPOS:FN822
Step1 Step4
The function gets the step position where is not related with the accuracy. If you use the
shift function, the value includes the shift values.
■ Parameters
1st Mechanism Mechanism number(0-9)
parameter number 0 means all mechanism of the unit.
0:Command position
2nd
Types 1:Current position
parameter
2:Target position
3rd Position
Set position variables.
parameter variables
Set the number of coordinates as below.
0:Base
4th 1:Tool
Coordinate
parameter 2:User
3:World
4:Work
When you select tool or user coordinate, you should select the coordinate number.
5th Coordinate
It will be fixed “1”if you use other coordinates.
parameter number
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
POSE2POS; Set position variable(pose) (FN812)
ANG2POS; Set position variable(angle) (FN813)
ENC2POS; Set position variable(encoder) (FN814)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
OPEPOS; Extraction position variable (FN826)
Function commands (FN codes)
■ General description
The code substitutes the designated mechanism position to angle variables. You can select the mechanism position from
below types.
Types
Command Get the command position when it does.
position
Current Get the current position when it does.
position
Target Get the target command position where it is recorded.
position It isn’t depended on the accuracy setting of the step. If you
use the shift function, the values include the shift values.
The function acts with no motion pause. Then the results are related with the accuracy of the step.
■ Example of operation
Step2 Step3
Accuracy
GETANG:FN823
Step1 Step4
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETANG acts after reaching the step position.
Type=Target position
Step2 Step3
Accuracy
GETANG:FN823
Step1 Step4
The function gets the step position where is not related with the accuracy. If you use the
shift function, the value includes the shift values.
■ Parameters
1st Mechanism Mechanism number(0-9)
parameter number 0 means all mechanism of the unit.
0:Command position
2nd
Types 1:Current position
parameter
2:Target position
3rd Angle
Set angle variables.
parameter variables
■ General description
The code substitutes the designated mechanism position to encoder variables. You can select the mechanism position from
below types.
Types
Command Get the command position when it does.
position
Current Get the current position when it does.
position
Target Get the target command position where it is recorded.
position It isn’t depended on the accuracy setting of the step. If you
use the shift function, the values include the shift values.
The function acts with no motion pause. Then the results are related with the accuracy of the step.
■ Example of operation
Step2 Step3
Accuracy
GETENC:FN824
Step1 Step4
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETENC acts after reaching the step position.
Type=Target position
Step2 Step3
Accuracy
GETENC:FN824
Step1 Step4
The function gets the step position where is not related with the accuracy. If you use the
shift function, the value includes the shift values.
■ Parameters
1st Mechanism Mechanism number(0-9)
parameter number 0 means all mechanism of the unit.
0:Command position
2nd
Types 1:Current position
parameter
2:Target position
3rd Encoder
Set encoder variables.
parameter variables
■ General description
Substitute or Extract a pose variable to a global real variable (V!) or local real variable (L!).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
2nd Pose variable
Set pose variable number
parameter number
3rd
Real variable Set the global real variable(V!) or Local real variable(L!), any single variable.
parameter
Set operation target.
0:All
1:X
4th 2:Y
Target
parameter 3:Z
4:R
5:P
6:Y
Select Extract or Let(Substitution) to pose variable.
5th
Operation 0:Extract
parameter
1:Let
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
ANG2POSE; Set pose variable(angle) (FN810)
ENC2POSE; Set pose variable(encoder) (FN811)
POSE2POS; Set position variable(pose) (FN812)
POSE2ANG; Set angle variable(pose) (FN815)
POSE2ENC; Set encoder variable(pose) (FN818)
Function commands (FN codes)
■ General description
Substitute or Extract a position variable to a global real variable (V!) or local real variable (L!).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Position variable Set position variable
parameter
rd
3
Real variable Set the global real variable(V!) or Local real variable(L!), any single variable.
parameter
Set operation target.
0:All
1:X
2:Y
4th 3:Z
Target
parameter
4:R
5:P
6:Y
7:Configuration
Select Extract or Let(Substitution) to position variable.
5th 0:Extract
Operation
parameter
1:Let
See
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
POSE2POS; Set position variable(pose) (FN812)
ANG2POS; Set position variable(angle) (FN813)
ENC2POS; Set position variable(encoder) (FN814)
POS2ANG; Set angle variable(position) (FN816)
POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
GETPOS; Set position variable(pos.data) (FN822)
Function commands (FN codes)
■ General description
Substitute or Extract an angle variable to a global real variable (V!) or local real variable (L!).
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Angle variable Set angle variable
parameter
rd
3
Real variable Set the global real variable(V!) or Local real variable(L!), any single variable.
parameter
Set operation target.
0:All
1:J1
4th 2:J2
Target
parameter 3:J3
4:J4
5:J5
6:J6
Select Extract or Let(Substitution) to angle variable.
5th
Operation 0:Extract
parameter
1:Let
See
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810)
ANG2POS; Set position variable(angle) (FN813)
POSE2ANG; Set angle variable(pose) (FN815)
POS2ANG; Set angle variable(position) (FN816)
ENC2ANG; Set angle variable(encoder) (FN817)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
Function commands (FN codes)
■ General description
Substitute or Extract an encoder variable to a global integer variable (V%) or integer real variable (L%), any integer variable.
■ Parameters
1st Mechanism number (0-9)
Mechanism number
parameter 0 means all mechanism of the unit
nd
2
Position variable Set position variable
parameter
rd
3 Set the global integer variable(V%) or Local integer variable(L%), any integer
DINT variable
parameter variable.
Set operation target.
0:All
1:J1
4th 2:J2
Target
parameter 3:J3
4:J4
5:J5
6:J6
Select Extract or Let(Substitution) to encoder variable.
5th 0:Extract
Operation
parameter
1:Let
See
DIM; Any variable (FN801)
ENC2POSE; Set pose variable(encoder) (FN811)
ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817)
POSE2ENC; Set encoder variable(pose) (FN818)
POS2ENC; Set encoder variable(position) (FN819)
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
Move commands
■ General description
This is the move command in which robot position is expressed by XYZ value of tool top and rpy (roll, pitch and yaw) angle of
wrist attitude. To keep upper compatibility with NACHI-Fujikoshi AW controller, coordinate system is same as AW (front is Y). X
and Y axis direction is different from FD coordinate system (= world wide standard).
Wrist attitude is fixed by the rotation on the order of r -> p -> y.
New functionalities developed in FD controller such as synchronize control, Smooth and others can not be described by this
command.
Z+
Wrist poses;
r
X+ Angle round Z axis; Roll angle ( r )
Angle round Y axis; Pitch angle ( p)
Angle round X axis; Yaw angle ( y)
y
There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW controller.
Please use MOVEX as usual.
Playback Robot Language
MOVE command
XYZ coordinate (AW compatible)
(example)
MOVEX command
XYZ coordinate (AX)
Joint angle (AX)
Encoder data
■ Parameter
Interpolatio This is to define the interpolation to move the desired position,
n by P,L,LE,C or CE description.
P Joint move (interpolation OFF)
L Linear interpolation
LE Stationary tool linear interpolation
C Circular interpolation
CE Stationary tool circular interpolation
See
MOVEJ; (Move command)
MOVEX; (Move command)
Y+
Y+
J1 swing center and height of J2 axis
(0,0,0)on the ground (0,0,0)
■ General description
This is the move command in which robot position is expressed by axis angle. To keep upper compatibility with
NACHI-Fujikoshi AW controller, J3 value is the angle from ground level. Except J3 angle, this is same as MOVEX-J command.
New functionalities developed in FD controller such as synchronize control, Smooth and others can not be described by this
command.
There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW controller.
Please use MOVEX as usual.
Playback Robot Language
MOVE command
XYZ coordinate (AW compatible)
(example)
MOVEX command
XYZ coordinate (AX)
Joint angle (AX)
Encoder data
■ Parameter
Interpolatio This is to define the interpolation to move the desired position,
n by P,L,LE,C or CE description
P Joint move (interpolation OFF)
L Linear interpolation
LE Stationary tool linear interpolation
C Circular interpolation
CE Stationary tool circular interpolation
See
MOVE; (Move command)
MOVEX; (Move command)
J3 axis angle value of FD is different from AW.
■ General description
This is the move command.
MOVEX command supports following three statement of robot position.
- XYZ value of tool top and rpy (roll, pitch and yaw) angle of wrist attitude.
- Axis angle
- Axis encoder data
XYZ coordinate system is same as international standard (front = X).
Wrist attitude is fixed by the rotation on the order of r -> p -> y.
New functionalities developed in FD controller such as synchronize control, Smooth and others can be described by this
command.
To record the MOVEX command, there are two manners provided; Robot language compile system (1) and TP teaching
system (2). For the details of TP teaching system, see "■How to teach MOVEX on TP" in this document.
<Format>
MOVEX Accuracy, Acceleration, Smooth, Conveyor, Synchronize
Mechanism, Interpolation, Pose, Configuration, Speed, Tool
Mechanism, Interpolation, Pose, Speed, Tool
Mechanism, Interpolation, Pose, Speed, Tool
…
<Example>
MOVEX A=1,AC=1,SM=1,HM=1
M1W,P,P1,S=100,H=1,
M2X,L,P2,S=100,H=2,MS
M3J,L,(0,0,0,0,0,0),S=100,H=3
Z+
W rist poses;
r Angle round Z axis; Roll angle ( r )
Angle round Y axis; Pitch angle ( p)
AX coordinates Angle round X axis; Yaw angle ( y)
(same as international
standard) p
Y+
X+ y
There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW controller.
Please use MOVEX as usual.
Playback Robot Language
MOVE command
XYZ coordinate (AW compatible)
(example)
MOVEX command
XYZ coordinate (AX)
Joint angle (AX)
Encoder data
■ Parameter
* The setting example of parameter is indicated as “A” for the robot language compile system and “B” for the TP teaching
system. (Without any specific indication of “B”, the description indicates the robot language compile system.)
See
MOVE; (Move command)
MOVEJ; (Move command)
Y+
Y+
J1 swing center and height of J2 axis
(0,0,0)on the ground (0,0,0)