1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. KUKA Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Kuka signals

  • iDio
  • June 7, 2016 at 6:05 PM
  • Thread is Resolved
  • iDio
    Trophies
    3
    Posts
    140
    • June 7, 2016 at 6:05 PM
    • #1

    Hey there,

    do i need some extra package to get an output from robot when it reaches some position? It's a Kuka KRC4

    something like:
    PTP P1
    OUT X
    PTP P2

    and me being able to read that X (as boolean ofc ). I have a I/O card and i don't know if it's possible to implement it..

  • Metalikooky
    Reactions Received
    2
    Trophies
    3
    Posts
    78
    • June 7, 2016 at 6:10 PM
    • #2

    It's impossible to answer this without more information. Controller? KSS Version? What kind of I/O card is it?

    The short, uninformed answer is that the robot needs to be configured to talk to your I/O card via Work Visual. Once that configuration is complete and operable, you should be able to see your output over your network. And no, you don't need any option package for this, generally speaking.

  • iDio
    Trophies
    3
    Posts
    140
    • June 7, 2016 at 6:16 PM
    • #3
    Quote from Metalikooky


    It's impossible to answer this without more information. Controller? KSS Version? What kind of I/O card is it?

    The short, uninformed answer is that the robot needs to be configured to talk to your I/O card via Work Visual. Once that configuration is complete and operable, you should be able to see your output over your network. And no, you don't need any option package for this, generally speaking.

    kr16_2 c4 6 axis, ks v8.3.137 ..

    it's a TURCK_TBEN-S1-4DIP-4DOP , if u google u can access the datasheet

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • June 7, 2016 at 6:20 PM
    • #4

    Data sheet says it works as Profinet or EIP. Do you have either of those option packages installed on your KRC4?

    Not familiar with that Turck device, but you might need a normal PLC to configure which bus system it uses before you can connect it to the KRC. And you'll need to get the appropriate device file from Turck's download site and import it into WorkVisual.

  • iDio
    Trophies
    3
    Posts
    140
    • June 7, 2016 at 6:25 PM
    • #5
    Quote from SkyeFire


    Data sheet says it works as Profinet or EIP. Do you have either of those option packages installed on your KRC4?

    Not familiar with that Turck device, but you might need a normal PLC to configure which bus system it uses before you can connect it to the KRC. And you'll need to get the appropriate device file from Turck's download site and import it into WorkVisual.

    Yes i mainly work with it via ethernetIP and modbus.

    I've searched all the menus and i couldn't figure out where to search the installed packages ( i guess i only have the basic robot package...)

    ____EDIT____

    is there no option to send a analog signal? my card converts analog in digital as well..

    Edited once, last by iDio (June 7, 2016 at 6:29 PM).

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • June 7, 2016 at 6:28 PM
    • #6

    On the SmartPad, use menu HELP>INFO>OPTIONS. This will list all option software packages installed on the robot.

  • iDio
    Trophies
    3
    Posts
    140
    • June 7, 2016 at 6:30 PM
    • #7
    Quote from SkyeFire


    On the SmartPad, use menu HELP>INFO>OPTIONS. This will list all option software packages installed on the robot.

    That's what i thought.. i have BoardPackage and RemoteService ..

  • iDio
    Trophies
    3
    Posts
    140
    • June 29, 2016 at 11:37 AM
    • #8

    Gonna dig this again.

    Is there a way to read the variables values in config.dat ? only read, don't need to write. :help:

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • June 29, 2016 at 1:01 PM
    • #9

    You can create a program in KRL that will read a variable and convert it into a value on a range of outputs.

  • iDio
    Trophies
    3
    Posts
    140
    • June 29, 2016 at 1:29 PM
    • #10
    Quote from SkyeFire


    You can create a program in KRL that will read a variable and convert it into a value on a range of outputs.

    Looks interesting.. But i don't get how can i read that values . sorry

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • June 29, 2016 at 2:25 PM
    • #11

    you can read and write outputs individually or as signals - regardless if they are mapped to some IO hardware. of course to use output outside robot programs, it need to be mapped to a physical IO point. depending on type of used network, you may need to get appropriate tech package such as EthernetIP or ProfiNet.

    you can also read WoV manual and Programming manual for System Integrators for details (or take training).

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • iDio
    Trophies
    3
    Posts
    140
    • June 29, 2016 at 4:13 PM
    • #12
    Quote from panic mode


    you can read and write outputs individually or as signals - regardless if they are mapped to some IO hardware. of course to use output outside robot programs, it need to be mapped to a physical IO point. depending on type of used network, you may need to get appropriate tech package such as EthernetIP or ProfiNet.

    you can also read WoV manual and Programming manual for System Integrators for details (or take training).

    I just talked to a Kuka iberia technician and he told me that i can do it without any extra-tech . That i just had to map that output to the variable i want..
    He was in a maintenance so he couldn't tell me much, but i find it kinda weird..

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • June 29, 2016 at 5:27 PM
    • #13

    i just re-read your original post.... if i understand correctly, you don't need help with mapping I/O or setting up some fieldbus, you just want to turn on an output when robot reaches certain position. this is already done for home position. there are five more home positions and i would expect that they all do the same thing (never tried). there are also workspaces (axis specific, cartesian and cylindrical) which can tell you if robot is in certain place. finally you can make your own routine to check this... here is one such function and example program

    Files

    AxisMatch.src 1.38 kB – 44 Downloads ex_check_robot_axes.src 584 Byte – 32 Downloads

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • iDio
    Trophies
    3
    Posts
    140
    • June 29, 2016 at 7:23 PM
    • #14
    Quote from panic mode


    i just re-read your original post.... if i understand correctly, you don't need help with mapping I/O or setting up some fieldbus, you just want to turn on an output when robot reaches certain position. this is already done for home position. there are five more home positions and i would expect that they all do the same thing (never tried). there are also workspaces (axis specific, cartesian and cylindrical) which can tell you if robot is in certain place. finally you can make your own routine to check this... here is one such function and example program

    Not exactly that, but it helps as well !
    I've declared a variable in config.dat

    DECL REAL POSITION ;from 1 to 10, cause it only has 10 intermediate positions

    and in my program

    PTP A
    POSITION=1

    PTP B
    POSITION=2

    PTP C
    POSITION=3
    (...)
    The point is to have some kinda feedback when it reaches some position. But the way i'm doing it (position=1 p.ex) it doesn't change the value in the config.dat, and it is the only place that i'm available to read that value from ( with my resources).

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • June 29, 2016 at 7:58 PM
    • #15

    don't use REAL for counting, that is job for integer. and since you want this to be an output anyway, use SIGNAL

    for 0-10 range it is enough to use 4 bits, for example add in $config.dat

    Code
    SIGNAL POSITION $OUT[1] to $OUT[4]

    and use it in your program as you intended.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • iDio
    Trophies
    3
    Posts
    140
    • June 30, 2016 at 5:55 PM
    • #16

    There's no way to read that values from my application..

    I've tried another thing, but what's happening is somehow unexpected: the VARACTUALPOSITION assumes the value 2 before the robot reach P1 .. :wallbash:

    SWITCH VARPOSITION
    CASE 1
    PTP P1
    VARACTUALPOSITION=2

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • July 1, 2016 at 3:08 AM
    • #17
    Quote from iDio


    unexpected: the VARACTUALPOSITION assumes the value 2 before the robot reach P1 .. :wallbash:


    there is a lot of unexpected things but this is not one of them.

    it is expected that those programming robots take time to get acquainted with the robots through proper training or reading manuals or ... if that is too much, at least to read short replies. you would be surprised how many don't bother to read pinned topic "read first". in real world things often don't go the way one wants... its just fact of life. :dance2:

    program behavior you observed is a documented feature (hint: advance run pointer). system integrator manual and kuka training (basic programming or now programming1) cover this in detail. also if you did SIGNAL declaration as i suggested, you would not see this problem...

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • iDio
    Trophies
    3
    Posts
    140
    • July 1, 2016 at 5:35 PM
    • #18

    I have the manual right in front of me .. And the only thing that i read capable of avoiding that is using HALT ..

    Proper way to do it pls? An thank you for your patience.

  • Spl
    Reactions Received
    5
    Trophies
    3
    Posts
    178
    • July 1, 2016 at 6:42 PM
    • #19

    https://www.robot-forum.com/robotforum/kuk…nce-run-pointer

  • iDio
    Trophies
    3
    Posts
    140
    • July 1, 2016 at 7:40 PM
    • #20
    Quote from Spl


    https://www.robot-forum.com/robotforum/kuk…nce-run-pointer

    I just used the example

    "You could set a global boolean to true before the "wait sec 0", and set it to false after "wait sec 0". You can then put your "loop" in the SPS, and only execute it when the boolean is equal to true.

    /RoboticsMan "

    And i still have the same result..

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download