Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 07:14:42 PM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  KUKA Robot Forum (Moderators: Werner Hampel, Martin H, SkyeFire)
| | |-+  EXT BAS
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: EXT BAS  (Read 351 times)
rupy
Newbie
*
Offline Offline

Posts: 33


« on: January 13, 2012, 04:09:09 PM »

Hi,
can some body help me in explaining the what is the "EXT BAS" in Declaration  section of the following program example.



;------- Declaration section -------
EXT BAS (BAS_COMMAND :IN,REAL :IN )
DECL AXIS HOME ;Variable HOME of type AXIS
DECL FRAME BASE1 ;Variable BASE1 of type FRAME
;----------- Initialization ----------
BAS (#INITMOV,0 ) ;Initialization of velocities,
;accelerations, $BASE, $TOOL, etc.
HOME={AXIS: A1 0,A2 -90,A3 90,A4 0,A5 0,A6 0}
BASE1={FRAME: X 300,Y -100,Z 0,A 90,B 0,C 0}
;----------- Main section ----------
PTP HOME ;BCO run
; Motion relative to the $BASE coordinate system
PTP {POS: X 540,Y 630,Z 1500,A 0,B 90,C 0,S 2,T 35}
; Motion relative to the $BASE-CS offset by BASE1
PTP BASE1:{POS: X 540,Y 630,Z 1500,A 0,B 90,C 0,S 2,T 35}
PTP HOME
END
Logged
MeanRobot
Full Member
***
Online Online

Posts: 239


« Reply #1 on: January 13, 2012, 04:30:53 PM »

Depending on your software version it is either a necessary or legacy declaration of the external BAS program (see BAS.SRC for more details).

It is so the KSS knows what to do with the following and similar code:
Code:
BAS (#INITMOV,0 )
Logged
SkyeFire
Global Moderator
*****
Offline Offline

Posts: 1784



« Reply #2 on: January 14, 2012, 12:58:43 AM »

The EXT statement in KRL allows program code in one module (a module consisting of an SRC file and usually a DAT file) to access subroutines and/or functions residing within another module.  The module BAS.SRC is a standard part of every KUKAbot and includes a large amount of standardized KUKA KRL code which supports, among other things, menu-driven programming using inline forms.

Logged
rupy
Newbie
*
Offline Offline

Posts: 33


« Reply #3 on: January 14, 2012, 06:23:50 AM »

Thanks for nice explanation

 
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!