Kawasaki AS Translators

This section provides basic information about the Kawasaki1 AS translator. The information includes:

This page discusses:

Supported Features

Basic Features Advanced Features
Feature Download Upload NRL Teach Safety* Controller System Files
Motion Motion Parameters Joint / Cartesian Targets Circular Motion Coordinated Motion 7 DOF Robots
Tool / Object Frames Fixed TCP Aux Axes Conveyors Offsets
Feature Set IO Run Task Loops Parallel Position Variables
Wait IO Pulse IO If / Case Arrays
Application Spot Paint Arc Sealing
Tested Controller Versions C D E F
This table displays if the feature is:
  • available
  • not available
  • *No Download

Instruction Support

The DELMIA Kawasaki Translator provides support for upload and download of all instructions in the DELMIA Robotics language that are available in the Kawasaki AS language. All features of the supported instructions which apply to Kawasaki will be supported.

The translation result of the tasks is in AS-files that can then be loaded into the C, D, or E Kawasaki controller. During upload, any unsupported Kawasaki AS instructions are stored as custom instructions so that the program can be downloaded again without loss of data.

Instruction Mapping

The following table summarizes the level of support for each KAWASAKI instruction by the DELMIA translator and simulation. Any instruction which does not appear in this list is uploaded as a V6 Custom instruction and will not be used in simulation

DELMIA Instruction Level of Support Kawasaki Instruction(s) Comments
Goto Supported GOTO
Condition Supported IF

Condition Example 1:

.robinauto=true and .pickabort = false or .robinteach = true

Condition Example 2:

.robinauto=true and .pickabort = false and .robinteach = true

Condition Example 3:

OX100=true and

WX1100=true and

WX2100=true

Supported

IF SIG(.robinauto) AND SIG(-.pickabort) OR SIG(.robinteach) THEN

IF SIG(.robinauto, -.pickabort, .robinteach) THEN

IF SIG(100,1100,2100) THEN

If all operators in condition are AND they will be combined into a single

SIG as shown in Condition2 example.

OX and WX I/O downloaded with just the port number.

For Supported FOR
Do While, While do Supported WHILE DO
Return Supported RETURN
Break Not Supported NA
Run (service) Not Supported NA
Run (procedure) Supported CALL No complex data types for upload.
Procedure Supported PROG/.END
Custom Supported Any unsupported instruction
Grab/Release Supported CALL

Assign

Example 1:

.fault=1

Example 2:

alarm[2]=1

Example3:

$".$alarm_memory[.almcnt]" = $"$string[.almcnt]"+$".$now"

Example 4:

$"alm.log.index"= $"alm.log.index"+1

Example 5:

pg=BITS1119_8

Example 6:

BITS601_8=0

Supported

Expression

fault=1

alarm[2] = 1

.$alarm_memory[.almcnt] = $string[.almcnt]+.$now

alm.log.index =alm.log.index+1

pg = BITS(1119,8)

BITS 601,8 = 0

Variables that start with decimal are converted to/from $<expr> so that behavior modeler can handle them.

Structure variables also converted to/from $<expr>. Variable created will be alm.log.index.

BITS handled using group integer variable BITS<arg1>_<arg2>. In this case BITS is a function.

BITS handled using group integer variable BITS<arg1>_<arg2>. In this case BITS is the target of the assignment.

Wait

Wait Example 1:

.robinauto=true and .pickabort = false or

.robinteach = true

Wait Example 2:

.robinauto=true and .pickabort = false and

.robinteach = true

Wait Example 3:

OX100=true and

WX1100=true and

WX2100=true

Supported

WAIT, SWAIT, TWAIT DELAY

WAIT SIG(.robinauto) AND SIG(-.pickabort) OR SIG(.robinteach)

WAIT SIG(.robinauto, -.pickabort, .robinteach)

WAIT SIG(100,1100,2100)

Timeout only used for TWAIT and DELAY.

If all operators in WAIT are AND they will be combined into a single

SIG as shown in Condition2 example.

OX and WX I/O downloaded with just the port number.

Robot Motion Supported JOINT, FLIN, LINEAR CIR or CIR2 for block moves. JMOVE, FLINEAR, LMOVE, C1MOVE or C2MOVE for non-block moves. JMOVE, LMOVE, or CMOVE for paint with arguments for point type, posture, and target values. Separate instructions for motion, accuracy, tool, and object profile. See paint section for more information on paint support.
Spot Operation Partial Supported Block or standard AS move See Block section for block spot command.
Arc Operation Supported JWS, LWS, LWC, C1WC, C2WC, LWE or C2WE with args for motion, accuracy, tool, object and arc profile See Block section for block spot command.
Search Operation Supported XAC with args for motion, accuracy, tool, object and search profile
Paint Operation Supported JMOVE, LMOVE, or CMOVE with arguments for point type, posture, and target values. Separate instructions for motion, accuracy, tool, and object profile. See paint section for more information
Tracking Supported CVRESET, CVWAIT, TRACK_OFF, TRACK_ON See paint section for more information
Trigger Supported PRAY, PRE_SPRAY, or DLY_SPRAY. Separate instructions for FLOW_RATE, PATTERN, HIGH_VOLTAGE, and ATOMIZING. See Paint section for more information.

Test <variable>

Case 1:

