Professional Documents
Culture Documents
D Series
Arc Welding
AS Language
Reference Manual
90209-1018DED
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
PREFACE
This manual describes AS language used in the arc weld type Kawasaki Robot Controller D series.
It describes in detail AS language commands/ instructions used in arc welding, so as to provide
information for effective use of the AS system. Operation procedures and standard AS language
are not described in this manual; please refer to Operation, Arc Weld Operation, and AS
Language Reference Manual. In addition, this manual should be read with careful review of the
related manuals listed below.
1. Safety Manual
2. Installation and Connection Manual for Arm
3. Installation and Connection Manual for Controller
4. External I/O Manual (for connecting with peripheral devices)
Not every possible operation, condition or situation that should be avoided can be described in
full. Therefore, should any unexplained questions or problems arise during robot operation,
please contact Kawasaki Machine Systems. Refer to the contact information listed on the rear
cover of this manual for the nearest Kawasaki Machine Systems office.
The explanations in this manual include information on optional functions, but depending on the
specification of each unit, not every optional function detailed here may be included with the
robot. For information on optional functions for arc welding, see Arc Plate Welding Option
Operation Manual, TIG Welding Operation Manual.
1. This manual does not constitute a guarantee of the systems in which the robot is utilized.
Accordingly, Kawasaki is not responsible for any accidents, damages, and/or problems
relating to industrial property rights as a result of using the system.
2. It is recommended that all personnel assigned for activation of operation, teaching,
maintenance or inspection of the robot attend the necessary education/training course(s)
prepared by Kawasaki, before assuming their responsibilities.
3. Kawasaki reserves the rights to change, revise, or update this manual without prior notice.
4. This manual may not, in whole or in part, be reprinted or copied without the prior written
consent of Kawasaki.
5. Store this manual with care and keep it available for use at any time. In the event the manual
is lost or damaged severely, contact your Kawasaki agent.
6. Though this manual was prepared to be as thorough and accurate as possible, the authors
apologize should any information be found incomplete or erroneous.
All rights reserved. Copyright © 2007 Kawasaki Heavy Industries Ltd.
i
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
SYMBOLS
The items that require special attention in this manual are designated with the following symbols.
Ensure proper and safe operation of the robot and prevent physical injury or property damage by
complying with the safety matters given in the boxes with these symbols.
! DANGER
! WARNING
Failure to comply with indicated matters may possibly lead
to injury or death.
! CAUTION
Failure to comply with indicated matters may lead to
physical injury and/or mechanical damage.
[ NOTE ]
! WARNING
ii
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
CONTENT
Preface ············································································································································· i
Symbols············································································································································ ii
iii
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
iv
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
v
D Series Controller
Kawasaki Robot Arc Welding AS Language Reference Manual
vi
D Series Controller 1.0 Rules Regarding Use of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
! CAUTION
LMOVE p1 LMOVE p1
Good! LWS a1 Bad! LWS a1
LWE a2,1,1 LMOVE a2
・ ・
・ ・
・ ・
・ ・
・ ・
1-1
D Series Controller 1.0 Rules Regarding Use of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
3. Only weld continue commands can be used as motion commands between weld start command
and weld end command.
Weld continue commands are LWC, C1WC and C2WC.
Motion commands such as LMOVE and JMOVE cannot be used.
LMOVE p1 LMOVE p1
Good! LWS a1 Bad! LWS a1
LWC a2,1 LMOVE a2
LWE a3,1,1 LWE a3,1,1
・ ・
・ ・
・ ・
・ ・
・ ・
4. There should be no more than 127 teach points for one (1) pass (from weld start point to weld
end point).
Maximum of 125 weld continue commands can be used between a weld start command and
a weld end command.
5. When using RTPM or AVC functions (Option), do not use weld continue commands within a
FOR structure.
Program so only one LWC, C1WC or C2WC command is written on one (1) line.
RTPM ON RTPM ON
Good! LWS a[1] Bad! LWS a[1]
LWC a[2],1 FOR j=2 to 4
LWC a[3],1 LWC a[j],1
LWC a[4],1 END
LWE [5],1,1 LWE a[5],1,1,
・ ・
・ ・
・ ・
・ ・
・ ・
1-2
D Series Controller 1.0 Rules Regarding Use of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
6. When using RTPM or AVC functions (Option), add the following two (2) lines to use
commands (LDEPART, JDEPART, DRAW, DELAY, etc.) whose target pose following the
weld end point is defined based on the data in the weld end point.
Due to the seam tracking of RTPM and AVC functions, the actual weld end point may not
coincide with the point first planned. LDEPART command, etc. calculates the target pose
from the current pose. Avoid this by adding the lines below, and make the robot calculate
the target pose from the planned end point.
RTPM ON
LWS a1
LWE a2,1,1
BREAK
Add these two (2) lines.
JMOVE HERE
LDEPART 100
・
・
・
・
・
1-3
D Series Controller 1.0 Rules Regarding Use of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
1-4
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
This chapter explains AS language used for arc welding operations in general.
Monitor Command
W1SET Sets arc weld condition
W2SET Sets crater and arc spot weld condition
WLIST Displays weld conditions
W.INCHING Feeds filler wire
W.RETRACT Retracts filler wire
WVSDIR Sets motion direction as robot weaves in stationary welding
(robot does not travel)
SAVE/ARC Saves welding data to memory devices
LTBLSET Sets linearization data
OGSET Sets offset/ gain
System Switch
ARC Enables/ disables welding
ARC_ALLROB (Multi D Controller) Enables/ disables welding in all robots.
WVDIR Enables/ disables use of the motion direction specified by
WVSDIR instruction
WVDIRCMDI Switches timing for enabling/disabling WVSDIR command/
instruction
EXAMPLE
Keyword Parameter
DSLOPEGAIN inclination
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
W.INCHING 1: 10, 1
2-2
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W1SET weld condition number = speed, current, voltage, weaving width,
weaving frequency, pattern number, pole ratio
Specify robot number when using Multi D Controller.
Function
Sets weld conditions.
Parameter
Weld condition number
Sets weld condition number. Settable range: 1 to 20.
Speed
Sets welding speed. Unit is cm/min. Settable range: 1 to 999 cm/min.
Current
Sets welding current. Unit is A (ampere). Settable range: 0 to 999 A.
Voltage
Sets welding voltage. Unit is V (voltage). Settable range: 0 to 100.0 V.
Weaving width
Sets weaving width. Unit is mm (millimeter). Settable range: 0 to 160.0 mm.
Weaving frequency
Sets the frequency for weaving motion. Unit is Hz (hertz). Settable range: 0 – 4.0Hz.
Explanation
All parameters can be specified in forms of real values, real variables, and equations. When
omitted, the value(s) last used in this command/ instruction are set.
2-3
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Error occurs if weld condition number is not set within 1to20 or if any weld condition (speed,
etc.) is out of range.
The weld condition number set here and the condition number set in [Auxiliary Function 1401
Arc Weld Condition] are different and not related to each other.
[ NOTE ]
The robot does not weld when the current, voltage, weaving amplitude, or frequency is
set to zero (0). When the system is initialized, no value is set for speed, current, and
voltage, and zero (0) is set for weaving width, weaving frequency and pattern number.
Therefore, always specify all parameters when using this command/instruction for the
first time after initializing. Parameters with no values set will cause error when LWC
or LWE instructions are executed.
Example 1
>W1SET 2=80 ↵ Values set last time W1SET was executed are
adopted for the omitted parameters, therefore,
80cm/min, 250A, 28V, 2mm, 3Hz are set to weld
condition 2.
Example 2
W1SET 2=s, cur, vlt, wv, fq, pth
2-4
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W2SET crater weld condition number = time, current, voltage, pole ratio
Specify robot number when using Multi D Controller.
Function
Sets crater condition or arc spot condition.
Parameter
Crater (arc spot) weld condition number
Sets crater weld or arc spot weld condition number. Settable range: 1 – 20.
Time
Specifies the time to stay stationary (crater treatment time or arc spot welding time). Unit is
seconds. Settable range: 0 – 10.0 seconds.
Current
Sets the welding current. Unit is A. Settable range: 0 – 999A.
Voltage
Sets the welding voltage. Unit is V. Settable range: 0 – 100.0V.
Explanation
All parameters can be set using real variables or mathematic equations. When omitted, the
value(s) last used in this command/ instruction are set.
Error occurs if weld condition number is not set within 1 to 20, or if any weld condition (speed,
etc.) is out of range.
The crater/arc spot weld condition number set here and the condition number set in [Auxiliary
Function 1402 Arc Spot Weld Condition] are different and not related to each other.
2-5
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
[ NOTE ]
The robot does not weld when either current or voltage is set to zero (0). When the
system is initialized, no value is set for time, current, and voltage. Therefore, always
specify all parameters when using this command/instruction for the first time after
initializing. Parameters with no values set will cause error when LWC or LWE
instructions are executed.
2-6
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
WLIST condition type, condition number
Specify robot number when using Multi D Controller.
Function
Displays a list of weld conditions or crater/ arc spot weld conditions set in W1SET or W2SET
command/instruction.
Parameter
Condition type
Specifies 1 or 2. When 1 is specified or omitted, the list of weld conditions set by W1SET is
displayed. When 2 is specified, the list of crater/ arc spot weld conditions set by W2SET is
displayed.
Condition number
Specifies the condition number of the weld condition or arc spot weld condition to display
(Settable range: 1 – 20). When omitted, conditions 1 – 20 are displayed.
Explanation
∗∗∗.∗ is displayed for parameters not set.
>WLIST 2
No. Crater time Cur. Vol. PO
(sec) (A) (V)
1 1.0 150.0 18.0 0
2 2.0 100.0 50.0 0
3 3.0 200.0 20.0 0
4 5.0 200.0 19.0 0
5 5.0 250.0 25.0 0
6 10.0 200.0 19.0 0
7 10.0 250.0 25.0 0
8 ***.* ***.* ***.* 0
9 ***.* ***.* ***.* 0
10 ***.* ***.* ***.* 0
…
>
2-7
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W.INCHING speed, time
Specify robot number when using Multi D Controller.
Function
Feeds the filler wire.
Parameter
Speed
Sets the speed to feed the filler wire (settable range: 0 – 100%). When set to 100%, the voltage
set at [Auxiliary function 1404 Arc Weld Setting 1 Linearization 3 Maximum Output Voltage] is
output.
Time
Sets for how much time the wire is to be fed. Unit is seconds. When omitted, 0.5 seconds is
set.
Explanation
The setting by this command has priority over the settings via teach pendant or designated input
signal.
Example
>W.INCHING 10,1 ↵ Feeds the filler wire for 1 second at 10% of maximum
speed.
2-8
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W.RETRACT speed, time
Specify robot number when using Multi D Controller.
Function
Retracts the filler wire.
Parameter
Speed
Sets the speed for retracting the filler wire (settable range: 0 to 100%). When set to 100%, the
voltage set at [Auxiliary Function 1404 Arc Weld Setting 1 Linearization 3 Maximum Output
Voltage] is output.
Time
Sets for how much time the wire is to be retracted. Unit is seconds. When omitted, 0.5
seconds is set.
Explanation
The setting by this command has priority over the settings via teach pendant or designated input
signal.
Example
>W.RETRACT 20,0.5 ↵ Retracts the filler wire for 0.5 seconds at 20%of
maximum speed.
2-9
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
WVSDIR x, y, z
Specify robot number when using Multi D Controller.
Function
Sets the imaginary traveling direction for the robot as it weaves via stationary weld commands
(STWC, STWE).
Parameter
x, y, z
Specifies the vector components describing the robot’s imaginary traveling direction based on
base coordinates.
Explanation
This command can be used with other nontostationary weld commands to make the robot weave
in a direction that is different from the robot traveling direction.
The weaving direction set here is valid only when the system switch WVDIR is ON.
0 is set for the omitted parameters. When all parameters are omitted, the current values are
normalized (converted into vector with size of 1) and displayed (see display example on the next
page).
2-10
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
>WVSDIR, 1 ↵ Sets the imaginary traveling direction as the direction of
base Y axis.
>WVSDIR 1,1,0 ↵
2-11
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
SAVE/ARC file name
Function
Saves the arc weld data into file on external memory device.
Parameter
File name
Specifies the name of the arc weld data file to save. When file extension is omitted, “.AW” is
automatically added to the file name.
Explanation
Several data types can be specified and saved in one file. In this case, if the extension is omitted,
“.AS” is automatically added to the file name. Following types of data can be specified:
/P program /SYS system data
/L pose data /ROB robot data
/A auxiliary data etc. (See AS Language Reference Manual SAVE command)
When saving the file under a name that already exists in the external memory device, “B” is
added to the beginning of the extension of the existing file and saved as a separate file.
Example
>SAVE/ARC file1 ↵ Saves to the disk the arc weld data under the name
“file1.aw”
>SAVE/ARC/SYS file2 ↵ Saves to the disk the arc weld data and system data under
the name “file2.aw”.
2-12
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
LTBLSET type number, line number =
command current (voltage), output voltage (wire feeding motor speed)
Function
Sets the Linearization table as set in [Auxiliary function 1404 Arc weld setting 1 Linearization in
AS language]. For Servo torch application (Option), also sets the Linearization table as set in
[Aux. 1404 Arc weld setting – 16 Servo Torch - 1 Linearization] in AS language
Parameter
Type number
Specifies whether the linearization data to set is current, voltage or current – wire feeding motor
speed. (1: current, 2: voltage, 3: current – wire feeding motor speed)
Line number
Specifies the line number in which data will be set. Settable range:1 – 16.
Explanation
Linearization table is changed in cases such as when a robot uses two different types of weld
machines.
[ NOTE ]
In this command, the set data are sorted in ascending order of the command
current (voltage). The line where current or voltage is set at 0 is regarded as
end of data, and sorted to the bottom of the table.
2-13
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Example1
FOR i=1 TO 16
LTBLSET 1,1 = 0, 0 Clear all linearization data.
LTBLSET 2,1 = 0, 0 All line numbers can be set as 1 (they will be sorted by
current or voltage value)
END
FOR i=1 TO 12
LTBLSET 1,i = a_com[i], a_da[i] Sets current and voltage for 12 lines.
LTBLSET 2, i = v_com[i], v_da[i]
END
small
a_com[1] = 32 a_da[1] = 500
Current
LTBLSET 1,12 =,12800 Only the output voltage is changed for line 12. The
current is not changed.
2-14
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
OGSET type number = offset, gain
Function
Sets the linearizer offset and gain set in [Auxiliary function 1404 Arc weld setting 2 Offset/gain]
via AS language command.
Parameter
Type number
Specifies whether the offset/gain to set is current or voltage. (1: current, 2: voltage)
Offset
Specifies the offset value to set. Settable range: -9999mV to 9999mV. When omitted, no
changes are made to the current values.
Gain
Specifies the gain value to set Settable range: 0.0 to 9.999. When omitted, no changes are
made to the current values.
Example 1
>OGSET 1=320, 0.98 ↵
>OGSET 1= , 0.87 ↵ Only the gain value is changed and not the offset value.
Example 2
OGSET 1 = 320, 0.98
OGSET 2 = -102, 1.321
2-15
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
JWS pose name
LWS pose name
Function
Sets the weld start point. Starts robot motion towards the specified pose, and prepares robot for
welding when it reaches that pose.
JWS: Joint interpolated motion (See JMOVE)
LWS: Linear interpolated motion (See LMOVE)
Parameter
Pose name
Specifies the pose of the weld start point (Transformation values, joint displacement values, pose
data functions or compound transformation values).
Explanation
1. The accuracy at weld start point is automatically set at 5 mm.
2. Preflow procedure is performed at weld start point.
3. The weld start sequence is activated at weld start point.
Example
See also LWC, LWE program instruction.
2-16
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
LWC pose name, weld condition number
C1WC pose name, weld condition number
C2WC pose name, weld condition number
Function
Sets weld continue point. The robot welds under the specified welding condition during motion
to the specified pose.
LWC: linear interpolated motion (See LMOVE)
C1WC: circular interpolated motion (See C1MOVE)
C2WC: circular interpolated motion (See C2MOVE)
[ NOTE ]
C1WC is generally used for motion to a midpoint on a circular path, and
C2WC to an endpoint on a circular path. Robot creates a circular
trajectory using the following three points:
Parameter
Pose name
Specifies the midpoint of the welding motion. (Transformation values, joint displacement values,
pose data functions or compound transformation values).
Explanation
1. To prevent unspecified changes in motion speed, accuracy at weld continue point is set
automatically.
2-17
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
2. Weld start retry sequence is activated if the motion to weld continue point is held by
HOLD/RUN, etc. and then resumed.
[ NOTE ]
Do not omit the weld condition number parameter when using this
instruction the first time in a program. If omitted error occurs when
the program processes this instruction.
Example
W1SET 1= 60,250,28,2,2 Sets weld condition 1 as SP=60cm/min, A=250A, V=28V, weaving
width=2mm, frequency=2Hz.
W1SET 2= 50,290,32,3,1 Sets weld condition 1 as SP=50cm/min, A=290A, V=32V, weaving
width=3mm, frequency=1Hz.
JWS #a0
LWC #a1,1 Welds to point #a1 by weld condition 1.
LWC #a2 Welds to point #a2 by weld condition 1. (Omitting weld condition
number here specifies the last set condition number).
LWC #a3,2 Welds to point #a3 by weld condition 2.
Weld continue
Weld continue point #a3
point #a1
Weld continue
Weld start point #a2
point #a0
2-18
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
LWE pose name, weld condition number, crater weld condition number
C2WE pose name, weld condition number, crater weld condition number
Function
Sets the weld end point. The robot welds by specified weld condition during motion to the
specified pose. When it reaches the pose, crater is filled.
LWE: linear interpolated motion (See LMOVE)
C2WE: circular interpolated motion (See C2MOVE)
Parameter
Pose name
Specifies the weld end point (transformation values, joint displacement values, pose data
functions, and compound transformation values).
Explanation
1. The accuracy at weld end point is automatically set at 1 mm.
2. Weld start retry sequence is activated when motion to weld end point is held by HOLD/RUN,
etc. and then resumed.
3. When crater condition is set, wire stuck check is done after crater treatment. If the wire is
stuck, wire stuck cancel sequence works.
4. Afterflow is performed at weld end point.
[ NOTE ]
Do not omit the weld condition number parameter when using this
instruction the first time in a program. If omitted error occurs when
the program processes this instruction.
2-19
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
a2
a1
crater
a3
2-20
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
STWC positioner speed number, weld condition number, time
Function
Sets weld continue point for stationary welding using positioner, etc. The positioner ON signal
and signal indicating positioner speed are output, and the robot welds by specified weld condition
without changing position. The next instruction is executed when either the positioner stop
signal is input or when the specified time elapses.
Parameter
Positioner speed number
Sets the signal value in decimal notation used for specifying the positioner speed (Max. 8 bits).
The number of signals and the signal number used for setting are set by DEFSIG command (see
also Appendix 4 Software Designated Signals for Arc Welding).
Time
Sets the maximum time to weld at the specified pose. Unit is seconds. The program execution
moves on to the next instruction when positioner stop signal is input, but if the time specified here
passes before the signal is input, the robot will also go on to the next instruction. When omitted,
there will be no time limit.
[ NOTE ]
Positioner ON signal, positioner speed signal, positioner stop signal are set
using DEFSIG command.
When welding with weaving motion, set the weaving direction using
WVSDIR instruction and WVDIR system switch.
Since the robot remains stationary when welding by STWC instruction, the
weld speed set in W1SET command/instruction is ignored.
2-21
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
W1SET 1= 60,250,28,0,0,0
W1SET 2= 55,260,29,0,0,0
LWS a Robot starts to weld at point a.
STWC 5,1,20 The robot welds by weld condition 1 at point a. The positioner
speed number is 5.
STWC 7,2,20 After 20 second passes or when the positioner stop signal is input,
the robot starts to weld by weld condition 2 at point a. The
positioner speed number is 7.
Positioner
2-22
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
STWE positioner speed number, weld condition number,
crater weld condition number, time
Function
Sets weld end point for stationary welding using positioner, etc. The positioner ON signal and
the signal indicating positioner speed and are output, and the robot welds by specified weld
condition without changing position. When either the positioner stop signal is input or the
specified time elapses, the positioner stops and the robot starts filling crater.
Parameter
Positioner speed number
Sets the signal value in decimal notation used for specifying the positioner speed (Max. 8 bits).
The number of signals and the signal number used for setting are set by DEFSIG command (see
also Appendix 4 Software Designated Signals for Arc Welding).
Time
Sets the maximum welding time. Unit is seconds. The program execution moves on to next
instruction when positioner stop signal is input, but if the time specified here passes before the
signal is input, the robot will stop welding. When omitted, there will be no time limit.
2-23
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
[ NOTE ]
Positioner ON signal, positioner speed signal, positioner stop signal are set
using DEFSIG command.
When welding with weaving motion, set the weaving direction using
WVSDIR instruction and WVDIR system switch.
Since the robot remains stationary when welding by STWE instruction, the
weld speed set in W1SET command/instruction is ignored.
Example
Z b
a
Positioner
Base coordinates
Y
W1SET 1= 60,250,28,5,2,0
W1SET 2= 55,260,29,5,2,0
W2SET 1= 1,120,20
WVSDIR 0,1,0 Sets an imaginary traveling direction of the robot along base Y axis.
WVDIR ON
LWS a Robot starts to weld at point a.
STWC 1,1,10 Welds by weld condition 1 at point a.
The positioner speed number is 1.
STWE 3,2,1,5 After 10 seconds or when positioner stop signal is input, welds by
weld condition 2 at point a. Positioner speed number is 3.
LMOVE b After 5 seconds or when positioner stop signal is input, the robot
ends welding and moves to point b.
2-24
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
DWC Stop time, Welding condition No.
Function
After the axis coincidence of the motion by the weld instruction set right before this instruction,
robot executes stationary weld for the set stop time under the set welding condition and then
moves to the next step.
Parameter
Stop time
Input a real value. [sec] (Setting range: 0 ∼ 43200 sec/half a day)
This cannot be omitted. Arc weld time is decided by the time set as the stop time (time after
receiving the current detection signal from welder).
Explanation
1. To execute weaving, it is necessary to set the virtual direction of movement by the WVSDIR
instruction and to enable the WVDIR switch. If the direction is not set, robot stops due to
error.
2. If a pattern No. of the special pattern weaving is set by the W1SET command/instruction,
robot executes stationary weld while executing weaving in the registered pattern. However,
the weaving direction must be set by the WVDIR switch and WVSDIR instruction.
[ NOTE ]
As weld is done without robot motion to weld direction, the welding speed set by the W1SET
command/ instruction is ignored. If the robot is held and run during the execution of the
DWC command, it moves to the next step after the remaining welding time passes.
Example
W1SET 1 = 120,20,30,2,3
W2SET 1 = 0.5,18,15
LWS #ws
DWC 20,1 Robot stops at #ws pose for 20 seconds and executes stationary weld
under the welding condition 1.
LWE #we,1,1
LDEPART 50
2-25
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
JAS pose name, arc spot weld condition number
LAS pose name, arc spot weld condition number
Function
Specifies a pose for performing arc spot welding. The robot starts to move toward the specified
pose, and when it reaches that pose, spot welds at that position.
JAS: Joint interpolated motion (see JMOVE)
LAS: Linear interpolated motion (see LMOVE)
Parameter
Pose name
Specifies the point to arc spot weld. (Transformation values, joint displacement values, pose
data functions, compound transformation values)
Explanation
1. Preflow and afterflow are done at arc spot point.
2. Arc spot sequence is activated at the arc spot point.
3. Wire stuck check is done at arc spot point after the welding. If wire is stuck, wire stuck
cancel sequence is activated.
4. The accuracy at arc spot point is automatically set at 1 mm.
[ NOTE ]
Do not omit the arc spot weld condition number parameter when using
this instruction the first time in a program. If omitted, error occurs
when the program processes this instruction.
2-26
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
a a
W2SET 1= 1,120,15 Sets Ct=1 sec, CA=120A, CV=15V to arc spot weld condition 1.
LMOVE a1
LAS a2,1 Spot welds by arc spot weld condition 1 at point a2.
LMOVE a3
2-27
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
INSUL_CHK
Function
Checks if torch is currently short-circuited to the workpiece before executing weld program.
Explanation
Checks for insulation failure. If insulation is defective, error occurs and robot program stops.
Example
INSUL_CHK Checks insulation before executing welding.
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
JWS #a0
LWC #a1,1
LWE #a3,2,2
2-28
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
. . . ARC . . .
Specify robot number when using Multi D Controller.
Function
Allows/ disallows execution of welding.
Explanation
When this switch is ON (enabled), the robot welds when welding instructions are executed.
When this is OFF (disabled), the robot does not weld.
Welding can be also enabled/disabled by following methods. The last setting made regardless of
the method remains valid. Default for this switch is OFF.
1. Turning ON/OFF the WELD ON/OFF key on the teach pendant.
2. Using the Weld ON/OFF signal from software dedicated signals.
Example
ARC ON Enables (turns ON) welding.
LMOVE a1
LWS w1
The robot performs welding during these steps.
LWE w2,1,1
LMOVE a2
ARC OFF Disables (turns OFF) welding.
LMOVE a1
LWS w1
The robot does not weld during these steps.
LWE w2,1,1
LMOVE a2
System Switch
.. ARC_ALLROB ...
For Multi D Controller only
Function
Allows/ disallows execution of welding is all connected robots. This command is used only
with Multi D Series Controller.
Explanation
When this switch is ON (enabled), all connected robots weld when welding instructions are
executed. When this is OFF (disabled), the robots do not weld. Default for this switch is ON.
2-29
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
. . . WVDIR . . .
Specify robot number when using Multi D Controller.
Function
Allows/ disallows use of the imaginary traveling direction set with WVSDIR command.
Explanation
When this switch is ON, the traveling direction set in WVSDIR is made valid as the traveling
direction vector. When this is OFF, WVSDIR settings are invalid.
Example
W1SET 1=60,250,28,2,3
WVSDIR 1 Sets the imaginary traveling direction along the base X axis.
WVDIR ON Enables WVSDIR setting.
LMOVE a1
LWS w1
LWE w2,1,1 The robot performs weaving perpendicular to base X axis.
LMOVE a2
WVDIR OFF Ignores the setting by WVSDIR.
LMOVE a1
LWS w1
LWE w2,1,1 Performs weaving perpendicular to the motion direction of the torch.
LMOVE a2
2-30
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
… WVDIRCMDI …
Specify robot number when using Multi D Controller.
Function
This switches the timing of when the setting by the WVSDIR command/instruction is enabled;
after the execution completion of step or immediately.
Explanation
If this switch is enabled (ON), the setting by the WVSDIR command/instruction is enabled
immediately after the WVDIR ON switch command/instruction is read. On the other hand, if
this switch is disabled (OFF), the setting by the WVSDIR command/instruction is enabled after
the execution completion of each step.
Example
WVDIRCDMI OFF Enables the setting by WVSDIR after the completion of step.
W1SET 1=60,250,28,2,3
WVSDIR 1 Sets the virtual direction of movement to the Base X axis direction.
LWS a0
WVDIR ON Enables the setting by WVSDIR.
STWC 5,1,20 Executes stationary weld while executing weld in the virtual direction
of movement.
WVDIR OFF Disables the setting by WVSDIR.
LWC a1,1 Executes weld while executing weaving in the real direction of
movement.
LWE a1,1
WVDIRCDMI ON Undoes the setting.
[ NOTE ]
1. If the WVDIRCMDI switch is disabled (OFF), the WVDIR switch turns OFF
during the period between the completion of the STWC command execution and
the start of the LWC command execution, and the setting by the WVSDIR
command/instruction (virtual direction of movement) is disabled.
2. If the WVDIRCMDI switch is enabled (ON), the WVDIR switch turns OFF during
the STWC command execution, and the setting by the WVSDIR
command/instruction (virtual direction of movement) is disabled.
2-31
D Series Controller 2.0 General Commands
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
2-32
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
XAC Defines pose data by touch sensing
XMWIRE Wire check
SXAC Ignores no workpiece found errors in touch sensing
EXAMPLE
Keyword Parameter
3-1
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
XAC pose name, storage pose name, sensing distance, sensing speed
Function
Finds the pose of the workpiece by touch sensing. The robot moves in linear interpolated
motion at the specified speed, towards the specified pose name or position specified by the
sensing distance. When the wire touches a workpiece, robot records that pose as
transformation values and skips to the next step.
Parameter
Pose name
Sets the pose of robot’s destination. (Joint displacement values, transformation values,
compound transformation values, or pose data function)
Sensing distance
Sets the overrun distance from the specified destination pose. Unit is mm. When the sensing
distance is set, the robot moves toward the point determined by this distance. This point is set
on an extension of the line connecting the point taught as starting pose and the specified
destination pose (pose specified by the first parameter).
When omitted, the touch sensing distance set in [Auxiliary function 1404 Arc Weld Setting - 10
Touch Sensing] will be used.
Sensing speed
Specifies the sensing speed (speed of robot) during motion to the destination point. Unit is
mm/sec. When omitted, the sensing speed set in [Auxiliary function 1404 Arc Weld Setting - 10
Touch Sensing] will be valid.
Explanation
When a workpiece is detected, the program execution jumps to the next step, but when no
workpiece is detected, error E6509 No work detected occurs (Robot comes to an error stop).
This instruction can be used with SXAC instruction or RXAC function to make the program
execution skip if no workpiece is detected.
3-2
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
When in check mode or if “Step Once” mode is selected in repeat mode, sensing is not
performed, and XAC instruction results in the same motion as LMOVE instruction.
Example
JMOVE #a0
XAC #a1, b, 10, 15
LMOVE #a2
10m
Work
Destination
#a0
2. If the wire touches a work while
moving to the destination point, that
pose is stored in variable b. Robot
#a1
then goes on to the next step and
#a2 moving to #a2.
Work
b
Error
#a0
If the robot reaches the destination point
before the wire touches a work, error
#a1
message E6509 No work detected
is displayed, and the robot stops.
Work (See also SXAC instruction and RXAC
function.)
3-3
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
XMWIRE pose name, inching speed, retract speed
Function
Performs wire check motion. For example, this instruction is used to keep wire extension even.
The robot moves to the specified pose in linear interpolated motion. For 0.5 seconds after
starting motion, robot retracts the wire at the specified retract speed. When the robot reaches the
specified pose, it feeds the wire for maximum of 5 seconds at the specified inching speed.
When the wire touches a workpiece, the robot stops extending the wire and goes on to the next
step.
Parameter
Pose name
Specifies the robot’s destination pose. (Joint displacement values, transformation values,
compound transformation values, pose data function)
Inching speed
Sets the speed for feeding the wire after stopping at the specified pose. Settable range: 0 to
100%. When omitted, the wire check inching speed set in [Auxiliary function 1404 Arc Weld
Setting - 10 Touch Sensing] is used.
Retract speed
Sets the speed for retracting the wire when robot starts motion towards the destination pose.
Settable range: 0 to 100%. When omitted, the wire check retract speed set in [Aux. 1404 Arc
Weld Setting - 10 Touch Sensing] is used.
Explanation
If the wire touches a workpiece, the program execution jumps to the next step, but if no
workpiece is found within 5 seconds after reaching the destination, error
E6516 Wire check failure occurs. (Robot comes to an error stop.)
When in check mode or if “Step Once” is selected in repeat mode, sensing is not performed, and
XMWIRE instruction results in the same motion as LMOVE instruction.
3-4
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
JMOVE #a1
XMWIRE #a2, 4, 20 #a2→#a3
LMOVE #a3 If wire touches a work, robot stops
extending the wire and moves to #a3.
#a1
retract
#a3
#a1→#a2
For 0.5 seconds after inching
#a2
#a2
starting to move, robot
Work For 5 seconds after stopping at the
retracts wire at retract
destination pose, wire is fed at
speed of 20%.
inching speed of 4%.
3-5
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Program Instruction
SXAC
Function
Makes the robot continue program execution even when no workpiece is found when touch
sensing via XAC instruction.
Explanation
1. When SXAC instruction is executed before XAC instruction, the robot does not stop even if
no workpiece is detected when executing XAC instruction. Use RXAC function to see if
workpiece was detected or not. When workpiece is detected, RXAC function returns −1
(true). When no workpiece is detected, 0 (false) is returned.
Example 1
JMOVE #a1
SXAC Cancels workpiece not found error in XAC instruction.
XAC #a2, b1
r=RXAC When workpiece is found true (-1), and when no workpiece is
found false (0) is substituted to r.
JMOVE #a3
SXAC Since the last SXAC instruction is now ineffective, SXAC is
executed again.
XAC #a4, b2
r=RXAC When workpiece is found true (-1), and when no workpiece is
found false (0) is substituted to r.
3-6
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
ddx
z
a0
ddz
y X x
Work
LMOVE a0
FOR i=1 TO 10 Checks 10 times.
POINT a1=SHIFT(a0 BY (i-1) * ddx, 0, -ddz) ddx: Shift amount in X direction
POINT a2=SHIFT(a0 BY (i-1) * ddx, 0, 0) ddz: Motion distance towards the
workpiece along Z axis.
POINT a3=SHIFT(a0 BY i * ddx, 0, 0)
SXAC
XAC a1, b, 0, 15
IF RXAC THEN
TYPE “Workpiece detected”
ELSE
TYPE “No workpiece detected”
GOTO 100
END
LMOVE a2
LMOVE a3
END
TYPE “Workpiece detected all 10 times”
HALT
3-7
D Series Controller 3.0 Touch Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns the result of touch sensing via XAC instruction.
Explanation
Returns −1 (true) when workpiece is detected. If not detected, returns 0 (false). See also
SXAC instruction.
Example
SXAC
LMOVE a1
XAC a2, b
LMOVE a1
IF RXAC
TYPE “Workpiece detected”
ELSE
TYPE “No workpiece detected”
END
3-8
D Series Controller 4.0 Special Pattern Weaving (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
This chapter explains AS language used in special pattern weaving function (Option).
EXAMPLE
Keyword Parameter
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
WVLIST 1: 1
4-1
D Series Controller 4.0 Special Pattern Weaving (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
WVLIST pattern number
Specify robot number when using Multi D Controller.
Function
Displays the pattern information set for special pattern weaving.
Parameter
Pattern number
Specifies the pattern number to display. Settable range: 1 to 10
Explanation
Displays the same contents as in [Auxiliary function 1404 Arc Weld Setting - 11 Special Pattern
Weaving]. Use this command for checking the data set by WVPTNSET command/ instruction.
Example
>WVLIST 2 ↵
NO. time X Y Z Angle Cur. Vlt.
(%) (%) (%) (%) (deg) (%) (%)
[1] 20: ( 0.0, 50.0, 0.0) 0.0 ( 0, 0)
[2] 30: ( 0.0, 50.0, 0.0) 0.0 ( 0, 0)
[3] 50: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[4] 70: ( 0.0, -50.0, 0.0) 0.0 ( 0, 0)
[5] 80: ( 0.0, -50.0, 0.0) 0.0 ( 0, 0)
[6] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[7] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[8] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[9] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[10] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[11] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[12] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[13] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[14] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
[15] 0: ( 0.0, 0.0, 0.0) 0.0 ( 0, 0)
>
4-2
D Series Controller 4.0 Special Pattern Weaving (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
WVPTNSET pattern number,line number = time,X,Y,Z,angle,current, voltage
Function
Sets and records weaving pattern for special pattern weaving.
Parameter
Pattern number
Specifies the number of pattern to set. Settable range: 1 to 10.
Line number
Specifies the line number of the line to set. Settable range: 1 to 15.
Time
Specifies the time. Unit is %. Settable range: 1 to 100.
When omitted, the currently set value is used.
X, Y, Z
Specifies the shift amount in: X: horizontal direction (along weld line), Y: lateral direction, Z:
vertical direction. (See diagram on the next page.)
Unit is %. Settable range: -100 to 100.
When omitted, the currently set values are used.
Angle
Specifies the angle of rotation of the torch for pendulum weaving.
Unit is deg. Settable range: -10.0 to 10.0)
When omitted, the currently set value is used.
Current, Voltage
Specifies the amount of increase of current or voltage for boost.
Unit is %. Settable range: -100 to 100.
When omitted, the currently set value is used.
Explanation
Sets via AS language the same parameters as in [Auxiliary function 1404 Arc Weld Setting - 11
Special Pattern Weaving]. Use WVLIST command to display and check the settings.
4-3
D Series Controller 4.0 Special Pattern Weaving (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Torch
Up +
Left
(right) + Traveling direction
Right Down −
To and from (left) − Back −
Forward +
vertical plate
Pendulum weaving
Angle of rotation:
−
+
Settable range for angle is ±10°, but there
Vertical plate
⊗
Welding direction
Example
4-4
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example RTMON 1: 1
5-1
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
RTMON display mode
Specify robot number when using Multi D Controller.
Function
Displays RTPM function settings.
Parameter
Specifies display mode. Use one of the following four modes. Settable range: 1 – 4.
1 - Displays the reference (command) value, actual value, current at the wall (vertical plate), and
current at floor (horizontal plate).
Displayed items
Cur.Ref.(A) Cur.Act.(A) Cur.Wall(A) Cur.Floor(A)
5-2
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
[ NOTE ]
Execute the commands below before displaying data using RTMON 3 and
RTMON 4:
RTLOG ON ← Starts logging
RTCYCLOG 3 ← Sets logging cycle
Enter 1 to log every weaving motion
Enter 3 to log every 3 weaving motions
Maximum number of data that can be logged is 256. See RTLOGAREA
instruction for setting logging area.
5-3
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
RTGAIN vertical current,horizontal current
Function
Sets the gain value for RTPM function. This is used to fine-adjust the seam tracking, disable
tracking function in tack welding, etc.
Parameter
Vertical current
Sets the gain for tracking in vertical direction of the torch. Unit is 0.01mm/A. When omitted,
the currently set values remain unchanged.
Horizontal current
Sets the gain for tracking in sideways direction of the torch. Unit is 0.01mm/A. When omitted,
the currently set values remain unchanged.
Explanation
This command/ instruction overwrites the contents set in [Auxiliary function 1404 Arc weld
setting 12 RTPM - 1 Tracking gain/ bias]. The data set here remains in effect until changed.
Use RTCMDI switch to set whether this command/ instruction is enabled for each step or
immediately after it is executed. (See RTCMDI switch.)
When used as monitor command, all the parameters can be omitted to display the currently set
values.
5-4
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
RTBIAS vertical current, horizontal current
Function
Sets the bias values for RTPM function. This is used to adjust wire extension or to lay the bead
to the left or to the right.
Parameter
Vertical current
Adjusts the vertical direction of the torch, that is the wire extension. Unit is A. When omitted,
the currently set values remain unchanged.
Positive value (+) entered Negative value (−) entered
Horizontal current
Adjusts torch position by moving it sideways. This is used to move the bead towards either the
vertical plate or the horizontal plate. Unit is A. When omitted, the currently set values remain
unchanged.
Positive value (+) entered Negative value (−) entered
Shifted towards
horizontal plate
Shifted towards
vertical plate
Explanation
This command/instruction changes the contents set in [Auxiliary function 1404 Arc Weld
Setting - 12 RTPM - 1 Tracking Gain/ Bias]. The data set here remains in effect until changed.
Use RTCMDI switch to set whether this command/ instruction is enabled for each step or
immediately after it is executed. (See RTCMDI switch.)
When used as monitor command, all the parameters can be omitted to display the currently set
values.
5-5
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
RTCYCLOG logging cycle
Function
Specifies the logging cycle in RTPM logging function.
Parameter
Logging cycle
Specifies the logging cycle (In whole number greater than 1). To log every weaving motion,
specify RTCYCLOG 1. To log every two weaving motions, specify RTCYCLOG 2.
When used as monitor command, the parameter can be omitted to display the currently set values.
When used as program instruction, the parameter cannot be omitted.
Explanation
When RTLOG switch is ON, the logging function of RTPM is executed after the specified
number of weaving motions. The log data can be displayed using RTMON 3 and RTMON 4
commands.
To set the area from which data loggings are taken, see RTLOGAREA instruction.
Example
RTCYCLOG 5 Logs RTPM data after every 5 weaving motion.
5-6
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor command
Program Instruction
RTLOGAREA number
Function
Specifies the area from which data loggings are taken by the RTPM logging function.
Parameter
Number
0: Ends logging after logging 256 data readings.
(The first 256 readings are logged.)
1: Next 256 data readings are overwritten to the first 256 data.
(The latest 256 readings are logged.)
When used as monitor command, the parameter can be omitted to display the currently set values.
When used as program instruction, the parameter cannot be omitted.
Explanation
In RTPM logging function, only 256 data readings can be logged. When logging data for a long
weld line with over 256 data, the first (RTLOGAREA 0) and the last (RTLOGAREA 1) 256 data
can be logged using this command/instruction.
Default value is 0.
Example
RTLOGAREA 0
256 data
RTLOGAREA 1
256 data
5-7
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor command
Program Instruction
RTDLYTIME delay time for integral interval
Function
Specifies the delay time for integral interval of RTPM function.
Parameter
Delay time for integral interval
Sets the delay time for integral interval. Settable range: 0 to 999. Unit is ms.
When used as monitor command, the parameter can be omitted to display the currently set values.
When used as program instruction, the parameter cannot be omitted.
Explanation
Right
(1), (2), (3), (4): Integral interval
Current
Time
Center of weaving
Current
(3)
Weld line
(Interval integral value) (1) (2) {(3)-(4)} > {(1)-(2)} !!
(4)
Time
If the center line of the torch tip deviates to the right of the weld line shown above, the lateral
motion RTPM compensation function compares and finds the difference between current integral
values over (1) and (2) intervals or (3) and (4) intervals, and then robot moves the torch tip to the
left so that the difference in current integral values lessens, thereby realizing weld wire course
correction. Because current is integrated over one-quarter intervals of each weaving cycle, the
integral current values over the interval will vary depending on the point in the cycle where the
integration begins. Also, actual weld current will vary depending on the weld machine used.
Thus, for the parameter, Delay time for integral interval shift, set the value that produces the most
efficient RTPM tracking, for example (3) and (4) in the figure above.
Note that the Delay time for integral interval changes in unit of 16ms.
5-8
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
... RTPM ...
Function
Determines whether RTPM tracking function is enabled or disabled.
Explanation
When this switch is ON, RTPM tracking function is enabled. When this is OFF, RTPM tracking
function is disabled.
Example
W1SET 1=33, 250, 27, 3.0, 2.0
W2SET 1=1.3, 170, 22.5
LMOVE a1
RTPM ON ← Enables RTPM function.
LWS p1
LWC p2, 1 Tracking by RTPM function is carried out.
LWE p3, 1, 1
LMOVE a2
RTPM OFF ← Disables RTPM function.
LWS q1
LWC q2, 1 Tracking is not done.
LWE q3, 1, 1
LMOVE a3
[ NOTE ]
RTPM tracking function does not work without weaving setting.
Unless weaving is set, tracking function will not work even if RTPM
switch is turned ON.
5-9
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
... RTLOG ...
Function
Determines whether RTPM logging function is enabled or disabled.
Explanation
When this switch is ON, RTPM logging function is enabled. When this is OFF, RTPM logging
function is disabled.
Data readings are logged at the specified number of logging cycles, starting from when RTPM
tracking function starts after turning RTLOG switch ON. The log data can be displayed using
RTMON 3 and RTMON 4.
5-10
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
... RTCMDI ...
Function
Determines whether RTGAIN and RTBIAS command/ instructions are made effective for each
step or immediately after they are executed.
Explanation
If this switch is OFF, RTGAIN and RTBIAS command/ instruction are made effective for each
step. When this switch is ON, RTGAIN and RTBIAS command/ instruction is enabled
immediately after the command/ instruction is executed.
Example1
RTCMDI OFF ← Enables RTGAIN, RTBIAS for each step.
W1SET 1=33, 250, 27, 3.0, 2.0
W2SET 1=1.3, 170, 22.5
LMOVE a1
RTPM ON
LWS p1
RTBIAS 10, 10 RTBIAS 10, 10 is effective until the next destination point
LWC p2 p2.
RTBIAS 0, 0 RTBIAS 0, 0 is effective until the next destination p3.
LWE p3, 1, 1
LMOVE a2
Example2
RTCMDI ON
When this switch is turned ON, RTBIAS command is put into effect immediately after it is
executed, therefore it is useful to execute RTBIAS command to shift the torch and to observe
the condition of the tracking.
5-11
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
... RTCONT ...
Function
Determines whether RTPM continue function is enabled or disabled.
Explanation
When this switch is ON, RTPM continue function is enabled. When this switch is OFF, RTPM
continue function is disabled.
Example1
When RTPM continue function is used
a2
a3
a1
q1
p2 q2
p1
RTPM ON
RTCONT ON ← RTPM continue function enabled.
W1SET 1=33, 250, 27, 3.0, 2.0
W2SET 1=1.3, 170, 22.5
LMOVE a1
LWS p1
LWE p2, 1, 1
LMOVE a2
LWS q1 Welds the seam (q1-q2) while tracking.
LWE q2, 1, 1 (Checks for deviation at point p2, and adjusts weld position
accordingly before welding the next seam.)
LMOVE a3
5-12
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example2
When not using RTPM continue function
a2
a3
a1
p2
p1
q1 q2
RTPM ON
RTCONT OFF ← RTPM continue function disabled.
W1SET 1=33, 250, 27, 3.0, 2.0
W2SET 1=1.3, 170, 22.5
LMOVE a1
LWS p1
LWE p2, 1, 1
LMOVE a2
LWS q1 Welds seam (q1-q2) without adjusting the weld position.
LWE q2, 1, 1
LMOVE a3
! CAUTION
For more precise adjustment using the tracking data from the last
seam, use RTGETNUM and RTHERE functions.
5-13
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns the number of data readings recorded in RTPM tracking function.
Explanation
This function is used with RTHERE function to acquire the deviation amount.
Example
See RTHERE function.
5-14
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns the deviation amount recorded in RTPM tracking function in transformation values based
on base coordinate system.
Parameter
Point number
Specifies as follow:
Weld start point 1
First weld continue point 2
Second weld continue point 3 etc.
Explanation
This function is used with RTGETNUM function to acquire the deviation amount in
transformation values. Deviation amount is used in such cases as when welding the second or
third pass in multi-layer welding.
When used at the weld start point, returns the offset value for start point sensing. When start
point sensing is not done, 0 is returned.
In this example, RTGETNUM function returns 4. In dlt[1] - dlt[4], the following values are
substituted:
5-15
D Series Controller 5.0 RTPM (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
dlt[1]: Deviation amount A at the first weld point (weld start point ) (Here it is 0.)
dlt[2]: Deviation amount B at the second weld point
dlt[3]: Deviation amount C at the third weld point
dlt[4]: Deviation amount D at the fourth weld point
5-16
D Series Controller 6.0 Start Point Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
This chapter explains AS language used in start point sensing function (Option).
System Switch
SSENSING Turns ON/OFF start point sensing
EXAMPLE
Keyword Parameter
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
SSENSPTN 1: 101
6-1
D Series Controller 6.0 Start Point Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
SSENSPTN pattern number
Specify robot number when using Multi D Controller.
Function
Specifies the sensing pattern for start point sensing function.
Parameter
Pattern number
Specifies the pattern number to set. Settable range: 1 to 5, 101 to 106.
1 to 5: special groove shape (definable)
101 to 106: standard groove shapes shown below:
Explanation
When 1 - 5 is specified as parameter, start point sensing is done by sensing pattern set in
[Auxiliary Function 1404 Arc Weld Setting 15 Start Point Sensing]. Set the sensing patterns
using the auxiliary function screen before using this command/ instruction.
To use the prepared standard patterns, specify 101 – 106. The default setting is 101.
When used as a monitor command, omit the parameter to display the current setting.
When used as program instruction, the parameter cannot be omitted.
Example
SSENSPTN 106 Specifies horizontal single bevel groove with groove angle
of 45° as the sensing pattern for start point sensing.
6-2
D Series Controller 6.0 Start Point Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
...SSENSING...
Specify robot number when using Multi D Controller.
Function
Determines whether start point sensing function is enabled or disabled.
Explanation
When this switch is ON, start point sensing is enabled. When this switch is OFF, start point
sensing function is deactivated and does not work. Default setting for this switch is OFF.
Example
W1SET 1=33,250,27,3.0,2.0
W2SET 1=1.3,170,22.5
SSENSPTN 102 ← Sets flat fillet weld as start point sensing pattern
SSENSING ON ← Enables start point sensing function
LMOVE a1
LWS p1 ← Executes start point sensing before starting to weld.
LWC p2,1
LWE p3,1,1
LMOVE a2
6-3
D Series Controller 6.0 Start Point Sensing (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
6-4
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
This chapter explains AS language used for setting and using weld condition database (Option).
EXAMPLE
Keyword Parameter
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example GET1WCON 1: 2=
7-1
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DBUSE big category, small category
Function
Declares the database to use. Set the database using auxiliary function screen ([Auxiliary
Function 1403 Arc Weld Condition Database]) or using DBWRITE command/ instruction before
using DBUSE.
Parameter
Big category
Specifies the groove number. Settable range: 1 to 12.
<Example of database>
1 Horizontal fillet weld 7 Special 1
2 Flat fillet weld 8 Special 2
3 Lap fillet 9 Special 3
4 Corner fillet 10 Special 4
5 Butt I 11 Special 5
6 Downhill 12 Special 6
Small category
Specifies the size of weld. Settable range: 1 to 12.
<Example of database>
1 3 mm 7 No.1
2 4 mm 8 No.2
3 5 mm 9 No.3
4 6 mm 10 No.4
5 7 mm 11 No.5
6 8 mm 12 No.6
Using the above example, database for horizontal fillet weld with weld size of 5 mm is specified
as following:
DBUSE 1, 3
7-2
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Explanation
The following commands/ instructions/ functions become effective for the database declared by
DBUSE.
GETPASS function GET1WCON command/ instruction
SETPASS command/ instruction GET2WCON command/ instruction
INSPASS command/ instruction GETWPOS command/ instruction
DELPASS command/ instruction GETWAUX command/ instruction
Example
lap=3
thickness=4
DBUSE lap, thickness
7-3
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
SETPASS pass number
Function
Declares the pass number to use in the database specified by DBUSE command/ instruction.
Parameter
Pass number
Specifies the number of the pass to use.
Explanation
The following commands/ instructions can be used for the specified pass number set to the
database specified by DBUSE command/ instruction.
GET1WCON command/ instruction
GET2WCON command/ instruction
GETWPOS command/ instruction
GETWAUX command/ instruction
Error P6502 No database exists. occurs if DBUSE command/ instruction is not executed before
SETPASS command/ instruction, or the pass number specified is greater than the number of
existing passes.
EXAMPLE
lap=3
thickness=4
DBUSE lap,thickness
SETPASS 1
7-4
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
GET1WCON weld condition number = speed, current, voltage, weaving width,
weaving frequency, weaving pattern, pole ratio
Specify robot number when using Multi D Controller.
Function
Acquires the weld conditions from the database specified via DBUSE command/ instruction and
SETPASS command/ instruction. The conditions are acquired in order of speed, current, voltage,
weaving width, weaving frequency, weaving pattern number, and pole ratio.
Parameter
Weld condition number
Specifies the weld condition number in which to store the acquired conditions. Settable
range: 1 to 20.
Speed
Specifies variable that stores the acquired speed. Unit is cm/min.
Current
Specifies variable that stores the acquired welding current. Unit is: A.
Voltage
Specifies variable that stores the acquired welding voltage. Unit is V.
Weaving width
Specifies variable that stores the acquired weaving width. Unit is mm.
Weaving frequency
Specifies variable that stores the acquired weaving frequency. Unit is Hz.
Explanation
Specify at least one parameter.
7-5
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Before GET1WCON command/ instruction, specify the database and pass via DBUSE and
SETPASS command/ instruction. Error P6502 No weld database. occurs if the database is not
specified or the pass number specified is greater than the existing number of passes.
Example
DBUSE hfillet,3
SETPASS 2
GET1WCON wsp, amp, vlt, wv, fq, pn Substitutes the weld conditions acquired
(1)
W1SET 2 = wsp, amp, vlt, wv, fq, pn from the database to weld condition No. 2.
The difference between (2) and (3) is that in (2) the weld conditions are substituted into the
variables (wsp, amp, ....) while in (3) they are not.
7-6
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
GET2WCON crater (arc spot) weld condition = time, current, voltage, pole ratio
Specify robot number when using Multi D Controller.
Function
Acquires the crater condition (arc spot weld condition) from the pass of the database specified via
DBUSE command/ instruction and SETPASS command/ instruction. The conditions are
acquired in order of time, current, voltage, and pole ratio.
Parameter
Crater condition number (Arc spot weld condition number)
Specifies the crater (or arc spot weld) condition number. Settable range: 1 to 20.
Time
Specifies variable that stores the acquired crater weld time (arc spot weld time). Unit is sec.
Current
Specifies variable that stores the acquired weld current. Unit is A.
Voltage
Specifies variable that stores the acquired weld voltage. Unit is V.
Explanation
Before this command/ instruction, specify the database and pass via DBUSE and SETPASS
command/ instruction. Error P6502 No weld database. occurs if the database is not specified or
the pass number specified is greater than the existing number of passes.
7-7
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
DBUSE hfillet,3
SETPASS 2
GET2WCON crtt,crtamp,crtvlt Substitutes the acquired crater weld condition to crater.
(1)
W2SET 3=crtt,crtamp,crtvlt condition number 3.
The difference between (2) and (3) is that in (2) the weld conditions are substituted into the
variables (crtt, crtamp, crtvlt) while in (3) they are not.
7-8
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
GETWPOS ΔY, ΔZ, Δθ, γ
Function
Acquires the position data of the torch from the database specified via DBUSE and SETPASS
command/ instruction.
Parameter
ΔY
Specifies variable that stores the acquired deviation amount of the torch in Y direction from the
first layer. Unit is mm.
ΔZ
Specifies variable that stores the acquired deviation amount of the torch in Z direction from the
first layer. Unit is mm.
Δθ
Specifies variable that stores the acquired deviation amount in degree of angle of the torch from
the first layer. Unit is deg.
γ
Specifies variable that stores the acquired degree of angle of lead of the torch (absolute value).
Unit is deg.
Explanation
Before this command/ instruction, specify the database and pass via DBUSE and SETPASS
command/ instruction. Error P6502 No weld database. occurs if the database is not specified or
the pass number specified is greater than the existing number of passes.
Example
DBUSE 1,2 Substitutes to variables (delty, deltz, deltth,
SETPASS 3 gamma) the torch position data of pass 3 of
GETWPOS delty, deltz, deltth, gamma database under big category 1, small category 2.
7-9
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
GETWAUX pattern number, RTPM vertical bias, RTPM lateral bias
Function
Acquires the start point sensing pattern number from the database specified via DBUSE and
SETPASS command/ instruction.
Parameter
Pattern number
Specifies variable that stores the acquired pattern number for start point sensing function.
Explanation
Before this command/ instruction, specify the database and pass via DBUSE and SETPASS
command/ instruction. Error P6502 No weld database. occurs if the database is not specified or
the pass number specified is greater than the existing number of passes.
Example
From pass 3 of database under big category 1,
DBUSE 1,2
small category 2, substitutes the sensing pattern
SETPASS 3
number to variable (ssensptn), vertical bias to
GETWAUX ssensptn, rtbias1, rtbias2
variable (bias1), and lateral bias to (rbias2).
7-10
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
DBCLEAR
Function
Clears all weld condition databases.
! CAUTION
7-11
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DBNAME big category, “groove name”, “weld size name 1”, “weld size name 2”,
…, “weld size name 12”
Function
Names the groove type and weld size data recorded in weld condition database.
Parameter
Big category
Specifies the big category number (groove number) to name. Settable range: 1 to 12. See
DBUSE command/ instruction.
“Groove name”
Specifies a name for the groove which is to be displayed on the teach pendant (up to 8
characters). When omitted, the currently set name remains unchanged. Names “No.1” to
“No.12” are given to the grooves as default.
Explanation
This command/ instruction assigns name to components of a weld database which is to be
displayed in [Auxiliary function 1403 Arc Weld Condition Database].
When used as monitor command, all the parameters can be omitted to display the names
currently set.
Example
>DBNAME 1, “H Fillet”,“ Weld size 3mm”,“Weld size 4mm”
Assigns name to database in big category 1. The name of the big category (groove number) is
defined as “H Fillet”, small category 1 (weld size) is named “Weld size 3mm”, and small
category 2, “Weld size 4mm”. Small categories 3 and after are named “No.3”, “No.4”,...
“No.12”.
7-12
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DBCREATE big category, small category, pass number
Function
Creates memory area for new weld condition database.
Parameter
Big category
Specifies the big category number (groove number) for the new database. Settable range: 1 to
12. See DBUSE command/ instruction.
Small category
Specifies the small category number (weld size number) for the new database. Settable range:
1 to 12. See DBUSE command/ instruction.
Pass number
Specifies the number of the pass. When omitted, 1 is assumed.
Explanation
Use this command/ instruction to reserve memory area for saving the database created by
DBWRITE.
The pass number specified cannot exceed currently existing number of passes + 1.
Example
>DBCREATE 1,3,4 ↵
Reserves memory area for the database specified as big category 1, small category 3, and pass
number 4.
7-13
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DBWRITE weld speed, weld current, weld voltage, weaving width,
weaving frequency, weaving pattern, crater time, crater current, crater voltage,
ΔY, ΔZ, Δθ, γ, layer number, start point sensing pattern, pole ratio, pole ratio 2,
RTPM vertical bias, RTPM lateral bias
Function
Writes the contents of weld condition database onto the memory area reserved via DBCREATE
and INSPASS command/ instruction.
Parameter
Parameter Explanation Settable range
Weld speed Weld speed. Unit: cm/min. 1 − 999
Weld current Weld current. Unit: A. 0 − 999
Weld voltage Weld voltage. Unit: V. 0 − 99.9
Weaving width Weaving width. Unit: mm. 0 − 40.0
Weaving frequency Weaving frequency. Unit: Hz. 0 − 4.0
Weaving pattern (Option) Weaving pattern number. 0 − 10
Crater time Crater (Arc spot) weld time. Unit: sec. 0 − 9.9
Crater current Crater (Arc spot) weld current. Unit: 0 − 999
A.
Crater voltage Crater (Arc spot) voltage. Unit: V. 0 − 99.9
ΔY Deviation in Y direction. Unit: mm. -500 − 500
ΔZ Deviation in Z direction. Unit: mm. -500 − 500
Δθ Degree of angle of deviation. Unit: -180 − 180
deg.
λ Angle of lead. Unit: deg. -180 − 180
Layer number Layer number in multi- layer welding. 1 − 99
Start point sensing pattern (Option) Start point sensing pattern. 1 – 5 Special groove
101 – 106 Regular groove
Pole ratio (Option) Pole ratio 0 − 15
Pole ratio 2 (Option) Pole ratio 2 0 − 15
RTPM bias vertical Bias in vertical direction in RTPM -100.0 − 100.0
function. Unit: A.
RTPM bias lateral Bias in lateral direction in RTPM -100.0 − 100.0
function. Unit: A.
Explanation
When parameter is omitted, the currently set values remain unchanged. Option parameters must
have settings if that option is not installed. Therefore, do not leave any parameter unset with no
value.
7-14
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
DBCREATE 1,2,1
DBWRITE 33,250,27.0,3,2,0,1.3,170,22.5,1.5,0,0,0,1,101,0,0,0,0
DBCREATE 1,2,2
DBWRITE 68,290,32.0,0,0,0,1.3,190,23.5,6,0,0,0,2,101,0,0,0,0
DBCREATE 1,2,3
DBWRITE 66,290,32.0,0,0,0,1.3,190,23.5,1.5,6,0,0,2,101,0,0,0,0
7-15
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
INSPASS pass number
Function
Reserves memory area to insert a new pass to a weld condition database.
Parameter
Pass number
Specifies the pass number to insert. Settable range: 1 – existing pass number.
Explanation
Before using INPASS, specify the database to use via DBUSE command/ instruction. After
specifying the database number, reserve the memory area for the pass and insert the pass data
specifications using DBWRITE command/ instruction.
Example
DBUSE 1,2
INSPASS 5
DBWRITE 66,290,32.0,0,0,0,1.3,190,23.5,1.5,6,0,0,3,101,0,0,0,0
A new pass is inserted as the fifth pass in database big category 1, small category 2. The former
pass 5 and those thereafter becomes pass 6, pass 7, and so on.
7-16
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DELPASS pass number
Function
Deletes the specified pass from the weld condition database.
Parameter
Pass number
Specifies the pass number to delete. Settable range 1 to existing number of passes.
Explanation
Before using this command/ instruction, specify the database via DBUSE command/
instruction.
Example
DBUSE 1,2
DELPASS 5
7-17
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns the total number of passes in the database specified via DBUSE command/ instruction.
Explanation
Before using this command/ instruction, specify the database via DBUSE command/ instruction.
Example
DBUSE 1,2
totpass=GETPASS
Substitutes to variable “totpass”, the total number of passes in database big category 1, small
category 2.
7-18
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns information on memory area in use or available for the weld condition database.
Parameter
Number
0: Total area (number of passes) available for weld condition database.
1: Area (number of passes) used by the weld condition database.
2: Area (number of passes) remaining for use by the weld condition database.
Example
totpass = DBFREE(0)
upass = DBFREE(1)
nupass = DBFREE(2)
TYPE upass/totpass*100,”% in use ”, nupass/totpass*100,”% FREE”
Shows in %, the ratio of reserved memory used by the database and the area which remains to be
used by the database.
7-19
D Series Controller 7. Weld Condition Database (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
7-20
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
DEXT Returns the specified component from pose data
TRADD Adds components of traverse axis to robot axis components
(changes to cooperative coordinate system based values)
TRSUB Subtracts components of traverse axis from robot axis
components (changes to robot coordinate system based
values)
EXAMPLE
Keyword Parameter
8-1
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
POINT/7 transformation variable name = transformation values
POINT/8 transformation variable name = transformation values
POINT/9 transformation variable name = transformation values
POINT/10 transformation variable name = transformation values
POINT/11 transformation variable name = transformation values
POINT/12 transformation variable name = transformation values
POINT/EXT transformation variable name = transformation values
Function
Assigns the components of the transformation values specified on the right of “=” to the
corresponding components of the transformation variable name on the left of “=”. When used
as monitor command, the values are displayed on the terminal for editing.
Parameter
Transformation variable name
Specifies the transformation variable name to be defined (transformation values or compound
transformation values). When specified in compound transformation values, this command/
instruction substitutes the values in the rightmost variable of the compound value. Error occurs
if variable other than the rightmost variable is undefined.
Transformation values
Specifies the value to substitute to the variable on the right of equation (transformation values,
joint displacement values). When this parameter is omitted in monitor command, the currently
set values are displayed for modification. When used as program instruction, this parameter
cannot be omitted.
Explanation
Defines the external axes component(s) (Axes 7, 8, 9, 10, 11, 12) of the specified
transformation variable name to equal the value(s) on the right of the equation.
Only existing robot axis numbers can be entered. For example, when using a 10 – axis robot,
/11 and /12 cannot be used.
/EXT specifies all existing external axes. For example, in a 10- axes robot, POINT/EXT
means the same as POINT/7/8/9/10.
8-2
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Example 1
When
X Y Z O A T 7 8
a1= 100 200 300 10 15 30 500 600
a2= Undefined
then,
POINT/8 a2=a1
X Y Z O A T 7 8
a2= 0 0 0 0 0 0 0 600
Example 2
When
X Y Z O A T 7 8
a1= 100 200 300 10 15 30 500 600
a2= Undefined
then,
POINT/EXT a2=a1
X Y Z O A T 7 8
a2= 0 0 0 0 0 0 500 600
8-3
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Returns the specified element from the specified pose variable.
Parameter
Pose name
Specifies the pose from which to extract the element (joint displacement values, transformation
values).
Element number
Specifies in real number, the type of element to extract. Element number cannot be greater
than the number of existing axes. For example, 11 and 12 cannot be used with 10-axes robot.
Pose
Element Transformation Joint
number values displacement
values
1 X component JT1 component
2 Y component JT2 component
3 Z component JT3 component
4 O component JT4 component
5 A component JT5 component
6 T component JT6 component
7 JT7 component JT7 component
8 JT8 component JT8 component
9 JT9 component JT9 component
10 JT10 component JT10 component
11 JT11 component JT11 component
12 JT12 component JT12 component
Example
X Y Z O A T 7 8
a1= 100 200 300 10 15 30 500 600
then,
TYPE DEXT(a1,8)
will display “600”.
8-4
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Adds the components of the traverse axis to each component of the specified transformation
values. In other words, transforms the pose described as the relation of tool coordinates relative
to base coordinates into the pose of tool coordinates relative to cooperative coordinates.
Parameter
Transformation values
Specifies the transformation values describing the pose of the tool coordinates relative to the
base coordinates.
Explanation
Transformation values acquired by commands such as HERE instruction are based on the robot
coordinates (base coordinates). By using this function, those transformation values can be
converted to transformation values based on cooperative coordinates (world coordinates) which
incorporate the external axes (traverse axes).
Example
In the figure below, the traverse axis JT7 is placed parallel to X axis.
X Y Z O A T 7 8
a1= 100 200 300 10 15 30 500 600
then,
POINT a2=TRADD(a1)
results as follows:
X Y Z O A T 7 8
a2= 600 200 300 10 15 30 500 600
100+500
a2
a1
Y y
X x
X component of
traverse axis
Cooperative coordinates
500 Robot coordinates
(World coordinates)
(Base coordinates)
8-5
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
! CAUTION
8-6
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
Function
Subtracts the traverse axis components from each component of the specified transformation
values. In other words, transforms the pose described as relation of tool coordinates relative to
cooperative coordinates (world coordinates) into the pose of tool coordinates relative to base
coordinates.
Parameter
Transformation values
Specifies the transformation values based on cooperative coordinates.
Explanation
Transforms the transformation values based on cooperative coordinates (world coordinates) to
transformation values based on robot coordinates (base coordinates).
Example In the figure below, traverse axis JT7 is placed parallel to X axis of the base
coordinates.
X Y Z O A T 7 8
a2= 950 200 300 10 15 30 500 600
then,
POINT a1=TRSUB(a2)
results as following:
X Y Z O A T 7 8
a1= 450 200 300 10 15 30 500 600
950-500
a2
a1
Y
y
X x
X component of
Cooperative coordinates traverse axis
500 Robot coordinates
(World coordinates)
(Base coordinates)
8-7
D Series Controller 8.0 External Axis Control
Kawasaki Robot Arc Welding AS Language Reference Manual
! CAUTION
8-8
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
This chapter describes the AS languages for TIG welding function (Option).
Monitor Command
W1SET Sets arc weld condition
W2SET Sets crater and arc spot weld condition
W3SET Sets software slowdown condition
WLIST Displays weld conditions
LTBLSET Sets linearization data
OGSET Sets offset/ gain
DSLOPEGAIN Sets down-slope inclination
USLOPEGAIN Sets up-slope inclination
Program Instruction
DSLOPEGAIN Sets inclination for down-slope
USLOPEGAIN Sets inclination for up-slope
W1SET Sets arc weld condition
W2SET Sets crater and arc spot weld condition
W3SET Sets software slow down condition
LTBLSET Sets linearization data
OGSET Sets offset/ gain
System Switch
SSDOWN Enables/ disables software slowdown
9-1
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
EXAMPLE
Keyword Parameter
DSLOPEGAIN inclination
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
DSLOPEGAIN 1: 10
9-2
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W1SET weld condition number = speed, current, wire feeding speed, weaving
width, weaving frequency, pattern number, pole ratio
Specify robot number when using Multi D Controller.
Function
Sets weld conditions.
Parameter
Weld condition number
Sets weld condition number. Settable range: 1 – 20.
Speed
Sets welding speed. Unit is cm/min. Settable range: 1 – 999 cm/min.
Current
Sets welding current. Unit is A (ampere). Settable range: 0 – 999 A.
Weaving width
Sets weaving width. Unit is mm. Settable range: 0 – 160.0 mm.
Weaving frequency
Sets the frequency for weaving motion. Unit is Hz (hertz). Settable range: 0 – 4.0 Hz.
Explanation
All parameters can be specified in forms of real values, real variables, and equations. When
omitted, the value(s) last used in this command/ instruction are set.
9-3
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Error occurs if weld condition number is not set within 1-20 or if any weld condition (speed, etc.)
is out of range.
The weld condition number set here and the condition number set in [Auxiliary Function 1401
Arc Weld Condition] are different and not related to each other.
[ NOTE ]
The robot does not weld when the current is set to zero (0). When the system is
initialized, no value is set for speed, current, and voltage, and zero (0) is set for weaving
width, weaving frequency and pattern number. Therefore, always specify all
parameters when using this command/instruction for the first time after initializing.
Parameters with no values set will cause error when LWC or LWE instructions are
executed.
Example 1
>W1SET 2=80 ↵ Values set last time W1SET was executed are
adopted for the omitted parameters, therefore,
80 cm/min, 250 A, 28 cm/min, 2 mm, 3 Hz are set to
weld condition 2.
Example 2
W1SET 2=s, cur, vlt, wv, fq, pth
9-4
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W2SET crater weld condition number = time, current, wire feeding speed, pole
ratio
Specify robot number when using Multi D Controller.
Function
Sets crater condition or arc spot condition.
Parameter
Crater (arc spot) weld condition number
Sets crater weld or arc spot weld condition number. Settable range: 1 – 20.
Time
Specifies the time to stay stationary (crater treatment time or arc spot welding time). Unit is
seconds. Settable range: 0 – 10.0 seconds.
Current
Sets the welding current. Unit is A. Settable range: 0 – 999 A.
Explanation
All parameters can be set using real variables or mathematic equations. When omitted, the
value(s) last used in this command/ instruction are set.
Error occurs if weld condition number is not set within 1 - 20, or if any weld condition (speed,
etc.) is out of range.
The crater/arc spot weld condition number set here and the condition number set in [Auxiliary
Function 1402 Arc Spot Weld Condition] are different and not related to each other.
9-5
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
[ NOTE ]
The robot does not weld when either current or voltage is set to zero (0). When the
system is initialized, no value is set for time, current, and voltage. Therefore, always
specify all parameters when using this command/instruction for the first time after
initializing. Parameters with no values set will cause error when LWC or LWE
instructions are executed.
9-6
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
W3SET preheating time, current, wire feeding speed, weaving width, weaving
frequency, pattern no., pole ratio
Specify robot number when using Multi D Controller.
Function
Sets in AS language, the software slow down conditions as set in [Aux. Arc Weld Setting – 4
Software Slow Down].
Parameter
Preheating time
Sets preheating time. Unit is seconds. Settable range: 0- 99.9 s.
Current
Sets the welding current. Unit is A. Settable range: 0 – 999 A.
Weaving width
Sets weaving width. Unit is mm. Settable range: 0 to 160.0 mm.
Weaving frequency
Sets weaving frequency. Unit is Hz. Settable range: 0 to 4.0 Hz.
Explanation
All parameters can be set using real variables or mathematic equations. When omitted, the
value(s) last used in this command/ instruction are set.
Error occurs if any weld condition (preheating time, etc.) is out of range.
9-7
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
[ NOTE ]
The robot does not weld when either current or voltage is set to zero (0). When the
system is initialized, no value is set for time, current, and voltage. Therefore, always
specify all parameters when using this command/instruction for the first time after
initializing. Parameters with no values set will cause error when LWC or LWE
instructions are executed.
Example 1
>W3SET 2,250,28,2,3 ↵ Sets software slow down condition to: preheating time
2 s, 250 A, 28 cm/min, 2 mm, 3 Hz.
>W3SET 1.2 ↵ Values set last time W1SET was executed are adopted
for the omitted parameters, therefore, preheating time
1.2 s, 250 A, 28 cm/min, 2 mm, 3 Hz are set to software
slow down condition.
Example 2
>W3SET ptim, cur, wspd, wv, fq, pth
9-8
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
WLIST condition type, condition number
Specify robot number when using Multi D Controller.
Function
Displays a list of weld conditions or crater/ arc spot weld conditions set in W1SET, W2SET or
W3SET command/instruction.
Parameter
Condition type
Specifies 1, 2 or 3. When 1 is specified or omitted, the list of weld conditions set by W1SET is
displayed. When 2 is specified, the list of crater/ arc spot weld conditions set by W2SET is
displayed. When 3 is specified, the software slowdown condition set in W3SET is displayed.
Condition number
Specifies the condition number of the weld condition or arc spot weld condition to display
(Settable range: 1 – 20). When omitted, conditions 1 – 20 are displayed. Condition number is
ignored when condition type 3 is specified.
Explanation
∗∗∗.∗ is displayed for parameters not set.
>WLIST 2
No. Crater time Cur. Vol. PO
(sec) (A) (V)
1 1.0 150.0 18.0 0
2 2.0 100.0 50.0 0
3 3.0 200.0 20.0 0
4 5.0 200.0 19.0 0
5 5.0 250.0 25.0 0
6 10.0 200.0 19.0 0
7 10.0 250.0 25.0 0
8 ***.* ***.* ***.* 0
9 ***.* ***.* ***.* 0
10 ***.* ***.* ***.* 0
…
>
9-9
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
LTBLSET type number, line number = command current (wire feeding speed),
output voltage (wire feeding rotation speed)
Function
Sets in AS language, the Linearization table as set in [Aux. 1404 Arc Weld Setting -
1 Linearization]. When using servo torch (option), the Linearization table as set in
[Auxiliary function 1404 Arc weld setting – 16 Servo torch – 1 Linearization] is also set by this
command/ instruction.
Parameter
Type number
Specifies whether the linearization data to set is command current, wire feeding speed or wire
feeding speed for servo torch (only when servo torch option is enabled). (1: current, 2: wire
feeding speed, 3: servo torch wire feeding speed)
Line number
Specifies the line number in which data will be set. Settable range:1 to 16.
Explanation
Linearization table is changed in cases such as when a robot uses two different types of weld
machines.
[ NOTE ]
In this command, the set data are sorted in ascending order of the command
current (wire feeding speed). The line where command current is set at 0 is
regarded as end of data, and sorted to the bottom of the table.
9-10
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example1
FOR i=1 TO 16
LTBLSET 1,1 = 0, 0 Clear all linearization data.
LTBLSET 2,1 = 0, 0 All line numbers can be set as 1 (they will be sorted by
current or voltage value)
END
FOR i=1 TO 12
LTBLSET 1,i = a_com[i], a_da[i] Sets command current and wire feeding speed for
12 lines in the linearization table.
LTBLSET 2, i = wspd _com[i], wspd _ rpm [i]
END
small
a_com[1] = 32 a_da[1] = 500
Current
Example 2
LTBLSET 1,12 =,12800 Only the output voltage is changed for line 12. The
current is not changed.
9-11
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
OGSET type number = offset, gain
Function
Sets the linearizer offset and gain set in [Auxiliary function 1404 Arc weld setting - 2 Offset/gain]
via AS language command.
Parameter
Type number
Specifies whether the offset/gain to set is current or voltage. (1: current, 2: wire feeding speed)
Offset
Specifies the offset value to set. Settable range: -9999 mV to 9999 mV. When omitted, no
changes are made to the current values.
Gain
Specifies the gain value to set. Settable range: 0.0 to 9.999. When omitted, no changes are
made to the current values.
Example 1
>OGSET 1=320, 0.98 ↵
>OGSET 1= , 0.87 ↵ Only the gain value is changed and not the offset value.
Example 2
OGSET 1 = 320, 0.98
OGSET 2 = -102, 1.321
9-12
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
DSLOPEGAIN inclination
USLOPEGAIN inclination
Specify robot number when using Multi D Controller.
Function
Sets the inclination of current change in slope function.
DSLOPEGAIN: Down-slope
USLOPEGAIN: Up-slope
Parameter
Inclination
Sets the inclination of slope. Unit is A/sec. Settable range: 0 to 999A/sec. When the
inclination is set to 0, slope function does not work (current changes at each step).
When used as monitor command, parameter can be omitted to display the currently set values.
Explanation
Slope function is a function that increases (or decreases) the current at the specified inclination
until it reaches the designated current when the current is changed during welding.
Slope function does not work at weld start point, weld end point with no crater welding, or
immediately after a crater welding.
If there is not enough time for up-slope (down-slope), the current is increased (decreased) to the
designated current after robot reaches the designated point.
The entered values are effective from the next step. This command/ instruction can be used
within a welding procedure (between WS and WE instructions).
9-13
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Example
Current 4
1 2 3
WS WC WC WC WE crater
a b C d e
LWS a
LWC b,1
USLOPEGAIN 10 ← Up-slope at 1
LWC c,2
DSLOPEGAIN 10 ← Down-slope at 2
LWC d,1
USLOPEGAIN 5 ← Up-slope at 3
DSLOPEGAIN 20 ← Down-slope at 4
LWE e,3,1
! CAUTION
When the slope towards weld end point and slope at crater welding are
both up- or down-slope, the inclination cannot be changed for either
point.
9-14
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
.. SSDOWN ...
Specify robot number when using Multi D Controller.
Function
Specifies if software slow down is executed or not.
Parameter
When this switch is ON, robot welds according to the software slow down condition set via
W3SET until WCR signal is input for weld start instruction. If preheating time is set in W3SET,
robot stops and welds for the set time after WCR signal is input (only when arc is generated from
a stopped position (standstill start)).
When this switch is OFF, robot welds according to the welding condition set via W1SET.
Example
ARC ON Enables (turns ON) welding.
SSDOWN ON Enables (turns ON) software slow down.
LMOVE a1
LWS w1
LWE w2,1,1 Welds by software slow down condition until WCR signal is input.
LMOVE a2
ARC OFF Disables (turns OFF) welding.
LMOVE a1
9-15
D Series Controller 9.0 TIG Welding (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
9-16
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
AVC Turns ON/OFF AVC function
AVCBASE Changes AVC pulse area
EXAMPLE
Keyword Parameter
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
AVCSET 1: 20.0
10-1
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
AVCMON display mode
Specify robot number when using Multi D Controller.
Function
Displays the settings for AVC function.
Parameter
Specifies the display mode. Settable range: 1 to 4.
1 - Displays the current command value (reference voltage) and the actual value of welding
voltage.
Displayed items Cur.Ref.(V) Cur.Act.(V)
! CAUTION
10-2
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AVCSET reference voltage
Specify robot number when using Multi D Controller.
Function
Sets the reference voltage during AVC function. Keeps the distance between the base metal and
tungsten electrode.
Parameter
Reference voltage
Sets a fixed voltage between the base metal and the tungsten electrode. Settable range: 0.0 to
50.0. Unit is V. If the voltage is omitted when using AVCSET as monitor command, the
currently set values remain unchanged.
Explanation
This command/ instruction overwrites the contents recorded in [Auxiliary Function 1404 Arc
Weld Setting - 12 AVC - 1 Tracking gain/ bias]. The value set remains in effect until changed
again.
When RTCMDI switch is turned OFF (disabled), the value set by AVCSET is made effective for
each step. When ON (enabled), the values are effective immediately after AVCSET is executed.
(See RTCMDI switch).
When used as a monitor command, omit the parameter to display the currently set value. When
used as program instruction, parameter cannot be omitted.
10-3
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AVCGAIN gain
Specify robot number when using Multi D Controller.
Function
Sets the gain values for AVC function. This is used to adjust the tracking function, to disable
tracking in tack welding, etc.
Parameter
Gain
Sets the gain for tracking in vertical direction of the torch. Settable range: -9.99 to 9.99.
Unit is mm/V. If the gain is omitted when using AVCGAIN as monitor command, the
currently set values remain unchanged.
Explanation
This command/ instruction overwrites [Auxiliary Function 1404 Arc Weld Setting - 12 AVC -
1 Tracking gain/ bias]. The value set remains effective until changed again.
When RTCMDI switch is turned OFF (disabled), the value set by AVCGAIN is made effective
for each step. When ON (enabled), the value is effective immediately after this AVCGAIN is
executed. (See RTCMDI switch).
When used as a monitor command, omit the parameter to display the currently set value. When
used as program instruction, parameter cannot be omitted.
10-4
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AVCBIAS voltage
Specify robot number when using Multi D Controller.
Function
Sets the bias values for AVC function. This is used to adjust arc length.
Parameter
Voltage
Adjusts the torch in vertical direction, that is the arc length is adjusted. Settable range: -100
to 100. Unit is V. If the bias is omitted when using AVCBIAS as monitor command, the
currently set values remain unchanged.
Lifts the
torch
Lowers the
torch
Explanation
This command/ instruction overwrites [Auxiliary Function 1404 Arc Weld Setting - 12 AVC -
1 Tracking gain/ bias]. The value set remains in effect until changed again.
When RTCMDI switch is turned OFF (disabled), the value set by AVCBIAS is made effective
for each step. When ON, the value is effective immediately after this command/ instruction is
executed. (See RTCMDI switch).
When used as a monitor command, omit the parameter to display the currently set value. When
used as program instruction, parameter cannot be omitted.
10-5
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
... AVC ...
Specify robot number when using Multi D Controller.
Function
Determines whether AVC tracking function is enabled or disabled.
Explanation
When this switch is ON, AVC tracking function is enabled. When this switch is OFF, AVC
tracking function is disabled. Default value for this switch is OFF.
Example
W1SET 1=7,250,0,0,0
W2SET 1=5,120,0
AVCSET 13 ← Sets AVC reference voltage to 13V.
AVCGAIN 1 ← Sets AVC gain to 1mm/V.
LMOVE a1
AVC ON ← Enables AVC tracking function.
LWS p1
LWC p2,1 Tracking by AVC function is carried out.
LWE p3,1,1
LMOVE a2
AVC OFF ← Disable AVC function.
LWS q1
LWC q2,1 Tracking is not done.
LWE q3,1,1
LMOVE a3
10-6
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
System Switch
...AVCBASE ...
Function
Changes AVC pulse zone.
Explanation
When this switch is ON, weld voltage is detected only in the low pulse zone when pulse welding
with current boost in special pattern weaving. When this switch is OFF, weld voltage is detected
and AVC function enabled only in the high pulse zone. Default value for this switch is OFF.
When current boost function for special pattern weaving is not used, AVC function is enabled on
both high and low pulse zones regardless of the switch ON/OFF status.
Time
10-7
D Series Controller 10.0 AVC (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Memo
10-8
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
EXAMPLE
Keyword Parameter
When using Multi D Series Controller, robot number must be specified in some of the AS
languages to clarify the target robot. Parameter n: (where n= 1, 2, 3 …) is inserted right after the
keyword, as shown in the example below. See Appendix 6 for AS languages that require robot
number specifications.
Example
AWINCH 1: 50, 10
11-1
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWINCH/N rotation speed, time
Specify robot number when using Multi D Controller.
Function
Executes wire inching/retract.
Parameter
Rotation speed
Sets the rotation speed of the wire feeding roller. Settable range: -300 to 300. Unit is rpm.
Set positive value for inching, and negative value for retract.
Time
Sets length of time wire is fed. Settable range: 0 to 100. Unit is s (second). When omitted,
0.5 s is automatically set.
Explanation
Executes wire inching/retract at the specified rotation speed, for the specified length of time.
Robot must be ready for operation for the wire to be fed. This is because the wire feeding motor
is installed as an external axis of the robot. First turn ON the motor power and release HOLD.
Then, set the following conditions depending on the mode before starting operation.
At teach mode: Set both TEACH LOCK and TRIGGER ON.
At repeat mode: Execute in robot program.
When used as monitor command with the parameter omitted or specified “/N”, the current
rotation speed set for the wire feeding is displayed continuously. Press ↵ to display the average
rpm value and close the display.
When two servo torch axes and MIG/TIG switching functions are enabled and when two servo
torches are selectively used, executing this command as a monitor command displays the rotation
speed of the wire feeder in the torch selected by MIG/TIG switching function.
Example
>AWINCH 50,10 ↵ Executes inching of weld wire at 50 rpm for 10 seconds.
11-2
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWFSSEQ torch no.: wire feeder ON delay, slow down speed, hot start 1,
hot start 2
Specify robot number when using Multi D Controller.
Function
Sets via AS language, the wire feeding sequence at weld start set at [Aux. 1404 Arc weld setting –
16 Servo Torch – 5 Weld start/ end sequence].
Parameter
Torch No.
Sets the torch to use for welding. Select 1 or 2 when two servo torch axes function is enabled.
Omit this parameter or specify 1 when two servo torch axes function is not used.
Hot start 1
Sets the wire feeding time at slow down speed after WCR signal turns ON. If omitted, the
currently set value remains unchanged.
Hot start 2
Sets the time to change from slow down speed to wire feeding speed at welding after Hot start
1 described above has finished. If omitted, the currently set value remains unchanged.
Explanation
Sets wire feeding sequence at arc weld start. When used as monitor command, all the
parameters can be omitted to display the currently set values. Parameters are as shown in the
figure below.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWFSSEQ 120,25,16,100 Sets the wire feeding sequence at weld start.
11-3
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
JWS #a0
LWC #a1,1
LWE #a3,2,2
Weld in progress
Time (t)
Wire feeder Waiting WCR Hot start 1 Hot start 2
ON delay detection
WCR
Arc ON signal
At start of welding
11-4
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWFESEQ torch no.: wire feeder OFF delay, flare up time, feeder waiting time
after stuck cancel, time of wire feed after stuck cancel, feeder speed after stuck
cancel
Specify robot number when using Multi D Controller.
Function
Sets via AS language, the wire feeding sequence at weld end set at [Aux. 1404 Arc weld setting –
16 Servo Torch – 5 Weld start/ end sequence].
Parameter
Torch No.
Sets the torch to use for welding. Select 1 or 2 when two servo torch axes function is enabled.
Omit this parameter or specify 1 when two servo torch axes function is not used.
Flare up time
Sets time to decelerate from wire feeding speed to 0, after Wire feeder OFF delay has elapsed.
Settable range: 0 to 999. Unit is ms. If omitted, the currently set value remains unchanged.
11-5
D Series Controller 11. Servo Torch (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Explanation
Sets wire feeding sequence at arc weld end. When used as monitor command, all the parameters
can be omitted to display the currently set values. Parameters are as shown in the figure below.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWFESEQ 120,25,16,100 Sets the wire feeding sequence at weld end.
JWS #a0
LWC #a1,1
LWE #a3,2,2
Arc ON signal
Time t
Wire feeder OFF delay Flare up time
Speed
Time t
Time1 Time2 Time3 Time4
11-6
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
EXAMPLE
Keyword Parameter
TIG ON/OFF
12-1
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
TIG ON/OFF
Function
Switches ON/OFF (enable/disable) of TIG welding specification.
Parameter
ON
Allows the use of TIG welding specification.
OFF
Disallows the use of TIG welding specification.
Explanation
Omitting the parameter switches the current setting to the opposite setting. For example,
inputting
>TIG
when TIG specification is ON disables the specification.
This command/ instruction is used to switch between MIG and TIG welding.
Example
Performs MIG welding from #a0 to #a2 and then performs TIG welding from #a2 to #a4.
12-2
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
TOOL/F transformation values
Function
Sets the transformation values (tool transformation values) that express the position and posture
of the tool center point as seen from the tool mounting flange (null tool coordinates).
Parameter
Transformation values
Sets the tool coordinate system.
Explanation
In teach mode, executing this monitor command while robot is in motion changes the tool
transformation values immediately. However, depending on the values set, robot might stop due
to error.
Executing this command or executing this instruction via a PC program while a robot program is
running in repeat mode changes the transformation values immediately. However, robot
continues the motion according to the transformation values before the execution of the command.
The newly set transformation values are reflected to the robot motion starting from the next
motion preparation.
Example
>TOOL/F ↵
X[mm] Y[mm] Z[mm] O[deg] A[deg] T[deg]
0.000 0.000 404.00 90.00 55.00 -90.00
> Change? (If not, hit RETURN only) ↵
10,10,405,90,55,-90 The tool transformation values are set to these values.
12-3
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWSET_START scratch/ standstill start switching distance, keep welding
distance, turn back distance, standstill time
Function
Sets the weld start sequence for arc welding. Sets via AS language the weld start sequence for
arc welding as set in [Auxiliary function 1404 Arc Weld Setting - 3 Weld Start Sequence].
Parameter
Scratch/ Standstill start switching distance
Sets the threshold for switching between scratch and standstill start. Unit is mm. Settable
range: 0 to 999 mm.
Standstill time
For standstill start, sets the time to stop at weld start point to wait for arc to be generated. Unit is
seconds. Settable range: 0.0 to 9.0 s.
Explanation
Sets parameters for weld start sequence. When used as monitor command, omitting all
parameters displays the currently set values.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWSET_START 100,20,20,2.0 Sets weld start sequence.
12-4
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWSET_RETRY number of retries, wire retract time, wire retract speed,
turn back speed, overlap distance at restart
Function
Sets conditions for retrying arc welding at weld start point. Sets in AS language the settings for
weld start retry as set in [Auxiliary function 1404 Arc Weld Setting - 3 Weld Start Sequence].
Parameter
Number of retries
Sets how many times to retry weld start sequence when arc is not generated.
Explanation
Sets the welding conditions for when restarting welding (weld start sequence at restart). When
used as monitor command, omitting all parameters displays the currently set values.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWSET_RETRY 1,0.7,14,999,-1 Sets welding start sequence for restarting welding.
12-5
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWSET_STICK number of detections, waiting time for wire stuck detection,
monitoring time, arc ON time
Function
Sets weld stuck cancel sequence. Sets in AS language the conditions for weld stuck cancel
operation as set in [Auxiliary function 1404 Arc Weld Setting - 5 Weld Stuck Cancel Sequence].
Parameter
Number of detections
Sets how many times to detect wire stuck and then to turn arc ON to cancel wire stuck after arc
OFF. Settable range: 0 to 9.
Monitoring time
Wire stuck is detected if wire stuck signal is input within the time set here. Unit is seconds.
Settable range: 0.0 to 9.9 s.
Arc ON time
Sets the time to turn ON arc to release wire stuck when wire stuck is detected. Unit is seconds.
Settable range: 0.0 to 9.9 s.
Explanation
Sets parameters for wire stuck cancel sequence. When used as monitor command, omitting all
parameters displays the currently set values.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWSET_STICK 2, 2.0, 2.0, 3.0 Sets wire stuck cancel sequence.
12-6
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWSET_SPOT number of retries, retrying wire retract time,
retrying wire retract speed, wire retract time, wire retract speed
Function
Sets data necessary for arc spot welding sequence. Sets in AS language the data for arc spot
welding sequence as set in [Auxiliary function 1404 Arc Weld Setting - 6 Arc Spot Sequence].
Parameter
Number of retries
Sets up to how many times arc spot welding is repeated when current detection signal is not
returned from the welder during arc spot welding. Settable range: 0 to 9.
Explanation
Sets parameters for arc spot welding. When used as monitor command, omitting all parameters
displays the currently set values.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWSET_SPOT 5, 1.0, 20, 6.5, 100 Sets parameters for arc spot welding.
12-7
D Series Controller 12. MIG/TIG Welding Switching Function (Option)
Kawasaki Robot Arc Welding AS Language Reference Manual
Monitor Command
Program Instruction
AWSET_FLOW preflow time, afterflow time
Function
Sets the preflow time (time to turn ON gas before arc generation) and afterflow time(time to
delay turning OFF gas after finishing arc generation). Sets in AS language the preflow and
afterflow time as set in [Aux. 1404 Arc Weld Setting - 7 Preflow/ Afterflow].
Parameter
Preflow time
Sets preflow time. Unit is seconds. Settable range: 0.0 to 9.9 s.
Afterflow time
Sets afterflow time. Unit is seconds. Settable range: 0.0 to 9.9 s.
Explanation
Sets preflow and after flow time. When used as monitor command, omitting all parameters
displays the currently set values.
Example
W1SET 1= 60,250,28,2,2
W1SET 2= 50,290,32,3,1
AWSET_FLOW 2.0, 3,0 Sets preflow and afterflow time.
JWS #a0
LWC #a1,1
LWE #a3,2,2
12-8
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
This program welds in a single pass between points a1 - a2 - a3 in linear interpolated motion.
A-1
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
#a0
This pass is welded in weld condition 1.
a4
a1 a3
a2
A-2
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
#a0
W2SET 2 = 1.0,150,20 ........................ Sets stopping time for arc spot welding=1.0 sec,
current=150A, voltage=20V to arc spot weld
condition 2.
JMOVE #a0 ....................................... Jogs torch tip to #a0 in joint interpolated motion.
LAS a1, 2........................................ Moves to arc spot weld point a1 in linear interpolated
motion. After reaching a1, the spot is welded in arc
spot weld condition 2.
LDEPART 100 ................................. Jogs the torch tip to point 100 mm away from the arc
spot weld point.
A-3
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
Ö Ö Ö
Retracts wire for 0.5 seconds at
retract speed 20.
#a0 #a0
(or a1)
Feeds wire at
inching speed 1 When the wire
Sensing speed
until it touches touches the work,
15mm/sec.
the work stops feeding wire
Sensing speed and moves to #a0.
5mm/sec
a2
a3 a3
Wire extension - 2mm
Sensing distance =13mm
10mm
To keep wire check accurate, cut wire, clean nozzle or wire tip before executing this program.
wext = 15 .............................................Defines wire extension (feed) as 15 mm.
A-4
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
XMWIRE SHIFT (a3 BY,,wext-2),1,0 ........ Stops at position shifted upwards from a3 by the
distance:
wire extension - 2mm = 13mm
and extends wire at inching speed 1 until it touches
the work. (The sensing position is shifted 13mm
because wire may extend an extra 2 mm). If no
work is detected after 5 seconds, error occurs.
LMOVE #a0 ...................................... Stops wire extension when wire touches the work,
and moves to #a0.
A-5
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
This program welds in a single pass between a1 – a2 in linear interpolated motion, using weld
database for horizontal fillet weld, weld size 6 mm.
A-6
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
This program welds in multi-layer in one direction between a1 and a2, using weld database for
horizontal fillet weld, weld size 14 mm. This database consists of 3 layers, 6 passes.
#a0
a2
Crater at this weld end point is welded in the
crater weld condition of the weld condition
z
database.
x a1
Each pass is welded with weld condition of
the database.
y
DBUSE 1,5................................................................. Declares use of database big category
(groove shape) horizontal fillet, small
category (weld size) 14 mm. (Weld
conditions are to be registered to database
in advance.)
FOR i=1 TO GETPASS ......................................... Repeats the procedure by the number of
passes in the database. (In this case 6
passes).
SETPASS i ................................................... Specifies the passes to use as reference.
GET1WCON i= ............................................. Substitutes weld data from the designated
pass to the specified weld condition
number.
GET2WCON i= ..............................................Substitutes crater weld data from
designated pass, to the specified crater
condition number.
GETWPOS deltay[i],deltaz[i] ............................... Acquires from the specified pass the
deviation data of the torch pose in Y
direction and Z direction.
END
A-7
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
A-8
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
This program fillet welds in horizontal position the work shown below using touch sensing
function. To find out the shift in work position and keep the actual weld line, 4 frame
coordinates are used. The four frame coordinates are: reference frame coordinates (gf), frame
coordinates to change torch angle (f), frame coordinates for the weld line (f1), frame coordinates
for the actual weld line (f2). The main point of this program is using the frame coordinates.
See also Appendix 1.4 Adjusting Wire Extension By Touch Sensing and SXAC instruction in this
manual, and FRAME function in AS Language Reference Manual.
[Sample Program]
SPEED 100 ALWAYS
sp1 = 15 ; sensing speed
st1
le = 15 ; wire extension st3
y.le = 300 ; wire length 100 mm 50 mm
POINT g = NULL
st2 100 mm
POINT st1 = #sta 100 mm
(1) POINT sta1 = st1 Direction of weld
POINT st2 = st1+SHIFT( g BY,,-100)
st2
(2) POINT st3 = SHIFT( st2 BY,,100)
#sta
POINT/Z st2 = st1
(st1)
(3) POINT gf=FRAME(st1,SHIFT(st1 BY,,100),st2,st1) Weld start point (taught
(4) POINT st1=gf+SHIFT(g BY 50,50,y.le-100)-gf+st1 in advance)
;
; **** First sensing movement ****
ACCURACY 500 ALWAYS
JMOVE st3
ACCURACY 1 ALWAYS
LMOVE st1
A-9
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
Extend wire
(11) XMWIRE ta+SHIFT(g BY ,,-le+2),1,0
ta
DELAY 0.5 Wire ext−2mm=13mm
tb
LDEPART 10 10mm
POINT tb=DEST
st1
POINT st0 = st1+SHIFT(g BY ,,le)
POINT/Z st0 = tb 25mm
ii=1 tb le=15mm
SPEED 10
1 LMOVE st0 st0
tb set parallel along
base Z
A-10
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
;
; **** Sensing motion to modify work position ****
POINT ta=-f+st0 Find the first point
by touch sensing
(12) XAC f+SHIFT(ta BY,-50),ta,5,sp1
BREAK
ta st0
(13) POINT tb =-f+ta =tb1
(14) LMOVE f+SHIFT(tb BY ,5)
(15) XAC f+SHIFT(tb BY,-50,5),tb,5,sp1
BREAK tb
Movement of the
ACCURACY 500 torch on frame (f)
DRAW ,,100
5
IF ii< 2 THEN 10
(16) POINT tb1 = ta
(17) POINT/Z tb1 = tb
(18) POINT tc = -f+st1
(19) POINT st0 = f+SHIFT(tc BY ,,-y.le+120)
ii = ii+1
PRINT “Number o sensing motion “,ii Find the second point
GOTO 1 by touch sensing
ELSE
POINT ta1 = ta
(20) POINT/Z ta1 = tb st0
20mm
END
POINT f1=FRAME(ta1,tb1,SHIFT(ta1 BY,,100),ta1) Movement of the
POINT ta = -f1+ta1 torch on frame (f)
(21) POINT taa = ta
Shifts 180 mm (tc=200mm
(22) POINT ta = SHIFT (ta BY ,5,5) therefore
xl = 10 -300+120=180mm)
(23) yl = 5 Therefore, distance from
LMOVE f1+SHIFT(ta BY -xl) work edge 200-180=20
;
; **** Edge sensing ****
FOR i = 1 TO 10
POINT tb=SHIFT( ta BY i*(-xl),-yl-5)
POINT tc=SHIFT( ta BY i*(-xl))
POINT td=SHIFT( ta BY (i+1)*(-xl))
SXAC Sensing movement
XAC f1+tb,tc1,0,sp1 Edge detection
BREAK
IF RXAC THEN
PRINT “Work found!”
ELSE
(24) PRINT “No work found!”
GOTO 10
END Detects work edge
ACCURACY 500 here
LMOVE f1+tc
LMOVE f1+td
END
PRINT “Work edge not detected at sensing motion number = ”,i
HALT
10 LMOVE f1+tb
(25) XAC f1+SHIFT(tb BY,15),tc1,2,sp1
BREAK
PRINT “Work edge detected!”
A-11
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
LMOVE f1+tb
(26) LDEPART 30
POINT ta = -f1+tc1
POINT tb = g
POINT/X tb = ta
(27) POINT tc1 = f1+tb
POINT/OAT tc1 = ta1
POINT tb2 = f1+SHIFT(taa BY,,100)
POINT ta2 = f1+SHIFT(taa BY,100) Weld line
POINT f2 = FRAME(ta1,ta2,tb2,tc1) #sta(st1)
POINT f.sta1 = -gf+sta1
(28) POINT st1 = f2+SHIFT(f.sta1 BY,,5)
POINT st2 = f2+SHIFT(f.sta1 BY,,y.le-5)
; Weld start point
; **** Welding motion **** Angle of torch: 45°
W1SET 1 = 60,200,24,0,0, 90° from the weld line
W2SET 1 = 1,150,18
ACCURACY 500 ALWAYS
LAPPRO st1,30
W.RETRACT 0,0.25
LWS st1
(29) LWE st2,1,1
LDEPART 100
A-12
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
(1) Defines #sta taught in joint displacement values to be transformation values st1 and sta1
(First point). Pose data for st1 changes throughout the program.
(2) Finds st2 to create the reference frame coordinates.
Tool Z direction
(Second point)
(3) Sets the point shifted upwards from st1 as the second point. Using this point and points st1
(first point) and st2 (third point), create reference frame coordinates (gf).
Reference frame
coordinates (gf)
(4) The first sensing motion starts from a point –100 mm offset from the length of the work (300
mm) (the point 200 mm along weld line from the weld start point #sta1).
(5) Moves the torch tip to the point 25 mm above the point where the wire touched the work.
(6) Defines the pose variables for creating the frame coordinates to change torch angle (f).
(7) Creates the frame coordinates (f) to change the torch angle.
A-13
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
Tool Z direction
Shift 25 mm upwards
(8) Moves the torch 45° (becomes perpendicular to the work) for touch sensing.
(9) Retracts the wire for 0.5 seconds at retract speed 10.
(10) The torch tip moves towards the work and performs touch sensing.
°
Acceptable range for
Work
deviation of work position is
(11) Adjusts the wire extension by feeding the wire from the position defined as 13 mm (wire
extension -2mm) in (-) direction of tool Z axis from the point where the torch tip touched the
work.
(12) Performs touch sensing on the vertical plate and defines that point as ta.
(13) Transforms ta based on base coordinates to point tb based on frame coordinates.
(14) Moves 5 mm in Y direction of the frame coordinates (f).
(15) Performs touch sensing on the horizontal plate and defines that point as tb.
(16) Copies ta to tb1.
(17) Changes the base Z component of tb1 to be the same as tb (the first point on the weld line).
A-14
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
(18) Finds start point (st0) for sensing motion of the second point.
(19) In steps between IF and ELSE, finds pose information for the first point by touch sensing.
(20) Finds ta1 based on the point from the second sensing motion.
(21) Changes the inclination of the direction of weld and creates weld line frame coordinates (f1).
A-15
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
A-16
D Series Controller Appendix 1 Sample Programs
Kawasaki Robot Arc Welding AS Language Reference Manual
(26) After detecting the work edge position, moves to point 30 mm away from f1+tb.
(27) Shifts the frame coordinates (f1) to the work edge position (tc1). Then, turns those
coordinates in the same direction as the reference frame coordinates (gf) and defines them as
actual weld line frame coordinates (f2).
Frame
coordinates (f2)
Õ Õ
Origin of frame coordinates (f2) as frame coordinates (gf). Frame coordinates (f1).
(28) Using the weld start point (#sta1) redefined as (sta1), creates point (f.sta1) on reference
frame coordinates (gf). Point (f.sta1) is brought to the actual weld line frame coordinates
(f2). Then, point (st2) is defined from (f.sta1) by shifting points (st1) along the weld line
by the same amount as the weld length. (Sets posture so that the torch angle remains the
same.)
By steps (27) and (28), accurate weld line is kept even if the work position is different in
repeat mode.
(29) Welds between weld start point (st1) and weld end point (st2).
A-17
D Series Controller Appendix 2 Error Message for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
Errors that may occur in arc weld type robot are as follows.
Some of these may not occur without installation of corresponding options.
New Old
error error Error message Option
code code
P6502 -934 No weld database. Standard
P6503 -935 Cannot change weld condition. Standard
E6500 -999 No welding Interface board. Standard
E6502 -900 Arc failure. Standard
E6503 -901 Wire stuck. Standard
E6505 -948 Arc weld insulation defect. Standard
E6506 -1610 Torch interference. Standard
E6509 -910 No work detected. Touch sensing
E6510 -911 Undefined sensing direction. Touch sensing
E6511 -912 Insufficient sensing points. Touch sensing
E6512 -913 Undefined mother or daughter work. Touch sensing
E6513 -914 Too many sensing points. Touch sensing
E6514 -915 Work specification incorrect. Touch sensing
E6515 -916 Incorrect sensing point specified. Touch sensing
E6516 -917 Wire check failure. Touch sensing
E6517 -920 Incorrect weld condition number. Standard
E6518 -921 No weld data set. Standard
E6519 -922 Weld data is out of range. Standard
E6533 -951 No RTPM board. RTPM
E6534 -960 Too many taught points for RTPM. RTPM
E6535 -961 RTPM arc sensor error. RTPM
E6536 -964 RTPM current deviation error. RTPM
E6537 -962 RTPM tracking value is out of range. RTPM
E6538 -963 Out of RTPM tracking capacity. RTPM
E6539 -969 Out of AVC tracking value. AVC
E6540 -971 Out of AVC tracking capacity. AVC
E6541 -967 No AVC board. AVC
E6542 -972 AVC voltage deviation error. AVC
E6543 -968 Too many taught points for AVC. AVC
A-18
D Series Controller Appendix 2 Error Message for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
New Old
error error Error message Option
code code
E6544 -990 Hyper Arc tracking value is out of range. Hyper arc
E6545 -991 Out of Hyper Arc tracking capacity. Hyper arc
E6546 -993 Bead end is not found. Hyper arc
E6547 -994 Finish end is not found. Hyper arc
E6548 -995 Hyper Arc revolution beyond normal deviation. Hyper arc
E6549 -996 Hyper Arc torch calibration error. Hyper arc
E6550 -997 Hyper Arc Z phase index error. Hyper arc
E6551 -985 No Hyper Arc board. Hyper arc
E6552 -986 Hyper Arc board error. Code is XXXX. Hyper arc
E6553 -987 Hyper Arc current sensor error. Hyper arc
E6554 -988 Hyper Arc voltage sensor error. Hyper arc
E6555 -989 Hyper Arc current deviation error. Hyper arc
E6556 -992 Hyper Arc amplifier error. Code is XXXX. Hyper arc
E6559 -947 Wire feeding speed deviation error. Servo torch
E6560 -965 Cannot calibrate again while welding. Hyper arc
E6561 -966 Cannot weld during re-calibration. Hyper arc
E6562 -902 Electric pole stuck. TIG welding
A-19
D Series Controller Appendix 3 List of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
A-20
D Series Controller Appendix 3 List of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
A-21
D Series Controller Appendix 3 List of AS Language for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
A-22
D Series Controller Appendix 4 Software Dedicated Signal for Arc Welding
Kawasaki Robot Arc Welding AS Language Reference Manual
The following software dedicated signals can be used for arc welding. Assign signal numbers
to the signal to be used via DEFSIG command/ instruction or auxiliary function screen.
A-23
D Series Controller Appendix 5 ASCII Codes
Kawasaki Robot Arc Welding AS Language Reference Manual
ASCII Hexa-
Octal Decimal Description
character decimal
NULL 000 00 00 Null
SOH 001 01 01 Start of heading
STX 002 02 02 Start of text
ETX 003 03 03 End of text
EOT 004 04 04 End of transmission
ENQ 005 05 05 Enquiry
ACK 006 06 06 Acknowledge
BEL 007 07 07 Bell
BS 010 08 08 Backspace
HT 011 09 09 Horizontal tabulation
LF 012 10 0A Line feed
VT 013 11 0B Vertical tabulation
FF 014 12 0C Form feed
CR 015 13 0D Carriage return
SO 016 14 0E Shift out
SI 017 15 0F Shift in
DLE 020 16 10 Data link escape
DC1 021 17 11 Device control 1
DC2 022 18 12 Device control 2
DC3 023 19 13 Device control 3
DC4 024 20 14 Device control 4
NAK 025 21 15 Negative acknowledge
SYN 026 22 16 Synchronous idle
ETB 027 23 17 End of transmission block
CAN 030 24 18 Cancel
EM 031 25 19 End of medium
SUB 032 26 1A Substitute
ESC 033 27 1B Escape
FS 034 28 1C File separator
GS 035 29 1D Group separator
RS 036 30 1E Record separator
US 037 31 1F Unit separator
SP 040 32 20 Space
A-24
D Series Controller Appendix 5 ASCII Codes
Kawasaki Robot Arc Welding AS Language Reference Manual
A-25
D Series Controller Appendix 5 ASCII Codes
Kawasaki Robot Arc Welding AS Language Reference Manual
A-26
D Series Controller Appendix 6 Arc Welding AS Languages with Robot Number
Kawasaki Robot Arc Welding AS Language Reference Manual For Multi D Series Controller
When using the below AS languages in Multi D Series controller configured with more than
one robot, insert the robot number (parameter n, where n=1, 2, …) after the keyword to
specify the target robot, as shown in the example below.
A-27
D Series Controller Appendix 6 Arc Welding AS Languages with Robot Number
Kawasaki Robot Arc Welding AS Language Reference Manual For Multi D Series Controller
Sets pattern number for SSENSPTN Robot no.: pattern Start point
SSENSPTN M/P 6-2
start point sensing number sensing
USLOPEGAIN robot no.:
USLOPEGAIN Sets up-slope inclination M/P 9-13 TIG welding
inclination
W.INCHING robot no.: speed,
W.INCHING Feeds filler wire M/P 2-8 Standard
time
A-28
Kawasaki Robot Controller D Series
ARC WELDING AS LANGUAGE REFERENCE MANUAL
90209-1018DED