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

Issue with Continuous Cycle in Kawasaki CP180L Palletizing System

  • Gus_akira
  • March 12, 2025 at 4:34 AM
  • Thread is Resolved
  • Gus_akira
    Reactions Received
    1
    Posts
    16
    • March 13, 2025 at 12:32 PM
    • #21
    Quote from kwakisaki

    So it completes the pallet then?

    The robot only runs for one pallet; after that, it gets stuck in a loop.

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • March 13, 2025 at 12:34 PM
    • #22
    Code
    ; Last Bag R C/V
      IF (SIG(1009)==TRUE) THEN; Last Bag R C/V
        SIGNAL (22); Job Complete R ==> Forced pallet exit
        bag_no_r = 0
        GOTO 10
      END
    
    ; Last Bag L C/V
      IF (SIG(1008)==TRUE) THEN; Last Bag L C/V
        SIGNAL (21); Job Complete L ==> Forced pallet exit
        bag_no_l = 0
        GOTO 10
      END
    Display More

    SIGNAL (21) and SIGNAL (22) look like they need swapping.
    pg14 uses SIGNAL 21 for last bag right, but above you have SIGNAL (22)?

    Also recommended not to place SIGNAL outputs in parenthesis either:
    SIGNAL 21
    SIGNAL 22

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • March 13, 2025 at 12:37 PM
    • #23

    You need to recheck your master for correct signals for left and right.
    Something appears mixed or swapped over between left and right selection , complete, reset.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • March 13, 2025 at 12:44 PM
    • #24

    The following areas of code need to checked to ensure left and right logic is applied for the correct sequencing:

    Code
    ;Last Bag Change Logic
    ; Last Bag R C/V
      IF (SIG(1009)==TRUE) THEN; Last Bag R C/V
        SIGNAL (22); Job Complete R ==> Forced pallet exit
        bag_no_r = 0
        GOTO 10
      END
    
    ; Last Bag L C/V
      IF (SIG(1008)==TRUE) THEN; Last Bag L C/V
        SIGNAL (21); Job Complete L ==> Forced pallet exit
        bag_no_l = 0
        GOTO 10
      END
    Display More
    Code
      IF (SIG(22)==TRUE) THEN; Job complete R
        bag_no_r = 0
        GOTO 10
      END
    Code
      IF (SIG(21)==TRUE) THEN; Job completed L
        bag_no_l = 0
        GOTO 10
      END

    I think these are mixed up between left and right according to your sequence.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Gus_akira
    Reactions Received
    1
    Posts
    16
    • March 13, 2025 at 1:12 PM
    • #25

    THANK YOU VERY MUCH, IT'S SOLVED!
    The problem was that as the robot programmer and the PLC programmer, I didn't align the logic properly with the left and right conveyors.

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • March 13, 2025 at 1:18 PM
    • #26

    Nice.......glad to hear you've resolved it............:top:

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • March 13, 2025 at 1:29 PM
    • #27

    FYI..........

    Your initial coding was valid AS Language format for IF's and SIGNALS, but as mentioned I have seen instances where the return of the arguments comes back incorrectly plus it is quite easy for 'us' to misread or insert some typo's etc.

    Regarding the suggestions of changing your code referencing the IF's and the SIGNALs, it makes it clearer and easier to read and eliminates incorrect returns of arguments.

    So reviewing everything, it looks like it was the 'mix up' of the logic that was probably the issue.

    Keep that PAUSE command in your troubleshooting tool box, very effective command to use outside of the usual use of it.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

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