Case 2:

…

Default Case:

Supported

CASE <variable> OF

VALUE 1:

VALUE 2:

…

ANY:

END

; (Comment) Supported

Each of the above instructions is translated as described below.

Case
A DELMIA Test instruction is translated into a Case. The DELMIA Case items are translated into Value items. The Default case is translated into an Any. On upload the Kawasaki Case, Value and Any are translated into a Test, Case and Default.
Unsupported Instructions
Any instruction that is not supported on download is skipped. A message is displayed indicating that this DELMIA instruction is not supported by the KAWASAKI language. This is done so that the generated file remains a valid KAWASAKI task.
SIG function
The SIG function is used in the Kawasaki language with either single or multiple arguments. If the I/O logic requires all AND operators then multiple arguments are used. If the OR operator is required then separate SIG function calls are used. A SIG function can be used in any condition expression so it applies to CASE, IF, WAIT and WHILE loop conditions. See examples in the instruction table above.
BITS function
The BITS function is used in the Kawasaki language with 2 arguments. The 1st is the starting input signal. The 2nd is the number of signals to check. A group (integer) input is used to support the BITS function. The name of the group input is BITS<arg1>_<arg2>. A BITS function can be used in any condition expression so it applies to CASE, IF, WAIT and WHILE loop conditions. BITS can also be used as the target or the source for an assignment. See examples in the instruction table above.
Goto

A DELMIA Goto instruction is translated into a Goto <label number>. In DELMIA, the label number is defined on a specific instruction.

On upload, each Kawasaki instruction with a label number has a corresponding DELMIA instruction. The label is named the same as the KAWASAKI <label number>. If the label referenced by a GOTO does not exist in the program, a warning is generated and the label is placed on the instruction following the GOTO.

On download, the <label number> is output for the instruction that has the DELMIA label defined on it. The label name must be an integer, otherwise an error will be generated.

Condition

A DELMIA Condition instruction is translated into an IF.

If a DELMIA else is used in the condition, it is downloaded to an ELSE.

A DELMIA else followed immediately by an IF is downloaded to an ELSE IF.

A DELMIA Condition instruction is translated into an IF. The expression for the IF must conform to the KAWASAKI IF rules for the valid IF expressions. Additionally, multiple expressions can be joined with AND and OR expressions however AND and OR cannot be mixed.

Custom
A custom instruction text is downloaded into the task exactly as is. On upload, any unsupported instruction is created as a custom instruction with the name of the custom instruction being the KAWASAKI instruction's text.
Grab/Release

On download, the instruction name is downloaded exactly as-is. This is generally the procedure call name used to grab the product.

On upload, a grab activity is created if the name of a call instruction contains the phrase "grab" or "pick". If it contains "release" or "drop", a release activity is crated. The part to grab or release is specified in the parameter PartGrabbed of the "KAWASAKI Controller Profile".

Assign

A DELMIA assign instruction is translated into a Kawasaki assignment.

For download, the Kawasaki assignment will match the DELMIA assignment.

Data types integer, real and string are supported. Boolean will work but only if not assigned a true/false value.

For upload, no complex data types such as .JOINTS targets, .TRANS targets or .AUXDATA variables can be used in assignments. If they are, a warning is displayed and a custom instruction generated.

Wait

A DELMIA Wait (FALSE) Timeout instruction is translated as a KAWASAKI TWAIT instruction.

A DELMIA Wait (I/O) instruction is translated as a KAWASAKI SWAIT. If the wait signal value is 0 or false, a negative I/O address is output. Timeout is not supported.

A DELMIA Wait <condition> instruction is translated as a KAWASAKI WAIT <condition>. Timeout is not supported.

Timer
TIMER 5 = 0
Sets value of timer 5 to 0 and starts timer 5. This corresponds to the DELMIA timer start and reset instruction.
 x=TIMER (5)
Reads the value of timer number 5. This corresponds to the DELMIA assignment instruction. Kawasaki has no timer stop function. Up to ten timers are supported.
Run (procedure)

A DELMIA run instruction, where the run is calling a procedure, will be translated into a KAWASAKI procedure CALL instruction.

Run instructions can have arguments. For upload, complex data types such as .JOINTS targets, .TRANS targets, or .AUXDATA variables are not supported and will cause a warning to be displayed and custom instruction to be generated.

Robot Motion
The following are KAWASAKI standard robot motion commands. The table below gives basic information on the level of support for different motion options.
SPEED 90 ALWAYS
CP ON
ACCURACY 10 ALWAYS
TOOL STRAIGHT1_2008
BASE WORK0
JMOVE JOINTS( -0.000002, 7.974079, -45.678905, 0.000020, 45.678566, -0.000015, 0.000000)
JMOVE TRANS( 1100.0, 400.0, 1250.0, 0.000020, 45.678566, -0.000015, 0.000000)
LMOVE #a2
C1MOVE Tag1 
C2MOVE Tag2

