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

Help using space function without DI use

  • JohnnyBoy2569
  • July 1, 2022 at 10:16 AM
  • Thread is Resolved
  • JohnnyBoy2569
    Trophies
    2
    Posts
    5
    • July 1, 2022 at 10:16 AM
    • #1

    Hello I'm currently stuck on a problem with 3 Space Checks and 1 robot 200id. The goal is using the space checks to see if the robot is in a dangerous zone when doing an INIT. Each zone has a specific trajectory to get out. The problem i'm faced with his the "Waiting for Space to be cleared". Because now the robot can't even enter or leave the zone depending on the INSIDE or OUTSIDE option. Any help would be grateful as the only thing i need from the space function is the DO to check during the INIT which DO is off to know in which zone the robot is in and which trajectory to execute.

    Any help would be appreciated

    Thanks

  • Go to Best Answer
  • rob76
    Reactions Received
    3
    Trophies
    3
    Posts
    53
    • July 1, 2022 at 10:20 AM
    • #2

    Why not use an DI that is always ON?

  • JohnnyBoy2569
    Trophies
    2
    Posts
    5
    • July 1, 2022 at 10:59 AM
    • #3

    What's the best way to set a DI to be constantly ON instead of just using a DI[40]=ON in the main program.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,066
    • July 1, 2022 at 11:04 AM
    • #4

    You can set the system variable $RSPACE1[SPACE_NUM].$NO_USE_DI=TRUE for using a space function without the need of a digital input. Consider that the robot will then not stop in that space.

  • JohnnyBoy2569
    Trophies
    2
    Posts
    5
    • July 28, 2022 at 3:54 PM
    • #5

    Sorry for the late reply unfortunately i cannot use this code as I'm not allowed to enter the Karel program, is it possible to use a background program to disable the DI option ?

  • dudz
    Reactions Received
    12
    Trophies
    2
    Posts
    65
    • July 28, 2022 at 4:05 PM
    • #6

    You dont need enter in Karel Program to set a system variable like that :thinking_face:

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,066
    • July 28, 2022 at 4:35 PM
    • #7
    Quote from JohnnyBoy2569

    Sorry for the late reply unfortunately i cannot use this code as I'm not allowed to enter the Karel program, is it possible to use a background program to disable the DI option ?

    You can use my example line of code in e.g. a background logic task. As dudz already wrote, there is no need of using KAREL for this.

  • Erik Olsen
    Reactions Received
    53
    Trophies
    5
    Posts
    176
    • July 28, 2022 at 7:23 PM
    • #8
    Quote from JohnnyBoy2569

    Sorry for the late reply unfortunately i cannot use this code as I'm not allowed to enter the Karel program, is it possible to use a background program to disable the DI option ?

    You could also map/assign a digital input to the robots always on rack (Rack 35, slot 1) but I think the system variable suggestion here is a bit more elegant.

  • Sergei Troizky
    Reactions Received
    69
    Trophies
    6
    Posts
    651
    • July 28, 2022 at 9:38 PM
    • #9

    The OP did not request dynamic control of the feature, but permanent disabling of DI for Space Function.

    Therefore, no need t change the mentioned system variable from the program, be it TP or Karel.

    Just go to the system variables and modify it manually.

    Do it well right away. It will become bad by itself.

  • JohnnyBoy2569
    Trophies
    2
    Posts
    5
    • August 3, 2022 at 2:41 PM
    • #10

    Ok so I've created the BG logic program but i can't seem to set $RSPACE1[].$NO_USE_DI=TRUE. Can't find the true option, went into the REGISTER statement panel and chose .....=(...), after i chose Parameter name where i typed in $RSPACE1[1].$NO_USE_DI, but afterwards i can't find the TRUE option.

    Sorry for being dumb this is my first time using SYSVariables and BG Logic.

    Any help would be appreciated thanks.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,066
    • August 3, 2022 at 2:55 PM
    • Best Answer
    • #11

    You cannot use TRUE or FALSE, use 1 and 0 instead. Try this:

  • JohnnyBoy2569
    Trophies
    2
    Posts
    5
    • August 3, 2022 at 4:57 PM
    • #12

    Wow thanks everyone for being so helpful it's now working thanks to you all and I've discovered System Variables which i didn't even know existed.

    PS : I'm new to Fanuc Robots

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

Tags

  • Fanuc
  • space check
  • space function
  • space to be cleared
  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