Posts by robotecnik
-
-
Hello all,
I'm trying to get an output ON without stopping the robot.
Of course I'm using
to get it done, but there are some conditions before that must be observed, therefore, I have some IF clauses and a couple of function calls prior to activating the output itself...In pseudocode the logic flow is the following one:
Code
Display More; IN THE SAME SRC FILE THAN THE USER POINTS/PROGRAM DEF UserFunction(iP1,iP2) INT iP1 INT iP2 IF (iP1==0) THEN HALT ELSE SWITCH iP1 CASE 2 IF(Global_bool_var)THEN IF(MOD(Global_int_var,iP2)==(iP2-1))THEN fxThatMakesThePulse(100) ENDIF ENDIF DEFAULT HALT ENDSWITCH ENDIF END ;IN ANOTHER AND GLOBAL SRC FILE GLOBAL DEF fxThatMakesThePulse(iT) INT iT IF (iT == 0)THEN TRIGGER WHEN DISTANCE=0 DELAY=0 DO PULSE(ADO_bU21LiquidPApply,TRUE,0.5) ELSE TRIGGER WHEN DISTANCE=0 DELAY=0 DO PULSE(ADO_bU21LiquidPApply,TRUE,m_iT/1000) ENDIF ; Something will be handled in the SPS after a while... $TIMER[3]=0 $TIMER_STOP[3]=FALSE END
Of course, if in the main program I'm using the TRIGGER... call directly the robot is not stopping.
I would like to be able to keep the different functions and so in my logics in order to separate the physical inputs and outputs from the logics.
I've tried placing a continue just before any of the IF clauses present in the code with the same result...
Any idea or hint?
as always thank you in advance.
-
I've found a solution (not the best one but it seems to work):
I've filtered the question using $PERI_RDY, now the touchup question will only appear when the operator will have the deadman switch pressed therefore, during a copy operation which normally happens without that, no question will pop up.
Thank you all for your time and answers.
-
Good morning Skyefire,
It fails in both states, but in different ways:
PREVIOUS NOTES ABOUT THE FOLD
In that "super" fold I'm making an automatic touch up, which means that I'm getting the POS_ACT and assign it to some fields of that fold. I'm creating a fold that's similar to a LIN, PTP movement with speed, base, XYZABC and some other fields.If I'm opening the fold for first time I'm getting the POS_ACT and assigning it directly to the fold (like when you make a LIN in which all the XYZABC get updated automatically at the creation moment).
If I'm modifying the fold, then a question appears asking if I want to touch up or not, which is wonderful as it helps the user to avoid touching up (one extra step).
That fold is used to automate some robot path movements.
Then, going back to the problem and behaviour:
A) IF I'VE OPENEND THE FILE (NOT SELECTED IT)
The inline form is not working as the robot is not aware of POS_ACT.
In the notification area reads "invalid inline form".
The PASTE operation fails.B) IF I'VE SELECTED THE FILE
When the inline form is about to get pasted then the question appears and fails.
The problem that I'm trying to avoid here is that when the fold is being pasted that question appears and therefore nothing is being pasted beyond that point.
Of course this is a big issue as the customer gets fooled by the system and can make the robot to collide.Can you imagine some way to arrange this?
Thank you very much in advance.
-
-
Hello all,
I have a special fold that makes a question to the operator just at the ONOPEN event. This should not be a big issue, but the fact is that even it works in most of the cases, when the operator copies the text CTRL+C and then pastes it into a new location CTRL+V it fails.
Let me explain how:
Let's say we have a small code like:
CodePTP xxx1 LIN xxx2 PTP xxx3 LIN xxx4 MysuperFoldWithQuestionduringThe_ONOPEN_Event PTP xxx5 PTP xxx6
If the robot operator selects
and then tries to paste it somewhere the result is not the desired one as the paste operation gets broken and only this is getting pasted:
This is a big issue for my customer as no notification is shown during that operation and there are some of those folds that are intensively used during the programming.
I've been thinking on looking for the copy operation in process system variable (if it exists) to use it to avoid making the question during the paste operation of that fold...
Do you think it is possible? I've looked into the system variables manual without luck (nothing like that there).
Any advice?
As always thank you in advance.
-
It is not any of those cases...
In fact, when I connect the external display to the robot computer, the external display it's seen in a really nice way.
Teh problem is in the KCP... which becomes blurry... It seems that the graphics card is not powerful enough to have two displays connected at the same time... and the display that becomes unstable and blurry is the KCP...
I'd like to have a video splitter or something similar but I don't know what could be mounted there to reduce that effect...
Thank you for your feedback!
-
Hello all,
I have an external 24 inches display connected to the robot controller.
The problem here is that when I connect that display the quality of the image that is seen in the KCP is horrible... Can I do anything to improve that?
I'm thinking on any device that I could plug into the graphic card that would amplify the signal and reduce the efforts that graphic card must do to show the image...
Thank you in advance!