JMOVE JOINTS( 7.485384, 2.031717, -46.283521, -10.303427, 46.746300, 7.100619, 0.000000)
KAWASAKI Motion Option Support Level DELMIA Equivalent Description Translation Notes
JMOVE, LMOVE, C1MOVE, C2MOVE, FJOINT, FLIN, FCIR and FCIR2 Supported Joint, Linear, CircularVia, Circular motion type FJOINT, FLIN, FCIR and FCIR2 for fixed tcp.
JOINTS/TRANS Supported JointTarget, CartesianTarget Target type
Target Supported Tag .TRANS variable Target declarations are stored in the .TRANS section of the KAWASAKI program
#Target Supported Joint target .JOINTS variable Joint target declarations are stored in the .JOINTS section of the KAWASAKI program
SPEED Supported Motion Profile SPEED instruction A motion profile with the same name as the SPEED instruction will be created. Timed, absolute speed, or percent speed supported. Units on absolute speed is MM/SEC by default but MM/MIN can be specified using the profile name. If rotational speed for the motion profile is absolute then DEG/SEC is used as the default and DEG/MIN can be specified in the profile name.
ACCURACY Supported Accuracy Profile ACCURACY instruction An accuracy profile with the same name as the ACCURACY instruction will be created. Only accuracy type distance is supported with units mm.
CP Supported Accuracy Profile CP instruction Used to set the FlyBy off or on in the current accuracy profile.
TOOL Supported Tool Profile TOOL instruction A tool profile with the same name as the TOOL will be created. If the TOOL is declared in the .AUXDATA section the values from that declaration will be used. For FLIN tool profile will be fixed TCP.
BASE Supported Objectframe profile BASE instruction An objectframe profile with the same name as the TOOL will be created. If the TOOL is declared in the .AUXDATA section the values from that declaration will be used.
Block Format
The following are KAWASAKI BLOCK robot motion commands. The table below gives basic information on the level of support for different motion options.
JOINT SPEED8 ACCU1 TIMER0 TOOL1 WORK0 CLAMP1 (OFF,0,0,O) 2 (OFF,0,0,O) OX=1,2 WX= CL1=2.000,10.0,10.0,5.0,5.0,5.0,5.0 #[ -0.000002, 7.974079, -45.678905, 0.000020, 45.678566, -0.000015, 0.000000] ;

LINEAR SPEED8 ACCU1 TIMER0 TOOL1 WORK0 CLAMP1 (OFF,0,0,O) 2 (OFF,0,0,O) OX=1,2 WX=3,4 CL1=2.000,10.0,10.0,5.0,5.0,5.0,5.0 #[ 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000] ;

CIR SPEED8 ACCU1 TIMER0 TOOL1 WORK0 CLAMP1 (OFF,0,0,O) 2 (OFF,0,0,O) OX= WX= CL1=2.000,10.0,10.0,5.0,5.0,5.0,5.0 #[ 13.322743, 27.073017, -39.253598, -20.518699, 41.102768, 15.749087, 0.000000] ;

CIR2 SPEED8 ACCU1 TIMER0 TOOL1 WORK0 CLAMP1 (OFF,0,0,O) 2 (OFF,0,0,O) OX= WX= CL1=2.000,10.0,10.0,5.0,5.0,5.0,5.0 #[ 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000] ;

JOINT SPEED8 ACCU1 TIMER0 TOOL1 WORK0 CLAMP1 (OFF,0,0,O) 2 (OFF,0,0,O) OX= WX= CL1=2.000,10.0,10.0,5.0,5.0,5.0,5.0 #[ 7.485384, 2.031717, -46.283521, -10.303427, 46.746300, 7.100619, 0.000000] ;
KAWASAKI Motion Option Support Level DELMIA Equivalent Description Translation Notes
JOINT, LINEAR CIR, CIR2, FJOINT, FLIN, FCIR or FCIR2 for block moves. Supported Joint, Linear, CircularVia, Circular motion type FJOINT, FLIN, FCIR and FCIR2 are for fixed TCP.
SPEED0-9 Supported Motion Profile SPEED instruction

A motion profile with the same name is created. By default all are percent speeds:

10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%

If the Kawasaki Controller parameter SpeedAbsTime is set to true then SPEED0-5 are absolute speed mm/sec, SPEED6-7 are timed speed sec, and SPEED8-9 are percent.

The Kawasaki Controller Parameter AUXDATA_SPEED can be used to change the default speeds. It is a comma delimited string value.

10.000,20.000,30.000,40.000,50.000,60.000,70.000,80.000,90.000,100.000

If a file with .AUXDATA SPEED defined is uploaded the SPEED0-9 will be read fromthere.

These .AUXDATA SPEED values will also be downloaded if RRS II autodownload is used.

ACCU0-4 Supported Accuracy Profile ACCURACY instruction

An accuracy profile with the same name is created. All are distance accuracies:

1.0mm, 5.0mm, 30.0mm, 50.0mm, 1.0mm

Note that in this case the values are ACCU1-4 followed by ACCU0. ACCU0 is only used for the Kawasaki F Controller. For download if ACCU0 is used on a C, D or E Controller it will be renamed ACCU1 and a warning displayed.

The Kawasaki Controller Parameter AUXDATA_ACCU can be used to change the default accuracies. It is a comma delimited string value.

1.000, 5.000, 30.000, 50.000, 1.000

If a file with .AUXDATA ACCUR defined is uploaded the ACCU1-4 and ACCU0 will be read from there.

These .AUXDATA ACCUR values are also downloaded if RRS II autodownload is used.

TIMER0-9 Supported Wait timeout Delay for specified time

