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 KRC4 - CONFIGURATION INT VARIABLES

  • emusto
  • October 30, 2023 at 7:10 PM
  • Thread is Unresolved
  • emusto
    Trophies
    1
    Posts
    7
    • October 30, 2023 at 7:10 PM
    • #1

    Hallo everybody ,

    I need to comunicate some INT variables between PLC Siemens S7 1200 CPU1214C and my robot KUKA KRC4.

    I ve established a PROFINET comunication but, in Work Visual I can define only BOOL Variables.

    Can you help me to find a way to configure I/O INT variables?


    Thank you

  • Fubini October 30, 2023 at 7:16 PM

    Approved the thread.
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • October 30, 2023 at 8:01 PM
    • #2

    In Work Visual you can group inputs and outputs via signal editor. Check the WoV manual or the integrated help function in Work Visual for detailed information.

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • October 30, 2023 at 8:06 PM
    • #3

    You have to declare the input in a Dat or src file like:

    Decl signal giName $in[1] to $in[8]

    Then you can read the 8 bits as a integer with values from 0 to 255.

    You can use up to 32 bit.

    With 32 bit the highest bit is the sign.

    You have to swap low and high bytes for correct communication between Siemens and Kuka.

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • October 30, 2023 at 11:41 PM
    • #4

    grouping IO in WoV does nothing to get you "integers", that is just a transports system. IOs are just array of bits and when you look at the group of bits you can see their value change but you do not know (and KRC does not care) if they were transferred/updated individually or in some bulk form (byte, word, dword or whatever) or if in transport, those bits were separated and later combined.

    do as Hermann explained.

    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

  • emusto
    Trophies
    1
    Posts
    7
    • October 31, 2023 at 8:49 AM
    • #5

    Thank you all,

    I ve some problems... I m declaring my variable in the file $CONFIG.dat in the user variable zone in this way:

    ; Userdefined Variables


    ;==================================


    DECL SIGNAL L $in[100] TO $in[115]

    But WoV says inaspected DECL

    the same appers when I declare it in src file.

    Do u have some suggestions?

    Than you

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • October 31, 2023 at 10:00 AM
    • #6

    Try it without the 'DECL', have posted the code from memory, without checking if really needed or not, sorry. And may be you should use a longer name for the signal.

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • October 31, 2023 at 2:57 PM
    • #7

    DECL is used to declare new variable. Among other things it allocates memory for the variable.

    SIGNAL is just a link or alias to already declared variables - inputs and outputs

    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

  • wiwi
    Trophies
    1
    Posts
    6
    • February 18, 2024 at 7:59 AM
    • #8

    hi

    i need software kuka.profinet ms

    how can i provite it ?

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • February 18, 2024 at 8:45 AM
    • #9

    You contact KUKA and ask for quote

    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

  • KRC4 - Custom Weld Timer

    • notverycreeative
    • December 5, 2021 at 1:33 AM
    • KUKA Robot Forum
  • Automating program upload to KRC4 via Ethernet

    • nicok
    • February 23, 2023 at 5:46 PM
    • KUKA Robot Forum
  • Selection inadmissible - KUKA KRC4

    • lfbmarques
    • January 29, 2021 at 3:31 PM
    • KUKA Robot Forum
  • Absolute Accuracy Info KRC2 - KRC4

    • Razzzhead
    • November 16, 2020 at 8:33 PM
    • KUKA Robot Forum
  • Getting joint values/axes coordinates in real time from the robot and use these values in a custom laptop program

    • julian122
    • January 14, 2020 at 10:53 AM
    • KUKA Robot Forum

Tags

  • KUKA KRC4
  • Indirizzo WorkVisual Profinet
  • PLC SIEMENS
  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