Posts by robotecnik

    Hi all,


    I need to activate a digital output every time I call a function, when I am doing the first point, I want to activate the doPoint1, when I am doing the second point the function should activate the doPoint2 and so on.


    Late binding only work with procedures, it would be super easy with an array, but I don't know of any way to make an array to share the same memory space than a list of outputs.

    AliasIO does not seem the way to go either... as I would have to define an alias for each signal...

    A group output could be the way, setting it to the same address than all the DO bits, but I would have to calculate the right bit and make an bitwise OR with that,,,


    Something like this pseudocode:

    Code
    InitialValue = GOutput(groupOutuput);
    bitActiveValue = calculateValueWithOnlyOneBitActive(5);
    setGO groupOutuput, calculatedValue OR InitialValue; // BitOr seems only to work with BYTES not bigger groups.


    But as said in the comment, BitOR seems only to work with 8 bits at once...


    Apart of doing something like (PseudoCode again):


    Code
    CASE i:
      1: setDO doPoint1,1;
      2: setDO doPoint2,1:
    ...
    ENDCASE


    Not a big deal doing this... it would work and I have to do it only for 32 signals, but it's super ugly... <X


    How would you solve this small issue?


    Thank you all in advance.

    Reset IO driver

    Given it's been working for months it should not be the case, but... sometimes, if any of the bus participants get powered off, you need to reinitialize the IO driver.


    EXPERT mode >> Configuration >> IO >> IO driver >> Reset driver.


    NOTICE: Names come from memory, not in front of any robot now.


    During commissioning is not that strange needing this, but after this amount of time working... maybe a file corruption is the cause (as panic mode stated).


    When you get this undesired behavior, check if resetting the driver helps.


    Notes on file corruption

    A robot has a computer, that computer comes with a Microsoft Windows Operating System (OS), that OS (as it happens in any computer with a modern OS) needs to power off gracefully to avoid corrupting files.


    A simple example of file corruption would be:

    1. OS opens a file and start writing on it.

    2. Power outage happens.

    3. File stays open with half the modifications done.

    4. After power up the computer that file can be useless.


    To recover from that a reinstall of the KSS or even Windows would solve it. But it's complicated to recommend this without more info.


    Hope this helps.

    Hi all!


    Next week I will travel again to a customer company to finish the pending job. I will commission another new KRC4 + KSS 8.6.8 robot.


    Some time ago I saw that PTP movements in manual mode got super slow, LIN movements in the other hand are as fast as usual.


    I use this function to set the PTP speeds:



    In customer programs they call mSpeedPTP(100.0) and even doing this PTP movements are very slow.


    Am I doing something wrong? have they changed something since older KSS versions?


    (That routine has been used since KRC2 times and in #Ex or #AUT modes it works like usual... Only in T1 (and maybe in T2) modes PTP movements are super slow. (more than usual I mean and much more than LIN movements).


    Do you know of any way I could increase those T1 PTP speeds?


    As always thank you in advance.

    Hi panic mode,


    I just found out the reason it was not working... the outputs card that should provide power to the input signals for AUT-EXT to work is connected just after a EL9100 (power supply) which was not active (without drives ON power in the outputs is not active) so it was a deadlock situation, trying to activate power with a signal that only works when power is on...


    Code was OK, all was OK, except for this detail.


    In all my previous projects this was not a concern as I was performing the AUT-EXT through communication which was not affected by this.


    In any case...


    Solved!


    Thanks for your previous comments!


    ;)

    OOOPS! sorry, just found the solution to my problem and deleted the post just to find out you had answered it...


    ^^¡


    The card where the outputs were connected was plugged after a power supply card which was preventing it to send power through the outputs...


    I'm just going to jump off the window in a few minutes... first I'll make a backup and write a dramatic suicide note.

    Thanks for your post panic mode ,


    I know that in T1/T2 I have to use the deadman switch, that in AUT you have to use the drives icon, but in this robot, using the same logic than always, in EXT mode it behaves differently than in the other robots I have in the same factory, this one being KSS 8.6.8 and hte previous ones 8.3 or 8.4 (can't remember now from the hotel room).


    In this case my customer asked me to remove the PLC and I have needed to connect a few digital outputs to a few digital inputs to be able to simulate a PLC is there handling the AUTEXT IOs, but then I replicated the behavior I have in those other machines and I can't see how to get the same behavior.


    In fact drives can be activated only by using the drives icon.


    Tomorrow I will try changing the $CHECK_MOVENA variable (name coming from my memory, being at the hotel now).


    As they have changed the KFD to KFDx, maybe they have changed the way the robot behaves in this specific topic... My question was if you (the community here) knew about any difference or if, maybe there is something wrong in my code... In any case I've tried codes I've found in the internet and none worked well (all had the same problem).


    Let's see what I can find tomorrow.


    Thanks again!

    Hi all,


    Starting a KRC4 robot with KSS8.6.8.


    In older robots my AUTOMATIC EXTERNAL procedure start the drives automatically.


    In this one, by now, I have to activate drives manually (by pressing the O between the S (submit) and R (program running) and then pressing the I button).


    Is there any configuration that changes this behavior in 8.6? Is there any way to activate the drives from the PLC?


    PS: in my case I don't have a PLC and I am activating the AUT-EXT inputs via outputs that I change in the submit program.


    As always, thank you in advance.

    Hi Bottech,


    Been working with Beckhoff for years, I got used to add the first card to control lights and buzzers then inputs and then a power supply which I connect to the emergency voltage to get the next outputs without power as soon as an emergency kicks in.


    In the topology, changes were not made automatically... I really would have never imagined that... I imagined that changing the cards order in the left tree would automagically make the topology changes...


    In any case, I changed it manually to the right order and now it works properly!


    Thank you very much!

    Hi all,


    KRC4, KSS8.6.8.


    KUKA delivered the robot with 1 EL1809 and 1 EL2809 which were already configured into the robot project.


    I want to add an EL2008 (before the EL1809) and an EL9100 before the EL2809 so:


    EK1100, EL2008, EL1809, EL9100, EL2809.


    When I try to add the EL 2008 and I deploy the project appears 2 errors KSS13007 and KSS13015 which that reads:


    <SYS-X44> Error Ethercat Bus-Scan. Device: CFG_Dev.: EL1809 16Vh Dig Input 24V, 3ms [BUS-Dev.: EL2008]


    I have downloaded the latest Beckhoff ESI files (which are the same than the ones in my WoV (latest version here).


    Am I doing something wrong?


    Missing any step?


    Thank you all!

    Hello all,


    KRC4, KSS8.6.8.


    I am trying to add two extra ports into the KLI ethernet connection to be able to use RealVNC to connect to the robot.


    I used to log into the robot using the Administrator user leve, then I get into Service -> network and I press the "more" button (all are translations from the robot which is in Spanish language now).

    then I can get into the NAT and then I add two TCP ports and press save.


    When I press the orange cross to close the windows, I get a popup message telling me that changes will be applied after resetting the robot with a "reload files".


    I go into shutdown, and press Reset.


    After the robot has restarted ports are not there anymore.


    With all this... can you tell if I am doing something wrong?


    Thank you all in advance.

    You know that you can right click on the Robotstudio icon and there will be a menu box appear. One item will say "run with graphics processor", allowing you to select the high performance graphics card rather than the built in graphics processor. Also, there is a setting in one of the config files that you can set to always use the higher power graphics card.

    Do you mean I should right click the robotstudio.exe file? I can't see the option you say if I do that...


    Sorry for asking something that obvious...


    Thanks for answering Lemster!

    Hello all,


    I have helped a customer to finish a robot cell program, but, now it's time to improve the cycle time it takes to finish a part, I am using RobotStudio to do that: I make modifications in the robot RAPID code and then launch the program, seeing the result in the 3D view.


    I open MainModule in the RAPID editor, set the PP in the testing function and press F8 (launch).


    It takes almost 3 minutes to finish all the process.


    I would like to compress this time to be able to make more tests in less time.


    I've tried to change the simulation speed relative to real time value in FILE >> Options >> Simulation >> Simulation clock >> Simulation speed setting it at maximum and checking the checkbox. None of them helped me, the computer is brand new and powerful so this is not the cause...


    Am I missing something?


    Thank you all!