A wait instruction with a timeout is created. By default the delays are:

0sec, .1sec, .2sec, .3sec, .4sec, .5sec, .6sec, .7sec, .8sec, .9sec

The Kawasaki Controller Parameter AUXDATA_TIMER can be used to change the default times. It is a comma delimited string value.

0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900

If a file with .AUXDATA TIMER defined is uploaded the TIMER0-9 will be read from there.

These .AUXDATA TIMER values are also downloaded if RRS II autodownload is used.

TOOL1-9 FTOOL1-9 Supported Tool Profile TOOL instruction

A tool profile with the same name as the TOOL will be created. If the TOOL is declared in the .AUXDATA section the values from that declaration will be used. For FTOOL tool profile will be fixed TCP.

Tool profiles which are used will always be downloaded to the .AUXDATA section. If RRS II autodownload is used all tool profiles (including unused) will be downloaded.

If .AUXDATA DFF1-9 values are found they will be uploaded/downloaded to/from the mass and COG of the corresponding tool profile.

WORK0-9 Supported Objectframe profile WORK instruction

An objectframe profile with the same name as the WORK is created. If the WORK is declared in the .AUXDATA section the values from that declaration are used.

Objectframe profiles that are used are always downloaded to the .AUXDATA section.

OX= Supported Output signals Set Output on or off Used to create assignment instructions for output signals. As an example OX=1, 2 will assign OX1=true and OX2=true. By default, if an output signal is set to true and the following instruction does not set that same signal, it is set to false. So if OX=1,2 is followed by OX= an assignment is created for OX1=false and OX2=false. Note that negative values are supported if the Kawasaki Controller Parameter OXWXNegative is set to True. In this case signals are only set to false if the value in the OX= is negative. So OX=3,-4 will assign OX3=true and OX4=false. Another Kawasaki Controller parameter OX_PreOutput allows the OX output signals to be assigned at the end of the previous move rather than on the current move. If an OX value of 0 is uploaded a task called OUTPUTSOFF is created and called. This task will set all output signals to false. Similarly for download if a call to OUTPUTSOFF is found an OX=0 will be downloaded.
WX= Supported Input signals Wait for input on or off Used to create wait instructions for input signals. As an example WX=3,4 will wait for WX3=true and WX4=true. By default negative values which wait for a signal to be false are not supported. The Kawasaki Controller parameter OXWXNegative can be set to true to allow negative values. In this case WX=5,-6 will wait for WX5=true and WX6=false.
CLAMP1- 8 Supported Applicative profile Controls tooling Used to create a Kawasaki Block Clampdata applicative profile and set parameter CLAMP_Information1. By default CLAMP1 is used for Spotwelding. If CLAMP1 is ON a spot instruction will be uploaded. Also, by default CLAMP2 is for handling. If CLAMP2 changes to ON a Grab instruction is created prior to the robot motion. If CLAMP2 changes to OFF a Release instruction is created prior to the robot motion. The type of CLAMP1-8 can be changed using Kawasaki Controller parameters CLAMP1ONType-CLAMP8ONType. Valid values are: "SPOTWELD" - spot instruction "HANDLING" - robot motion "ARCWELD" - arc operation "SEALING" - dispense operation
CL Supported Applicative profile Servo gun1 attributes

Used to create a Kawasaki Block Clampdata applicative profile and set parameter CLAMP_Information2. If a spot instruction is being created a Kawasaki Block Clamp Schedule is created and linked to a spot profile. These parameters will be linked for the D controller: PressureEndMoveMovingTipClearance ApproachMoveMovingTipClearance ApproachMoveStationaryTipClearance PressureEndMoveStationaryTipClearance Additionally for the E controller these parameters will be linked: PressureStartMoveMovingTipClearance PressureStartMoveStationaryTipClearance

For some controllers the CL values are not used. This could be older controllers like the C controller or newer controllers that have been customized. In this case if the file uploaded contains .AUXDATA with PREPRS_EQU[1], and POSTPRS_EQU[1] the Block Clamp Schedule will be set using these.

PREPRS_EQU[1] –

PressureStartMoveStationaryTipClearance

PressureStartMoveStationaryTipClearance

POSTPRS_EQU[1] – PressureEndMoveStationaryTipClearance

PressureEndMoveStationaryTipClearance

If both CL and PRERPRS/POSTPRS values are not set then the .AUXDATA SG_GUN[1]_T values are used, if found.

SG_GUN_1[1]_T –

PressureEndMoveMovingTipClearance

PressureEndMoveStationaryTipClearance

CL2 Supported Applicative profile Servo gun2 attributes

CL1 (above) used for spot profile gun 1. CL2 used for spot profile gun 2.

Used to create a Kawasaki Block Clampdata applicative profile and set parameter CLAMP_Information2. If a spot instruction is being created a Kawasaki Block Clamp Schedule is created and linked to a spot profile. These parameters will be linked for the D controller: PressureEndMoveMovingTipClearance ApproachMoveMovingTipClearance ApproachMoveStationaryTipClearance PressureEndMoveStationaryTipClearance Additionally for the E controller these parameters will be linked: PressureStartMoveMovingTipClearance PressureStartMoveStationaryTipClearance

