Professional Documents
Culture Documents
FD CONTROLLER
INSTRUCTION MANUAL
COMMAND REFERENCE
䢢
4th edition
Volume 3
(FN570 SOCKCREATE - )
㻌
㻌
㻌
㻌
㻌
㻌 兟Before attempting to operate the robot, please read through this operating manual
carefully, and comply with all the safety-related items and instructions in the text䢰䢢
㻌 兟The installation, operation and maintenance of this robot should be undertaken only
㻌 by those individuals who have attended one of our robot course䢰䢢
兟When using this robot, observe the low related with industrial robot and with
㻌 safety issues in each country.䢢
㻌 兟This operating manual must be given without fail to the individual who will be actually
operating the robot䢰䢢
㻌
兟Please direct any queries about parts of this operating manual which may not be
㻌 completely clear or any inquiries concerning the after-sale service of this robot to any
㻌 of the service centers listed on the back cover.䢢
㻌
㻌
㻌
㻌
㻌
㻌
This is dummy page. D㹍㹌OT ERASE.
1.1.1 Outline of the command The command sorted in an order of SLIM command is described hereinafter.
The respective outlines are described in short. For more details, please refer to 1.3 Detail of each command
There are two categories for the commands in a playback program. One is motion command (order of FN code No.).
that can be taught using [REC] key and the other is application command that can be taught
using [FN] key. However, these are simply treated as "Commands" in the robot language
program. 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.
Robot language program Executable program 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.
Command Move command
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
SLIM
FN code Name Description
SLIM command
FN code Name Description
command BELOW 164 Elbow config.(below) The below-the-elbow (180-degree angle or more formed by J2
* 601 Label Label. This is used as a label that can be referred by GOTO axis and J3 axis) posture is forcibly selected for calculating the
command etc. robot postures.
ABOVE 163 Elbow config.(above) The above-the-elbow (less than 180-degree angle formed by BGCOLOR 617 Designate back ground This can designate the background color used in color graphics
J2 axis and J3 axis) posture is forcibly selected for calculating color command.(CLS, PRINT) Total 16 colors (0 to 15) are available.
the robot postures. BREAK 688 BREAK End the execution of an innermost instruction that encloses this
ABS 657 Let ABS function Calculates the absolute value of real number. with the loop or the condition structure. The control shifts to the
ACOS 649 LET ACOS function Get ACOS variables instruction immediately after the ended instruction.
ADAPTOFF 365 Adaptive Motion OFF Ends Adaptive Motion. (Option) CALIBROB 702 Calibration Execution This is to execute deviation revision against the task program
ADAPTON 364 Adaptive Motion ON Starts Adaptive Motion with the specified condition. (Option) as a calibration target.
ADDP 635 Add pose variable Adds the value of pose variable. CALL 21 Step call This command is used to call the step which has been
ADDR 69 Add shift value The specified values in the specified shift register are added specified in the same program.
up. (Option) CALLFAR 454 CallFar Program This command is used to call the program of other unit.
ADDVF 638 Add real variable Adds the value of real variable. (Option)
ADDVI 637 Add integer variable Adds the value of integer variable. CALLFARI 455 CallFarI Program Using an input signal, this command is used to call the
AE 415 Arc end Terminates arc welding with the specified conditions. This is program of other unit. (Option)
available only when connected with a weld power interface. CALLFARIV 694 CallFarI Program(Variable) Call the task program in other unit, if there is a signal input.
AEM 419 Multi Pass Welding End This ends the multi-pass welding under the designated CALLFARN 456 CallFarN Program Using a pass count (number of passes), this command is used
conditions. to call the program of other unit. (Option)
AEMV 662 Multi Pass Welding Multi-pass welding end. CALLFARNV 695 CallFarN Call the task program in other unit by the passing frequency.
End(Variable) Program(Variable)
AES 741 Stitch pulse welding end The arc welding will be terminated at the specified conditions. CALLFARV 693 CallFar Program(variable) Call the task program in other unit.
command CALLI 24 Step call(I-condition) Using an input signal, this command is used to call the step
Cycle pulse welding end which has been specified in the same program.
command CALLMCR 671 Call usertask Program This command is used to call the specified user task program.
AEV 666 ASV Arc end(Variable) Terminates arc welding with the specified conditions. CALLN 27 Step call(freq. condition) Using a pass count (number of passes), this command is used
AIMBASEPL 725 Aimed angle standard This switches between the standard planes of aimed angle. to call a step specified in the same program.
plane selection CALLP 80 Program call This command is used to call the specified program.
AIMREFPT 726 Aimed angle standard This switches between the standard planes of aimed angle. CALLPBCD 402 Program call(external BCD This command enables to call the program externally
plane selection prog.) designated by the BCD code.
ALLCLR 0 Output signal all reset This command is used to set all the output signals to OFF. CALLPBIN 403 Program call(external BIN The robot calls the program externally designated by the binary
ANG2ENC 820 Set encoder Variable Set an angle variable(As angle) to encoder variable(As prog.) code.
(angle) encoder) CALLPI 81 Program call(I-condition) Using an input signal, this command is used to call the
ANG2POS 813 Set position Set an angle variable(As angle) to position variable(As specified program.
Variable (angle) position) CALLPIV 691 Program Call the specified task program.
ANG2POSE 810 Set Pose Variable (Angle) Set an Angle variable(As Angle)to Pose variable Pn call(I-cond…)(Variable)
AOUT 46 Analog output The TCP (robot tool center point) linear speed and other data CALLPN 82 Program call(freq. Using a pass count (number of passes), this command is used
are output as analog voltages. condition) to call the specified program.
Offset can be designated using distance or time. (OPTION) CALLPNV 692 Program This command enables to call the specified task program by
APP_CALL 880 Call User application Start the user application and wait for it to finish. call(freq…)(Variable) the passing number.
APP_CEVENT 892 Create event the User Create an event in the User application. CALLPR 102 Relative program call This command is used to call a subprogram and makes the
application first step position and orientation the same as the current step
APP_FORK 883 Fork User application Start the user application. in the base program and all point positions in the subprogram
APP_HIDE 891 Hide User application Hide the user application. become relative to that step position.
APP_SHOW 890 Show User application Show me the user application. CALLPRI 103 Conditional relative Using an input signal, this command is used to call the
APP_WAIT 886 Wait User application Wait before the end user application. program call specified program.
APP_WEVENT 893 Wait event the User Wait for the event from the User application. CALLPRN 104 Relative program call (freq. Using a pass count (number of passes), this command is used
application condition) to call the specified program.
AS 414 Arc start Starts arc welding with the specified conditions. CallProc 806 Call User Procedure Call User procedure
This is available only when connected with a weld power CALLPV 690 Program call(Variable) This command enables to call the specified task program.
interface. CALMATRIX 631 Calculation matrix Calculation matrix
ASIN 648 LET ASIN function Get ASIN variables CASE 687 CASE Two or more conditions are judged.
ASM 418 Multi Pass Welding Start This starts the multi-pass welding under the designated CHGCOORD 113 Change coord. No.(shift) This makes it possible to select the number of the user
conditions. coordinate system used to implement shifts based on the
ASMV 661 Multi Pass Welding Multi-pass welding start coordinate system. The number of the user coordinate system
Start(Variable) must be selected without fail before implementing shift-related
ASS 740 Stitch pulse welding start Starts arc welding with the specified conditions. commands based on the coordinate system.
command CHGENDLESS 373 Change endless control The control of the endless rotation axis to change.
Cycle pulse welding start CHGGUN 95 Mount Mechanism2 Connect or disconnect mechanism2(Option)
command (dedicated to mechanism 2 only)
ASV 665 Arc start (Variable Starts arc welding with the specified conditions. CHGMEC 301 Mount Mechanism Connect or disconnect the designated mechanism(Option)
specification) CHGXXGUN 238 Change Mechanism2 This is the function command used in mechanism change
ATN 655 Let ATN function Calculates the ATN value of real number. without electric disconnection, or mechanism change without
ATN2 656 Let ATN2 function Calculates the ATN2 value of real number. removing and mounting.
AUTOZERO 319 Analog input auto zero set Auto zero the analog input signal is executed. (Option)
BARC 613 Draw the arc This command is used for the user screen to draw the arc.
1-3 1-4
SLIM SLIM
FN code Name Description FN code Name Description
command command
CHGXXMEC 302 Change Mechanism As for the change mechanism, refer to the function command ENDS 689 SWITCH end It is a terminator of the SWITCH-ENDS structure.
CHGXXGUN: Change Mechanism (FN238). ENDW 664 WHILE end It is terminator of the WHILE-ENDW structure.
CHGXXGUN (FN238) is a command exclusive for the EP 498 Execution Pass This designates per pass whether the function commands are
mechanism 2, meanwhile, CHXXMEC (FN302) allows you to Specification to be executed or not in the multi-pass section.
designate an arbitrary mechanism. EQUALIZE 287 Equalize value This command is used to the equalizing motion as defined by
Except this point, it is the same command as CHGXXGUN the servo gun.
(FN238). EQUALIZECLR 248 Equalize clear The equalize setting clear.
CLRREGWR 699 Clear register of written sts Clear the written flag of shift register. (Option) ET 486 End tracking This ends the seam tracking. This is used when the arc sensor
CLS 609 Clear user screen This is to clear the user screen. (Paint screen with back ground (AX-AR) is connected.
color.) EXIT 619 User task end This can terminate the user task.
CNVI 550 Conveyor interlock Robot waits until conveyor register reaches up to the ExitProc 803 Exit User Procedure Stop procedure routine and back to source procedure
designated distance, stationarily. (Option) EXT_TRACK 45 External tracking External tracking
CNVI2 595 Conveyor Interlock 2 Robot waits until conveyor register reaches up to FBUSCON 565 Field bus connect This function is for a Filedbus master module. After waiting for
the designated distance, stationarily the connection of the designated node (slave) with time-out
CNVSETM 597 Conveyer sync output This command is used to set any general-purpose output condition, continue the program enabling the error detection
signal ON/OFF signal to ON or OFF and assign conveyer resister value to immediately.
global real number variable simultaneously with signal output. FBUSREL 312 Field bus release In the field bus master, error detection Enabled/Disabled of the
CNVSYNC 55 Conveyor counter reset Reset conveyor counter (Option) specified node is switched.
CNVSYNCCHG 274 Conveyor synchronize Used to select a mechanism that is synchronized with the FCASEEND 88 Case jump end This command is used to end the case jump(FCASEI,
select conveyor with the conveyor synchronization function. FCASEN).
CNVSYNCI 562 Conveyor interlock(sync.) Robot waits until conveyor register reaches up to the
FCASEI 87 Case jump(I-condition) Using an input signal, this command is used to select one of a
designated distance, synchronizing to the conveyor. (Option)
multiple number of steps and executes it.
COLDET 31 Collision detection Executing step is interrupted by collision
FCASEN 86 Case jump(freq. condition) Using a pass count (number of passes), this command is used
detection.
to select one of a multiple number of steps and execute it.
COLOR 616 Designate color This can designate the color used in color graphics command.
FETCH 528 Fetch Input cond. Determine judgment the input condition of a following function.
Total 16 colors (0 to 15) are available.
FHCLAMP 362 FLEXhand Clamp Execute clamp moiton by FLEXhand. (Option)
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
FHCLAMP2 366 New FH Clamp㻌 Execute clamp moiton by FLEXhand㻌
10:Purple 11:Pink 12:Dark Yellow 13:Yellow 14:Light
FHCLAMPDCT 368 FH Clamping Detection㻌 Detect clamp status by FLEXhand㻌
Gray 15:White
FHUNCLAMP 363 FLEXhand Unclamp Execute unclamp moiton by FLEXhand (Option)
COLSEL 230 Set interference detection The threshold value to be considered as interference can be FHUNCLAMP2 367 New FH Unclamp㻌 Execute unclamp moiton by FLEXhand㻌
level switched during playback. FLIP 165 Wrist config.(flip) The wrist-flip posture is forcibly selected for calculating the
COMPOFF 207 Compliance OFF When this function command is executed, the soft compliance robot postures.
control function becomes disabled. (Option) FOR 604 Loop Start This is loop command. Loop starts here.
COMPON 206 Compliance ON When this function command is executed, the soft compliance See also; NEXT(FN605)
control function becomes enabled, and the robot can be moved FORCECTRL 326 Force control Start the force control.
according to external force. (Option) FORCEEND 328 Force Control/ Touch End Ending of the force control and touch shift.
COS 653 Let COS function Calculates the COS value of real number. FORCETOUCH 327 Force Touch Start the touch operation.
CVTCOORDPOS 821 Coord. Trans (position) Translate a position variable(As Position㸧to a designated FORCEZERO 379 Force Sensor Zero Set the correction value of the force sensor.
coordinate. Adjustment
DELAY 50 Timer delay This command is used to place the robot in the standby status. FORK 450 Fork Program This command is used to start the program of other unit.
DIM 801 Any variable You can define some variables as Integer, real and Array, as (Option)
you like. FORKI 451 ForkI Program Using an input signal, this command is used to start the
DIVVF 644 Divide real variable Divides the value of real variable. program of other unit. (Option)
DIVVI 643 Divide integer variable Divides the value of integer variable. FORKMCR 670 Fork Usertask Program This command is used to start the specified user task program.
DOUT 278 Digital output The TCP (robot tool center point) linear speed and other data
are output using general-purpose output signals. FORKMCRDST 673 Fork User Task Program This command is used to start the specified user task program
DPRESETM 280 Output signal(Distance) This command is used to set one of the general-purpose (distance) with advancing distance.
output signals with advancing distance. FORKMCRTM 672 Fork User Task Program This command is used to start the specified user task program.
DSPALLET 65 Direction select palletize This limits the shift direction, and it is started by the palletizing (time) Furthermore, the command enables advance execution to be
work. (Option) specified.
ELSE 678 Condition Move the control to the following instruction. FORKN 452 ForkN Program Using a pass count (number of the passes), this command is
ELSEIF 677 Condition Move the control to the following instruction when the condition used to start the program of other unit.(Option)
consists. FORKWAIT 453 Wait Fork-Program This command leads the robot to await the completion of the
Move the control to ELSE and ENDIF for the failure. task program of the other unit which was started up by the
ENC2ANG 817 Set angle Variable Set an encoder variable(As encoder) to Angle variable(As FORK, FORKI or FORKN command. (Option)
(encoder)㻌 Angle)㻌 FORM 370 Form cut Cutting operation is performed using the specified form data.
ENC2POS 814 Set position Variable Set an encoder variable(As encoder) to position variable(As FRANGE 202 Flange axis rot. config. The rotational direction of the J6 axis is specified for calculating
(encoder)㻌 position)㻌 the robot postures
ENCS2POSE 811 Set Pose Variable Set an encoder variable(As Encoder)to Pose variable Pn㻌 GACTIVE 696 Active user window Switch the active of the user window.
(encoder)㻌 GARC 623 Display ellipse This command is used for the user screen to draw the ellipse.
END 92 End This command is used to end program playback. If the GBOX 612 Draw the box This command is used for the user screen to draw the box.
program is a called program, return to the original program. GE 413 Gas OFF Stops the shield gas.
ENDIF 679 Condition end End IF-ENDIF. GETANG 823 Set angle variable Substitute robot position to angle variables
EndProc 804 End Procedure㻌 Finish and exit Procedure, and back to source procedure㻌 (pos.data)
1-5 1-6
SLIM SLIM
FN code Name Description FN code Name Description
command command
GETANGLE 157 Set real variable (angle) This command is used to store the current angle value of each JMPP 83 Program jump This command is used to jump to the start of the specified
axis in a real number variable. program.
GETBYTE 587 Get buffer (byte) This command is used to read one byte data from the buffer, JMPPBCD 400 Program jump(to ext. BCD This command enables to externally jump to the program
and stored the integer variable. prog.) designated by the BCD code.
GETENC 824 Set encoder variable Substitute robot position to encoder variables㻌 JMPPBIN 401 Program jump(to ext. BIN The robot jumps to the program externally designated by the
(pos.data)㻌 prog.) binary code.
GETFIGURE 158 Set real variable (figure) The robot figure is used to store in real number variables. JMPPI 84 Program jump(I-condition) Using an input signal, this is used to jump to the start of the
GETFORCE 360 Get force/torque The force/torque data are acquirable to a real variable. (Option) specified program.
GETFORCE2 329 Get Force/Torque Data Acquire the data for force sensor. JMPPIV 681 Program jump This command enables to jump to the specified task program
GETINT 585 Get buffer (integer) This command is used to read data from the buffer, and stored (I-cond…)(Variable) top.
the integer variable. JMPPNV 682 Program This command enables to jump to the specified task
GETOVR 318 Get Override This command is used to get the speed override value. jump(freq…)(Variable) program top by the passing number.
GETP 142 Set real variable This command is used to store the current coordinate values JMPPN 85 Program jump(freq. Using a pass count (number of passes), this command is used
(coordinate) (RPY angle expression) in real number variables. condition) to jump to the start of the specified program.
GETPELR 94 Set real variable(Euler pos) This command is used to store the current coordinate values JMPPV 680 Program jump(Variable) This command enables to jump to the specified task program
(Eulerian angle expressions) in the real number variables top.
GETPOS 822 Set position variable Substitute robot position to positional variables LCALLMCR 593 Call User Task Program This command is used to call the specified user task program.
(pos.data) with Arguments At this time, ten real numbers can pass the arguments to the
GETPOSE 143 Set real variable (pose) This stores the pose variable Pn into the real variable V!. program.
GETREAL 586 Get buffer (real) This command is used to read data from the buffer, and stored LCALLP 590 Program call with This command is used to call the specified program. At this
the real variable. Arguments time, ten real numbers can pass the arguments to the program.
GETSFT 145 Set real variable (shift) This command replaces the values of the specified shift
register with the specified real number variables (7 consecutive LCALLPI 591 Conditional program call Using an input signal, this command is used to call the
variables are used). with Arguments specified program. At this time, ten real numbers can pass the
GETSTR 584 Get buffer (string) This command is used to read data from the buffer, and to arguments to the program.
store data in the string variable. LCALLPN 592 Conditional program call Using a pass count (number of passes), this command is used
GETTIPCON 306 Get tip consumption Used to get tip consumption amount. after specified number of to call the specified program. At this time, ten real numbers can
GETTIPRATE 371 Get tip consumption rate Used to get move-tip consumption rate. passes with Arguments. pass the arguments to the program.
GETTOOL 830 Get Tool Parameters This command is used to get the tool parameter LEFTY 161 Arm config.(left/front) The left-arm system posture is forcibly selected for calculating
values. the robot postures
GETUSRCOORD 627 Get user coordinate Get the existent user coordinates LET 634 Let variable Sets the variable of the same type.
GFONT 683 Set the font The font of the user screen is set. LETC 647 Integer variable setting Used to make setting of values to integer variable registers
GLINE 611 Display position This command is used for the user screen to draw the straight specified.
specification line. LETCOORDP 630 Let pose variable Stores the pose data recorded by the specified rectangular
GMSGBOX 685 Create message box Create a message box on the user screen. coordinates value in the pose variables.
GOSUB 91 Line call Execute a sub-routine call by a designated line No. or label. LETLF 629 Set local real variable Sets the value into the specified local real variable register.
GOTO 90 Line jump This is used to jump to a designated line or label. LETLI 628 Set local integer variable Sets the value into the specified local integer variable register.
GPAINT 614 Paint This command is used to paint out the enclosed area on the LETPE 632 Let pose element Stores the pose element recorded by the specified rectangular
user screen. coordinates value in the pose variables.
GS 412 Gas ON Starts to output the shield gas. LETPOSE 144 Set pose variable This stores the real variable V!. into the pose variable.
GSEA 167 Servo gun search This command is used to detect the electrode tip consumption LETR 68 Set shift value The shift amount data is set in the specified shift register.
of the servo gun. (Option)
GSEA_ORDER 229 Servo gun search order Servo gun search2 is execute before servo gun search1 LETRE 633 Let shift element Sets the shift element in the specified shift register.
GSETP 615 Draw the pixel This command is used for the user screen to draw a pixel. LETVF 76 Set real variable Substitute a value for a global float variable.
GSOFTKEY 684 Create soft key Create a soft key on the user screen. Can not substitute for a local variable.
GUNOPEN 218 Gun Open This command is used to change stroke of air gun. LETVI 75 Set integer variable Substitute a value for a global integer variable.
ICH 410 Inching Performs inch the wire with specified time and wire speed Can not substitute for a local variable.
IF 602 Condition If condition is satisfied then command(jump/call) after “THEN” LETVS 77 Set strings variable Substitute a value(string) for a global string variable.
is executed, else command(jump/call) after “ELSE” is Can not substitute for a local variable.
executed. LETX 71 Pose X Substitute a value for the X component of a pose. LETX, LETY,
IF 676 Condition Move the control to the following instruction when the condition and LETZ are available only for an already recorded pose.
consists. These functions are used in a case where only 1 pose is made
Move the control to ELSEIF, ELSE, and ENDIF for the failure. and parallel shift is applied for the pose.
INCLUDE 697 Translate table included The conversion rule is read from “inc file” LETY 72 Pose Y Substitute a value for the Y component of a pose.
(file) LETZ 73 Pose Z Substitute a value for the Z component of a pose.
INCLUDEIO 698 Translate table included The conversion rule is read from “I/O NAME”. LOCATE 610 Locate the display pos This command is used to specify the position of the character
(I/O) displayed on the user screen.
INH 310 Inhibit This determines to inhibit the fetch control. LOCCVT 53 Coord. trans(shift value) It is possible to proceed with playback while offsetting each
INPUT 271 Strings input This receives the character string data from the specified recorded point based on the difference (skew amount)
communication (serial) port, and holds it in the specified measured beforehand between the recorded position of the
character string variable. (Option) three points serving as the reference and the actual position
JMP 20 Step jump The robot jumps to the step specified in the same program. obtained from the visual device, etc.㻌 (OPTION)
JMPI 23 Step jump(I-condition) Using an input signal, this command causes the robot to jump
to the step specified in the same program.
JMPN 26 Step jump(freq. condition) Using a pass count (number of passes), the robot jumps to the
step specified in the same program.
1-7 1-8
SLIM SLIM
FN code Name Description FN code Name Description
command command
LOCCVT1 54 Coord. trans(posi. value) It is possible to proceed with playback while offsetting each PALLET3_APR 374 Palletize approach Starts approaching motion.
recorded point based on the difference (skew amount) selection
measured beforehand between the recorded position of the PALLET3_END 250 Palletize end Finish palletizing based on the pre-designed palletizing pattern.
three points serving as the reference and the actual position PALLET3_GETR 377 Get palletize register Store some palletize register to some variables.
obtained from the visual device, etc. EG
LOCCVT3 275 Base angle shift The start or end of the shift operation is specified. When shift PALLET3_GETS 393 Get palletize shift value Store palletize shift value to some variables.
operation start has been specified, the shift operation is FT
performed on the basis of the shift amount stored in the PALLET3_OPT 375 Palletize optimize path Optimize Step position based on the locus of previous step and
specified shift register. following step
MAX 659 Let MAX function Calculates a larger real number out of two. PALLET3_RESE 251 Palletize reset The palletize counter is forcibly reset. (palletizing operation is
MESPOS 700 Taking of a This is to specify the measurement point. T forcibly terminated)
Measuring/Reference point PALLET3_SELG 376 Palletize select grasp Select Work grasp position from registered by Palletize pattern.
MESQCP 701 Taking of a Quick check Obtain and store the quick check pints. R position
point PALLET3_SELZ 388 Palletize select height(Z) The function compares the Z-axis value of target step and the
MIN 658 Let MIN function Calculates a smaller real number out of two. Z-axis value of reference step after palletizing shift by using
MODUSRCOORD 626 Modify User coordinate Modifies the existent user coordinates using pose variables target palletizing number set by the first parameter of the
MOVE - Movement (Cartesian Move the robot based on a traditional Cartesian coordinate function, and then Z-axis value of target step will be adjust
coordinates or pose system of NACHI AW controller.(XYZRPY) higher value of both.
designation) PALLET3_SELZ 394 Palletize select height (z) The function compares the Z-axis value of target step
MOVEJ - Movement (Axis values) Move the robot using joint values(angles) in NACHI AW JMP step jump and the Z-axis value of reference step after
controller format. palletizing shift by using target palletizing number set
MOVEX 645 Movement (Unified format) Move the robot based on this controller original format. by the first parameter of the function, and then Z-axis
Position data can be given in any of Cartesian coordinates, value of target step will be adjust higher value of
joint values and encoder data. both.
MPE 497 Multi Pass Section End This represents the end position of the section where a series PALLET3_SELZ 395 Palletize select height (z) The function compares the Z-axis value of target step and the
of movements for multi-pass welding is repeated. SFT step jump Z-axis value of reference step after palletizing shift by using
MPS 496 Multi Pass Section Start This represents the start position of the section where a series target palletizing number set by the first parameter of the
of movements for multi-pass welding is repeated. function, and then Z-axis value of target step will be adjust
MULTIM 264 Multi output signal This command is used to set the pre-defined multiple output higher value of both. In addition, the shift amount ratio amount
signals to ON or OFF using the binary format. specified in the palletizing shift, it will shift operation.
MULVF 642 Multiply real variable Multiplies the real variables. PALLET3_SETR 378 Set palletize register Set some variables to some palletize registers.
MULVI 641 Multiply integer variable Multiplies the integer variables. EG
NEXT 605 Loop End Please refer to "FOR"(FN604). PAUSE 620 Pause user task This can make a brief stop of user task.
NONFLIP 166 Wrist config.(non-flip) The wrist-non-flip posture is forcibly selected for calculating the PAUSEINPUT 252 Pause Input The robot is pause when the designated [Pause input] signal is
robot postures. turned off.
NOP 600 NOP No operation POS2ANG 816 Set angle Variable Set a position variable(As position) to Angle variable(As Angle)
NRLCRD 171 Select robot language Used to switch functions to a specified user coordinate system. (position)
coordinate system POS2ENC 819 Set encoder Variable Set a position variable(As position) to encoder variable(As
OFFSET 499 Multi Offset Specification This sets offset in the movement steps in the multi-pass (position) encoder)
welding section. POS2POSE 809 Set Pose Variable Set a position variable(As Position)to Pose variable Pn
OFFSETV 660 Multi Offset condition It gives offset to the movement steps between multi-pass (position)
specification (Variable) welding section. POSAUTO 160 Disable posture control Used to disable the posture control for robot posture
ONGOTO 603 ON GOTO Jump Next command(jump/call) is determined by the value of calculation.
condition.㻌 It's order is 1,2,3… from left. POSE2ANG 815 Set angle Variable (pose) Set Pose variable Pn to Angle variable(As Angle)
OPEANG 827 Extraction angle Variable Substitute or Extract an angle variable to a global real variable
(V!) or local real variable (L!). POSE2ENC 818 Set encoder Variable Set Pose variable Pn to encoder variable(As encoder)
OPEENC 828 Extraction encoder Substitute or Extract an encoder variable to a global integer (pose)
Variable variable (V%) or local integer variable (L%), any integer
variable. POSE2POS 812 Set position Variable Set a Pose variable Pn to position variable(As position)
OPENMCR 621 Open user task Start user task program (pose)
OPEPOS 826 Extraction position Variable Substitute or Extract a position variable to a global real variable POSESAVE 74 Pose file save Pose variables are stored to the pose file.
(V!) or local real variable (L!). PRINT 101 Output strings The character string data is output to the screen or specified
OPEPOSE 825 Extraction pose Variable Substitute or Extract a pose variable to a global real variable RS232C serial port.
(V!) or local real variable (L!).
OUT 44 Binary output signal This command is used to set the general-purpose output PRINT 606 Print String Please refer to "PRINT"( FN101).
signals in any group to ON or OFF using the binary format.
OUTDIS 43 Discrete output signal This command is used to set the general-purpose output PRINTF 669 Print string with format Draw the string data on the screen with form. Or Output string
signals in any group to ON or OFF using the discrete format. data with form via RS232C.
PALLET2 47 Palletize start Start palletizing based on the pre-designed palletizing pattern. PRSD 308 Read press data This reads a press brake synchronization setting file, in the
(OPTION) press brake synchronization function.
PALLET2_END 48 Palletize end Finish palletizing based on the pre-designed palletizing pattern.
Confirmation signal can be output.㻌 (OPTION) PRSI 564 Press interlock This sets interlock, in the press brake synchronization function.
PALLET2_RESE 49 Palletize reset When a condition signal has been input, the palletize counter is PRSS 307 Press brake shelter This executes retreat actions after work process, in the press
T forcibly reset. (palletizing operation is forcibly terminated)㻌 brake synchronization function.
(OPTION) REGC 224 Shift register copy Data is copied between shift registers. (Option)
PALLET3 249 Palletize start Start palletizing based on the pre-designed palletizing pattern.
1-9 1-10
SLIM SLIM
FN code Name Description FN code Name Description
command command
RELMOV 407 Move of External axis The designated external axis moves the specified distance SETTOOL 831 Set Tool Parameters This command is used to set the tool parameter
from the current position. values from real variable register.
REM 99 Comment This command is used to provide comments inside programs. SETVELO 309 Set velocity This command is used to set the speed in an endless axis.
RESET 34 Output signal reset This command is used to set one of the general-purpose SF0 470 Wire Extension This detects and corrects the wire extension. This is used
output signals to OFF. when the touch sensor (AX-WD) is connected.(OPTION)
RETI 25 Step return(I-condition) Using an input signal, this command is used to return the robot SF1 471 One Direction This detects the deviation of a workpiece by a touch sensor.
to the step following the one which executed the step call Search(Touch) *This is used when the touch sensor (AX-WD) is connected.
command in the same program. (Option)
RETN 28 Step return(freq. condition) Using a pass count (number of passes), this command is used SF2 472 Pattern Search(Touch) Detect setting deviation of the work object by the touch sensor
to return the robot to the step following the one which executed attached to the welding wire and store the deviation
the step call command in the same program. volume/gap volume file in the specified file / gap file.
RetProc 805 Return User Procedure Set a return value of user procedure SF3 473 Deviation call This receives the stored deviation and execute a
RETURN 22 Step return This command is used to return the robot to the step following compensation. (Option)
the one which executed the step call command in the same *This is used when the touch sensor (AX-WD) and the laser
program. The commands that call a sub-routine are CALL, search (AX-RD) are connected.
CALLI, CALLN, and GOSUB. Normally, only GOSUB is used in SF4 474 Dev. vector composition This calculates a new deviation on the basis of stored
robot language. deviation. This is used when the touch sensor (AX-WD) and
RIGHTY 162 Arm config.(right/back) The right-arm system posture is forcibly selected for calculating the laser search (AX-RD) are connected.
the robot postures SF5 475 Store of tracking deviation Store the cumulative volume of the weld line tracking
RINT 29 Robot interrupt(I-condition) Executing step is interrupted by input signal augmenter up to the present will be stored in the deviation file.
ROLHEMCHG 193 Change roller hem Change the roller hem conditions during SF8 478 Generation of a DEV. file Exchange the deviation volume between the general purpose
condition pressurization. register and the deviation file.
ROLHEMCTRL 192 Change control of roller Change the control of roller hem during execution SF9 479 Generation of a GAP.file This stores variable values to a gap file. This is used when the
hem of roller hemming. touch sensor (AX-WD) and the laser search (AX-RD) are
ROLHEMEND 191 Finish roller hem Finish the roller hem pressing. connected.
SGSPRT 279 Servo gun separation Servo gun separated status is changed.
ROLHEMST 190 Start roller hem Execute roller hem in accordance with pre-defined SGTIPRST 270 Reset consumption Reset the tip consumption of designated servo gun
condition. SHIFTA 58 XYZ shift The playback position is shifted in parallel (Option)
RSCLR 111 RS232C buffer clear The send/receive buffer inside the specified RS232C port is SHIFTR 52 Shift The start or end of the shift operation is specified. When shift
cleared. (Option) operation start has been specified, the shift operation is
RTC 411 Retract Performs to retract the wire with specified time and wire speed. performed on the basis of the shift amount stored in the㻌
SEA 59 Search Detect the work position shift amount, and store those data to specified shift register.
the shift register (Option) SIGREQ 723 Shift value get (signal) Using external signals, the command requests shift amount
SEAMANG 254 Seam angle correction Seam angle correction is start / end. input, and the shift amount data which is input is stored in the
SEAMEND 246 Seam weld end Stop the seam welding. designated shift register.
SEAMOV 313 Seam override Set the electrode rotation speed override. SIN 652 Let SIN function Calculates the SIN value of real number.
SEAMSPD 247 Seam electrode speed Set the electrode rotation speed while welding. SLEND 351 Seal end Stop the dispensing process
SEAMST 245 Seam weld start Start the seam welding. SLPRS 355 Seal press ctrl Start/Stop pressure control in the dispensing process.
SEAMTHICK 311 Seam panel thick Set the thickness of the work. SLPRSG 356 Seal press ctrl 2 Start/Stop pressure control in the dispensing process. Control
SET 32 Output signal set This command is used to set one of the general-purpose level can be designated.
output signals to ON. SLREADY 353 Flow ready Pressure in the pump is controlled to a specified value.
SETBYTE 583 Set buffer (byte) This command is used to stored byte data at an arbitrary SLRELOAD 352 Reload Refill the booster pump.
position in the buffer. SLSTART 350 Seal start Start the dispensing.
SETC 646 Set output signal Consecutive output signal is output. SOCKBIND 572 Bind the socket This command is used to assign a socket an port No.
SETINT 581 Set buffer (integer) This command is used to stored integer value at an arbitrary SOCKCLOSE 571 Close the socket This command is used to close the socket.
position in the buffer. SOCKCONNECT 574 Connect to server This command is used to connect to server.
SETM 105 Output signal This command is used to set any general-purpose output SOCKCREATE 570 Create Socket This command is used to create the socket.
signal to ON or OFF SOCKRECV 577 Receive data This command is used to receive the data.
SETMD 35 Output This command is used to set one of the general-purpose SOCKSEND 575 Send data This command is used to transmit the data stored in the
sig(ON/OFF/delay/pulse) output signals to come with a pulse or delay and to ON or OFF. pecified buffer.
SETMSECTION 396 Sectional signal output This command is used to set any general-purpose SOCKSENDSTR 576 Send string This command is used to transmit the specified string.
output signal to ON or OFF. In selecting the step SOCKWAIT 573 Wait for connect This command is waited for until the connection from the client
between ON to OFF, the signal always turns ON. is done to the allocated port.
SETO SPDDOWNA 169 Analog input speed The playback speed of the robot is changed in accordance with
100 Consecutive output signal This command is used to set any number of consecutive
ON/OFF general-purpose output signals to ON or OFF altogether. override the input voltage. (Option)
SETOVR SPDDOWND 277 Digital input speed override The playback speed of the robot is changed in accordance with
317 Set Override This command is used to set the speed override
value. digital input signals
SETREAL SPF 439 Servo OFF This turns OFF the servo power source in unit of mechanism.
582 Set buffer (real) This command is used to stored real value at an arbitrary
SPN 438 Servo ON This turns ON the servo power source in unit of mechanism.
position in the buffer.
SETSTR SPOT 119 Spot welding Execute spot welding in accordance with pre-defined
580 Set buffer (string) This command is used to stored string at an arbitrary position
in the buffer. sequence.
SETTHKERR 392 Set panel thickness This command is setup (+) and (-) of panel thickness SPOT2 268 Spot welding By recording the spot welding function to the welding step, spot
abnormal level abnormal level detection is specified directly. welding can be carried out by a designated sequence
SETTIPCON 323 Set tip consumption Used to set tip consumption amount. SPOTC 314 Spot welding execution Execute spot welding in accordance with pre-defined
SETTIPRATE 372 Set tip consumption rate Used to set move-tip consumption rate. sequence.
1-11 1-12
SLIM SLIM
FN code Name Description FN code Name Description
command command
SPOTIWB1 199 Spot welding Execute spot welding in accordance with pre-defined WAITAD 558 Wait I-group BCD(AND) This command is used to wait for any of group general-purpose
sequence. 䠄dedicated to welding I/F䠙MEDbus only䠅 (Option) with timer input signal (AND logic) with designated time. The condition is
written in BCD format.
WAITE 555 Wait I-group with timer This command is used to wait for any of group general-purpose
SPRAYOFF 409 Spray End Turn OFF the start signal of thermal spraying
input signal with designated time.
SPRAYON 408 Spray Start Turn ON the start signal of thermal spraying WAITED 560 Wait I-group BCD with This command is used to wait for any of group general-purpose
SQR 651 Let SQR function Calculates the square root of the real number. timer input signal with designated time. The condition is written in
SREQ 51 Shift data request The command requests the shift amount data from the external BCD format.
device using the serial port. Once it has been input from the WAITI 525 Wait Input cond This command is used to wait for any one general-purpose
external device, the shift amount data is stored in the㻌 specified input signal.
shift register. WAITJ 526 Wait not Input cond This command is used to wait for any one general-purpose
SREQ2 315 Shift amount request The command requests the shift amount data (binary data) input signal using negative logic.
(binary) from the external device using the serial port. Once it has been WAITJL 561 Wait not I-cond with This command is used to wait for any one
input from the external device, the shift amount data is stored timer2 general-purpose input signal using negative logic
in the specified shift register. for up to the specified time.
ST 485 Start tracking This starts seam tracking. This is used when the arc sensor WAITMCR 622 Wait user task Wait for the end of user task program
(AX-AR) is connected. WAITO 554 Wait I-group(OR) with This command is used to wait for any of group general-purpose
STIMER 150 Short timer Used to wait for a specified period of time. timer input signal (OR logic) with designated time.
STOOL 67 Select the stated tool No. This command is used to select the coordinate system of the WAITOD 559 Wait I-group BCD(OR) This command is used to wait for any of group general-purpose
stationary tool number from among the user coordinate with timer input signal (OR logic) with designated time. The condition is
systems written in BCD format.
STOP 41 Robot stop This command is used to stop the robot. WAITR 127 Wait shift value receive This initiates a jump to the shelter step when the robot has
STOPI 42 Robot stop(I-condition) Using an input signal, this command is used to stop the robot. been waiting for the shift amount data to be input from the
SUBVF 640 Subtract real variable Subtracts the real variable. external source into the specified shift register and the data
SUBVI 639 Subtract integer variable Subtracts the value of integer variable. has not been input within the specified time. (Option)
SWITCH 686 SWITCH Two or more conditions are judged. WAX 441 Axis Weaving Starts weaving with the simple harmonic motion of the axes.
SYNCSPOT 303 Sync spot welding Enabling to perform synchronous welding with two servo guns. WAXV 668 Axis Weaving (variable) Starts weaving with the simple harmonic motion of the axes.
WE 443 Weaving End Terminates weaving
WELDCND 33 Spot condition output This function outputs signals assigned to the "weld condition
SYNCSPOTIWB 316 Sync spot welding Enabling to perform synchronous welding with two servo guns.
output."
㸦dedicated to welding I/F㸻MEDbus only㸧(option) WELDGRP 282 Weld condition with When this function command is executed, the welding machine
TAN 654 Let TAN function Calculates the TAN value of real number. group number to be used by the welding function (FN119) and the
TIMER 650 Let TIMER function Sets the time value passed since the power-on into the welding condition group number are designated.
specified real variable register. WFP 440 Fix Pattern Weaving Starts weaving with the specified waveform, attitude, and
TIPDRESS 265 Tip dress Execute the tip dress of spot welding gun. frequency.
TITLE 608 User screen title This is to draw the title of user screen. WFXP 667 Fixed pattern weaving Starts weaving with the specified waveform, attitude, and
USE 98 Select pose file This function is used to select a pose file. (Variable) frequency.
Pose data is controlled as a file, and poses P1 - P9999 can be WHILE 663 WHILE loop Execute the instruction in WHILE-ENDW repeatedly until the
recorded into a file. For example, it is useful when to change condition doesn't consist.
only the position data of the robot according to the type of work WINDOW 607 User screen open/close Open user screen, or close user screen.
piece, and when to play back a same program. WRISTSINGULA 289 Wrist singularity control This makes to robot able to pass through the dead
USRERR 467 User Error Output Output the user customized error, alarm and information. RITY zone with condition that flange surface is the
UsrProc 802 User Procedure Define User Procedure horizontal.
VCHKGRP 336 Vision group check Check the measurement group of the vision sensor.(Option) 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
VDATA 334 Vision data Get the data from the vision sensor.(Option) Search(Laser) when the laser search (AX-RD) is connected.
VGROUP 335 Vision group change Change the measurement group of the vision sensor.(Option) 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.
VLOCCVT 342 Vision location convert The start or end of the shift operation with the vision sensor 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 wait The measurement completion of the vision sensor is waited
for.(Option)
VWORK 332 Vision work Distinguish work with the vision sensor. (Option)
WAIT 552 Wait I-cond with timer This command is used to wait for any one general-purpose
input signal for up to the specified time.
WAITA 553 Wait I-group(AND) with This command is used to wait for any of group general-purpose
timer input signal (AND logic) with designated time.
1-13 1-14
1.3 Detail of each command (order of FN code No.) NOTE
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-15 1-16
Function commands (FN codes) Function commands (FN codes)
Command name SOCKCREATE Command name SOCKCLOSE
FN code 570 FN code 571
Title name Create Socket Title name Close the socket
General description This command is used to create the socket. General description This command is used to close the socket.
ڦGeneral description ڦGeneral description
The socket is made. It is necessary to execute this function before other socket functions are executed when
communicating with a socket. 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. ڦParameter
When the socket number that has already
Parameter The socket number used is specified.
Socket No. been made is specified, it becomes an
No. 1 Parameter When the socket number not made is
error. Socket No.
( 1 – 16 ) No. 1 specified, it becomes an error.
Whether the specified socket is used with ( 1 – 16 )
TCP or it uses it with UDP is specified. 0 If
Parameter
TCP/UDP TCP and 1 is specified, it becomes UDP if ڦExample of screen display
No.2
is specified.
(0–1) SOCKCLOSE[1] FN571; Close the socket
ڦExample of screen display
SOCKCREATE[1,0] See
FN570; Create the socket
SOCKCREATE ; Open the socket (FN570)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKCONNECT ; Connect to server (FN574)
See SOCKSEND ; Send data (FN575)
SOCKCLOSE ; Close the socket (FN571) SOCKSENDSTR ; Send string data (FN576)
SOCKBIND ; Bind the socket (FN572) SOCKRECV ; Receive data (FN577)
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) Function commands (FN codes)
Command name SOCKBIND Command name SOCKWAIT
FN code 572 FN code 573
Title name Bind the socket Title name Wait for connect
This command is used to assign a socket an port This command is waited for until the connection
General description General description
No. from the client is done to the allocated port.
ڦGeneral description ڦ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. 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. ڦParameter
Parameter When the socket number not made is The socket number used is specified.
Socket No.
No. 1 specified, it becomes an error. Parameter Waiting Socket When the socket number not made is
( 1 – 16 ) No. 1 No. specified, it becomes an error.
The waiting port when operating as a ( 1 – 16 )
Parameter server is specified. When the port number The socket to connect it with the client that
Port No.
No. 2 used is specified, it becomes an error. has been connected is specified. When
( 1 – 65535 ) the client has connected it, the socket is
Parameter Communicatio made by the specified socket. Therefore,
ڦExample of screen display No. 2 n Port No. after the communication ends, it is
necessary to close by using the
SOCKBIND[1,48952] FN572; Bind the socket SOCKCLOSE function.
( 1 – 16 )
The time of connected waiting time-out is
set every second. It keeps waiting for the
See Parameter
Timeout connection without doing the time-out
SOCKCREATE ; Open the socket (FN570) No. 3
when 0 is set.
SOCKCLOSE ; Close the socket (FN571)
SOCKWAIT ; Wait for connect (FN573) ( 0 – 20 )
SOCKCONNECT ; Connect to server (FN574)
SOCKSEND ; Send data (FN575)
SOCKSENDSTR ; Send string data (FN576)
ڦExample of screen display
SOCKRECV ; Receive data (FN577) SOCKWAIT[1,2,5] FN573; Wait for connect
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) Function commands (FN codes)
Command name SOCKCONNECT Command name SOCKSEND
FN code 574 FN code 575
Title name Connect to server Title name Send data
General description This command is used to connect to server. This command is used to transmit the data stored
General description
in the specified buffer.
ڦGeneral description
ڦ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. 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
ڦParameter 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
The socket number used is specified. exceeds the size of the buffer is transmitted, it is necessary to transmit ,divided into two portions.
Parameter When the socket number not made is
Socket No.
No. 1 specified, it becomes an error.
( 1 – 16 ) ڦParameter
The least significant byte of IP address of The socket number used is specified.
the server is specified. Other values use Parameter When the socket number not made is
Parameter Socket No.
IP Address the same one as the setting of TCP/IP of No. 1 specified, it becomes an error.
No. 2
the AX Controller. ( 1 – 16 )
( 1 – 254 ) Parameter The buffer number is specified.
Parameter The port number of the server is specified. Buffer No.
Port No. No. 2 ( 1 – 16 )
No. 3 ( 1 – 65535 ) Parameter The size of the transmitted data is set.
The time of connected waiting time-out is Data Length
Parameter No. 3 ( 1 – 1024)
Timeout set every second. The time of connected waiting time-out is
No. 4 Parameter
( 1 – 20 ) Timeout set every second.
No. 4
( 1 – 20 )
ڦExample of screen display The variable in which the transmitted data
Parameter Integer
size (unit of the byte) is written is
SOCKCONNECT[1,2,48952,5] FN574; Connect to server No. 5 Variable
specified.
ڦExample of screen display
See
SOCKCREATE ; Open the socket (FN570)
SOCKSEND[1,1,10,5,V1%] FN575; Send Data
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573)
SOCKSEND ; Send data (FN575) See
SOCKSENDSTR ; Send string data (FN576) SOCKCREATE ; Open the socket (FN570)
SOCKRECV ; Receive data (FN577) 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) Function commands (FN codes)
Command name SOCKSENDSTR Command name SOCKRECV
FN code 576 FN code 577
Title name Send string Title name Receive data
This command is used to transmit the specified General description This command is used to receive the data.
General description
string.
ڦGeneral description
ڦGeneral description
This command is used to receive the data. Operation changes into this command with TCP in UDP.
This command transmits the specified string. At that time, the terminal character that shows the end of the string can be
added. In the following cases, the step is completed for TCP.
When it doesn't connect or the other party closes, it becomes an error. When SOCKSENDSTR is done because the other 1. The size of the data actually received becomes more than the receive data length.
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 2. Other party's telecommunications equipment closed the socket.
processing and it cuts it. When the data of length that exceeds the size of the buffer is transmitted, it is necessary to 3. The timeout was done.
transmit, divided into two portions. The reception of data is waited for when the received data size is smaller than the set receive data size. This command is
completed, when receive data reaches the set data size.
ڦParameter
The socket number used is specified. In the following cases, the step is completed for UDP.
Parameter When the socket number not made is
Socket No. 1. Data was received.
No. 1 specified, it becomes an error.
( 1 – 16 ) 2. The timeout was done.
The transmitted string data is specified. UDP stores the data that was able to be received in the buffer when data is received, and completes the function.
Parameter
String String data can be specified by the string
No. 2 Therefore, the data length actually received might be smaller than the specified receive data length. The excess data is
variable and the string constant.
Parameter The size of the transmitted data is set. cut short, when the data length actually received is larger than the specified receive data length, and the error is returned.
Data Length
No. 3 ( 1 – 1024)
Moreover, it is possible to reply to the other party of the communication by doing SOCKSEND after it receives the data. It
The time of connected waiting time-out is
Parameter is necessary to set the destination again by using SOCKCONNECT to transmit data to other parties of the communication.
Timeout set every second.
No. 4
( 1 – 20 )
The variable in which the transmitted data ڦParameter
Parameter Integer
size (unit of the byte) is written is
No. 5 Variable The socket number used is specified.
specified.
The termination character is specified. Parameter When the socket number not made is
Socket No.
When the terminal character is specified, No. 1 specified, it becomes an error.
the Data Length becomes long only as for ( 1 – 16 )
the length of the terminal character. The number of the buffer where the
Parameter
(0–3) Buffer No. received data is stored is specified.
No. 2
( 1 – 16 )
Parameter Termination Parameter The size of the receive data is set.
0 : The terminal character is not added. Data Length
No. 6 character No. 3 ( 1 – 1024)
1 : It transmits applying “¥r” as a terminal
character. The time of connected waiting time-out is
Parameter
2 : It transmits applying “¥n” as a terminal Timeout set every second.
No. 4
character. ( 1 – 20 )
3 : It transmits applying “¥r¥n” as a The variable in which the received data
terminal character. size (unit of the byte) is written is
Parameter Integer specified.
No. 5 Variable The data size actually received might be
ڦExample of screen display smaller than the value specified by the
SOCKSENDSTR[1,”ABC”,3,5,V1%,3] FN576; Send String Data
receive data length.
ڦExample of screen display
See SOCKRECV[1,1,3,5,V1%] FN577; Receive data
SOCKCREATE ; Open the socket (FN570)
SOCKCLOSE ; Close the socket (FN571)
SOCKBIND ; Bind the socket (FN572)
SOCKWAIT ; Wait for connect (FN573) See
SOCKCONNECT ; Connect to server (FN574) SOCKCREATE ; Open the socket (FN570)
SOCKSEND ; Send data (FN575) SOCKCLOSE ; Close the socket (FN571)
SOCKRECV ; Receive data (FN577) 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) Function commands (FN codes)
Command name SETSTR Command name SETINT
FN code 580 FN code 581
Title name Set buffer (string) Title name Set buffer (integer)
This command is used to stored string at an This command is used to stored integer value at an
General description General description
arbitrary position in the buffer arbitrary position in the buffer
ڦGeneral description ڦGeneral description
This command is used to stored string at an arbitrary position in the buffer. When the writing string overflows of the buffer This command is used to stored integer value at an arbitrary position in the buffer. The integral value with the sign is
(When starting position + data size exceeds the size of the buffer), the AX Controller outputs "E2250 step data is stored by four bytes in the big endian in this command.
abnormal".
ڦParameter
The number of the buffer to store data is
Data size Parameter
Buffer No. specified.
No. 1
( 1 – 16 )
String
The integer value stored in the buffer is
Parameter specified. The integer value can be
Integer value
Starting No. 2 specified by the integer variable and the
integer constant.
Point The stored position of the buffer is
Buffer
Parameter
Starting point specified.
No. 3
( 0 – 1020)
ڦExample of screen display
ڦParameter
The number of the buffer to store data is SETINT[1,53,0] FN581; Set buffer (integer)
Parameter
Buffer No. specified.
No. 1
( 1 – 16 )
The string stored in the buffer is specified.
Parameter See
String The string data can be specified by the
No. 2 SETSTR ; Set buffer(string) (FN580)
string variable and the string constant. SETREAL ; Set buffer(real) (FN582)
The stored position of the buffer is SETBYTE ; Set buffer(byte) (FN583)
Parameter
Starting point specified. GETSTR ; Get buffer(string) (FN584)
No. 3
( 0 – 1023) GETINT ; Get buffer(integer) (FN585)
The data size of the data stored in the GETREAL ; Get buffer(real) (FN586)
Parameter GETBYTE ; Get buffer(byte) (FN587)
Data size buffer is specified.
No. 4
( 1 – 199 )
ڦExample of screen display
SETSTR[1,”ABC”,0,3] FN580; Set buffer (string)
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) Function commands (FN codes)
Command name SETREAL Command name SETBYTE
FN code 582 FN code 583
Title name Set buffer (real) Title name Set buffer (byte)
This command is used to stored real value at an This command is used to stored byte data at an
General description General description
arbitrary position in the buffer arbitrary position in the buffer.
ڦGeneral description ڦGeneral description
This command is used to stored real value at an arbitrary position in the buffer. 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.
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
The number of the buffer to store data is
ڦParameter Parameter
Buffer No. specified.
No. 1
The number of the buffer to store data is ( 1 – 16 )
Parameter
Buffer No. specified. The value stored in the buffer is specified.
No. 1 Parameter
( 1 – 16 ) Integer value The value can be specified by the variable
No. 2
The real value stored in the buffer is and the constant.
Parameter
Real value specified. The real value can be specified The stored position of the buffer is
No. 2 Parameter
by the real variable and the real constant. Starting point specified.
No. 3
The stored position of the buffer is ( 0 – 1020)
Parameter
Starting point specified.
No. 3
( 0 – 1020)
ڦExample of screen display
SETBYTE[1,53,0] FN583; Set buffer (byte)
ڦExample of screen display
SETREAL[1,53.2,0] FN582; Set buffer (real)
See
SETSTR ; Set buffer(string) (FN580)
See SETINT ; Set buffer(integer) (FN581)
SETSTR ; Set buffer(string) (FN580) SETREAL ; Set buffer(real) (FN582)
SETINT ; Set buffer(integer) (FN581) GETSTR ; Get buffer(string) (FN584)
SETBYTE ; Set buffer(byte) (FN583) GETINT ; Get buffer(integer) (FN585)
GETSTR ; Get buffer(string) (FN584) GETREAL ; Get buffer(real) (FN586)
GETINT ; Get buffer(integer) (FN585) GETBYTE ; Get buffer(byte) (FN587)
GETREAL ; Get buffer(real) (FN586)
GETBYTE ; Get buffer(byte) (FN587)
Function commands (FN codes) Function commands (FN codes)
Command name GETSTR Command name GETINT
FN code 584 FN code 585
Title name Get buffer (string) Title name Get buffer (integer)
This command is used to read data from the buffer, This command is used to read data from the buffer,
General description General description
and to store data in the string variable. and stored the integer variable.
ڦGeneral description ڦGeneral description
This command is used to read data from specified position of the buffer, and to store data in the specified string variable. 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
When the reading string overflows of the buffer (When starting position + data size exceeds the size of the buffer), it with the sign in four bytes. It is necessary to use the GETBYTE function for other integral values.
becomes it , saying that "E2250 step data is abnormal".
ڦParameter
The number of the buffer to read data is
Parameter
Buffer No. specified.
No. 1
( 1 – 16 )
Parameter Integer The integer variable to store the read data
String
No. 2 variable from the buffer is specified.
Parameter The read position of the buffer is specified.
Starting point
Starting No. 3 ( 0 – 1020)
Data size
Point
Buffer ڦExample of screen display
GETINT[1,V1%,0] FN585; Get buffer (integer)
ڦParameter
See
The number of the buffer to read data is
Parameter SETSTR ; Set buffer(string) (FN580)
Buffer No. specified. SETINT ; Set buffer(integer) (FN581)
No. 1
( 1 – 16 ) SETREAL ; Set buffer(real) (FN582)
Parameter The string variable to store the read data SETBYTE ; Set buffer(byte) (FN583)
String variable
No. 2 is specified. GETSTR ; Get buffer(string) (FN584)
Parameter The read position of the buffer is specified. GETREAL ; Get buffer(real) (FN586)
Starting point GETBYTE ; Get buffer(byte) (FN587)
No. 3 ( 0 – 1023)
The data size of the data read in the buffer
Parameter
Data size is specified.
No. 4
( 1 – 199 )
ڦExample of screen display
GETSTR[1,V1$,0,3] FN584; Get buffer (string)
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) Function commands (FN codes)
Command name GETREAL Command name GETBYTE
FN code 586 FN code 587
Title name Get buffer (real) Title name Get buffer (byte)
This command is used to read data from the buffer, This command is used to read one byte data from
General description General description
and stored the real variable. the buffer, and stored the integer variable.
ڦGeneral description ڦ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 to read one byte data from the buffer, and stored the integer variable.
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
Parameter
Buffer No. specified.
The number of the buffer to read data is No. 1
Parameter ( 1 – 16 )
Buffer No. specified. Parameter Integer The integer variable to store the read data
No. 1
( 1 – 16 ) No. 2 variable from the buffer is specified.
Parameter The real variable to store the read data Parameter The read position of the buffer is specified.
Real variable Starting point
No. 2 from the buffer is specified. No. 3 ( 0 – 1023)
Parameter The read position of the buffer is specified.
Starting point
No. 3 ( 0 – 1020)
ڦExample of screen display
ڦExample of screen display GETBYTE[1,V2%,0] FN587; Get buffer (byte)
ە ە
5: End (FN92) ە4 ە
1
The robot is not decelerated by this command. If positioning is not ە ە 9 $
3 2
specified, the command is executed at the position reached by the
robot in the accuracy range of the move command immediately The robot is not decelerated by this command. If no positioning is
before. specified, the input signal is inspected just before the command
value reaches the accuracy range of the move command, and if it
The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of has been input, an inside arc is drawn. If the input signal has not
calls can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is been input, the command value heads toward the recorded point,
detected during playback, and the robot stops. and the input signal is inspected when the robot has reached the
accuracy range.
ڦParameter
Parameter This specifies the number of the program The program call can be executed again at the call destination (during program 2 in the above figure.) Up to 8 layers of
Program No. calls can be executed. If calls exceeding 8 layers are executed, the "A2138 Wrong call command setting" alarm is
No. 1 serving as the call destination. (1-9999)
This specifies the value of an argument detected during playback, and the robot stops.
Parameter
Argument 1-10 passed to the program serving as the call
No.2-No.11
destination. (-1E38 – 1E38) ڦParameter
Parameter This specifies the number of the program
Program No.
ڦExample of screen display No. 1 serving as the call destination. (1-9999)
This records the number of the input signal
LCALLP [2,10,0,0,0,0,0,0,0,0,0] FN590; Program call with Arguments which is to serve as the condition for
Parameter executing the call. When number 5101 or
Input signal
No. 2 above is specified, multiple input signals
can be specified.
See (1-2048ࠊ5101-5612)
LCALLPI: Conditional program call with Arguments (FN591)
LCALLPN: Conditional program call after specified number of passes with Arguments (FN592)
This specifies the value of an argument Function commands (FN codes)
Parameter
Argument 1-10 passed to the program serving as the call
No.3–No.12
destination. (-1E38 – 1E38) Command name LCALLPN
FN code 592
ڦExample of screen display Conditional program call after specified number of
Title name
passes with Arguments.
LCALLP [2,I1,10,0,0,0,0,0,0,0,0,0] FN81; Conditional program call with Args Using a pass count (number of passes), this
command is used to call the specified program. At
General description
this time, ten real numbers can pass the arguments
See to the program.
LCALLP: Program call with Arguments (FN590)
LCALLPN: Conditional program call after specified number of passes with Arguments (FN592)
ڦGeneral description
When this function command is executed, the specified program is called and passed the arguments. The robot passes
for the specified number of passes, and on the next time (specified number of passes +1) the call command is executed.
(For instance, if "2" is specified as the number of passes, the robot passes twice, and on the third time the call command is
executed.)
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 LCALLPN: conditional program call after specified number of passes with Args (FN592), "2" as the
program number, "1" as the register number, "2" as the number of passes, and “10” as the argument 1.
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 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.
Step 4
Program 1 CALLPN; Conditional program call after specified number
of passes (FN592)
Program number = 2
Register number = 1
Number of passes = 2
Argument 1 = 10
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
Third time 7: End (FN92)
First time, second time
Program 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 This specifies the number of the program
Program No.
No. 1 serving as the call destination. (0-9999)
A "register" refers to the memory used for Function commands (FN codes)
counting. Since an integer variable (1 to
Parameter Register
200) is used, this parameter specifies its Command name LCALLMCR
No. 2 number
number. FN code 593
(1-200, 301-500) Title name Call User Task Program with Arguments
This records the number of passes which This command is used to call the specified user
is to serve as the condition for executing General description task program. At this time, ten real numbers can
the call. The robot passes for the specified pass the arguments to the program.
Parameter Number of
number of passes, and on the next time
No. 3 passes
(specified number of passes +1) the call
command is executed. ڦGeneral description
(0-10000) When this function command is executed, the specified user task program is called and passed the arguments. When
This specifies the value of an argument program call user task program, program stop one’s playback and start specified user task program.
Parameter When the playback of the user task program at the call destination is completed (in the status established by executing the
Argument 1-10 passed to the program serving as the call
No.4-No.13 END command), the program returns to the step following the step with the call command of the call source program.
destination. (-1E38 – 1E38)
ڦExample of operation
ڦExample of screen display
In step 4, record LCALLMCR: User Task Program Call with Arguments (FN593) and "1" as the program number, “10000”
LCALLPN[2,V1%,2,10,0,0,0,0,0,0,0,0,0] FN82; Conditional program call after as the shelter step, and“10” as an argument.
specified number of passes with Arguments
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.
See
LCALLP: Program call with Arguments (FN590) When the playback of user task program 1 is completed (in the status established by executing the END command), the
LCALLPI: Conditional program call with Arguments (FN591) 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
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
7: End (FN92)
User Task 1
㸯
5: End (FN92) ە㸲 ە
V1! = A1!
ە ە
㸱 㸰
ڦParameter
Parameter This specifies the number of the program
Program No.
No. 1 serving as the call destination. (1-999)
This is used to specify the number of the
shelter step when the specified user task
program was not starting.
(1 to 10000)
Parameter
Shelter step When 10000 is specified as the shelter
No. 2
step number, an alarm results immediately
with no escape operation performed, and
the robot can be stopped.
Function commands (FN codes) Function commands (FN codes)
Command name CNVI2 Command name CNVSFTSYNC
FN code 595 FN code 596
Title name Conveyor Interlock 2 Title name Conveyor Register Reset
Robot waits until conveyor register reaches up to General description Reset conveyor register and counter
General description
the designated distance, stationarily
ڦGeneral description
ڦGeneral description This function is used in conveyor synchronizing application.
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
Robot waits until conveyor register reaches up to the designated distance (= interlock distance). While waiting, robot is counter in any step. In addition, to begin the automatic re-count up this function after execution.
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.
Please refer to the “Conveyor Synchronization Manual” (option) for detail operations. ڦExample of operation
Conveyor Counter is reset where the step CNVSFTCYNC㸸Conveyor Register Reset㸦FN596㸧is executed.
ڦExample of operation
In case of CNVI2㸸Conveyor Interlock 2 (FN595) is recorded at step4, robot will wait until conveyor register reaches up to ڦParameter
2000mm in the position of step4 stationary. Conveyor Conveyor number which counter should
Parameter
ە number be reset.(1-*)
Step 4 No. 1
(* is conveyor quantity defined)
ە CNVI2: Conveyor Interlock 2(FN595)
Interlock distance=2000 Reset It will specify a number to make the
threshold value decision to reset the conveyor counter. If
Parameter
stationary conveyor register is greater than the
ە No. 2
specified value, and reset the counter.
(1-8000000)
ە Playback position
Recorded position
ە Conveyor moving direction
ڦExample of screen display
ە &196)76<1&>@)1&RQYH\RU5HJLVWHU5HVHW
ڦParameter See
Conveyor Conveyor number which conveyor should CNVSYNC; Conveyor Counter Reset (FN55)
Parameter CNVI; Conveyor Interlock (FN550)
number be interlocked.(1-*)
No. 1 CNVYSYNCI; Synchronizing Conveyor Interlock (FN562)
(* is conveyor quantity defined)
Interlock Input the conveyor interlock distance.
Parameter
distance Linear conveyor; (0-30,000) mm
No. 2
Circular conveyor; (0-180) degree
ڦExample of screen display
&19,>@)1&RQYH\RU,QWHUORFN
See
CNVI; Conveyor Interlock(FN550)
CNVSYNC; Conveyor Counter Reset (FN55)
CNVYSYNCI; Synchronizing Conveyor Interlock (FN562)
Function commands (FN codes) Function commands (FN codes)
Command name CNVSETM Command name NOP
FN code 597 FN code 600
Title name Conveyer sync output signal ON/OFF Title name Doing nothing
This command is used to set any general-purpose Outline Doing nothing
output signal to ON or OFF and assign conveyer
General description
resister value to global real number variable ڦGeneral description
simultaneously with signal output.
Doing nothing. This is used as a punctuation mark in program.
ڦGeneral description
ڦExample of operation
When this function command is executed, any general-purpose output signal (O1 to O2048) is set to ON or OFF .and
no parameters necessary
assign conveyer resister value to global real number variable simultaneously with signal output.
However, the command cannot set any of the status signals (signals with pre-assigned applications such as the gun <SLIM sample> NOP
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 ڦExample of screen display
be set to ON or OFF.
123 )1123
ڦ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.
ڦParameter
Conveyor number which conveyor should
Parameter Conveyer
be assigned.(1-*)
No. 1 number
(* is conveyor quantity defined)
This specifies the number of the output
Parameter Output signal
signal which is to be turned ON or OFF.
No. 2 number
(1–2048)
Parameter "1" specified for ON, and "0" for OFF.
ON/OFF
No. 3 (0–1)
This specifies the number of the register
Real number
Parameter (real number variable) in which a conveyer
variable
No. 4 register value is to be stored.
number
(1-200,301-500)
ڦExample of screen display
CNVSETM [1, O17, 1, V150!] FN597; Conveyer sync output
See
SETM: Output signal ON/OFF (FN105)
Function commands (FN codes) Application command (FN code)
Command name * Command
IF
FN code 601 name
Title name Label FN code 602
Outline Doing nothing Title name Condition (IF-THEN-ELSE)
General If condition is satisfied then command after “THEN” is
description executed, else command after “ELSE” is executed
ڦGeneral description
Doing nothing.
This is used as a label that can be referred by GOTO command. ڦGeneral description
This is conditional statement.
This is flow control statement (IF-THEN-ELSE). If condition is satisfied then command after “THEN” is execute, else
ڦExample of operation command after “ELSE” is executed. If “ELSE” is not described and condition is not satisfied, then next step is executed.
Beginning from *, and open software keyboard by [Enable]+[Edit] to input characters of label.
<SLIM sample> *LOADING ڦParameter
This is condition.
ڦExample of screen display 1st At present, condition equations where integer
IF
>/2$',1*@)1/DEHO parameter variables or real number variables are calculated in
comparison can be described.
Step number or label (FN601) is described as the
See 2nd
ONGOTO ;ONGOTO jump(FN603) THEN command to be executed in case if the condition is
parameter
satisfied.
Step number or label (FN601) is described as the
3rd command to be executed in case if the condition is
ELSE
parameter not satisfied.
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
ەInteger Variables
Numeric values not containing decimal point are handled.
Format Vn%, V%[n] n=1 to 200 (Global integer variables)
Ln%, L%[n] n=1 to 200 (Local integer variables)
* Vn% is same in meaning as V%[n].
Range -2147483648 to +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.
ڦExample of operation
step13 FOR V3%=1 TO 10 STEP 1
step14 Move
step15 Move
step16 Move
step17 Move
step18 NEXT
Step19 Move
See
NEXT ;Loop End(FN605)
Function commands (FN codes) Function commands (FN codes)
Command name PRINT Command name WINDOW
FN code 606 FN code 607
Title name Print string Title name User screen open/close
The character string data is output to the screen or Outline Open user screen, or close user screen.
Outline
specified RS232C serial port
ڦGeneral description
ڦ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
When this function command is used, character string data can be displayed on the TP screen or output to the specified at the mode screen (where 12 F keys are displayed on left side and right side).
serial port. (RS232C is option) Size of TP screen is 640 * 480 dots, left top corner is (0,0). WINDOW command can designate the position of user
Device number can designate to where output data. #0 is screen, #1 is RS232C. If device number is omitted, #0 is screen. The position can be designated in every 16 dots. When one of width or height is defined 0, user screen can be
selected. If character is omitted, line feed code is only sent. Plural characters can be combined by “;” or “,”. If last closed.
character was “;”, line feed code is not sent.
FN101 is same as this function. 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.
ڦ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. (0,0) 640
+X
ڦParameter
This is used to specify the number of the
port from which the character string is to +Y
Parameter User screen title
Port number be output.
No. 1
0; screen
1; RS232C
This is used to specify the character string User screen
Output 480
Parameter to be output. Press [Enable]+[Edit] to open
character
No. 2 software keyboard to input characters. WINDOW command
string
(Up to 199 single-byte alphanumeric) can designated the
left top position and
<SLIM sample> PRINT #0,ABC size of user screen.
ڦExample of screen display
35,17>7(67$%&@)13ULQWVWULQJ
ڦParameters
Parameter X position of This is to define the X position of left top
No. 1 left top corner corner of user screen. (0 to 624)
Parameter Y position of This is to define the Y position of left top
No. 2 left top corner corner of user screen. (0 to 464)
Parameter This is to define the width of user screen.
No. 3 Width (0 to 640)
Parameter This is to define the height of user screen.
No. 4 Height (0 to 480)
<SLIM sample> WINDOW 64,160,80,64
See
TITLE ;User title (FN608)
Function commands (FN codes) Function commands (FN codes)
Command name TITLE Command name CLS
FN code 608 FN code 609
Title name User screen title Title name Erase user screen
Outline This is to draw the title of user screen Outline This is to erase user screen
ڦGeneral description ڦGeneral description
This is to draw the title of user screen. 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. 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 ڦParameters
+X No parameters.
<SLIM sample> CLS
See
+Y User screen title WINDOW ;User screen open/close (FN607)
TITLE ;User title (FN608)
BGCOLOR ;Background color (FN617)
User screen
480
WINDOW command
can designated the
left top position and
size of user screen.
ڦParameters
Parameter This is the character pattern data which
Title
No. 1 show a title.
<SLIM sample> TITLE “MONITOR”
See
WINDOW ;User screen open/close(FN607)
Function commands (FN codes) Function commands (FN codes)
Command name LOCATE Command name GLINE
FN code 610 FN code 611
Title name Locate the display pos Title name Display position specification
This command is used to specify the position of the This command is used for the user screen to draw the
Outline Outline
character displayed on the user screen. straight line.
ڦGeneral description ڦGeneral description
The position of the character displayed by the PRINT command in the user screen is specified by the row and the This command describes a straight-line in the user screen. A straight-line color is a value set by the COLOR command.
column.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the
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.
“User Task” operating manual for the detail of user task and user screen.
ڦParameters
ڦParameters Parameter X position of X position of the point that the straight line
Parameter The row to which the character string is No. 1 start of line begins is specified. (0 to 639)
Row number
No. 1 displayed is specified. (0 to 22) Parameter Y position of Y position of the point that the straight line
Parameter Column The column at the character string head is No. 2 start of line begins is specified. (0 to 479)
No. 2 number specified. (0 to 80) Parameter X position of X position of the point that the straight line
No. 3 end of line ends is specified. (0 to 639)
<SLIM sample> LOCATE 12,5
Parameter Y position of X position of the point that the straight line
See No. 4 end of line ends is specified. (0 to 479)
PRINT ; Print strings (FN606) <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) Function commands (FN codes)
Command name GBOX Command name BARC
FN code 612 FN code 613
Title name Draw the box Title name Draw the arc
This command is used for the user screen to draw the This command is used for the user screen to draw the
Outline Outline
box. arc.
ڦGeneral description ڦGeneral description
This command describes a box in the user screen. A box color is a value set by the COLOR command. 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 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. “User Task” operating manual for the detail of user task and user screen.
ڦParameters ڦParameters
Parameter X position of This is to define the X position of left top Parameter X position of This is to define the X position of arc
No. 1 left top corner corner of the box. (0 to 639) No. 1 left top corner center. (0 to 639)
Parameter Y position of This is to define the Y position of left top Parameter Y position of This is to define the Y position of arc
No. 2 left top corner corner of the box. (0 to 479) No. 2 left top corner center. (0 to 479)
Parameter This is to define the width of the box. (0 to Parameter
Width Arc radius This is to define the arc radius. (0 to 800)
No. 3 640) No. 3
Parameter This is to define the height of the box. (0 Parameter Starting point This is to define the angle of starting point
Height
No. 4 to 480) No. 4 of arc of the arc. (0 to 360)
Parameter Select of paint 1: paint out Parameter This is to define the center angle. (0 to
Center angle
No. 5 out 0: not paint out No. 5 360)
<SLIM sample> GBOX 64,160,80,64,1 <SLIM sample> BARC 64,160,80,45,90
See
See
GLINE ; Draw the line (FN611)
GLINE ; Draw the line FN611)
GBOX ; Draw the box (FN612)
GSETP ; Draw the pixel (FN615)
GSETP ; Draw the pixel (FN615)
COLOR ; Color (FN616)
COLOR ; Color (FN616)
BGCOLOR ; Background color (FN617)
BGCOLOR ; Background color (FN617)
Function commands (FN codes) Function commands (FN codes)
Command name GPAINT Command name GSETP
FN code 614 FN code 615
Title name Paint Title name Draw the pixel
This command is used to paint out the enclosed area This command is used for the user screen to draw a
Outline Outline
on the user screen. pixel.
ڦGeneral description ڦ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 This command describes a pixel in the user screen. A pixel color is a value set by the COLOR command.
command.
This command is available only in user task, and is permitted being written in robot language only. Please refer to the
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.
“User Task” operating manual for the detail of user task and user screen.
ڦParameters
ڦParameters Parameter X position of This is to define the X position of pixel. (0
Parameter X position of This is to define the X position of paint out No. 1 left top corner to 639)
No. 1 left top corner starting. (0 to 639) Parameter Y position of This is to define the Y position of pixel. (0
Parameter Y position of This is to define the Y position of paint out No. 2 left top corner to 479)
No. 2 left top corner starting. (0 to 479)
<SLIM sample> GSETP 64,160
Parameter This is to define the border color to paint
Border color
No. 3 out. (0 to 15) See
<SLIM sample> GPAINT 64,160,8 GLINE ; Draw the line (FN611)
GBOX ; Draw the box (FN612)
See COLOR ; Color (FN616)
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) Function commands (FN codes)
Command name COLOR Command name BGCOLOR
FN code 616 FN code 617
Title name Color Title name Background color
This can designate the color used in color graphics This can designate the background color used in color
Outline Outline
command graphics command
ڦGeneral description ڦGeneral description
This can designate the color used in color graphics command. Total 16 colors (0 to 15) are available. 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. 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 ڦParameters
1: Gray Parameter
Color (refer to COLOR command)
2: Dark Blue No. 1
3: Blue <SLIM sample> BGCOLOR 15
4: Dark Green
See
5: Green COLOR ;Color(FN616)
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) Function commands (FN codes)
Command name EXIT Command name PAUSE
FN code 619 FN code 620
Title name User task end Title name Pause user task
Outline This can terminate the user task Outline This can make a brief stop of user task
ڦGeneral description ڦGeneral description
This can terminate the user task. This can pause (make a brief stop of) user task for designated time period.
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.
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.
This command (longer than 300msec pause) must be recorded in
user task in order to avoid the CPU overload.
ڦParameters
If not recorded, cycle time of robot program operated
No parameters.
simultaneously with user task may varies.
<SLIM sample> EXIT
See
OPENMCR ;Start user task(FN621)
ڦParameters
WAITMCR ;Wait user task(FN622) Parameter This is to define the pause time of user
Pause time
No. 1 task. (0 to 999) [msec]
<SLIM sample> PAUSE 300
See
EXIT ;End user task (FN619)
OPENMCR ;Start user task (FN621)
Function commands (FN codes) Function commands (FN codes)
Command name OPENMCR Command name WAITMCR
FN code 621 FN code 622
Title name Open usertask Title name Wait usertask
Outline Start usertask program Outline Wait for the end of usertask program
ڦGeneral description ڦGeneral description
This can start usertask program from robot program. Robot program waits for the end of usertask program.
Even after executing this, robot program keeps running. (never wait for the end of usertask.) To synchronize usertask This is used for the synchronization of usertask program and robot program.
program with robot program, please use WAITMCR and EXIT command
robot program
robot program Even after executing this, robot
Even after executing this, robot program keeps running. usertask program
㹼
program keeps running. usertask program
㹼
23(10&5>@)12SHQXVHUWDVN ͂XVHUWDVN̓
23(10&5>@)12SHQXVHUWDVN ͂XVHUWDVN̓
㹼 㹼
㹼 㹼
:$,70&5)1:DLWXVHUWDVN
:$,70&5)1:DLWXVHUWDVN
(;,7
㹼 At step 30 robot program waits for
(;,7 the end of usertask (EXIT
㹼 At step 30 robot program waits for
the end of usertask (EXIT command) or maual stop operation.
command) or maual stop operation.
Robot program and usertask program can be playbacked simultaneously.
Robot program and usertask program can be playbacked simultaneously.
ڦExample of operation
ڦExample of operation No parameter.
Parameter Usertask This is the usertask number to be started. <SLIM sample> WAITMCR
No. 1 number (0 to 999)
ڦExample of screen display
<SLIM sample> OPENMCR 123
:$,70&5 )1:DLWXVHUWDVN
ڦExample of screen display See
23(10&5>@ )12SHQXVHUWDVN EXIT ;End usertask (FN619)
OPENMCR ;Start usertask (FN621)
See
EXIT ;End usertask(FN619)
WAITMCR ;Wait usertask(FN622)
Function commands (FN codes) Function Commands (FN Codes)
Command name GARC Command name MODUSRCOORD
FN code 623 FN code 626
Title name Display ellipse Title name Modify User coordinate
This command is used for the user screen to draw the Modifies the existent user coordinates using
Outline General description
ellipse. pose variables
ڦGeneral description ڦGeneral description
This command describes a ellipse in the user screen. A ellipse color is a value set by the COLOR command. Executing this function command, the origin position and posture on the existent user coordinates can be modified using
three pose variables.
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. 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.
ڦParameters Therefore, if necessary to store the original user coordinates, be sure to duplicate the user coordinates file before
This is to define the X position of left top executing MODUSRCOORD.
Parameter X position of
corner of the box to which oval is
No. 1 left top corner
inscribed. (0 to 639)
This is to define the Y position of left top
Parameter Y position of
corner of the box to which oval is
No. 2 left top corner
inscribed. (0 to 479)
Parameter This is to define the width of the box to
Width
No. 3 which oval is inscribed. (0 to 640)
Parameter This is to define the height of the box to
Height
No. 4 which oval is inscribed. (0 to 480)
Parameter Select of paint 1: paint out
No. 5 out 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) <Requirements for MODUSRCOORD>
࣭Existent user coordinates
…Required to register in [Service] Æ [10 User Coord. Definition] beforehand.
MODUSRCOORD can not create the new user coordinates.
࣭Pose variable
…Be sure to register three points in advance to define the user coordinates as the pose variables. For details of the
definition of user coordinates, see [Service Menu] Æ [10 User coordinate] in this document.
ڦParameter
Designates the existent user
st
1 parameter User coordinate No. coordinate No. (1~100)
st
Designates the 1 pose variable
1st pose variable
2nd parameter No. to define the user coordinates.
No.
(1~9999)
nd Designates the 2nd pose variable
rd 2 pose variable
3 parameter No. to define the user coordinates.
No.
(1~9999)
rd Designates the 3rd pose variable
3 pose variable
4th parameter No. to define the user coordinates.
No.
(1~9999)
nd th
The pose variables used in the 2 ~ 4 parameters depend on the USE command.
02'865&225'>@)10RGLI\8VHUFRRUGLQDWH
st nd
The parameters shown on the screen are “User coordinate No.”, “1 pose variable No.”, “2 pose variable No.”,
rd
and “3 pose variable No.” from the left.
Function Commands (FN Codes)
See
LETCOORDP; Let pose variable (Coordinates designation) (FN630)
LETPE; Let pose element (FN632) Command name GETUSRCOORD
FN code 627
Title name Get user coordinate
General description Get the existent user coordinates
ڦGeneral description
This function is to get the origin of user coordinate.
ڦParameter
Set the existent user coordinate
1st parameter User coordinate No.
No. (1-100)
*(7865&225'>㸪9@)1*HWXVHUFRRUGLQDWH
Function Commands (FN Codes) Function Commands (FN Codes)
㸯 㸰 㸯 㸰
㸱 㸱
ە ە ە ە ە ە
㸳 㸴 㸳 㸴
ە ە ە ە
The robot will not slow down by this command. Without any The robot will not slow down by this command. Without any
positioning designation, this command is executed where the positioning designation, this command is executed where the
robot reaches the accuracy range of the move command right robot reaches the accuracy range of the move command right
before. before.
ڦParameter ڦParameter
Local integer Designates the integer variable No. to set Local real Designates the real variable No. to set the
1st parameter 1st parameter
variable No. the value. (1-200, 301-500) variable No. value. (1-200, 301-500)
Designates the value to set in the integer nd Designates the value to set in the real
2 parameter Set value
2nd parameter Set value variables. variable. (-1.0E38~+1.0E38)
(-2147483647~+2147483647)
See
See LETLI; Set local real variable (FN628)
LETLF; Set local real variable (FN629)
Function Commands (FN Codes) Selects the method of how to deal with
the pose data other than the record Do nothing/
Command name LETCOORDP mechanism. Initialize in
Other Poses
FN code 630 If selecting “Initialize”, a function variable the previous
Title name Let pose variable in the MOVE command step right before step
Stores the pose data recorded by the specified is set as the pose datum.
General description rectangular coordinates value in the pose XYZ element:
variables -99999.9~99
Enters the rectangular coordinates value 999.9[mm]
Rectangular of the specified coordinates base. The RPY
ڦGeneral description
coordinates current position can be also obtained by (Rotation)
This function command allows to record the pose variable set command of the coordinates designation. F8 “Record Current Position” key. element:
-360.0~360.0
࣭ The LETCOORDP command is the pose set command by each mechanism.If there exist multiple mechanisms in the [deg]
unit, execute the LETCOORDP command for the number of registered mechanisms. Manipulator:
Also, in order not to forget initializing the pose variables (= Execution of LETCOORDP command for all the Designates the coordinates of the Base/ User/
rectangular coordinates value. Absolute/
mechanisms), it is recommended to teach the LETCOORDP command for the number of registered mechanisms Coordinate
when starting to run the program. The external axis is fixed to the axis Workpiece
coordinates in being recorded. External axis:
Each axis
Enters the user coordinate No. when
User coordinate
“User” has been selected in 1~100
No.
[Coordinate].
Designates the selection method of
redundant solution in the reverse
Previous
conversion, With "Configuration”
Axis angle refer step/
࣭ Before executing LETCOORDP under the structure of synchronized unit, be sure to execute this command first in the selected, the radio button for redundant
Configuration
operation standard mechanism. solution selection become ON in the J1,
J3, J5, and J6 axis.
࣭ The robot does not move by executing LETCOORDP only.To move the robot, it is required to teach the MOVEX Selects the redundant solution of the J1
command. axis. Left arm/
࣭ Left arm: +45 ~ 135º Right arm/
J1 axis angle
ڦLETCOORDP Teach Method ࣭ Right arm: -45 ~ -135º Less than
selection
(1) Select FN630 “Let pose variable”. ࣭ Less than ±90º: -45 ~ +45º ±90º/±90 or
࣭ ±90º or more: -135º or below or more
+135º or more
Selects the redundant solution of the J3
J3 axis angle axis. Upper elbow/
selection ࣭ Upper elbow: 79.1º or below Lower elbow
࣭ Lower elbow: 79.1º or more
Selects the redundant solution of the J5
J5 axis angle axis.
Flip/ Non-flip
selection ࣭ Flip: 0º or below
࣭ Non-flip: 0º or more
Selects the redundant solution of the J6
axis. Less than
J6 axis angle ±180º
࣭ Less than ±180º: -180 ~ +180º
selection 0~360º/
࣭ 0 ~ 360º㸸0 ~ 360º
(2) Enter the pose No. of the set destination. 0~ -360º
(3) Select the mechanism No. of the pose set destination. ࣭ 0 ~ -360: 0 ~ -360º
Be sure to teach the operation standard mechanism first. In the synchronized system of the
robot and positioner, the positioner is the operation standard mechanism.
(4) Set the required parameters (described in the following). ڦExample of screen display
(5) Move the robot by manual operation to the position for carrying out the pose record, and then press F8 “Record
Current Position” key. Or, specify the value directly for the position to carry out the pose record. /(7&225'3>308VHU@)1/HWSRVHYDULDEOH
(6) Press f12 <Complete> to record LETCOORDP.
The parameters appeared on the screen are “Pose variable No.”, “Mechanism No.”, “Other Poses(0/1)”, and
ڦParameter “Coordinates (+ User coordinate No.)” from the left.
Parameter name Description Range
Enters the pose variable No. of the set
Pose No. 1~9999 See
destination.
Selects the mechanism No. of the pose LETPE; Let pose element (FN632)
LETPE; Let shift element (FN633)
set destination.
Mechanism 1~9 LET; Let variable (FN634)
Æ Be sure to teach the operation ADDP; Add pose variable (FN635)
standard mechanism first.
Function Commands (FN Codes) Function Commands (FN Codes)
ڦParameter
Set the Operation.
Operation 0:Multiplication
1st parameter
(0 / 1 / 2) 1:Inverse
2:transpose
Variable No. Set the first variable number for ࣭ If there is no original pose variable, it is not available to use LETPE.In that case, execute FN630 (LETCOORDP) and
2nd parameter Operand 1. create the pose data.
(Operand 1)
Set the first variable number for ࣭ The robot does not move by executing LETPE only.To move the robot, it is required to teach MOVEX command.
Operand 2.
-Robot program on monitor. ڦLETPE Teach Method
Variable No. This setting is skipped.
3d parameter (1) Select FN632 “Let pose element”.
(Operand 2) -Robot language program.
In case of “Inverse” or “Transpose”,
Set the same value as 2nd
parameter.
Variable No. Set the first variable number for
4th parameter Result.
(Result)
ڦExample of screen display
&$/0$75,;>㸪9㸪9㸪9㸟@)1&DOFXODWLRQPDWUL[
ڦParameter
Parameter name Description Range
Enters the pose variable No. of the set
Pose No. 1~9999
destination.
Selects the mechanism No. of the pose
Mechanism 1~9
set destination.
Selects the element of the pose set Manipulator:
Element
destination. X/Y/Z/r/p/y
Selects the elements of rectangular External Function Commands (FN Codes)
coordinates when the mechanism is a axis:
manipulator, and the axis angle element J1/J2/J3/J4/ Command name LETRE
when the mechanism is an external axis. J5/J6 FN code 633
Selects the type of pose operation. Set/ Title name Let shift element
Pose operation Addition and subtraction are carried out Add/ Sets the shift element in the specified shift
to the original pose data. Subtract General description
register
Global real
Selects a type of the pose set value. variable/
ڦGeneral description
It becomes available to input [Variable Local real
Type This function command allows to set the shift amount data in the specified shift register by a single element.
No.] with a variable selected, and variable/
[Constant value] with a constant selected. Real Even if the specified shift register has been occupied by “SHIFTR; Shift2 (FN52)” or others, the value specified by LETRE
constant 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).
Manipulator:
Designates the coordinates of the Robot/ User/
rectangular coordinates value. World/ Work ࣭ The LETRE command allows to specify the shift element storage position by the parameter and set the shift amount
Coordinate data only in that element.
The external axis is fixed to the axis External
coordinates in being recorded. axis:
Each axis
For smooth teaching operation, it is recommended to use FN68 (LETR command) on the shift amount set of all
User coordinate Enters the user coordinate No. when the elements, and LETRE command on modifying the shift amount data.
1~100 (The following is an example when setting 10mm only into the X element using LETRE.)
No. “User” has been selected in [Coordinate].
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.
ڦExample of operation
Shift register value when executing LETRE [R1, X = 10.00].
See <1>Executing with the specified shift register value
LETCOORDP; Let pose variable (Coordinates designation) (FN630) Before After executing
LETPE; Let shift element (FN633) executing LETRE LETRE
LET; Let variable (FN634) Request flag 0 0
ADDP; Add pose variable (FN635)
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.
ڦ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).
(2) Enter the shift register No. of the set destination.
Values can be set each other only within the same type for the pose variable and shift variable, while it is available
(3) Select the shift element of the set destination.
(4) Set the required parameters (described in the following). across the scope and type for the integer variable and real variable.
(5) Press f12 <Complete> to record LETRE.
ڦLET Teach Method
(1) Select FN634 “Let variable”.
ڦParameter
Parameter name Description Range
Enters the shift register No. of the set
Shift register No. 1~9
destination.
Selects the shift element of the set X/Y/Z/șX/șY
Element
destination. /șZ
Selects the type of shift operation.
Set/ Add/
Shift operation Addition and subtraction are carried out
Subtract
to the original shift amount data.
Global real
Selects a type of the shift amount
variable/
substitution value.
Local real
Type It becomes available to input [Variable
variable/
No.] with a variable selected, and
Real
[Constant value] with a constant selected.
constant
(2) Select the type of variable of the set destination.
(3) Enter the variable No. of the set destination.
(4) Select the type of variable to set.
ڦExample of screen display
(5) Enter the variable No. of the set value.
/(75(>5; 9@)1/HWVKLIWHOHPHQW
ڦParameter
The parameters appeared on the screen are “Shift register No.” and “Shift element=Shift amount set value”. Parameter name Description Range
Global integer
variable/
See Global real
LETR; Let shift amount (FN68) variable/
LETCOORDP; Let pose variable (Coordinates designation) (FN630) Variable type of Selects the variable type of the set Local integer
LETPE; Let pose element (FN632) set destination destination. variable/
LET; Let variable (FN634) Local real
ADDP; Add pose variable (FN635)
variable/
Pose variable/
Shift variable
Pose variable:
1~9999
Variable No. of Enters the variable No. of the set Shift variable:
set destination destination. 1~9
Others:
301-500
Same as the set destination.
Variable type/ However, if different kinds of variable
Variable No. of type are selected for setting the pose -
set value variable/shift variable, the variable
type of the set destination is applied.
࣭ 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
Enters the pose variable No. of the add
Pose No. 1~9999
destination.
Shift mechanism Selects the manipulator of the shift target. 1~9
Enters the shift register No. (added
Shift register No. 1~9
value).
Designates the coordinates of the Robot/ User/
Coordinate
rectangular coordinates value. World/ Work
User coordinate Enters the user coordinate No. when
1~100
No. “User” has been selected in [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)
201-250 variable number is a variable number of the PLC only.
Command name ADDVI Must be running the PLC when setting 201 to 250.
FN code 637 When executed in the state of PLC “stop” or “disconnect” ,display
Title name Add integer variable to "A2368 Connection with Built-in PLC cannot be performed." to
General description Adds the value of integer variable stop playback.
Related commands
LETVI: Integer variable assign (FN75)
Function commands (FN codes) Function commands (FN codes)㸧
Command name ASIN Command name ACOS
FN code 648 FN code 649
Title name LET ASIN function Title name LET ACOS function
General description Get ASIN variables General description Get ACOS variables
ڦGeneral description ڦGeneral description
It calculates the real value of ASIN and set the result to real variable. It calculates the real value of ACOS and set the result to real variable.
*Setting of 201-250 is possible only in the case of global variables. ڦ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
ڦExample of screen display 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
&26>99@)1/HW&26IXQFWLRQ variables are also available.)
Execution sample of TAN [V1!, V2!]
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set Global variable Before After executing
constant)” from the left. executing TAN TAN
V1! 0.0000 1.5574
See
V2! 1.0000 1.0000
SIN; Let SIN function (FN652)
TAN; Let TAN function (FN654) ڦTAN Teach Method
ATN; Let ATN function (FN655) (1) Select FN654 “Let TAN function”.
ATN2; Let ATN2 function (FN656)
*Setting of 201-250 is possible only in the case of global variables. ڦ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
ڦExample of screen display 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
7$1>99@)1/HW7$1IXQFWLRQ are also available.)
Execution sample of ATN [V1!, V2!]
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set Global variable Before After executing
constant)” from the left. executing ATN ATN
V1! 0.0000 0.7854
See
V2! 1.0000 1.0000
SIN; Let SIN function (FN652)
COS; Let COS function (FN653) ڦATN Teach Method
ATN; Let ATN function (FN655) (1) Select FN655 “Let ATN function”.
ATN2; Let ATN2 function (FN656)
*Setting of 201-250 is possible only in the case of global variables. ڦExample of operation
Any steps can be recorded by “ATN2: Let ATN2 function (FN656)”, “Global variable No. of the set destination=1”, “Global
ڦExample of screen display variable No.1 of the set value=2” and “Global variable No.2 of the set value=3”. By playback of this command, the ATN2
nd rd st
value of the 2 and 3 variable are set into the 1 variable. The set variables can be checked by the register screen of
$71>99@)1/HW$71IXQFWLRQ global real variable on the monitor. (Local variables are also available.)
Execution sample of ATN2 [V1!, V2!, V3!]
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or set Global variable Before After executing
constant)” from the left. executing ATN2 ATN2
V1! 0.0000 0.4636
See
V2! 1.0000 1.0000
SIN; Let SIN function (FN652) V3! 2.0000 2.0000
COS; Let COS function (FN653)
TAN; Let TAN function (FN654) ڦATN2 Teach Method
ATN2; Let ATN2 function (FN656) (1) Select FN656 “Let ATN2 function”.
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)
(2) Select the variable type of the set destination.
(3) Enter the variable No. of the set destination.
(4) Select the type of set value.
(5) Enter the variable No. of the set value or set constant.
(6) Press F12 <Complete> to record ABS.
ڦParameter
Parameter name Description Range
Global real
Variable type of Enters the variable type of the set variable/
set destination destination. Local real
variable
Variable No. of Enters the variable No. of the set 1~250,
set destination destination. 301-500*
Global real
variable/
Enters the type of set value. Local real
variable/
Type of set value ͤ Selecting “Real constant”, the set
Real
value can be directly designated.
constant/
Argument
variables
Variable No.: Function Commands (FN Codes)
1~250,
301-500* Command name MIN
Constant FN code 658
Variable No. of Enters the variable No. with “Variable”
value: Title name Let MIN function
set value selected, and the constant value with
-1e+038~ General description Calculates a smaller real number out of two
or “Real constant” selected in the variable
1e+038
Set constant type of set value.
Argument
variables ڦGeneral description
No.:1-10 This function command allows to set a smaller real number out of two into the real variable register.
ڦExample of operation
Variable No.:
1~250, Any steps can be recorded by “MIN: Let MIN function (FN658)”, “Global variable No. of the set destination=1”, “Global
301-500* variable No. of the set value 1 = 2”, and “Global variable No. of the set value 2 =3”. By playback of this command, a
nd rd st
Constant smaller variable of the 2 or 3 is set into the 1 variable. The set variables can be checked by the register screen of
Variable No. of Enters the variable No. with “Variable” global real variable on the monitor. (Local variables are also available.)
value:
set value selected, and the constant value with Execution sample of MIN [V1!,V2!, V3!]
-1e+038~
or “Real constant” selected in the variable
1e+038 Global variable Before After executing
Set constant type of set value.
Argument executing MIN MIN
variables V1! 0.0000 1.0000
No.:1-10 V2! 1.0000 1.0000
V3! 2.0000 2.0000
*Setting of 201-250 is possible only in the case of global variables.
ڦMIN Teach Method
(1) Select FN658 “Let MIN function”.
ڦExample of screen display
$%6>99@)1/HW$%6IXQFWLRQ
The parameters appeared on the screen are “Variable of set destination” and “Variable of set value (or substitution
constant)” from the left.
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
OFFSET㸹Multi Offset condition specification (FN499)
Application command (FN code) Application command (FN code)
Command Command
ASMV AEMV
name name
FN code 661 FN code 662
Title name Multi-pass welding start (Variable) Title names Multi Pass Welding End(Variable)
General General
Starts Multi-pass welding with the specified conditions. Multi-pass welding end
description description
ڦParameter
Specify multi-pass welding start condition Step Command
1 100% JOINT
file number by direct value /Global 2 100% JOINT
1st Condition file variable /Local variable method. 3 MPS [3 times] Multi-pass welding ending condition file (AEM*ARCW.001)
parameter ID 4 100% JOINT
This file is already created by the <Arc 5 100% JOINT Pass Welding ending condition file No.
condition setting> - [6 Multi-pass welding 6 OFFSETV [Start] The 1st pass 1 (AE**ARCW.001)
7 100% JOINT The 2nd pass 2 (AE**ARCW.002)
start condition]. 8 ASMV [W1,V1%] The 3rd pass 3 (AE**ARCW.003)
The 4th pass 4 (AE**ARCW.004)
9 300cm/m LINE The 5th pass 5 (AE**ARCW.005)
10 AEMV [W1,V1%] 㸸
ڦExample of screen display 11 OFFSETV [End] 㸸
㸸
12 100% JOINT
$609>:Ѝ@)10XOWLSDVVZHOGLQJVWDUW 9DULDEOH 13 MPE
14 100% JOINT
15 END
See
ASM㸹Multipass welding start(FN418) ڦ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.
In the following example, while V1% is less than 10,the instructions between WHILE and ENDW are executed repeatedly.
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.
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, 301-500 (global integer variable)
Ln% and L% n ; n=1-200, 301-500 (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.
See
WHILE; WHILE loop (FN663)
Application command (FN code) Move cond. no.
Set the method of movement of
Command RS control.
ASV
name This condition can be set if the
FN code 665 "RS control" optional software is
Title name Arc start (Variable specification) RS control NO / Yes set and welding constant "RS
General control" is set to "Enabled".
Starts arc welding with the specified conditions.
description NO : RS control is not performed.
Yes : RS control is performed.
ڦGeneral description
Condition file No. such as Arc start condition file, retry condition file can be specified indirectly through variables. This It can be set when RS control is
allows you to change the Arc start conditions by the input of internal counter value or signal from external source. "Yes".
Direct value
In case of the conditions that are not required to be changed, the file No. can be specified by direct value. specification: 0 to Set the condition file no. in case
The welding start position is a move command just before the ASV (FN665). To select the command, designate the FN 999 of direct value specification and
code “665”. RS No.*㸯 variable number in case of
Variables variable specification.
specification: Global/
Method to specify the condition file that can be used in ASV/AEV Local variable Movement is different in case of
command condition file no. 0 and condition
file no 1 to 99.
Specification method Setting range
Set the control by robot RS no.
Direct value Range of each condition file number NO: Robot RS control is not
Global variables Variable number: 1 to 200, 301 to 500 performed.
Robot RS control NO / Robot RS No.
Local variables Variable number: 1 to 200, 301 to 500 Robot RS No.: Performs robot
RS by the Robot RS condition file
of specified No.
What are Global variables / Local variables ?
Direct value It can be set when Robot RS
Variable type Explanation specification: 1 to control is "Robot RS No."
These variables can be referenced from all the units. 999 Set the condition file no. in case
Global variables Robot RS No.
These variables start with V. Variables of direct value specification and
These variables exist in each unit respectively and specification: Global/ variable number in case of
Local variables cannot be referenced from other units. Local variable variable specification.
These variables start with L.
*1: RS No. can be set only for DL-350(S-2), DP-400R and WB-M350L.
Global integer variables / Local integer variables can be used in ASV/AEV.
ڦParameter
For details of each setting items, also refer to arc start command (FN414).
ڦ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).
Command Command
WFPV WFXV
name name
FN code 667 FN code 668
Title name Fixed pattern weaving start (Variable specification) Title name Axis weaving start (Variable specification)
General General
Starts arc welding with the specified conditions. Starts arc welding with the specified conditions.
description description
Method to specify the condition file that can be used in WFPV Method to specify the condition file that can be used in WFXV
command command
Specification method Setting range Specification method Setting range
Direct value Range of each condition file number Direct value Range of each condition file number
Global variables Variable number: 1 to 200, 301 to 500 Global variables Variable number: 1 to 200, 301 to 500
Local variables Variable number: 1 to 200, 301 to 500 Local variables Variable number: 1 to 200, 301 to 500
Modification of variable value during weaving Modification of variable value during weaving
When the condition file is set by variable, if the variable value is changed during the weaving, it will not be reflected in the When the condition file is set by variable, if the variable value is changed during the weaving, it will not be reflected in the
weaving condition. However, in case of restart after temporary stop or emergency stop, the condition file of changed weaving condition. However, in case of restart after temporary stop or emergency stop, the condition file of changed
variable value will be used. variable value will be used
ڦParameter ڦParameter
For details of each setting items, also refer to Fixed pattern weaving command (FN440). For details of each setting items, also refer to Axis weaving command (FN441).
Weaving (variable) conditions Weaving (variable) conditions
Item set Setting range Remarks Item set Setting range Remarks
Direct value Specify the weaving condition Direct value Specify the weaving condition
specification: 1 to 999 file. Set the condition file no. in specification: 1 to 999 file. Set the condition file no. in
Condition file ID case of direct value and Condition file ID case of direct value and
Variables specification: variable number in case of Variables specification: variable number in case of
Global/ Local variable variable. Global/ Local variable variable.
See See
WFP; Fixed Pattern weaving start (FN440) WAX; Axis weaving start (FN441)
WE; Weaving End command (FN443) WE; Weaving End command (FN443)
Function commands (FN codes) Function commands (FN codes)
Command name PRINTF Command name FORKMCR
FN code 669 FN code 670
Title name Print string with format Title name Fork User Task Program
Draw the string data on the screen with form. Or This command is used to start the specified user
General description General description
Output string data with form via RS232C. task program.
ڦGeneral description ڦGeneral description
The function draws some string data and output some string data via RS232C. When this function command is executed, the specified user task program is started. Started user task program finish after
You should select “Device”. Device number must start character”#”. The form is based on the “Printf” function of C the program is executed once from start to end.
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
In step 4, record FORKMCR: User Task Program Start (FN670) and "1" as the program number. When this is played back,
ڦExample of operation the program1 start the user task program 1 upon arriving at step 4. (program1 and user task 1 operate concurrently.)
When the robot reaches the step where FN669 is recorded, the function will act with no motion pause. When the start of User Task 1 fails, the program1 jumps shelter step.
ڦParameters
Set port number of string code
#0㸸 User display(It is only available by
ڦExample of screen display
ڦExample of screen display
PRINT[#4, ƎV1%% = %dƎ, V1%] FN669;Print string with format
FORKMCR [1,6] FN670; Fork User Task Program
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) Function commands (FN codes)
Command name CALLMCR Command name FORKMCRTM
FN code 671 FN code 672
Title name Call User Task Program Title name Fork User Task Program (time)
This command is used to call the specified user This command is used to start the specified user
General description
task program. General description task program. Furthermore, the command enables
advance execution to be specified.
ڦGeneral description
When this function command is executed, the specified user task program is called. When program call user task program, ڦGeneral description
program stop one’s playback and start specified user task program. When this function command is executed, the specified user task program is started. Furthermore, the command enables
When the playback of the user task program at the call destination is completed (in the status established by executing the advance execution earlier than at the position reached by the robot in the accuracy range of the move command.
END command), the program returns to the step following the step with the call command of the call source program.
ڦExample of operation
ڦExample of operation In step 4, record FORKMCRTM : User Task Program Start with early execution (FN672) and "1" as the program number.
In step 4, record CALLMCR: User Task Program Call (FN671) 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 this is played back, the program1 call the user task program 1 upon arriving at step 4. When the start of User Task 1 When the start of User Task 1 fails, the program1 jumps shelter step.
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.
3URJUDP 6WHS
)25.0&567)1
3URJUDP1R
Program 1 Step 4
CALLP; User Task Program Call (FN671) ە ە ە ە ە
Program number = 1
$GYDQFHWLPH (1')1
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
8VHU7DVN
7: End (FN92)
See
FORKMCR: Fork user task program (FN670)
CALLMCR: Call user task program (FN671) Function commands (FN codes)
FORKMCRDST: Fork user task program (Distance) (FN673)
Command name FORKMCRDST
FN code 673
Title name Fork User Task Program (distance)
This command is used to start the specified user
General description
task program with advancing distance.
ڦ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.
Robot path Step3
Accuracy FORKMCRDST(FN673)
Step2
Advancing
distance
Program 1 Step4
Step1
User Task 1
Time
ڦParameter
Parameter This specifies the number of the program
Program No.
No. 1 serving as the call destination. (1-999)
This specifies the output advancing timing
Advance
Parameter that is designated by the linear length from
execution
No. 2 the recorded point.
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.
(1 to 10000)
Parameter
Shelter step When 10000 is specified as the shelter
No. 3
step number, an alarm results immediately
with no escape operation performed, and
the robot can be stopped.
ڦExample of screen display
FORKMCRDST [1,-100,6] FN670; Fork User Task Program (Distance)
See
FORKMCR: Fork user task program (FN670)
CALLMCR: Call user task program (FN671)
FORKMCRTM: Fork user task program (Time) (FN672)
Function commands (FN codes) Function commands (FN codes)
Command name ELSEIF
Command name IF FN code 677
FN code 676 Title name Condition
Title name Condition Move the control to the following instruction when the
Move the control to the following instruction when the Outline condition consists.
condition consists. Move the control to ELSE and ENDIF for the failure.
Outline
Move the control to ELSEIF, ELSE, and ENDIF for
the failure. ڦGeneral description
It is conditional.
ڦGeneral description Use it together with IF, ELSEIF, ELSE, and ENDIF.
It is conditional.
Use it together with ELSEIF, ELSE, and ENDIF. IF conditional expression
Instruction 1
IF conditional expression Instruction 2
Instruction 1 㺃㺃
Instruction 2 Instruction I
㺃㺃 ELSEIF conditional expression
Instruction I Instruction J
ELSEIF conditional expression 㺃㺃
Instruction J Instruction K
㺃㺃 ELSE
Instruction K Instruction L
ELSE 㺃㺃
Instruction L Instruction M
㺃㺃 ENDIF
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 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 IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and
consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K. moves the control to ENDIF after executing instruction M.
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 Parameter Conditional The conditional expression that comparing
It is a conditional expression. No. 1 expression operates the integer variable or the real
Parameter Conditional The conditional expression that comparing number variable can be described now.
No. 1 expression operates 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.
ڦMethod of specifying the first parameter The conditional expression that comparing operates the integer variable or the real number variable can be described
The first parameter can be freely described with a soft keyboard.
now.
The conditional expression that comparing operates the integer variable or the real number variable can be described
now. description example:
IF V1% = 1
description example: ; if integer variable 1 is 1
IF V1% = 1 IF V2! > 0
; if integer variable 1 is 1 ; if real number variable 2 is larger than 0
IF V2! > 0 IF V3% >= 1
; if real number variable 2 is larger than 0 ; When integer variable 3 is 1 or more.
IF V3% >= 1
; When integer variable 3 is 1 or more. ڦExample of screen display
ELSEIF V1%=10 FN677;ELSEIF condition
ڦExample of screen display
IF V1%<10 FN676;IF condition
See
IF; IF Condition (FN676)
See ELSEIF; ELSEIF Condition (FN677)
ELSEIF; ELSEIF Condition (FN677) ELSE; ELSE (FN678)
ELSE; ELSE (FN678) ENDIF; Condition end (FN679)
ENDIF; Condition end (FN679)
Function commands (FN codes) Function commands (FN codes)
Command name ELSE
FN code 678 Command name ENDIF
Title name Condition FN code 679
Outline Move the control to the following instruction. Title name Condition end
Outline End IF-ENDIF.
ڦGeneral description
It is conditional. ڦGeneral description
Use it together with IF, ELSEIF, ELSE, and ENDIF. It is a terminator of IF – ENDIF structure.
Use it together with IF, ELSEIF, ELSE, and ENDIF.
IF conditional expression
Instruction 1 IF conditional expression
Instruction 2 Instruction 1
㺃㺃 Instruction 2
Instruction I 㺃㺃
ELSEIF conditional expression Instruction I
Instruction J ELSEIF conditional expression
㺃㺃 Instruction J
Instruction K 㺃㺃
ELSE Instruction K
Instruction L ELSE
㺃㺃 Instruction L
Instruction M 㺃㺃
ENDIF 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 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 IF instruction is a failure, it moves the control to ELSEIF. If the condition of the ELSEIF instruction
If the condition of the ELSEIF instruction is a failure, it moves the control to ELSE and moves to control to instruction L and consists, it moves the control to instruction J and moves the control to ENDIF after executing instruction K.
moves the control to ENDIF after executing instruction M. 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. ڦParameter
None.
ڦExample of screen display
ELSE ڦExample of screen display
FN678;ELSE
ENDIF FN679;condition end
See
IF; IF Condition (FN676) See
ELSEIF; ELSEIF Condition (FN677) IF; Condition (FN676)
ELSE; ELSE (FN678) ELSEIF; Condition (FN677)
ENDIF; Condition end (FN679) ELSE; Condition (FN678)
Application command (FN code) JMPPNV; Program jump (freq…)(Variable) (FN682)
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%
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
7: End (FN92)
Program 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 1㹼200
Jump program No.
destination will be selected as a global
(G Variable) 301㹼500
integral variable.
The task program No. in the jump 1㹼200
Jump program No.
destination will be selected as a local
(L Variable) 301㹼500
integral variable.
-0339>9@)13URJUDPMXPS9DULDEOH
-0339>/@)13URJUDPMXPS9DULDEOH
See
JMPPIV; Program jump (I-cond…)(Variable) (FN681)
Application command (FN code)
-033,9>,@)13URJUDPMXPS,FRQG…9DULDEOH
Command
JMPPIV
name
FN code 681
Title names Program jump (I-cond…)(Variable) -033,9>9,@)13URJUDPMXPS,FRQG…9DULDEOH
General This command enables to jump to the specified task
description program top.
-033,9>/,@)13URJUDPMXPS,FRQG…9DULDEOH
ڦ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 See
JMPPV; Program jump(Variable) (FN680)
signal has not been entered.
JMPPNV; Program jump(freq…)(Variable) (FN682)
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
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
When input I1 7: End (FN92)
signal is entered When input I1
signal is not entered
Program 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 1㹼200
Jump program No.
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㹼5612
Multiple input signals can be specified
if 5101 and over are 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
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
The 3rd time 7: End (FN92)
The 1st time,
2nd time
Program 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 1㹼200
Jump Program No.
destination will be selected as a global
(G Variable) 301㹼500
integral variable.
The task program No. in the jump 1㹼200
Jump Program No.
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).
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.
2: Display the “YES” and “NO” button.
Parameter
Display form 3: Display the “YES”, “NO” and “Cancel”
No. 1
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
Button 1
No. 6 parameter No.1, the string of the button is
Parameter specified.
Button 2
No. 7 These parameters are not used, and
Parameter please specify the empty string when
Button 3 specifying it by the parameter No.1
No. 8
Parameter excluding the user definition.
Button 4 (normal-width 8 characters)
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) Function commands (FN code)
Command name SWITCH Command
CASE
FN code 686 name
Title name SWITCH FN code 687
Outline Two or more conditions are judged. Title name CASE
General
This is used to perform judgment for multiple conditions
ڦGeneral description description
Two or more conditions are judged.
Use it together with CASE, BREAK, and ENDS. ڦGeneral description
This is used to perform judgment for multiple conditions.
SWITCH V1% It is used as a set with SWITCH, BREAK and ENDS.
CASE 1
Instruction 1 SWITCH V1%
㺃㺃 CASE 1
Instruction I Command 1
BREAK ࣭࣭
CASE 2 Command I
CASE 3 BREAK
Instruction J CASE 2
㺃㺃 CASE 3
Instruction K Command J
BREAK ࣭࣭
CASE Command K
Instruction L BREAK
㺃㺃 CASE
Instruction M Command L
BREAK ࣭࣭
ENDS Command M
BREAK
When the value of integer variable V1% is one, it executes from instruction I to instruction K and moves the control to ENDS
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 In this example, if the value for integer variable V1% is 1, command 1 to command I is executed, and then control
ENDS. transitions 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 If the value for integer variable V1% is 2 or 3, command J to command K is executed, and then control transitions to
moves the control to ENDS. ENDS.
If the integer variable V1% is a value other than 1 2 or 3, command L to command M is executed, and then control
ڦParameter transitions to ENDS.
Parameter
Expression It is an expression of the integer type.
No. 1
ڦParameter
ڦMethod of specifying the first parameter 1st Integer
This is an integer variable.
The first parameter can be freely described with a soft keyboard. parameter variable
ڦExample of screen display ەFirst Parameter Designation Method㻌
SWITCH V1% FN686;SWITCH The first parameter can be described freely by use of the soft keyboard.㻌
This describes the integer variable value
㻌
See
CASE; CASE (FN687)
BREAK; BREAK(FN688) ڦExample of screen display
ENDS; SWITCH end (FN689)
&$6()1&$6(
See
SWITCH; SWITCH (FN686)
BREAK; BREAK (FN688)
ENDS; CASE end (FN689)
Function commands (FN codes) Function commands (FN codes)
Command name BREAK Command name ENDS
FN code 688 FN code 689
Title name BREAK Title name SWITCH end
End the execution of an innermost instruction that Outline It is a terminator of the SWITCH-ENDS structure.
encloses this with the loop or the condition structure.
Outline
The control shifts to the instruction immediately after ڦGeneral description
the ended instruction.
It is a terminator of the SWITCH-ENDS structure.
Use it together with SWITCH, CASE, and BREAK.
ڦGeneral description
It is possible to use it in the WHILE-ENDW structure, the FOR-NEXT structure, and the SWITCH-ENDS structure. SWITCH V1%
CASE 1
The control moves to the following instruction of the first ENDW instruction in the direction of the program end. Instruction 1
㺃㺃
The control moves to the following instruction of the first NEXT instruction. Instruction I
BREAK
The control moves to the following instruction of the first ENDS instruction. CASE 2
CASE 3
Example: Instruction J
WHILE 1 㺃㺃
Instruction 1 Instruction K
Instruction 2 BREAK
V1%=V1%+1 CASE
IF V1% > 10 Instruction L
BREAK 㺃㺃
ENDIF Instruction M
ENDW BREAK
Instruction 3 ENDS
It exits the WHILE-ENDW loop, and moves the control to instruction 3, when the value of V1% becomes larger than ten. When the value of integer variable V1% is one, it executes from instruction I to instruction K and moves the control to
ENDS.
ڦParameter When the value of integer variable V1% is 2 or 3, it executes from Instruction J to instruction K and moves the control to
None 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.
ڦExample of screen display
BREAK FN688;BREAK ڦParameter
None
See
SWITCH; SWITCH(FN686) ڦExample of screen display
CASE; CASE(FN687)
ENDS; SWITCH end(FN689) ENDS FN689;SWITCH end
WHILE; WHILE loop (FN663)
ENDW; WHILE loop end(FN664)
FOR; FOR(FN604) See
NEXT; NEXT(FN605) SWITCH; SWITCH(FN686)
CASE; CASE(FN687)
BREAK; BREAK(FN688)
Application command (FN code) Application command (FN code)
Command Command
CALLPV CALLPIV
name name
FN code 690 FN code 691
Title names Program call(Variable) Title names Program call(I-cond…)(Variable)
General This command enables to call the specified task General
Call the specified task program.
description program. description
ە ە
㸱 㸰 5: End (FN92) ە㸲 ە
㸯
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 not decelerated by this command. If positioning is
not specified, the input signal will be inspected before reaching
ڦParameter to the accuracy range of the movement command, and the input
signal will make an inner rotation, if the positioning has been
Parameter name Details Range entered. If positioning is not specified, the command value will
The task program No. in the call proceed to the recording point, and the input signal will be
Call program No. destination will be selected as a direct 0㹼9999 inspected where the robot reached the accuracy range.
number.
The task program No. in the call 1㹼200
Call program No. ڦParameter
destination will be selected as a global
(G Variable) 301㹼500 Parameter name Details Range
integral variable.
The task program No. in the call The task program No. in the call
Call program No. 1㹼200
destination will be selected as a local Call program No. destination will be selected as a direct 0㹼9999
(L Variable) 301㹼500 number.
integral variable.
The task program No. in the call 1㹼200
Call program No.
ڦExample of screen display destination will be selected as a global
(G Variable) 301㹼500
integral variable.
The task program No. in the call 1㹼200
&$//39>@)13URJUDPFDOO9DULDEOH
Call program No.
destination will be selected as a local
(L Variable) 301㹼500
integral variable.
This parameter records the input signal
&$//39>9@)13URJUDPFDOO9DULDEOH No. as the call execution condition.
Input Signal 1㹼5612
Multiple input signals can be specified
if 5101 and over are selected.
&$//39>/@)13URJUDPFDOO9DULDEOH
ڦExample of screen display
See &$//3,9>,@)13URJUDPFDOO,FRQG…9DULDEOH
CALLPIV; Program call(I-cond…)(Variable) (FN691)
CALLPNV; Program call(freq…)(Variable) (FN692)
Application command (FN code)
&$//3,9>9,@)13URJUDPFDOO,FRQG…9DULDEOH
Command
CALLFARV
name
FN code 693
&$//3,9>/,@)13URJUDPFDOO,FRQG…9DULDEOH Title names CallFar Program(variable)
General
Call the task program in other unit.
description
See
CALLPV; Program call (Variable)(FN690)
CALLPNV; Program call(freq…)(Variable) (FN692) ڦ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%
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
7: End (FN92)
Program 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 1㹼200
Program No.
destination will be selected as a local
(L Variable) 301㹼500
integral variable.
In a case where the mechanism, to be Application command (FN code)
used in the task program of call
destination, is activated in another unit, Command
CALLFARIV
specify the time length waiting for name
opening of the mechanism by the FN code 694
second unit. Title names CallFarI Program(Variable)
Waiting time ((-1), 0-99) -1㹼99 General Call the task program in other unit, if there is a signal
description input.
If the mechanism is opened within the
specified length of time, the specified
task program will be called. ڦGeneral description
It will become abnormal if the Call the task program in other unit, if there is a signal input.
mechanism will not be opened in the Note that, if the application command is recorded in the head step of the destination task program, the application
specified time. 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.
ڦExample of screen display 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
&$//)$59>@)1&DOO)DU3URJUDPYDULDEOH 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.
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
When input I1 7: End (FN92)
signal is entered When input I1 signal
is not entered
Program 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 1㹼200
Program No.
destination will be selected as a global
(G Variable) 301㹼500
integral variable.
The task program No. in the call 1㹼200
Program No.
destination will be selected as a local
(L Variable) 301㹼500
integral variable.
In a case where the mechanism, to be Application command (FN code)
used in the task program of call
destination, is activated in another unit, Command
CALLFARNV
specify the time length waiting for name
opening of the mechanism by the FN code 695
second unit. Title names CallFarN Program(Variable)
Wait time ((-1), 0-99) -1㹼99 General Call the task program in other unit by the passing
description frequency.
If the mechanism is opened within the
specified length of time, the specified
task program will be called. ڦGeneral description
It will become abnormal if the After passing for the specified number of times, execute a call on the task program in another unit next to the specified
mechanism will not be opened in the number of times (specified number +1). (For example, pass-by for two times if the specified number is "2," and make a call
specified time. on the 3rd time.)
Note that, if the application command is recorded in the head step of the destination task program, the application
This parameter stores the input signal command in the destination is to be executed in the step where the call command was executed.
No. as the call execution condition. If a call is made, the task program in the original location will be stopped once and resumed, after the task program
Port number 1㹼5196
Multiple input signals can be specified if execution in the call destination has been completed.
5101 and over are selected. 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).
ڦExample of screen display
As the specification method of the task program number, direct value, global integral / variable, and local integral / variable
can be selected.
&$//)$5,9>,@)1 &DOO)DU,3URJUDP9DULDEOH
Š 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.
&$//)$5,9>9,@)1 &DOO)DU,3URJUDP9DULDEOH
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
&$//)$5,9>/,@)1 &DOO)DU,3URJUDP9DULDEOH the next step 5 of the task program 1, the original call task program.
Step 4
See Program 1 CALLFARNV; CallFarN Program(Variable) (FN695)
CALLFARV; CallFar Program(Variable) (FN693) Program No.㸻V1%
Variable No.㸻100
CALLFARNV; CallFarN Program(Variable) (FN695) Number of times㸻2
㸯 㸰 㸱 㸳 㸴
ە ە ە ە ە
The 3rd time 7: End (FN92)
The 1st time,
2nd time
Program 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 Function commands (FN codes)
used in the task program of call
destination, is activated in another unit, Command name GACTIVE
specify the time length waiting for FN code 696
opening of the mechanism by the Title name Avtive user window
second unit. Outline Switch the active of the user window.
Waiting time ((-1), 0-99) -1㹼99
If the mechanism is opened within the This command is available only in user task, and is permitted being written by robot language only. Please refer to the
specified length of time, the specified “User task” operating manual for the detail of user task and user screen.
task program will be called.
It will become abnormal if the ڦParameter
mechanism will not be opened in the
specified time. Parameter 0: Hide me the user window.
ON/OFF(1/0)
1㹼200 No. 1 1: Show me the user window.
Specify the integration variable for
Variable number
counting. 301㹼500
The frequency number, as a condition See
for execution of jump, will be recorded. PRINT ; Print String (FN606)
After passing for the specified number WINDOW ; Open/Close user display (FN607)
Frequency of times, execute a jump next to the 0㹼10000 TITLE ; Set the title on user display (FN608)
CLS ; Set the title on user display (FN609)
specified number of times (specified
LOCATE ; Locate the diplay pos (FN610)
number + 1). GLINE ; Draw the line (FN611)
(0-10000) GBOX ; Draw the box (FN612)
BARC ; Draw the arc (FN613)
ڦExample of screen display GPAINT ; Paint (FN614)
GSETP ; Draw the arc (FN615)
COLOR ; Ste the color (FN616)
&$ //)$ 519> 9 @ )1 &DO O)D U13 URJ UDP 9DU LDEO H
BGCOLOR ; Set the bkgr color (FN617)
GARC ; Display ellipse (FN623)
GFONT ; Set the font (FN683)
GSOFTKEY ; Create soft key (FN684)
&$ //)$ 519> 9 9 @) 1 &D OO) DU1 3UR JUDP 9D ULDE OH
GMSGBOX ; Create message box (FN685)
&$ //)$ 519> / 9 @) 1 &D OO) DU1 3UR JUDP 9D ULDE OH
See
CALLFARV; CallFar Program(Variable) (FN693)
CALLFARIV; CallFarI Program(Variable) (FN694)
Application command (FN code) Function commands (FN codes)
Command Command name INCLUDEIO
INCLUDE
name FN code 698
FN code 697 Title name Translate table included (I/O)
Title name Conversion table reading General description The conversion rule is read from “I/O NAME”.
General
Reads conversion rules from inc file.
description
ڦGeneral description
ڦGeneral description This command makes the conversion rule from “I/O NAME”, and adds it to the table. The conversion processing is done
Reads the specified inc file and adds the conversion rules to the table. 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.
Start input,I10
END,O100 When play backing, nothing is processed.
COUNT,V100%
CNT_MAX,255
Example of inc file ڦExample of screen display
INCLUDEIO FN698; Translate table included(I/O)
Steps after INCLUDE are converted according to the conversion rules table.
If INCLDUE is used multiple times, conversion rules described in 2 files, SAMPLE1.INC and SAMPLE2.INC, are used
after 3rd step, as shown below.
See
INCLUDE “SAMPLE1.INC” INCLUDE : Translate table included (file) (FN697)
INCDLUE “SAMPLE2.INC”
V1% = 10
࣭
࣭
࣭
ڦParameter
1st Include file Specify name of inc file that is to be read.
parameter name If the file does not have extension ".inc",
".inc" is added to the file name and then
processing is performed.
See
INCLDUEIO ; Conversion table reading (I/O name) (FN698)
Function commands (FN codes) Application command (FN code)
Command name CLRREGWR Command
MESPOS
FN code 699 name
Title name Clear register of written sts FN code 700
Outline Clear the written flag of shift register Title names Taking of a Measuring/Reference point
General
This is to specify the measurement point.
description
ڦ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 ڦGeneral description
executed. By executing this command, deviation will be calculated and the results will be stored in the "Register for MESPOS
command".
ڦExample of operation
The Shift register values when CLRREGWR[R1] has been executed. ڦParameter
Before LETR is After LETR is Parameter name Details Range
executed executed This specifies the mechanism number
Request flag 0 0 Mechanism No. that becomes the check target. This is 1~32
Setting flag 1 0 "1" in general.
X 110 110 This specifies the tool number that
Y 120 120 Tool No. becomes the check target. This is "1" in 1~32
Z 130 130 general.
TX 5 5 Calibration This sets the Calibration Sensor number.
1~2
TY 6 6 Sensor No. This is "1" in general.
TZ 7 7 This is used to set the speed when
sensing the laser light. It is general to 6~360
Written flag of shift register set 0 when this command is executed. Search Speed
specify within the range of 30 㹼 120 cm/min
Other shift register values are not changed after this command is executed. [cm/min.].
Please see “SREQ: Shift amount request” (FN51) about how to use. This sets the maximum searching
distance so as to detect the search idle
run at execution. After start of the search,
ڦParameter Search range
when laser light cannot be detected if the 0~999 mm
Max
This is used to specify the number of the set distance is activated after passing
shift register in which to clear the written through the reference point, a failure
Parameter Shift register
flag of the shift register. Setting 0 means shall be detected.
No. 1 number
clear written flag of all shift registers. This sets the minimum searching
(0 to 9) 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
ڦExample of screen display before set distance is activated, a failure
65(4>5@)16KLIWDPRXQWUHTXHVW shall be detected.
This sets the measurement point
number.
See It must be "1" if it is the 1st point, and it
SREQ: Shift amount request (FN51) must be "2" if it is the 2nd point. It must
SHIFTR: Shift2 (FN52) Measurement 1A~21A,
be "A" if it is for the progress movement,
RSCLR: Buffer clear (FN111) point No. 1B~21B
and it must be "B" if it is for the retreat
WAITR: Wait shift value receive (FN127)
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) Application command (FN code)
Command Command
MESQCP CALIBROB
name name
FN code 701 FN code 702
Title names Taking of a Quick check point Title names Calibration Execution
General General This is to execute deviation revision against the task
Obtain and store the quick check pints.
description description program as a calibration target.
See
MESPOS; Taking of a measuring/Reference point (FN700)
CALIBROB; Calibration Execution (FN702)
Function commands (FN codes) Function commands (FN code)
Command name CPRIMCR Command
SIGREQ
FN code 703 name
Title name Change usertask priority FN code 723
General description The function changes the usertask priority. 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
ڦGeneral description description
stored in the designated shift register.
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. ڦ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
ڦExample of operation
register.
When the robot reaches the step where FN703 is recorded, the function will act with no motion pause.
Shift amount
ڦParameters
request signals
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 Application command (FN code)
1st Shift shift register where the shift amount data
parameter Register No. input is awaited. Command
AIMBASEPL
name
This specifies the wait time FN code 725
(0.0 to 60.0 seconds).
2nd Title name Aimed angle standard plane selection
Timer When 0.0 sec. is specified, the wait is
parameter General This switches between the standard planes of aimed
extended until the shift amount data is
description angle.
input.
This specifies the save step (0 to 10000)
when the data was not input during the ڦGeneral description
specified period. Standard plane of the aimed angle can be selected from the XY, YZ, ZX planes of the standard coordinate system.
3rd When 10000 is specified as the save
Shelter No.
parameter step, the save operation is not performed,
an alarm (A2118: Shift register contains ڦParameter
no data.) results immediately so that the Conditions Setting range
robot is stopped.
Mechanism No. 1 to 9
Standard coordinate 0 : Count / 1 : Machine / 2 : User / 3 : Absolute /
ڦExample of screen display system 4 : Work
Standard plane 0 : XY / 1 : YZ / 2 : ZX
6,*5(4>5@)16KLIWYDOXHJHWVLJQDO
ڦExample of screen display
See
SHIFTR; Shift (FN52) $,0%$6(3/㹙08VHU1R;<㹛
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) Function commands (FN codes)
Command Command name ZJLETP
AIMREFPL
name FN code 727
FN code 726 Title name Groove Point Detecting (Let pose)
Title name Aimed angle standard plane selection Detects the groove position of target workpiece by
General This switches between the standard planes of aimed Laser sensor (LaserSearch-SF) to save the result in
description angle. Outline
the pose variable.
ͤ Used when connecting the LaserSearch-SF.
ڦGeneral description
The standard plane of the aimed angle can be defined if the reference position is taught to any place. ڦGeneral description
Using this function command, it is available to sense the welding point (groove position of AS point or AE point) and
save the results (absolute position of the groove) in the pose variable. At the same time, it is possible to specify a desired
ڦParameter torch posture (Aiming angle, Push/Drag angle) for the postural components of pose variable by parameter.
Conditions Setting range Specifying the saved pose variable into the pose parameter of MOVEX record<FN645>command, it reduces the
Mechanism No. 1 to 9 teaching time for robot welding performance as it is possible to position to the welding point measured by sensor with
Work coordinate system is selected in case of keeping the desired torch posture.
Standard coordinate Synchronized units and in any other cases,
system machine coordinate system is selected Also, it is available to automatically register the coordinates (called groove coordinates hereinafter) of which direction
nd
automatically. as a welding travelling direction formed by two groove positions detected by sensing the weld seam line (sensing the 2
Standard plane Reference position data groove position along) as the user coordinates.
Designating the registered coordinates and the shift amount (adjustment value of aiming position) with the shift function
by numeric input of SF3<FN473> command, it is possible to adjust the aiming position by the weld seam line shift (parallel
shift along the actual weld seam line).
ڦExample of screen display
$,05()37㹙07DXJKW㹛 In addition, it is available to sense the groove information (Gap amount, Area, Mismatch, Normal angle) to save the
result in GAP file.
Regarding the contents of [ ], display the Mechanism number and reference position status from the left side. Using the data saved in the GAP file, a welding program can be switched by the groove information.
See With this command, the following two types of search methods are available depending on the use conditions.
AIMBASEPL; Aimed angle standard plane selection (FN725) Search
Features
method
After moving to the search start point (record position of
the last MOVE command) of this command, it senses the
groove position and groove information to save the result in
a pose variable and GAP file.
1-point
As the cycle time can be reduced due to no 2nd sensing
search
(sensing of the weld seam line) is performed, the groove
coordinates registered in the user coordinates are simple
detection; therefore it does not accord with the actual
direction of weld seam line.
nd
Moving parallel to the 2 sensing point after finishing
1-point search, the groove position detection is performed
for the groove coordinates operation.
2-point
The command executing time becomes longer comparing
search
with 1-point search, however the groove coordinates
registered in the user coordinates accord with the actual
direction of weld seam line.
Teaching of the search start point could be rough, however, be
sure that the groove of sensing target is within the field of view of
sensor in positioning.
ڦExample of operation
1-point search 2-point search
search SF.
㻝㼟㼠㻌㼟㼑㼚㼟㼕㼚㼓㻌 The groove coordinates differ from the weld seam line
㻝㼟㼠㻌㼟㼑㼚㼟㼕㼚㼓㻌
coordinates. Especially, the user coordinates registered by 1-point
㼚㼐 search greatly differ from the weld seam line coordinates.
X 㻞 㻌㼟㼑㼚㼟㼕㼚㼓㻌 X
A A
About the setting of torch posture (Aiming angle, Push/Drag angle)
Y Y B The torch posture for setting to a postural component of the pose variable with this command is as follows.
Torch posture Outline of angle
A’ A’
Setting the right plate (Y-axis) of Z-axis traveling direction
Aiming angle in the groove coordinates as a reference (0 deg.), specify
Groove coordinates Z Groove coordinates Z by the left-hand screw oriented angle around Z-axis.
Z (Camera coordinates Z B’ (Weld seam line Based on the posture vertical to thetraveling direction
X direction) A’B’ direction) Push/Drag
Z-axis in the groove coordinates, specify by the right-hand
angle
screw oriented angle around Y-axis.
About searching motion
Search Aiming angle Push/Drag angle
Outline of searching motion
method
st
The 1 sensing is performed at the search start point A X X
(record position of the last MOVE command) to save the +: Push angle
detected groove position A’ and groove information in a -: Drag angle
1-point Aiming angle
pose variable and GAP file.
search
Also, it registers the simply detected groove coordinates
(traveling direction is the X direction in the camera Y Y
coordinates) as user coordinates.
Where 2-point search is selected, moving to the point B User coordinates User coordinates
(Groove coordinates) (Groove coordinates)
specified by the parameter (moving distance in the X Z
Z
direction on the camera coordinates) after finishing 1-point
2-point nd
search, and then the 2 sensing is performed.
search
The groove coordinates detected at this point (traveling With 1-point search, setting for the push/drag angle is not
direction is the A’B’ direction of weld seam line) is registered available.
as the user coordinates.
ڦParameter
About the camera coordinates
The camera coordinates are the coordinates to indicate the viewing range of sensor as below. Parameter name Description
Selects the teaching target sensor where two or more
Sensor
sensors are connected. (1 to 12)
Displays the mechanism No. where the sensor is in
Mechanism No.
connection.
Specifies the task file No. set to the sensor using the
Task No.
sensor attached software WELDCOM. (1 to 999)
ڦ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 arc start position is a move command just before 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.
DIM Integer
Record any function
Single (Real)
String
Position XYZRPY
Angle Deg or mm Record process
Encoder Hex.
Function stop No
Ŷ Parameters required?
Set Data type, Array and Variable
name.
Yes
Data type㸧
Integer, Single(Real), String, Record any function (stop)
Position, Angle, Encoder
Array㸧
1st
Variables None, One dimension, two
Parameter
dimension, three dimension(For
only Integer, Single and String) Function
completed?
No
Variable name㸧
Initial letter must be English letter.
Maximum letters are 20 which can
Yes
be used some English letters,
numbers and underline. No
Return value
Ŷ Example of screen display
DIM intData[2,2,2] As INTEGER FN801;DIM Yes
DIM sngData[2,2] As SINGLE FN801;DIM Record any function (return
DIM strData[2] As STRING FN801;DIM value)
DIM posData As POSITION FN801;DIM
DIM angData As ANGLE FN801;DIM
DIM encData As ENCODER FN801;DIM
ڦExample of operation
‘ AREA1 Interlock
CallProc V1% = InToOut(V11%, V21%) ‘Call User Proc
‘AREA2 Interlock
CallProc V2% = InToOut(V12%, V22%) ‘Call User Proc
END
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) Function commands (FN codes)
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) Function commands (FN codes)
Command name POS2ANG Command name ENC2ANG
FN code 816 FN code 817
Title name Set angle Variable (position) Title name Set angle Variable (encoder)
Set a position variable(As position) to Angle Set an encoder variable(As encoder) to Angle
General description General description
variable(As Angle) variable(As Angle)
ڦGeneral description ڦGeneral description
Set a position variable(As position) to Angle variable(As Angle). Set an encoder variable(As encoder) to Angle variable(As Angle).
ڦParameters ڦParameters
1st Mechanism number (0-9) 1st Mechanism number (0-9)
Mechanism number Mechanism number
parameter 0 means all mechanism of the unit parameter 0 means all mechanism of the unit
2nd 2nd
Position variable Set position variable Encoder variable Set encoder variable
parameter parameter
rd
Set the number of coordinates as 3
Angle variable Set Angle variable
below. parameter
0:Base
3th
Coordinate 1:Tool
parameter ڦExample of screen display
2:User
3:World (1&$1*>HQF'DWDDQJ'DWD@)16HWDQJOHYDULDEOHHQFRGHU
4:Work
When you select tool or user
th coordinate, you should select the See
4
Coordinate number coordinate number. It will be fixed “1”if DIM; Any variable (FN801)
parameter
you use other coordinates. ANG2POSE; Set pose variable(angle) (FN810)
ANG2POS; Set position variable(angle) (FN813)
5rd
POSE2ANG; Set angle variable(pose) (FN815)
Angle variable Set Angle variable
parameter POS2ANG; Set angle variable(position) (FN816)
ANG2ENC; Set encoder variable(angle) (FN820)
GETANG; Set angle variable(pos.data) (FN823)
ڦExample of screen display OPEANG; Extraction angle variable (FN827)
326$1*>SRV'DWDDQJ'DWD@)16HWDQJOHYDULDEOHSRVLWLRQ
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) Function commands (FN codes)
Command name POSE2ENC Command name POS2ENC
FN code 818 FN code 819
Title name Set encoder Variable (pose) Title name Set encoder Variable (position)
Set Pose variable Pn to encoder variable(As Set a position variable(As position) to encoder
General description General description
encoder) variable(As encoder)
ڦGeneral description ڦGeneral description
Set Pose variable Pn to encoder variable(As encoder). Set a position variable(As position) to encoder variable(As encoder).
ڦParameters ڦParameters
1st Mechanism number (0-9) 1st Mechanism number (0-9)
Mechanism number Mechanism number
parameter 0 means all mechanism of the unit parameter 0 means all mechanism of the unit
2nd Pose variable 2nd
Set Pose variable number (1-9999) Position variable Set position variable
parameter number parameter
rd
3 Set the number of coordinates as
encoder variable Set encoder variable
parameter below.
0:Base
3th
Coordinate 1:Tool
ڦExample of screen display parameter
2:User
POSE2ENC[0, Pn, encData] FN818;Set encoder Variable (pose) 3:World
4:Work
When you select tool or user
See th coordinate, you should select the
4
DIM; Any variable (FN801) Coordinate number coordinate number. It will be fixed “1”if
parameter
ENC2POSE; Set pose variable(encoder) (FN811) you use other coordinates.
ENC2POS; Set position variable(encoder) (FN814)
5rd
ENC2ANG; Set angle variable(encoder) (FN817)
Encoder variable Set encoder variable
POS2ENC; Set encoder variable(position) (FN819) parameter
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
OPEENC; Extraction encoder variable (FN828) ڦExample of screen display
326(1&>SRV'DWDHQF'DWD@)16HWHQFRGHUYDULDEOHSRVLWLRQ
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) Function commands (FN codes)
Command name ANG2ENC Command
CVTCOORDPOS
FN code 820 name
Title name Set encoder Variable (angle) FN code 821
Set an angle variable(As angle) to encoder Title name Coord. trans㸦position㸧
General description
variable(As encoder) General Translate a position variable(As Position㸧to a
description designated coordinate.
ڦGeneral description
Set an angle variable(As angle) to encoder variable(As encoder). ڦGeneral description
Translate a position variable(As Position㸧to a designated coordinate.
ڦParameters
1st Mechanism number (0-9) ڦParameter
Mechanism number
parameter 0 means all mechanism of the unit 1st Mechanism number(0-9)
Mechanism number
2nd parameter 0 means all mechanism of the unit.
Angle variable Designate the font to be acquired.
parameter 2nd
rd Position variable1 Set an acquired position variable.
3 Designate the encoder variable, parameter
encoder variable
parameter which is to substitute. Set a coordinate of an acquired
position variable.
0:Base
ڦExample of screen display 3rd
Coordinate1 1:Tool
parameter
ANG2ENC[0, angData, encData] FN820;Set encoder Variable (angle) 2:User
3:World
4:Work
See If you select tool or user coordinate as
DIM; Any variable (FN801) acquired coordinate, you should
4th
ENC2POSE; Set pose variable(encoder) (FN811) Coordinate number1 select the coordinate number. It will
parameter
ENC2POS; Set position variable(encoder) (FN814) be fixed “1”if you use other
ENC2ANG; Set angle variable(encoder) (FN817) coordinates.
th
POSE2ENC; Set encoder variable(pose) (FN818) 5
Position variable2 Set a substituted position variable.
POS2ENC; Set encoder variable(position) (FN819) parameter
GETENC; Set encoder variable(pos.data) (FN824) Set a coordinate of a substituted
OPEENC; Extraction encoder variable (FN828) position variable.
0:Base
6th
Coordinate2 1:Tool
parameter
2:User
3:World
4:Work
If you select tool or user coordinate as
substituted coordinate, you should
7th
Coordinate number1 select the coordinate number. It will
parameter
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) Set the number of coordinates as below.
0:Base
Command name GETPOS 4th 1:Tool
Coordinate
FN code 822 parameter 2:User
Title name Set position variable (pos.data) 3:World
General description Substitute robot position to positional variables 4:Work
When you select tool or user coordinate,
you should select the coordinate number.
ڦGeneral description 5th Coordinate
It will be fixed “1”if you use other
The code substitutes the designated mechanism position to positional variables. You can select the mechanism position parameter number
coordinates.
from below types.
Types
ڦExample of screen display
Command Get the command position when it does.
position
Current Get the current position when it does. GETPOS[0,0,posData,0,1] FN822;Set position variable(pos.data)
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
See
use the shift function, the values include the shift values.
DIM; Any variable (FN801)
POS2POSE; Set pose variable(position) (FN809)
The function acts with no motion pause. Then the results are related with the accuracy of the step. POSE2POS; Set position variable(pose) (FN812)
ANG2POS; Set position variable(angle) (FN813)
ENC2POS; Set position variable(encoder) (FN814)
ڦExample of operation POS2ANG; Set angle variable(position) (FN816)
7\SHV㸻&RPPDQGRU&XUUHQWSRVLWLRQ POS2ENC; Set encoder variable(position) (FN819)
CVTCOORDPOS; Coord. trans(position) (FN821)
6WHS 6WHS OPEPOS; Extraction position variable (FN826)
$FFXUDF\
*(7326㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETPOS acts after reaching the step
position.
7\SH㸻7DUJHWSRVLWLRQ
6WHS 6WHS
$FFXUDF\
*(7326㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
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
rd
3 Position
Set position variables.
parameter variables
Function commands (FN codes)
GETANG[0, 0, angData] FN823;Set angle variable(pos.data)
Command name GETANG
FN code 823
Title name Set angle variable (pos.data)
See
General description Substitute robot position to angle variables
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810)
ڦGeneral description ANG2POS; Set position variable(angle) (FN813)
The code substitutes the designated mechanism position to angle variables. You can select the mechanism position from POSE2ANG; Set angle variable(pose) (FN815)
below types. POS2ANG; Set angle variable(position) (FN816)
ENC2ANG; Set angle variable(encoder) (FN817)
Types ANG2ENC; Set encoder variable(angle) (FN820)
Command Get the command position when it does. OPEANG; Extraction angle variable (FN827)
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
7\SHV㸻&RPPDQGRU&XUUHQWSRVLWLRQ
6WHS 6WHS
$FFXUDF\
*(7$1*㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETANG acts after reaching the step
position.
7\SH㸻7DUJHWSRVLWLRQ
6WHS 6WHS
$FFXUDF\
*(7$1*㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
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
rd
3 Angle
Set angle variables.
parameter variables
ڦExample of screen display
Function commands (FN codes)
GETENC[0, 0, encData] FN824;Set encoder variable(pos.data)
Command name GETENC
FN code 824
Title name Set encoder variable (pos.data)
See
General description Substitute robot position to encoder variables
DIM; Any variable (FN801)
ENC2POSE; Set pose variable(encoder) (FN811)
ڦGeneral description ENC2POS; Set position variable(encoder) (FN814)
The code substitutes the designated mechanism position to encoder variables. You can select the mechanism position ENC2ANG; Set angle variable(encoder) (FN817)
from below types. POSE2ENC; Set encoder variable(pose) (FN818)
POS2ENC; Set encoder variable(position) (FN819)
Types ANG2ENC; Set encoder variable(angle) (FN820)
Command Get the command position when it does. OPEENC; Extraction encoder variable (FN828)
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
7\SHV㸻&RPPDQGRU&XUUHQWSRVLWLRQ
6WHS 6WHS
$FFXUDF\
*(7(1&㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
Get the position when robot reach the inside range of accuracy.
If the position is pause recorded, GETENC acts after reaching the step
position.
7\SH㸻7DUJHWSRVLWLRQ
6WHS 6WHS
$FFXUDF\
*(7(1&㸸)1
6WHS 6WHS
*HWWKHSRVLWLRQ
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
rd
3 Encoder
Set encoder variables.
parameter variables
ڦExample of screen display
Function commands (FN codes) Function commands (FN codes)
Command name OPEPOSE Command name OPEPOS
FN code 825 FN code 826
Title name Extraction pose Variable Title name Extraction position Variable
Substitute or Extract a pose variable to a global Substitute or Extract a position variable to a global
General description General description
real variable (V!) or local real variable (L!). real variable (V!) or local real variable (L!).
ڦGeneral description ڦGeneral description
Substitute or Extract a pose variable to a global real variable (V!) or local real variable (L!). Substitute or Extract a position variable to a global real variable (V!) or local real variable (L!).
ڦParameters ڦParameters
1st Mechanism number (0-9) 1st Mechanism number (0-9)
Mechanism number Mechanism number
parameter 0 means all mechanism of the unit parameter 0 means all mechanism of the unit
2nd Pose variable 2nd
Set pose variable number Position variable Set position variable
parameter number parameter
rd Set the global real variable(V!) or rd Set the global real variable(V!) or
3 3
5HDOYDULDEOH Local real variable(L!), any single 5HDOYDULDEOH Local real variable(L!), any single
parameter parameter
variable. variable.
Set operation target. Set operation target.
㸸$OO 㸸$OO
㸸; 㸸;
4th 㸸< 㸸<
7DUJHW 4th
parameter 㸸= 7DUJHW 㸸=
parameter
㸸5 㸸5
㸸3 㸸3
㸸< 㸸<
Select Extract or Let(Substitution) to 㸸&RQILJXUDWLRQ
5th pose variable. Select Extract or Let(Substitution) to
2SHUDWLRQ
parameter 㸸([WUDFW 5th position variable.
2SHUDWLRQ
㸸/HW parameter 㸸([WUDFW
㸸/HW
ڦExample of screen display
23(326(>3QVJQ'DWD@)1([WUDFWLRQSRVHYDULDEOH ڦExample of screen display
23(326>SRV'DWDVJQ'DWD@)1([WUDFWLRQSRVLWLRQYDULDEOH
See
DIM; Any variable (FN801) See
POS2POSE; Set pose variable(position) (FN809) DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810) POS2POSE; Set pose variable(position) (FN809)
ENC2POSE; Set pose variable(encoder) (FN811) POSE2POS; Set position variable(pose) (FN812)
POSE2POS; Set position variable(pose) (FN812) ANG2POS; Set position variable(angle) (FN813)
POSE2ANG; Set angle variable(pose) (FN815) ENC2POS; Set position variable(encoder) (FN814)
POSE2ENC; Set encoder variable(pose) (FN818) 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) Function commands (FN codes)
Command name OPEANG Command name OPEENC
FN code 827 FN code 828
Title name Extraction angle Variable Title name Extraction encoder Variable
Substitute or Extract an angle variable to a global Substitute or Extract an encoder variable to a
General description
real variable (V!) or local real variable (L!). General description global integer variable (V%) or local integer
variable (L%), any integer variable.
ڦGeneral description
Substitute or Extract an angle variable to a global real variable (V!) or local real variable (L!). ڦGeneral description
Substitute or Extract an encoder variable to a global integer variable (V%) or integer real variable (L%), any integer
ڦParameters variable.
1st Mechanism number (0-9)
Mechanism number ڦParameters
parameter 0 means all mechanism of the unit
2nd 1st Mechanism number (0-9)
Angle variable Set angle variable Mechanism number
parameter parameter 0 means all mechanism of the unit
Set the global real variable(V!) or 2nd
3rd Position variable Set position variable
5HDOYDULDEOH Local real variable(L!), any single parameter
parameter
variable. Set the global integer variable(V%) or
3rd
Set operation target. ',17YDULDEOH Local integer variable(L%), any
parameter
㸸$OO integer variable.
㸸- Set operation target.
4th 㸸- 㸸$OO
7DUJHW 㸸-
parameter 㸸-
㸸- 4th 㸸-
7DUJHW
㸸- parameter 㸸-
㸸- 㸸-
Select Extract or Let(Substitution) to 㸸-
5th angle variable. 㸸-
2SHUDWLRQ Select Extract or Let(Substitution) to
parameter 㸸([WUDFW
㸸/HW 5th encoder variable.
2SHUDWLRQ
parameter 㸸([WUDFW
㸸/HW
ڦExample of screen display
23($1*>DQJ'DWDVJQ'DWD@)1([WUDFWLRQDQJOHYDULDEOH
ڦExample of screen display
23((1&>HQF'DWDLQW'DWD@)1([WUDFWLRQHQFRGHUYDULDEOH
See
DIM; Any variable (FN801)
ANG2POSE; Set pose variable(angle) (FN810) See
ANG2POS; Set position variable(angle) (FN813) DIM; Any variable (FN801)
POSE2ANG; Set angle variable(pose) (FN815) ENC2POSE; Set pose variable(encoder) (FN811)
POS2ANG; Set angle variable(position) (FN816) ENC2POS; Set position variable(encoder) (FN814)
ENC2ANG; Set angle variable(encoder) (FN817) ENC2ANG; Set angle variable(encoder) (FN817)
ANG2ENC; Set encoder variable(angle) (FN820) POSE2ENC; Set encoder variable(pose) (FN818)
GETANG; Set angle variable(pos.data) (FN823) POS2ENC; Set encoder variable(position) (FN819)
ANG2ENC; Set encoder variable(angle) (FN820)
GETENC; Set encoder variable(pos.data) (FN824)
Function commands (FN codes) Function commands (FN codes)
Command name GETTOOL Command name SETTOOL
FN code 830 FN code 831
Title name Get Tool Parameters Title name Set Tool Parameters
This command is used to get the tool parameter This command is used to set the tool parameter
General description General description
values. values from real variable register.
ڦGeneral description ڦGeneral description
Using this command makes it possible to assign the tool length and tool angle of the specified tool number of the specified Using this command makes it possible to assign the tool length and tool angle of the specified tool number of the specified
mechanism to the six global real variables consecutive from the specified number. mechanism from the six global real variables consecutive from the specified number.
The real variable register consecutive, it will be assigned tool length X of you want to get tool number, tool length Y, tool The real variable register consecutive, it will be assigned tool length X of you want to set tool number, tool length Y, tool
length Z, tool angle X, tool angle Y, in the order of the tool angle Z. length Z, tool angle X, tool angle Y, in the order of the tool angle Z.
Change of tool change amount limit, if you press the shift key at the tool constant setting screen, enter the setup menu
from the button that appears on the right side of the screen.
ڦParameter
Parameter Mechanism This specifies the mechanism No.
No. 1 No. 1- 9 ڦParameter
Parameter This specifies the tool No. Parameter Mechanism This specifies the mechanism No.
Tool No.
No. 2 1- 32 No. 1 No. 1- 9
This specifies the first number of real Parameter This specifies the tool No.
Global Real Tool No.
Parameter variables register six values of the No. 2 1- 32
Variable
No. 3 acquired tool length and angle is This specifies the first number of real
Register No Global Real
assigned. (1-250,301-500) Parameter variables register six values of setting the
Variable
No. 3 tool length and angle is assigned.
Register No
(1-250,301-500)
ڦExample of screen display
GETTOOL [1,1,V1!] FN830;Get tool length param
ڦExample of screen display
SETTOOL [1,1,V1!] FN831;Set tool length param
See
SETTOOL: Set tool parameter (FN831)
See
GETTOOL: Get tool parameters (FN830)
Function commands (FN code) Function commands (FN code)
Command Command
APP_CALL APP_FORK
name name
FN code 880 FN code 883
Title name Call User application Title name Fork User application
General General
Start the user application and wait for it to finish. Start the user application.
description description
ڦParameter ڦParameter
Parameter User This specifies the number of user Parameter User This specifies the number of user
No. 1 application No. Application entry. (1-4) No. 1 application No. Application entry. (1-4)
Wait This specifies the number of time to wait
Parameter
Time[Infinite before the end user application.
No. 2 ڦExample of screen display
size inputs -1] ( (-1), 0-99)
APP_FORK[1] FN883;Fork User application
ڦExample of screen display
APP_CALL[1, -1] FN880;Call User application See
APP_CALL: Call User application (FN880)
APP_WAIT; Wait User application (FN886)
See APP_SHOW; Show User application (FN890)
APP_FORK: Fork User application (FN883) APP_HIDE; Hide User application (FN891)
APP_WAIT; Wait User application (FN886) APP_CEVENT; Create event the User application (FN892)
APP_SHOW; Show User application (FN890) APP_WEVENT; Wait event the User application (FN893)
APP_HIDE; Hide User application (FN891)
APP_CEVENT; Create event the User application (FN892)
APP_WEVENT; Wait event the User application (FN893)
Function commands (FN code) Function commands (FN code)
Command Command
APP_WAIT APP_SHOW
name name
FN code 886 FN code 890
Title name Wait User application Title name Show User application
General General
Wait before the end user application. Show me the user application.
description description
ڦParameter ڦParameter
Parameter User This specifies the number of user Parameter User This specifies the number of user
No. 1 application No. Application entry. (1-4) No. 1 application No. Application entry. (1-4)
Wait This specifies the number of time to wait Parameter Page This specifies the page name (ID) to be
Parameter
Time[Infinite before the end user application. No. 2 name(ID) created by the user application.
No. 2
size inputs -1] ( (-1), 0-99) Wait This specifies the number of time to wait
Parameter
Time[Infinite before the show user application.
No. 3
size inputs -1] ( (-1), 0-99)
ڦExample of screen display
APP_WAIT[1, -1] FN886;Wait User application
ڦExample of screen display
APP_SHOW[1, ‘ABC’, -1] FN890;Show User application
See
APP_CALL: Call User application (FN880)
APP_FORK: Fork User application (FN883) See
APP_SHOW; Show User application (FN890) APP_CALL: Call User application (FN880)
APP_HIDE; Hide User application (FN891) APP_FORK: Fork User application (FN883)
APP_CEVENT; Create event the User application (FN892) APP_WAIT; Wait User application (FN886)
APP_WEVENT; Wait event the User application (FN893) APP_HIDE; Hide User application (FN891)
APP_CEVENT; Create event the User application (FN892)
APP_WEVENT; Wait event the User application (FN893)
Function commands (FN code) Function commands (FN code)
Command Command
APP_HIDE APP_CEVENT
name name
FN code 891 FN code 892
Title name Hide User application Title name Create event the User application
General General
Hide the user application. Create an event in the User application.
description description
ڦParameter ڦParameter
Parameter User This specifies the number of user Parameter User This specifies the number of user
No. 1 application No. Application entry. (1-4) No. 1 application No. Application entry. (1-4)
Wait This specifies the number of time to wait Parameter Page name This specifies the page name (ID) to be
Parameter
Time[Infinite before the hide user application. No. 2 (ID) created by the user application.
No. 2
size inputs -1] ( (-1), 0-99) Wait This specifies the number of time to wait
Parameter
Time[Infinite before create an event in user application.
No. 3
size inputs -1] ( (-1), 0-99)
ڦExample of screen display
APP_HIDE[1, -1] FN891;Hide User application
ڦExample of screen display
APP_CEVENT[1, ‘ABC’, -1] FN892;Create event the User application
See
APP_CALL: Call User application (FN880)
APP_FORK: Fork User application (FN883) See
APP_WAIT; Wait User application (FN886) APP_CALL: Call User application (FN880)
APP_SHOW; Show User application (FN890) APP_FORK: Fork User application (FN883)
APP_CEVENT; Create event the User application (FN892) APP_WAIT; Wait User application (FN886)
APP_WEVENT; Wait event the User application (FN893) APP_SHOW; Show User application (FN890)
APP_HIDE; Hide User application (FN891)
APP_WEVENT; Wait event the User application (FN893)
Function commands (FN code) Move commands
Command Command name MOVE
APP_WEVENT
name FN code -
FN code 893 Title name (move command)
Title name Wait event the User application Move robot to the position expressed by the AW
General description
General coordinate system
Wait for the event from the User application.
description
ڦGeneral description
ڦParameter This is the move command in which robot position is expressed by XYZ value of tool top and rpy (roll, pitch and yaw)
Parameter User This specifies the number of user angle of wrist attitude. To keep upper compatibility with NACHI-Fujikoshi AW controller, coordinate system is same as AW
No. 1 application No. Application entry. (1-4) (front is Y). X and Y axis direction is different from world wide standard coordinate system.
Parameter Page name This specifies the page name (ID) to be Wrist attitude is fixed by the rotation on the order of r -> p -> y.
No. 2 (ID) created by the user application. New functionalities developed in this controller such as synchronize control, Smooth and others can not be described by
This specifies the number of the character this command.
Character
Parameter string variable in which the received
string variable <Format> MOVE Interpolation, Pose, Speed (or Time), Accuracy, Tool
No. 3 character string is to be stored.
number <Example> MOVE L,P1,S=500,A=3
(1-50)
Wait This specifies the number of time to wait
Parameter
Time[Infinite before event from the user application.
No. 4 㹘㸩
size inputs -1] ( (-1), 0-99)
Wrist poses;
r
㹖㸩 Angle round Z axis; Roll angle ( r )
ڦExample of screen display Angle round Y axis; Pitch angle ( p)
Angle round X axis; Yaw angle ( y)
APP_WEVENT[1, ‘ABC’, V1$, -1] FN892;Wait event the User application y
㹗㸩 p Expression of XYZ coordinates
See
inherited from AW series
APP_CALL: Call User application (FN880)
APP_FORK: Fork User application (FN883)
APP_WAIT; Wait User application (FN886) There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW
APP_SHOW; Show User application (FN890)
controller. Please use MOVEX as usual.
APP_HIDE; Hide User application (FN891)
APP_WEVENT; Wait event the User application (FN893) Playback Robot Language
MOVE command
(example) XYZ coordinate (AW compatible㸧
MOVEX command
XYZ coordinate (AX,FD)
Joint angle (AX,FD)
Encoder data
ڦParameter
Interpolatio This is to define the interpolation to move the desired position,
n by L or C or P description.
L Linear interpolation
C Circular interpolation
P Joint move (interpolation OFF)
Pose This is to define the desired position.
Following list shows its variety to describe the robot pose.
XYZ coordinate system is same as NACHI-Fujikoshi AW.
(X,Y,Z,r,p,y) Pose constant
Pn ( or P[n] ) Pose variable
Pn + (X,Y,Z,r,p,y) Pose variable + Shit constant
Pn + Rn Pose variable + Shit variable
P* + (X,Y,Z,r,p,y) Current position + Shit constant
P* + Rn Current position + Shit variable
R,p and y angle is written in degree. Move commands
If there are some aux. axes, maximum two axis angle data is
added following the (X,Y,Z,r,p,y) statement. Command name MOVEJ
(X,Y,Z,r,p,y,J7)
FN code
(X,Y,Z,r,p,y,J7,J8)
J7 and J8 angle is written in degree. Title name (move command)
Move robot to the position expressed by the AW
General description
Speed This is to define the speed or time to achieve the desired axis angle
(or Time) position. (1[mm/s]㹼5000[mm/s] or 0.1[s]㹼100[s])
S for TCP speed, T for time. ڦGeneral description
S=100 TCP line speed is 100mm/sec. This is the move command in which robot position is expressed by axis angle. To keep upper compatibility with
T=5 Time to achieve next position is 5 seconds. NACHI-Fujikoshi AW controller, J3 value is the angle from ground level. Except J3 angle, this is same as MOVEX-J
S=V1% Speed is designated by global variable V1%. command.
T=L![1] Time is designated by local variable L![1]. New functionalities developed in this controller such as synchronize control, Smooth and others can not be described by
Variables can be used as followed. this command.
Vn% (or V%[n]) global variable (integer)
Vn! (or V![n]) global variable (float) <Format> MOVEJ Interpolation, Pose, Speed (or Time), Accuracy, Tool
Ln% (or L%[n]) local variable (integer) <Example> MOVEJ L,(0,90,0,0,0,0),S=500,A=3
Ln! (or L![n]) local variable (float)
There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW
Accuracy This is to define the accuracy number. If omitted, accuracy controller. Please use MOVEX as usual.
defined in previous step is use. When in-position check is Playback Robot Language
necessary, add “P”. (1 – 8, 1P – 8P)
A=1 Accuracy number is 1 MOVE command
XYZ coordinate (AW compatible㸧
(example)
Tool This is to define the tool number. If omitted, tool defined in
previous step is use. (1 - 32) PPVHF /,1 $ 7 MOVEJ command
H=1 Tool number is 1. Joint angle (AW compatible)
Encoder data
MOVEX command
XYZ coordinate (AX,FD)
See
Joint angle (AX,FD)
MOVEJ; (Move command)
Encoder data
MOVEX; (Move command)
ڦParameter
Interpolatio This is to define the interpolation to move the desired position,
n by L or C or P description
L Linear interpolation
C Circular interpolation
P Joint move (interpolation OFF)
Pose This is to define the desired position. Axis angle is degree.
(J1,J2,J3,J4,J5,J6) Pose constant
If there are some aux. axes, maximum two axis angle data can
be added.
(J1,J2,J3,J4,J5,J6,J7,J8)
ڦGeneral description
This is the move command.
- XYZ value of tool top and rpy (roll, pitch and yaw) angle of wrist attitude.
- Axis angle
- Axis encoder data
MOVEX command supports the above three statement of robot positions.
XYZ coordinate system is the same as international standard (front = X).
In Rpy notation, wrist attitude is fixed by the rotation in the order of r -> p -> y. Note that the wrist attitude changes in
accordance with the sequence of rotation.
All information, including Synchronized control, Smooth, etc. can be described.
ͤ 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
㹘㸩
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
There are 3 move commands. MOVE and MOVEJ is prepared to keep upper compatibility with NACHI-Fujikoshi AW
controller. Please use MOVEX as usual.
Before the first “M” is specified, all statement is treated as for
Playback Robot Language
the mechanism 1.
MOVE command The specified M is valid till the next M specification.
XYZ coordinate (AW compatible㸧 “Pose definition” can be omitted, then treated as “X”.
(example) Pose definition “M*X” is significant only when its mechanism is
PPVHF /,1 $ 7 MOVEJ command the manipulator.
Joint angle (AW compatible)
Encoder data
Interpolation This is to define the interpolation to move the desired position,
MOVEX command by L or C1 or C2 or P description.
XYZ coordinate (AX,FD) (1):
Joint angle (AX,FD) L Linear interpolation
Encoder data
C1 Circular interpolation (start of circle)
C1 Circular interpolation (end of circle)
ڦMOVEX Teach Method from TP P Joint move (interpolation OFF)
(1) Select FN645 “Record MOVEX”. (2): Select any of the following in [Interpolation].
LIN Linear interpolation
CIR1 Circular interpolation (start)
CIR2 Circular interpolation (end)
JOINT Joint interpolation (interpolation OFF)
Pose This is to define the desired position. The following list shows
its variety to describe the robot pose.
Ɣ In case that pose definition is “X”
Pose is expressed by XYZ coordinate system that is the same
as the international standard (front = X).
(1): (X,Y,Z,r,p,y) Pose constant
(2): Select “Decalt Coordinate Pose constant
System” in [Pose type].
(1): (X,Y,Z,r,p,y)U Pose constant
(User coordinate)
(2) Set the required parameters (described in the following). (2): Select “User Coordinate Pose constant
(3) Press F12 <Complete> to record MOVEX. System” in [Pose type]. (User coordinate)
(1): Pn (or P[n] ) Pose variable
(2): Select “Variable type” in [Pose Pose variable
ڦParameter
type].
* The setting example of parameter is indicated as “(1)” for the robot language compile system and “(2)” for the TP
(1): Pn + (X,Y,Z,r,p,y) Pose variable + Shift
teaching system. (Without any specific indication of “(2)”, the description indicates the robot language compile system.)
constant
(1): Pn + Rn Pose variable + Shift
Accuracy This is to define the accuracy number. If omitted, tool defined variable
in previous step is use. When in-position check is necessary, (1): P* + (X,Y,Z,r,p,y) Current position + Shift
add “P”. (1 – 8, 1P – 8P) constant
(1): A=1 Accuracy number is 1 (1): P* + Rn Current position + Shift
(2): Input 1 in [Accuracy number]. Accuracy number is 1 variable
Acceleration This is to define the acceleration. Bigger value is smaller The unit of r, p and y angle is [deg].
acceleration. No description is treated as 0. (0 to 3)
(1): AC=1 Acceleration number is 1 Ɣ In case that pose definition is “J”
(2): Input 1 in [Acceleration]. Acceleration number is 1 Pose is expressed by axis angle (degree).
Smooth This is to define the smoothness. Bigger value is larger (1): (J1,J2,J3,J4,J5,J6) Pose constant
smoothness. No description is treated as 0. (0 to 3) (2): Select “Axial angle” in [Pose Pose constant
(1): SM=1 Smoothness number is 1 type].
(2): Input 1 in [Smoothness]. Smoothness number is 1 J3 is not the angle from ground level.
Synchronize This is to define the master robot of synchronize control. This No expression for J7 and after. They are next mechanism.
is significant only when plural mechanism exits.
If not described, synchronizing is executed as same start Ɣ In case that pose definition is “E”
control. Pose is expressed by axis encoder data (HEX).
(1): HM Mechanism 1 is master (1): (E1,E2,E3,E4,E5,E6) Pose constant
(2): Select “Synchronize” in Mechanism 1 is master (2): Select “Encoder” in [Pose Pose constant
[Synchronize]. type].
Mechanism This is to define pose of each mechanism. (varies from 1 to 9)
“M”, “mechanism number” and “pose definition”. Configuration This is to define the supplement information to fix robot pose.
(1): M2X “M2” is mechanism 2, “X” means that pose is This is significant only when pose is expressed by XYZ
described by AX coordinate system (international coordinate system.
standard) (1): CONF=ijk
(1): M3J “M3” is mechanism 3, “J” means that pose is i; 0:LEFTY / 1:RIGHTY / 2:FRONT / 3:REAR(*) (left hand /
described by axis angle. right hand/ less than ±90 deg/ more than ±90 deg)
(1): M4E “M4” is mechanism 4, “E” means that pose is j; 0:FLIP / 1:NONFLIP (wrist flip / no flip)
described by axis encoder data. k; 0:ABOVE / 1:BELOW (upper elbow / lower elbow)
(2): Select the proper mechanism and pose definition in [Pose
type].
Select “Configuration” in [Axial angle reference], and then the
configuration type in each axis.
[J1]: “Left”, “Right”, "Less than 90deg", "More than 90deg" (*)
[J3]: "On elbow", "Under elbow"
[J5]: "Flip", "Non Flip"
(*) About “Less than 90 deg” and “More than 90 deg”
These are available only when [16 Configuration J1 Extend]
has been set [Enable] by proceeding to [Constant] - [5
Operation Constants] - [1 Operation condition].
When no description of configuration is given, robot pose is
determined as the nearest pose with a previous pose.
Speed (or This is to define the speed or time to achieve the desired
Time) position.
(1[mm/s]~5000[mm/s] or 0.1[s]~100[s])
S for TCP speed, T for time.
(1): S=100 TCP line speed is 100mm/sec.
(1): T=5 Time to achieve next position is 5 seconds.
(1): D=0.1 Wrist angle speed 0.1 degree/sec
(1): R=50 50% ratio compared with maximum power
(1): S=V1% Speed is designated by global variable
V1%.
(1): T=L! [1] Time is designated by local variable L![1].
(1): D=L! [1] Angle speed is designated by local variable
L![1].
(1): R=V1% Ratio is designated by global variable V1%.
(2): Press [F11 Speed Setting] to specify the speed.
Variables can also be used. Variables can be used as follows.
Vn% (or V%[n]) global variable (integer)
Vn! (or V![n]) global variable (float)
Ln% (or L%[n]) local variable (integer)
Ln! (or L![n]) local variable (float)
See
MOVE; (Move command)
MOVEJ; (Move command)
http://www.nachi-fujikoshi.co.jp/
South Carolina Service Center Phone: 248-305-6545 Fax: 248-305-6542 Greenville, South Carolina
Canada Branch Office Phone: 905-760-9542 Fax: 905-760-9477 89 Courtland Ave., Unit No.2, Concord, Ontario, L4K 3T4, CANADA
Phone: Fax: Unit 3, 92, Kettles Wood Drive, Woodgate Business Park,
U.K. branch
+44-0121-423-5000 +44-0121-421-7520 Birmingham B32 3DB, U.K.
Phone: Fax:
Sydney office Unit 1, 23-29 South Street, Rydalmere, N.S.W, 2116, AUSTRALIA
+61-(0)2-9898-1511 +61-(0)2-9898-1678
Phone: Fax:
Brisbane office 7/96 Gardens Dr,Willawong,QLD 4110, , AUSTRALIA
+61-(0)7-3272-4714 +61-(0)7-3272-5324