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

Adding Extra Workspaces

  • jturn101
  • March 24, 2023 at 4:42 PM
  • Thread is Unresolved
  • jturn101
    Trophies
    3
    Posts
    8
    • March 24, 2023 at 4:42 PM
    • #1

    Hi All,

    Is it possible to add more workspaces to the robot other than the standard 8 that are configurable via the teach pendant? I am working on a cell where there is a number of handover scenarios between 2 robots and want to add outputs that are only triggered by the robot when in certain positions.

    Thanks

  • kwakisaki March 24, 2023 at 4:42 PM

    Approved the thread.
  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • March 24, 2023 at 5:06 PM
    • #2

    the workspaces are internal feature so without access to source code there is no way to manipulate it.

    one can of course create own code that does similar but not exactly the same. the problem is that code need to be processed. in other words it need to run in some interpreter. but KSS workspaces always work - even when no interpreter is active, because this is processed internally. you can test this by deselecting robot program and all submits and then jog robot manually - built in workspaces will still work.

    the other limitation is performance or reaction time. this depends on performance of the interpreter. if used interpreter is busy with other things, it will be slow to get to your code that evaluates additional spaces. during that time robot may move more than you like.

    aside from such limitations, yes you can make your own variant...

    also, one can create own state machine that reconfigures existing workspaces. this means you still only have 8 spaces but they are used differently depending on what robot program does.


    btw KSS has 24 workspaces:

    8 Axis specific

    8 Cartesian,

    8 Cylindrical

    Cylindrical spaces do not show up in HMI configuration plugin but they are functional.

    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

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • March 25, 2023 at 2:53 PM
    • #3

    The key advantage of using the system Workspaces is that they work regardless of whether the robot is running or not. Even if both the Robot and Submit interpreters are halted, the WorkSpace will still function.

    Roll-your-own emulations of Workspaces are possible, but will suffer from this limitation. For example, creating your own equivalent of an axis-specific Workspace in the SPS is possible, but if the SPS is halted for any reason, whatever signal you have associated to that ersatz Workspace will not update. So you'll need to keep this in mind.

    It is also possible to change the parameters of a system Workspace from inside your program. So if your process allows it, you might rewrite the dimensions of a Workspace depending on what part of your program(s) is running. Obviously, this brings some risk with it, so your programs would have to include checks to ensure your Workspace is not set for Program A while running Program B.

  • freak
    Trophies
    2
    Posts
    17
    • March 27, 2023 at 10:53 PM
    • #4

    Would it not be possible to just enlarge the array of Workspaces?

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • March 27, 2023 at 11:07 PM
    • #5
    Quote from freak

    Would it not be possible to just enlarge the array of Workspaces?

    No. They are system variables, not user-generated variables.

    ...well, I've never actually tried it, but I would be amazed if editing those arrays actually worked.

    For one thing, multiple arrays in multiple files ($MACHINE.DAT and $CUSTOM.DAT) would have to be edited. The standard set of Workspace-related variables are implicitly linked by KSS, but there's no way to tell KSS to add more linkages. The $WORKSTATE signals are defined in $MACHINE.DAT (which, the last time I tried, could not have lines added or removed, only values could be altered), and $WORKSTATE1 is implicitly linked to $WORKSPACE[1] (which is defined in $CUSTOM.DAT). Not to mention the implicit link to $WORKSPACE_NAME1, which is a CHAR array containing the string name of the Workspace.

  • jturn101
    Trophies
    3
    Posts
    8
    • March 29, 2023 at 11:05 AM
    • #6

    Thank you for your responses, changing the workspace values depending on the program selected could be my only option then.

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