AC, WS, WC, WE Supported Via, Arc start or Process start, Arc weld or Process mid, Arc End or Process End Kawasaki WS, WC and WE are start, weld and end respectively. Kawasaki AC is via. See Clamp1-8 above for information on using SEALING…the default for these commands will be ARCWELD.
Arc Welding
The following are KAWASAKI AS language arc welding commands. The table below gives basic information on the level of support for different arc options. See the Block move section for information on Arc welding for Block moves.
SPEED 50 ALWAYS
CP OFF
TOOL ARCTORCH1
BASE WORK0
CP ON
ACCURACY 10 ALWAYS
W1SET 3= 80,200,25        ; Sets SP=80cm/min, A=200A, V=25V to weld condition 1.
W2SET 2= 1,120,20          ; Sets Ct=1sec, CA=120A, CV=2V to crater condition 1.
JWS Tag1
LWC Tag2, 3              ; continue weld with weld condition number
C1WC Tag3, 3            ; continue weld with weld condition number
C2WC Tag4, 3            ; continue weld with weld condition number
LWE Tag5,3,2             ; end weld with weld condition number and crater condition number
KAWASAKI Motion Option Support Level DELMIA Equivalent Description Translation Notes
JWS and LWS Supported Arc Instruction start Arc Start instruction with motion type Arc Instruction with start process type.
LWC, C1WC, and C2WC Supported Arc Instruction mid Arc continue instruction with motion type Arc instruction with mid process type. Weld condition number used along with W1SET to create an Arc profile with KawasakiArcData applicative profile as the weld profile.
LWE and C2WE Supported Arc Instruction End Arc end instruction with motion type Arc instruction with end process type. Weld condition number and crater condition number used along with W1SET and W2SET to create an Arc profile with KawasakiArcData and KawasakiCraterData as the end profiles.
W1SET Supported Applicative profile Weld condition definition Appllicative profile KawasakiArcData with parameters weldCondition, speed (cm/min), current and voltage. Parameter weavewidth and weavefrequency will also be set if defined. The speed parameter is linked to the TCP speed for the robot motion.
W2SET Supported Applicative profile Crater condition definition Appllicative profile KawasakiCraterData with parameters CraterCondition, time, current and voltage. The time parameter is linked to the crater delay at the end of the robot motion.
Seam Searching
The following are KAWASAKI seam search commands. The table below gives basic information on the level of support for different seam options.
JMOVE #a0
XAC #a1, b, 10, 15    ; joint target,  store target, sense distance, and sense  speed
LMOVE #a2
KAWASAKI Motion Option Support Level DELMIA Equivalent Description Translation Notes
XAC Supported Linear search instruction Linear Search Search instruction with applicative profile KawasakiSearchData storePose, senseDistance and senseSpeed.
Paint

The following are KAWASAKI paint commands. The table below gives basic information on the level of support for different motion options.

SPRAY_SPEED 850mm/s
  AIRCUT_SPEED 850mm/s
  SPRAY_JSPEED 20%
  AIRCUT_JSPEED 20%
  SMOOTH_RANGE 30mm
  FLOW_RATE 400
  PATTERN 80
  ATOMIZING 80
  HOME(JOINT) 1
  JMOVE JOINT 0000,40.37,25.13,-25.33,-157.04,146.58,89.14
  LMOVE XYZ1 0000,71.3,1038.2,651.5,40.49,158.96,-53.22,629.6
  LMOVE XYZ1 0000,-159.3,1065.5,665.5,-81.87,165.67,-171.19,860.2
  LMOVE XYZ1 0000,-39.2,1118.5,685.5,145.49,151.53,57.61,739.2
  LMOVE XYZ1 0000,-44,1183,715.8,-165.35,137.18,126.17,739.2
  LMOVE XYZ1 0000,-47.4,1229.9,737.7,-162.02,122.71,140.59,739.2
  LMOVE XYZ1 0000,-51,1258,767.8,-155.56,110.65,158.55,739.2
  LMOVE XYZ1 0000,18.3,1253.4,795.4,-168.53,105.24,168.48,629.6
  LMOVE XYZ1 0000,402,1593,909.5,-174.43,87.72,166.71,429.7
  SMOOTH_LEVEL 20
  SPRAY #1,ON
  LMOVE XYZ1 0000,917.2,1592.7,909.4,-177.73,97.48,166.74,429.6
  LMOVE XYZ1 0000,717.2,1593,827.4,-169.3,91.47,166.82,629.6
  LMOVE XYZ1 0000,159.6,1593,827.4,-170.54,92.92,166.37,629.6
  LMOVE XYZ1 0000,137.8,1593,682.7,-170.54,92.92,166.36,629.6
  LMOVE XYZ1 0000,649.8,1593,786.9,-170.53,92.92,166.36,629.6
  LMOVE XYZ1 0000,649.8,1606.2,668.2,-171.18,89.31,-178.09,629.6
  LMOVE XYZ1 0000,87.6,1558.6,646,-171.18,89.31,-178.09,629.6
  LMOVE XYZ1 0000,287.6,1443,544.3,-171.15,89.55,-179.63,429.6
  LMOVE XYZ1 0000,943.7,1554,571.6,-172.55,89.3,-178.08,429.6
  LMOVE XYZ1 0000,91,1483.6,459.7,-173.63,90.48,171.39,617.3
  LMOVE XYZ1 0000,148.2,1425.1,388.6,-178.89,93.63,146.72,617.3
  LMOVE XYZ1 0000,720.6,1425.1,388.6,-178.89,93.64,146.72,617.3
  SPRAY #1,OFF
  PRE_SPRAY #1,10mm,ON
  LMOVE XYZ1 0004,2255.5,2223.8,370,56.87,26.53,-22.56
  SPRAY #1,OFF
  LMOVE XYZ1 0004,380.2,2207.4,470,87.41,29.07,-31.91
  SPRAY #1,ON
  LMOVE XYZ1 0004,-1917.7,2207.4,470,131.7,28.86,-32
  PRE_SPRAY #1,30mm,OFF
  DLY_SPRAY #1,1sec,ON
  LMOVE XYZ1 0004,82,2207.4,-30,89.58,34.71,-22.85
  LMOVE XYZ1 0004,2249.5,2207.4,-30,69.46,35.71,-37.1
  DLY_SPRAY #1,2sec,OFF
