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

Prepare the robot for repeat mode

  • Alexandru
  • February 21, 2017 at 3:44 PM
  • Thread is Resolved
  • Alexandru
    Reactions Received
    49
    Trophies
    6
    Posts
    407
    • February 21, 2017 at 3:44 PM
    • #1

    Hello,

    Does anyone have any pattern in order to check if the robot is ready for repeat mode? I'm open to discuss with you.

    Thank you,
    Alex!

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • February 21, 2017 at 11:37 PM
    • #2

    1. **** Use dedicated output for automatic - set required conditions for this..............repeat/step cont, teach lock off, no error etc as a minimum.
    2. **** Use dedicated outputs for Motor, RGSO Cycle, Teach Mode etc, to PLC to monitor if the robot is currently running or not.
    3. **** PLC to send Motor Power and Cycle start signals IF no.1 condition is on (low to high detection - rising edge).
    4. **** Only allow Motor Power/Cycle Start from PLC IF IN REPEAT MODE AND AUTOMATIC SIGNAL ON.....I see this on a regular basis.........when you toggle between teach/repeat, repeat/teach mode......Motor power automatically turns on due to the PLC continuously sending the Motor Power signal......drives me nuts..............

    Assuming you've just been in Teach Mode:

    1. Everyone out of the area, safety gates closed and confirm robot is in a location that allows freedom to move to first commanded location - safest option in my opinion...irrespective of any auto recovery code written.
    2. Confirm conditions on Teach Pendant - Run>Hold, Teach>Repeat, Teach Lock>Off, Select correct Program, Step No. required and Monitor Speed.
    3. Set Repeat Conditions to send Automatic Output to PLC to begin program execution - which would just be Hold>Run...............

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Alexandru
    Reactions Received
    49
    Trophies
    6
    Posts
    407
    • February 22, 2017 at 7:52 AM
    • #3

    Hello,

    I was thinking at this:

    IF SWITCH(RUN)==TRUE AND SWITCH(ERROR)==FALSE AND SWITCH(TEACH_LOCK)==FALSE AND SWITCH(REPEAT)==TRUE AND SWITCH(STP_ONCE)==FALSE AND SIG(2025)==FALSE THEN
    SIGNAL 2020
    ELSE
    SIGNAL -2020
    END

    Signal 2025 is output signal dedicated for the emergency button.
    Signal 2020 is the status for the robot (ready or not for repeat mode).

    I don't think there are many people that are checking for those conditions.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • February 22, 2017 at 10:34 PM
    • #4

    Yep, what you wrote would certainly work - But there are many variations of evaluating SWITCHES and Conditions, and I would play around with them to see what methods you prefer.
    - TRUE and FALSE is also represented in the Controller as -1 (TRUE) and 0 (FALSE)
    - Also the 'SWITCH' is either ON of OFF......so an alternate method is to remove the TRUE/FALSE evaluations, and just evaluate the ON or NOT of the relative SWITCH instead - This will reduce the line character length.

    eg.
    IF SWITCH(RUN) AND NOT SWITCH(ERROR) AND NOT SWITCH(TEACH_LOCK) AND SWITCH(REPEAT) AND NOT SWITCH(STP_ONCE) AND SIG(2025) THEN
    As opposed to:
    IF SWITCH(RUN)==TRUE AND SWITCH(ERROR)==FALSE AND SWITCH(TEACH_LOCK)==FALSE AND SWITCH(REPEAT)==TRUE AND SWITCH(STP_ONCE)==FALSE AND SIG(2025)==FALSE THEN

    I like the fact that there are many options available, as opposed to not being available, so I would use what's available to reduce the amount of code you have to write to monitor for them.
    - Simplifies things when you want a PLC to control the initial power/execution sequences.
    - Coding them in is also beneficial, similar to what you wrote, so you can 'locally' reference them in order to produce messages/control local sequencing within the Robot.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

    Edited once, last by kwakisaki (February 22, 2017 at 10:38 PM).

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • March 15, 2019 at 3:38 PM
    • #5
    Quote from Alexandru


    Hello,

    I was thinking at this:

    IF SWITCH(RUN)==TRUE AND SWITCH(ERROR)==FALSE AND SWITCH(TEACH_LOCK)==FALSE AND SWITCH(REPEAT)==TRUE AND SWITCH(STP_ONCE)==FALSE AND SIG(2025)==FALSE THEN
    SIGNAL 2020
    ELSE
    SIGNAL -2020
    END

    Signal 2025 is output signal dedicated for the emergency button.
    Signal 2020 is the status for the robot (ready or not for repeat mode).

    I don't think there are many people that are checking for those conditions.

    Display More

    Hi guys,
    I use this old post for my questions:

    I'm quite new on writing code for kawasaki robots and I'm just writing my first autostart.pc program.
    Now I don't understand how setting the 2xxx signal (internal signal) nor in which place I can find their meaning. In the example quoted those signal are "created" or they existed but hided inside somewhere :hmmm:

    At the end I don't undertstand the internal signal WORLD!!! Maybe a lack of documentation

    Thanks in advance

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • March 15, 2019 at 4:48 PM
    • #6

    An internal signal in Kawasaki is similar (not the same) to a flag/memory bit in a PLC.
    - Do not directly provide an output voltage, or require an input voltage.
    - Range between 2001-2255 as default and are freely usable (unless someone else has allocated them for other functions).
    - Internal signals use the same commands as Inputs and Outputs......so could be utilised as internal in's and internal out's.
    - You could then write programs to monitor/control them.

    A simple example would be:
    - Set a dedicated output (Aux 0602) for Signal 2001 for Teach Mode.
    - Set a lamp on the Interface Panel (Aux 0509) for Signal 2001 and label it Teach Mode.
    - Without any code, the lamp will turn on when the key switch is set to Teach and turn off when the key switch is set to Repeat.

    Result: Using the Internal Signal and Dedicated function to indicate on the Interface Panel if the Controller is in Teach Mode.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • March 16, 2019 at 11:37 AM
    • #7

    ok.
    Thanks

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

Users Viewing This Thread

  • 1 Guest
  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