Kawasaki Robot Controller E Series. Reference Manual (2015) - page 19

 

  Index      Manuals     Kawasaki Robot Controller E Series. Reference Manual (2015)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     17      18      19     

 

 

 

 

Kawasaki Robot Controller E Series. Reference Manual (2015) - page 19

 

 

Appendix 5 AS Language List
Kawasaki Robot 㻌 AS Language Reference Manual
Abbre-
Name
Function
Format (Parameter)
Sec
viation
SCNT counter signal number = count up
Outputs counter signal when counter
SCNT
SCNT
P
signal, count down signal, counter clear
6.7
value is reached
signal, counter value
SCNTRESET
SCNTR
Resets internal counter value
M
SCNTRESET counter signal number
5.7
SCNTRESET
SCNTR
Resets internal counter value
P
SCNTRESET counter signal number
6.7
SCREEN
SC
Control terminal display
S
....SCREEN
7.0
SET_TOOLSHAPE tool shape
no.=transformation value variable 1,㻌
SET_TOOLSHAPESET_TOOLSHAP
Registration of tool shape
M
transformation value
5.6
E
variabletransformation value variable2,㻌
…,㻌 transformation value variable 8
SET_TOOLSHAPE tool shpae
no.=transformation value variable 1,㻌
SET_TOOLSHAPESET_TOOLSHAP
Registration of tool shape
P
6.9
E
transformation value variable2,㻌 …,㻌
transformation value variable8
SET2HOME
SET2
Defines home pose 2
M
SET2HOME accuracy, HERE
5.6
SET2HOME accuracy, joint displacement
SET2HOME
SET2
Defines home pose 2
P
6.9
value variable
SETHOME
SETH
Defines home pose 1
M
SETHOME accuracy, HERE
5.6
SETHOME accuracy, joint displacement
SETHOME
SETH
Defines home pose 1
P
6.9
value variable
SETOUTDA port No. = LSB, No. of
SETOUTDA
SETOUTDA
Sets analog output environment.
M
5.8
bits, logic, max. voltage, min. voltage
SETOUTDA port No. = LSB, No. of
SETOUTDA
SETOUTDA
Sets analog output environment.
P
6.8
bits, logic, max. voltage, min. voltage
SETPICK
SETPICK
Sets time to start clamp close control
M
SETPICK time1,…, time8
5.7
SETPICK
SETPICK
Sets time to start clamp close control
P
SETPICK time1,…, time8
6.7
SETPLACE
SETPLACE
Sets time to start clamp open control
M
SETPLACE time1,…, time8
5.7
SETPLACE
SETPLACE
Sets time to start clamp open control
P
SETPLACE time1,…, time8
6.7
SETTIMEyear, month, day, time, minute,
SETTIME
SETTIME
Sets date an time
P
6.9
second
SETTRACE
SETTRACE
Reserves necessary memory to log data
M
SETTRACE number of steps
5.2
SF_OPEN_ERROR
SF_OPEN_ERROR
Error when safety fence is open
S
SF_OPEN_ERROR
7.0
Turns ON/OFF signal in given cycle
SFLK
SFLK
M
SFLK signal number = time
5.7
time
Turns ON/OFF signal in given cycle
SFLK
SFLK
P
SFLK signal number = time
6.7
time
Turns ON/OFF signal using set/reset
SFLP output signal = set signal expression,
SFLP
SFLP
M
5.7
signal
reset signal expression
Turns ON/OFF signal using set/reset
SFLP output signal = set signal expression,
SFLP
SFLP
P
6.7
signal
reset signal expression
SHIFT
SHIFT
Returns shifted transformation values
F
SHIFT (trans BY X shift, Y shift, Z shift)
9.2
SIG
SIG
Returns logical AND of signal states
F
SIG (signal number, …)
9.1
Enable/ disable signal monitor
SIGMON_TEACH
SIGMON_TEACH
S
SIGMON_TEACH
7.0
signaloperation
SIGNAL
SI
Turns signals ON/OFF
M
SIGNAL signal number, …
5.7
SIGNAL
SI
Turns signals ON/OFF
P
SIGNAL signal number, …
6.7
A5-13
Appendix 5 AS Language List
Kawasaki Robot 㻌 AS Language Reference Manual
Abbre-
Name
Function
Format (Parameter)
Sec
viation
Switches number of signal to reset when
SIGRSTCONF
SIGRSTCONF
S
SIGRSTCONF
7.0
signal 0 is output
SIN
SIN
Returns the sine value
F
SIN (real values)
9.3
SINGULAR
SINGULAR
Enable/ disable singular point check
S
SINGULAR
7.0
Switches execution program to program
SJUMP
SJUMP
P
SJUMP program name, status variable
6.5
specified in character string
SLOAD/IF/ARC device number=file
SLOAD
SLOAD
Loads files to robot memory
P
6.10
name, status variable
Sets the repeat speed in slow repeat
SLOW REPEAT
SL
M
SLOW_REPEAT
5.6
mode
Enables or disables the slow start
SLOW_START
SLOW_START
S
...SLOW_START...
7.0
function
SOUT
SO
Outputs signal when condition is set
M
SOUT signal number = signal expression
5.7
SOUT
SO
Outputs signal when condition is set
P
SOUT signal number = signal expression
6.7
$SPACE
$SPACE
Returns blanks
F
$SPACE (number of blanks)
9.4
SPEED
SP
Sets monitor speed
M
SPEED monitor speed
5.4
SPEED monitor speed, rotation speed
SPEED
SP
Sets monitor speed
P
6.2
ALWAYS
SQRT
SQRT
Returns the square root
F
SQRT (real values)
9.3
STABLE
STA
Holds robot motion for a given time
P
STABLE time
6.1
Displays status information on keyboard
STAT_ON_KYBD
STAT_ON_KYBD
S
STAT_ON_KYBD
7.0
screen
STATUS
STA
Displays system status
M
STATUS
5.6
STEP program name, execution cycles,
STEP
STE
Executes a single step of a program
M
5.4
step number
STIM timer signal = input signal number,
STIM
STI
Turns ON timer signal
M
5.7
time
STIM timer signal = input signal number,
STIM
STI
Turns ON timer signal
P
6.7
time
STOP
STO
Terminates execution cycle
P
STOP
6.5
STPNEXT
STP
Executes the next step
M
STPNEXT
5.4
Sets the execution as one step at a time
STP_ONCE
ST
S
...STP_ONCE...
7.0
or continuous
$STR_ID
$STR_ID
Returns robot information for robot 1
F
$STR_ID (number)
9.4
$STR_ID2
$STR_ID2
Returns robot information for robot 2
F
$STR_ID2 (number)
9.4
Returns the value of specified pose
STRTOPOS
STRTOPOS
F
STRTOPOS (string variable)
9.1
variable
Returns the value of specified real
STRTOVAL
STRTOVAL
F
STRTOVAL (string variable)
9.1
variable
SWAIT
SW
Waits for desired signal state
P
SWAIT signal number,
6.7
SWITCH
SW
Sets system switches
M
SWITCH switch name,...=ON (=OFF)
5.6
SWITCH
SWITCH
Returns system switch status
F
SWITCH (switch name)
9.1
SYSDATA
SYSDATA
Returns parameters in AS system
F
SYSDATA (keyword, opt1, opt2)
9.1
$SYSDATA
$SYSDATA
Returns parameters in AS system
F
SYSDATA (keyword, opt1, opt2)
9.1
SYSINIT
SYS
Initialize system
M
SYSINIT
5.6
A5-14
Appendix 5 AS Language List
Kawasaki Robot 㻌 AS Language Reference Manual
Abbre-
Name
Function
Format (Parameter)
Sec
viation
T
T
Enables teaching by TP in editor mode
E
T
5.1
TASK
TASK
Returns execution status of program
F
TASK (task number)
9.1
TDRAW X translation, Y translation, Z
Moves the robot by a given amount of
TDRAW
TD
P
translation, X rotation, Y rotation, Z
6.1
the tool coordinates
rotation, speed
TEACH_LOCK
TEACH_LOCK
TEACHLOCK switch ON/OFF status
S
switch (TEACH_LOCK)
7.0
THEN
THEN
IF structure
K
IF logical expression THEN
6.6
TIME
TI
Sets and displays date and time
M
TIME yy-mm-dd hh:mm:ss
5.6
$TIME
$TIME
Reutrns system date and time
F
$TIME
9.4
TIMER
TI
Sets timer
P
TIMER timer number = time
6.9
TIMER
TIMER
Returns timer values
F
TIMER (timer number)
9.1
TO
TO
FOR structure
K
FOR ... TO ... END
6.6
TOOL transformation value variable, tool
TOOL
TOOL
Defines tool transformation values
M
5.6
shape no.
TOOL transformation value variable, tool
TOOL
TOOL
Defines tool transformation values
P
6.9
shape
TOOL
TOOL
Reutrns tool transformation values
F
TOOL
9.2
TOOLSHAPE
TOOLSHAPE
Sets speed control using tool shape
M
TOOLSHAPE㻌 tool shape no.㻌
5.6
TOOLSHAPE
TOOLSHAPE
Sets speed control using tool shape
P
TOOLSHAPE㻌 tool shpae no.㻌
6.9
Touch panel operation of TP repeat
TOUCH.ENA
TOUCH.ENA
S
TOUCH.ENA
7.0
condition enable/ disable
Touch panel operation of TP status lamp
TOUCHST.ENA
TOUCHST.ENA
S
TOUCHST.ENA
7.0
enable/ disable
TPKEY_A
TPKEY_A
Turns ON/OFF A key on TP
S
switch (TPKEY_A)
7.0
TPLIGHT
TPLIGHT
Turns on the TP backlight
M
TPLIGHT
5.6
TPLIGHT
TPLIGHT
Turns on the TP backlight
P
TPLIGHT
6.9
Automatic slow speed setting for teach
TPSPEED.RESET
TPSPEED.RESET
S
TPSPEED.RESET
7.0
and check speed
TRACE
TRACE
Logs and traces programs
M
TRACE stepper number: ON/OFF
5.2
TRACE
TRACE
Logs and traces programs
P
TRACE stepper number: ON/OFF
6.10
Returns the sum of traverse axis and
TRADD
TRADD
F
TRADD (transformation value variable)
9.2
transformation values
TRANS (X component, Y component, Z
TRANS
TRANS
Returns transformation values
F
component, O component, A component,
9.2
T component)
TRIGGER
TRIGGER
TRIGGER switch ON/OFF status
S
switch (TRIGGER)
7.0
Acquires the torque value of specified
TRQNM
TRQNM
F
TRQNM(axis number)
9.1
axis
Returns the difference of traverse axis
TRSUB
TRSUB
F
TRSUB (transformation value variable)
9.2
and transformation values
TWAIT
TW
Wait for a given period of time
P
TWAIT time
6.5
TYPE
TY
Displays data on the terminal
M
TYPE device number: print data, …
5.8
TYPE
TY
Displays data on the terminal
P
TYPE device number: print data, …
6.8
A5-15
Appendix 5 AS Language List
Kawasaki Robot 㻌 AS Language Reference Manual
Abbre-
Name
Function
Format (Parameter)
Sec
viation
ULIMIT
UL
Sets lower limit of robot motion
M
ULIMIT joint displacement value variable
5.6
ULIMIT
UL
Sets lower limit of robot motion
P
ULIMIT joint displacement value variable
6.9
UNTIL
UN
DO structure
P
DO ... UNTIL logical expression
6.6
USB_COPY new program name = source
USB_COPY
USB_COPY
Copies files in USB drive
M
5.2
program name
USB_FDEL
USB_FDEL
Deletes data in USB drive
M
USB_FDEL file name,…
5.2
Displays names of program/variable in
USB_FDIR
USB_FDIR
M
USB_FDIR
5.2
USB memory
Loads contents of USB drive into robot
USB_LOAD
USB_LO
M
USB_LOAD/Q filename
5.3
memory
USB_MKDIR
USB_MKDIR
Creates a folder on the USB drive
M
USB_MKDIR folder name
5.3
USB_RENAME new file name = existing
USB_RENAME
USB_RENAME
Changes file name in USB drive
M
5.2
file name
USB_SAVE/SEL filename =program
USB_SAVE
USB_SA
Stores program/variable into USB drive
M
5.3
name,…
USB_SAVE/ALLL
USB_SA/
Stores auxiliary information into floppy
M
USB_SAVE/A file name
5.3
OG
ALLLOG
disk
USB_SAVE/ELOG
USB_SA/ELOG
Stores error log into USB dirve
M
USB_SAVE/ELOG file name
5.3
USB_SAVE/OPLO
USB_SA/OPLOG
Stores operation log into USB drive
M
USB_SAVE/OPLOG file name
5.3
G
USB_SAVE/P,L,R,
USB_SAVE(/P)(/L)(/R)(/S)/SEL
file
USB_SA/P,L,R,S,A
Stores data into floppy disk
M
5.3
S,A
name=program name,...
USB_SAVE/ROB
USB_SA/ROB
Stores robot data into floppy disk
M
USB_SAVE/ROB file name
5.3
USB_SAVE/SYS
USB_SA/SYS
Stores system data into floppy disk
M
USB_SAVE/SYS file name
5.3
Changes ASCII8 bit display font to
USE_ISO8859_5
USE_ISO8859_5
S
USE_ISO8859_5
7.0
Cyrillic font
UTIMER
UTIMER
Sets user timer
P
UTIMER @timer variable = timer value
6.9
UTIMER
UTIMER
Returns current user timer values
F
UTIMER (@timer variable)
9.1
UWRIST
UW
Changes wrist configuration
P
UWRIST
6.4
VAL
VAL
Returns real value
F
VAL (string, code)
9.1
WAIT
WA
Waits for specified condition
P
WAIT condition
6.5
WAITREL_AUTO
Displays wait release popup window
S
WAITREL_AUTO
7.0
WEIGHT load mass, center of gravity
X,center of gravity Y,center of gravity Z,
WEIGHT
WE
Sets load mass data
M
5.6
inertia moment ab.X axis, inertia moment
ab.Y axis, inertia moment ab.Z axis
WEIGHT load mass, center of gravity
X,center of gravity Y,center of gravity Z,
WEIGHT
WE
Sets load mass data
P
6.9
inertia moment ab.X axis, inertia moment
ab.Y axis, inertia moment ab.Z axis
WHERE
W
Displays current robot pose
M
WHERE display mode
5.6
Returns task number of specified
WHICHTASK
WHICHTASK
F
WHICHTASK program name
9.1
program
WHILE
WH
DO structure
P
WHILE ... DO ... END
6.6
A5-16
Appendix 5 AS Language List
Kawasaki Robot 㻌 AS Language Reference Manual
Abbre-
Name
Function
Format (Parameter)
Sec
viation
WS.ZERO
WS.ZERO
Changes the weld processing
S
...WS.ZERO...
7.0
WS_COMPOFF
WS_COMPOFF
Changes the output timing of WS signal
S
...WS_COMPOFF...
7.0
XD
XD
Cuts step and pastes on the buffer
E
XD number of steps
5.1
XFER destination program name, step
XFER
XF
Copies and transfers steps
M
number 1= source program name, step
5.2
number 2, number of steps
XMOVE mode pose variable TILL signal
XMOVE
X
Moves until the signal changes
P
6.1
number
XOR
XOR
Exclusive logical OR
O
XOR
8.3
XP
XP
Inserts contents of paste buffer
E
XP
5.1
Inserts contents of paste buffer in reverse
XQ
XQ
E
XQ
5.1
order
XS
XS
Displays contents of paste buffer
E
XS
5.1
XY
XY
Copies step and pastes on the buffer
E
XY number of steps
5.1
ZSIGSPEC
ZSIG
Sets number of installed signals
M
ZSIGSPEC
5.6
ZZERO
ZZ
Sets zeroing data
M
ZZERO㻌 joint number
5.6
FALSE
FALSE
Returns FALSE value
F
... FALSE ...
9.1
TRUE
TRUE
Returns TRUE value
F
... TRUE ...
9.1
-
-
Subtraction
O
.... -...
8.1
-
-
Subtraction of transformation values
O
.... - ...
8.5
Multiplication
O
.....*
8.1
/
/
Division
O
.... / …
8.1
^
Power
O
.....䠺
8.1
+
+
Addition
O
.... + ...
8.1
+
+
Addition of transformation values
O
.... + ...
8.5
+
+
Combination of strings
O
.... + …
8.6
<
<
Less than
O
.... < ...
8.2
<=
<=
Less than or equal to
O
.... <= ...
8.2
<>
<>
Not equal to
O
.... <> ...
8.2
=<
=<
Less than or equal to
O
.... =< ...
8.2
==
==
Equal to
O
.... = ...
8.2
=>
=>
Greater than or equal to
O
.... => ...
8.2
>
>
Greater than
O
.... > ...
8.2
>=
>=
Greater than or equal to
O
.... >= ...
8.2
A5-17

 

 

 

 

 

 

 

Content      ..     17      18      19