KAWASAKI Motion Option Support Level DELMIA Equivalent Description Translation Notes
JMOVE, LMOVE, CMOVE Supported Joint, Linear, Circular motion type
XYZ1, XYZ2,JOINT Supported Tag, wrist joint, jointtarget Point type
Posture (0004) Supported Configuration Posture Flag
Target values Supported Tag or jointtarget Explicit target values

XYZ1 – x, y, z, o, a, t

XYZ2 – x, y,z,J4, J5, J6

JOINT – J1-J6

AIRCUT_JSPEED, AIRCUT_SPEED, SPRAY_JSPEED, SPRAY_SPEED Supported Motion Profile SPEED instruction

A motion profile with the same name as the speed instruction will be created. Percent speed is used for _JSPEED. Absolute speed is used for _SPEED. Units on absolute speed is mm/sec.

AIRCUT_ is used for moves where the gun is OFF. SPRAY_ is used for moves where the gun is ON

SMOOTH_LEVEL

SMOOTH_RANGE

Supported Accuracy Profile SMOOTH instruction An accuracy profile with the same name as the smooth instruction will be created. Accuracy type distance will be used for SMOOTH_RANGE with units mm. A SMOOTH_RANGE of 0.0 mm will be flyby off. Accuracy type percent speed will be used with a percentage between 2 and 99. A SMOOTH_LEVEL of 1 will be flyby off.
SPRAY, PRE_SPRAY, DLY_SPRAY Supported Trigger SPRAY instruction Used to create a trigger instruction of type gun=ON or gun=OFF. PRE_SPRAY specifies a distance in mm or time in sec prior to reaching the target. DLY_SPRAY is similar but occurs after reaching the target.
FLOW_RATE, ATOMIZING, PATTERN, HIGH_VOLTAGE Supported Paint Profile Paint Parameter Instruction The next trigger instruction will create a paint profile with these parameters. If the gun is already ON and paint parameters change between paint move instructions a trigger with SetParam type will be created.
Indexed paint parameters – FLOW_RATE, ATOMIZING, PATTERN, HIGH_VOLTAGE, SHAPING, AIRMOTOR Supported Paint Profile Paint Parameter Instruction The next trigger instruction will create a paint profile with these parameters. If the gun is already ON and paint parameters change between paint move instructions a trigger with SetParam type will be created. For indexed paint parameters (i.e. 1-5) the Kawasaki instruction is the same but the value is an index into an array stored in the robot controller parameters. See controller parameters below for a description.
TRACK_OFF, TRACK_ON Supported Conveyor Conveyor tracking on/off For TRACK_ON during upload a conveyor will be found if one exists in the work cell. For TRACK_OFF during upload the conveyor will be set to nothing. The conveyor set will be used for conveyor wait instructions and to set conveyor tracking for targets following the wait. For download when tracking changes from off to on a TRACK_ON will be generated. Similarly, if tracking changes from on to off a TRACK_OFF will be generated.
CVRESET, CVWAIT Supported Conveyor wait Conveyor Wait instruction. For upload CVRESET will generate a wait conveyor 0.0. CVWAIT <offset val> will generate a wait conveyor <offset val>. For download a conveyor wait of 0.0 will generate a CVRESET. A conveyor wait with a value above 0.0 will generate a CVWAIT <offset_val>.

Expressions

KAWASAKI expressions used in IF, WAIT, Assignment, and Argument passing allow more capability than DELMIA expressions.

On download, the DELMIA expression is converted into a KAWASAKI expression (with very few exceptions). However, converting the KAWASAKI expression to a DELMIA expression is not always possible on upload.

An example of an unsupported KAWASAKI expression would be assignment of components within a data type such as a .TRANS target or .JOINTS target. Another example would be passing of data types such as .AUXDATA TOOL or BASE as an argument in a PROC call.

If an error occurs converting an expression on upload the instruction containing the expression will be uploaded as a custom instruction. If an error occurs converting an expression on download, the instruction containing the expression is skipped. This prevents compile errors in the generated program. In both cases, a warning is generated.

Expression Conversion

KAWASAKI expressions have many of the operators supported in DELMIA.

