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

Abort All after Manual JOG

  • mfuglsang
  • November 30, 2023 at 2:15 PM
  • Thread is Resolved
  • mfuglsang
    Trophies
    1
    Posts
    8
    • November 30, 2023 at 2:15 PM
    • #1

    Hi.

    I have an application with 4 CRX-10ia/l robots.

    I would like somehow to automaticly execute an "Abort All" (or similar), if the robot has been jogged manually.

    This is to ensure that program is aborted if an operator is moving the robot manually.

    If possible i would like to do this without using Karel. :smiling_face:

    Does anybody has an idea how to do this?

    Regards

    Morten

  • Go to Best Answer
  • Fubini November 30, 2023 at 2:48 PM

    Approved the thread.
  • PnsStarter
    Reactions Received
    92
    Trophies
    6
    Posts
    330
    • November 30, 2023 at 3:00 PM
    • #2

    You can use this var :

    Code
    $MOR_GRP[1].$JOGGED 

    can be used inside a TP Prog (or bg logic tp)

    Backdate/TP-Tools: A small collection of tools that simplify the commissioning and programming of Fanuc robots. (github.com)

  • HalbesYoyo
    Persona non grata
    Reactions Received
    47
    Trophies
    3
    Posts
    151
    • November 30, 2023 at 3:49 PM
    • #3

    Be aware, that this variable only works if the CRX has actually been jogged! If you instead select any line (in any program) with a movement and let the CRX execute this line (even partially) the CRX will move but this variable remains FALSE.

    You may consider to check the variable $MOR_GRP[1].$ROB_MOVE, too, because it will be set to TRUE any time the CRX is moving - whether manually or through a program.

    Almost forgotten:

    If you'd like to use $MOR_GRP[1].$ROB_MOVE you'll need to use Background logic because BG logic it will be executed in background even if you switch to manual mode.

    Edited 2 times, last by HalbesYoyo: Addendum and typo (November 30, 2023 at 4:00 PM).

  • mfuglsang
    Trophies
    1
    Posts
    8
    • November 30, 2023 at 3:57 PM
    • #4

    Thanks for reply.

    This was exactly what i needed. 👍

  • mfuglsang
    Trophies
    1
    Posts
    8
    • December 1, 2023 at 10:31 AM
    • #5

    Hi Again.

    I have now been testing a little on this from RoboGuide.

    I am facing some issues with this.

    Maybe you can help me?

    1)

    I seems that it is not allowed to execute an ABORT command in a BG-logic program.

    2)

    I have tried to add a simple TP-program that only contains an ABORT command.

    I tried to RUN this program from my BG-logic program, to execute the ABORT command.

    This results in an Error "RUN stmt failed in background program"

    Do you have a good way to execute a ABORT command from a BG-logic program?

    I have been thinking this way of solving it:

    1. Map UI[4] CSTOPI to a flag eg. F[10]
    2. Create a BG-program that handles F[10] by combining the current physical Cstop Input (DI[102] and a "Cstop-flag (eg F[11])"
    3. Create a TP-program that can handle the F[11] flag, to trigger a CSTOP
      1. This program is called from my BG-logic program if robot has been jogged manually.

    I think this would work - but i also feel that it will be a quite complex way, to only control triggering a ABORT ALL, if robot is jogged manually. 😅

    Do you have a more simple way to do this?

    Regards.

    Morten

  • HalbesYoyo
    Persona non grata
    Reactions Received
    47
    Trophies
    3
    Posts
    151
    • December 1, 2023 at 10:51 AM
    • #6

    Hi Morten,

    you are limited to a subset of commands:

    Additionally there are some restrictions (like JMP only works "downwards" the program, not "upwards"). For further details please have a look to B-83284EN/10 Operator's manual basic function, Chapter 9.12. :winking_face:

    There is a system variable showing the status of BG logic, but unfortunately you cannot use it to stop it from inside the BG logic. Just checked it but for RoboGuide only because I'm not in office at the moment.

    $MIX_BG[1].$STATUS

    1 = Stopped

    2 = Running (Normal)

    3 = Running (Fast)

    4 = Error

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • December 1, 2023 at 1:41 PM
    • Best Answer
    • #7

    This will work in BG Logic:

    Monitor the jogged system variable. Then control UOP cstopi through a flag. Pulse the flag using the counter method (use a register to count BGLogic scans).

  • mfuglsang
    Trophies
    1
    Posts
    8
    • December 5, 2023 at 10:03 AM
    • #8
    Quote from HawkME

    This will work in BG Logic:

    Monitor the jogged system variable. Then control UOP cstopi through a flag. Pulse the flag using the counter method (use a register to count BGLogic scans).

    I have just tested this method, and it seems to work as intended. 👍

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

  • Password Config Export

    • SkyeFire
    • September 6, 2023 at 7:55 PM
    • Fanuc Robot Forum

Tags

  • CRX-10iAl
  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