Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 07:25:03 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)
| | |-+  How to make it read line by line?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How to make it read line by line?  (Read 314 times)
kanna
Newbie
*
Offline Offline

Posts: 16


« on: January 21, 2012, 12:15:44 AM »

I Have three points p1,p2,p3. and i have 2 outputs.
 
I programmed in such a way that. After home position- robots goes to p1 position-then output1 should be true- Then it should go to p2 Position- then it should goto P3- then my output2 should be true- finally it should reach home position.

While am running the programme my output1 gets true before going to P1. Its because(according to my knowledge)  the robots reads the next two line from the pointer and executes it?

Can anyone tell me how to solve this problem?how to make it not to read next two lines from pointer and make it to read line by line.

Hope you have understood my problem....
waiting for your reply. Thanks in advance.

Logged
kr16_2
Full Member
***
Offline Offline

Posts: 204


« Reply #1 on: January 21, 2012, 07:10:21 AM »

ptp p1
$out[1]=true
...

Controller does read ahead but I/O instructions by default stops this behavior (unless you use CONTINUE instruction)
Post your code
 
Logged
MeanRobot
Full Member
***
Online Online

Posts: 239


« Reply #2 on: January 23, 2012, 02:21:57 PM »

$ADVANCE=0 should do what you are requesting.

Changing DEF_ADVANCE in the $config.dat to 0 will do the same thing as long as your programs contain the normal INI section.
Logged
the leg
Full Member
***
Offline Offline

Posts: 191


Life is like a game of poker .


« Reply #3 on: January 23, 2012, 05:42:54 PM »

trigger the output to come on at " END"  and put it before the move is anotherway
Logged
SkyeFire
Global Moderator
*****
Offline Offline

Posts: 1784



« Reply #4 on: January 24, 2012, 08:07:36 PM »

Turning $ADVANCE to 0 will prevent continuous motions.

Generally, the correct method for tying an output to a particular motion point is to use TRIGGER commands, manipulating the DESTINATION and DELAY values as needed.

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!