Category Description Kawasaki Operator DELMIA Operator
Binary Integer/Double Plus + +
Minus - -
Multiply * *
Division / /
Integer Division NA NA
Modulus NA MOD
Power ^ **
Unary Negative - -
Not not Not
Bitwise Not NA ~
Binary Comparison Equals == =
Not Equals <> <>
Less Than < <
Less Than or Equal <= <=
Greater Than > >
Greater Than or Equal >= >=
Binary Boolean And AND And
Or OR Or
XOR XOR Xor
Bitwise And BAND &
Bitwise Or BOR |
Left Shift NA <<
Right Shift NA >>
Bitwise XOR BXOR ^^
Other Grouping (…) ( ... )
conditional (if) If ... then ... else ... If ... then ... else ...

There are no KAWASAKI operators that do not have a DELMIA equivalent. KAWASAKI expressions can contain functions. However, if any functions are encountered the expression is uploaded as a custom instruction.

Controller Parameters

The KAWASAKI Controller Parameters are created as a standalone applicative profile named "KAWASAKI S4C Controller Profile". The following are the parameters for the current release.

Parameter Measure Purpose Default Value
ProgramFileEncoding String This parameter is used to set the encoding used in the robot program. (i.e. Shift-JIS)
MaxProgramLength Integer Max number of instructions allowed per robot task when downloading. If the task has more instructions than the number specified, it will be split into multiple programs during translation. This is useful if the program size exceeds the maximum allowed size for your controller. If the value is 0, the task will not be split. 0
CommentWaitSignal Boolean Used to treat all Wait signal instructions during upload as custom instructions. False
PartGrabbed String This parameter is used to set the grabbed part in an uploaded grab instruction.
RailGroup String This parameter determines which auxiliary axes values in the downloaded/uploaded program will map to RailTrackGantry. Two formats can be used. First is to set the starting axes number for all RailTrackGantry axes. Second is to use a semi-colon delimited value with the axes numbers for each aux. axes 3;5 would put the first rail axes into robtarget aux. axes value 3 and the second rail axes into aux. axes value 5.
TagPrefix String This parameter is used to add a prefix to all tag names during upload.
ToolGroup String This parameter determines which auxiliary axes values in the downloaded/uploaded program will map to EndOfArmTooling. Two formats can be used. First is to set the starting axes number for all EndOfArmTooling axes. Second is to use a semi-colon delimited value with the axes numbers for each aux. axes 2;4 would put the first tool axes into robtarget aux. axes value 2 and the second tool axes into aux. axes value 4.
WorkGroup String This parameter determines which auxiliary axes values in the downloaded/uploaded program will map to WorkpiecePositioner. Two formats can be used. First is to set the starting axes number for all WorkpiecePositioner axes. Second is to use a semi-colon delimited value with the axes numbers for each aux. axes 1;6 would put the first work axes into robtarget aux. axes value 1 and the second work axes into aux. axes value 6.
DownloadBlockFormat Boolean Used to download all tasks selected using block format. False
EndOfArmToolType Boolean Used to determine the default download for clamp data when block format is used and block Clamp Data applicative profile is not set. HANDLING - CLAMP1 (OFF,0,0,C) AIRGUN - CLAMP1 (OFF,0,0,O) SERVOGUN - CLAMP1 (OFF,0,0,0) with CL1=0.000,0,0,0,0 (D controller) or CL1=0.000,0,0,0,0,0,0 (E controller) AIRGUN
NumberofClamp Integer Used to determine how many CLAMP values are downloaded when Clamp Data applicative profile is not set. 1
OXWXNegative Boolean Used for upload/download of negative OX and WX values for block format. False
OX_PreOutput Boolean Used to put digital output assignment instructions prior to the current move when uploading block format OX values. False
SpeedAbsTime Boolean Used to determine the units for the AUXDATA_SPEED values. By default all values are percent speed. If true then 1-6 are absolute, 7-8 are time, and 9-10 are percent. False
AUXDATA_SPEED String Used to set the default SPEED0-9 values during upload and to map a speed to SPEED0-9 during download. "10.000,20.000,30.000,40.000,50.000, 60.000,70.000,80.000,90.000,100.000"
AUXDATA_ACCU String Used to set the default ACCU0-4 values during upload and to map an accuracy to ACCU0-4 during download. "1.000,10.000,50.000,100.000,1.000"
AUXDATA_TIMER String Used to set the default TIMER0-9 values during upload and to map a wait <time> instruction to TIMER0-9 during download. "0.000,0.100,0.200,0.300,0.400, 0.500,0.600,0.700,0.800,0.900"
AUXDATA_FLOWRATE String Used to map the paint profile flow to FLOW_RATE 0-15 values for upload and download. An index of 1 for example would use FLOW_RATE 25.000.

"0.000,25.000,50.000,100.000,150.000,200.000,250.000,300.000,

350.000,400.000,450.000,500.000,550.000,600.000,650.000,700.00”

AUXDATA_PATTERN String Used to map the paint profile pressure to PATTERN 0-15 values for upload and download. An index of 1 for example would use PATTERN 50.0.

"0.000,50.000,100.000,150.000,200.000,250.000,300.000,350.000,

400.000,450.000,500.000,550.000,600.000,650.000,700.000,750.000"

AUXDATA_SHAPE String Used to map the paint profile pressure to SHAPING 0-15 values for upload and download. An index of 1 for example would use SHAPING 50.0. A separate controller parameter “DownloadPaintShape” is used to determine if pressure should be downloaded as SHAPING rather than PATTERN.

