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

Function Generator

  • wes_mcgee
  • March 8, 2019 at 1:16 AM
  • Thread is Resolved
  • wes_mcgee
    Reactions Received
    1
    Trophies
    4
    Posts
    271
    • March 8, 2019 at 1:16 AM
    • #1

    Another old thread comes back around....function generator in KSS 5.x

    I have the manual, which is quite helpful relative to any documentation on the newer KSS versions. But still missing a few pieces.

    Currently trying two approaches, one being to use $DIGIN1 , since I am not using analog. My sensor data is mapped in via devicenet as a 32 bit signal. Also using KukaVarProxy (works quite well for some things actually).

    My current issue with the digin, is that it has a scaling issue. I am baffled by this, but there is a lot of code on this old robot. I am pretty sure my bytes are mapped correct, and currently I am trying a DWORD on my PLC to 32 bit INDW in the IOSYS, with the DIGINCODE set to #UNSIGNED. But the signal has a nonlinear scaling ? PLC=500, DIGIN = 1000; PLC = 1000, DIGIN = 1250. Is the tech function persistent? I even rebooted.

    Alternate method, the #DATALINK class. Writing a correction frame would be ideal, I have multiple ways to accomplish that. But how do I link the FRAME, I assume its not linked the same way as TECHIN normally is linked to the analog or digital? Why they completely omit that from the manual is a bit surprising.

  • fuzzy_l
    Reactions Received
    3
    Trophies
    3
    Posts
    61
    • March 27, 2019 at 12:55 PM
    • #2

    I couldn't use DIGINCODE.
    The information I took from For KUKA System Software 8.1, 8.2 and 8.3:
    Page 102.
    SIGNAL $DIGIN1 $IN[20]TO $IN[27]
    DECL DIGINCODE $DIGIN1CODE=#UNSIGNED
    DIGIN on $TECHIN[2] = Faktor * $DIGIN1 + Offset

    DIGINCODE - I don't have :no1:

    DIGIN - not perceived. :no1:

    What should be added to the robot for DIGINCODE to work? ???

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • March 27, 2019 at 3:09 PM
    • #3

    manual you are referring to is older and this info was still not removed.
    use newer one ("KSS_81_82_83_84_System_Variables_en.pdf")
    and compatibility when migrating from 5.x to 8x ("Kompatibilitaet_8x_en.pdf")

    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

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • March 27, 2019 at 3:31 PM
    • #4

    basically, don't use DIGIN, use ANIN
    you can map bunch of DI to ANIN in WoV

    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

  • fuzzy_l
    Reactions Received
    3
    Trophies
    3
    Posts
    61
    • March 28, 2019 at 9:08 AM
    • #5

    Unfortunately the coordinate of the BOSCH produces in the form of the DINT, and $ANIN[] you can have only INT. The linear distance is 17 meters. There need to precisely DINT :wallbash:

    There are ways to increase the dimension of $ANIN from INT to DINT?

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • March 28, 2019 at 1:25 PM
    • #6

    [size=2]what kind of accuracy do you expect? 16-bit allows 65536 counts.[/size]
    [size=2]17000 mm / 65536 counts is about 0.259 mm per count[/size]


    [font=verdana, arial, helvetica, sans-serif][size=2]what is your application that this is not good enough?[/size][/font]

    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

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • March 28, 2019 at 1:52 PM
    • #7

    one can map sensor data to two analog inputs (low and high word) and then combine them in RSI
    note that analog signals are type REAL, so one gets 6-7 significant figures at best.

    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

  • fuzzy_l
    Reactions Received
    3
    Trophies
    3
    Posts
    61
    • March 28, 2019 at 2:02 PM
    • #8

    Alas I have nothing.

    $TECH[i].CLASS=#CONVEYOR is not supported in new robots

  • RubenRobot
    Trophies
    3
    Posts
    7
    • April 8, 2019 at 9:51 AM
    • #9
    Quote from panic mode


    basically, don't use DIGIN, use ANIN
    you can map bunch of DI to ANIN in WoV

    Could you explain how you do this? I have read in the WoV 5.0 manual at the IO mapping chapter, but I havent find anything mentioned of using a bunch of DI to be read as a ANIN by the Kuka system. Or did I misunderstand what you mean here? :flower:

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • April 8, 2019 at 1:36 PM
    • #10

    Everything in KRC is DIGITAL... even ANALOG signals are digitized value, represented by a group of bits. Tou can connect group of any bits (even digital inputs) to an analog input.

    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

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
  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