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.Sim Pro 3 Position as Variable

  • sbsy
  • December 8, 2021 at 7:43 AM
  • Thread is Unresolved
  • sbsy
    Trophies
    3
    Posts
    1
    • December 8, 2021 at 7:43 AM
    • #1

    Hello;

    I'm new at KUKA.Sim and KRL. I'm trying to make an palletising program with Kuka.Sim. I'll send my drop positions from PLC (via Beckhoff ADS). I tried to declare a local position variable for robot in KUKA.Sim Job Map but failed according to output window. We don't have OfficeLite yet. I am sharing how I tried to declare variable and the output window.

    So; is it possible to make this without OfficeLite? If possible, how must i declare the variable? And lastly do i need to declare signals for getting position data from plc in KUKA.Sim?

    Variable Declaration:

    Code
    DECL E6POS Drop_point
    Drop_point.x=X_Pos
    Drop_point.y=Y_Pos
    Drop_point.z=Z_Pos
    Drop_point.a=0
    Drop_point.b=0
    Drop_point.c=C_Pos
    LIN Drop_point Vel=2m/s

    Output window:


    Code
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.x, property does not exist
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.y, property does not exist
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.z, property does not exist
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.a, property does not exist
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.b, property does not exist
    KR 120 R3200 PA::Executor::Pozisyon_Hesapla:Unable to assign value to Drop_point.c, property does not exist

    Thanks in advance for your help.

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • December 8, 2021 at 9:26 AM
    • #2

    any time you want to access variable from outside... it must be declared a global.

    local and runtime variables are only accessible from the module.

    so move "DECL E6POS Drop_point" to $config.dat or to local DAT file. if you choose local DAT file, make it PUBLIC and add GLOBL keyword in declaration.

    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

Similar Threads

  • Variable for home position (Kuka Krc4)

    • Sidnei Steuernagel
    • July 9, 2020 at 10:11 PM
    • KUKA Robot Forum
  • Some questions in programming (KRL: .dat, sub_programs) / New in kuka

    • joro
    • December 26, 2019 at 6:02 AM
    • KUKA Robot Forum
  • Kuka Current position for homing

    • bagged2drag
    • March 5, 2019 at 10:14 PM
    • KUKA Robot Forum
  • KUKA Cartesian Position Direct Entry

    • Kosy
    • August 22, 2018 at 5:59 PM
    • KUKA Robot Forum
  • KUKA CREAD problems in for loop

    • fkanout
    • July 3, 2018 at 2:32 PM
    • KUKA Robot Forum
  • Inline form using velocity variable

    • Psyonic
    • May 3, 2018 at 3:59 AM
    • KUKA Robot Forum
  • KUKA 6-axis (position) to PLC

    • sudan
    • February 20, 2018 at 7:24 PM
    • KUKA Robot Forum

Tags

  • KUKA
  • position modfying
  • Sim Pro
  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