"0.000,50.000,100.000,150.000,200.000,250.000,300.000,350.000,

400.000,450.000,500.000,550.000,600.000,650.000,700.000,750.000"

AUXDATA_ATOMIZING String Used to map the paint profile air volume to ATOMIZING 0-15 values for upload and download. An index of 1 for example would use ATOMIZING 50.0.

"0.000,50.000,100.000,150.000,200.000,250.000,300.000,

350.000,400.000,450.000,500.000,550.000,600.000,650.000,700.000,750.000"

AUXDATA_AIRMOTOR String Used to map the paint profile rotation speed to AIR_MOTOR 0-15 values for upload and download. An index of 1 for example would use AIR_MOTOR 10.0.

"0.000,10.000,15.000,20.000,25.000,30.000,35.000,40.000,

45.000,50.000,55.000,60.000,65.000,70.000,75.000,80.000"

AUXDATA_HIGHVOLTAGE String Used to map the paint profile voltage to HIGH_VOLTAGE 0-3 values for upload and download. An index of 1 for example would use HIGH_VOLTAGE 5.0. "0,5.000,10.000,15.000"
DownloadPaintIndexes Boolean Automatically set to true during upload if paint indexes are used. If true then paint profile parameters are downloaded by mapping the value to the appropriate AUXDATA_<type> described above. false
DownloadPaintShape Boolean Automatically set to true during upload if SHAPING is found. If true then SHAPING will be downloaded for paint profile pressure. Otherwise, PATTERN will be downloaded. false
CLAMP1_TYPE-CLAMP8_TYPE String Used to upload block format to spot (SPOTWELD), handling (HANDLING), arc (ARCWELD), or sealing (SEALING) instructions. The clamp type is used when a CLAMP<num> (ON is found. ""

Kawasaki Cubic-S Safety Areas

You can import a Kawasaki AS program file which has the Cubic-S safety zone data and have TCP safety zones and tool volumes (points) created in simulation to assist in checking safety issues, or planning paths to stay in safe areas as defined in the program files .CBSDATA section.

Kawasaki robot controllers allow users to create safety areas and tool volumes and make sure the robot tool volumes stay in safe areas and / or stay out of prohibited areas.

Kawasaki Cubic-S safety areas are polyhedral defined by 4 to 6 vertices on the horizontal plane and limited by a top plane and a bottom plane.

Kawasaki Cubic-S allows also up to 32 tool volumes, with each tool volume contains up to 20 tool points.

Cubic-S safety zone OLP support is import only, no download generating Kawasaki safety data.

Kawasaki parser will parse the statements in the .CBDDATA ~ .END section and the result is saved in the Abstract Syntax Tree (AST). This also interprets the safety zone and tool volume definitions and create TCP safety zones and tool volumes (points).

Note: Kawasaki Cubic-S safety data defines certain tool points, which are not necessarily the vertices of certain tool volumes or shapes. Besides, the order of these points is arbitrary and can be invalid for creating tool shapes following the same order. Therefore, we upload tool points as small spheres.



In the .CBSDATA section, lines starting with ConstMonitor define 1 permit area.

313,ConstMonitorZ+Z-,3000,-1000,  ‘Z range
314,ConstMonitorAttribute,1,1,1,1,0,0,0,0,  ‘valid vertices, up to 8
315,ConstMonitorXY,1500,-900,1500,2500,-2000,2500,-2000,-900,0,0,0,0,0,0,0,0,  ‘X, Y coordinate pairs

Similarly, lines starting with ConstProhibit define prohibit areas. Up to 8 prohibit areas can be defined. Each prohibit area can have up to 4 vertices.

Then lines starting with SelectMonitor define up to 4 select monitoring areas, each made of up to 6 vertices. Select monitoring areas can be permit areas or prohibit areas. SelectMonitorPermit 1 means the area is permitted or safe inside.

350,SelectMonitorPermit,0,

Lines starting with XorO, YorA, and ZofT define tool points Cartesian coordinates. Each set of the 3 lines belong to the same tool and is uploaded as a tool volume, if there are non-zero values. Each value in these lines defines an X, Y, or Z coordinate value of a tool point, and there are up to 20 tool points (shapes) in a tool (volume). There are 32 sets of the lines.

113,XorO,0,0,0,0,0,0,0,0,0,-62.1,-62.1,-62.1,-62.1,62.9,62.9,62.9,62.9,0,0,0,0,0,
114,YorA,0,0,0,0,0,0,0,0,0,-57.7,-52.7,96.3,96.3,-52.7,-57.2,96.3,96.3,0,0,0,0,0,
115,ZorT,0,0,0,0,0,0,0,0,0,440,0,0,440,0,440,440,0,0,0,0,0,0,

Soft Limits

If .AUDATA UP-LIM and LO-LIM values are found in the uploaded file then they will be uploaded to the soft limits for the robot.


UP-LIM          160.000   140.000   120.000   270.000   145.000   360.000
LO-LIM         -160.000  -105.000  -155.000  -270.000  -145.000  -360.000

[1] C Controller, D Controller, E Controller, F Controller, and AS are or may be trademarks or registered trademarks of Kawasaki or its subsidiaries in the U.S. and in other countries.