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

P1020 error message

  • Motouser
  • October 20, 2020 at 2:56 PM
  • Thread is Unresolved
  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • October 20, 2020 at 2:56 PM
    • #1

    Hi guys,

    I'm working offline in a simulator environment (not a real robot is connected). For a certain reason a need to perform a SYSINIT, but when I try this command the controller rises the following error:

    P1020: cannot operate, teach pendant in operation.

    The TP is in TEACH, every job or pc is aborted and killed. The only strange thing that I notice is that the robot is in RUN( motor is off and cycle off).

    Any idea? What is the real meaning of the error?

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • October 20, 2020 at 8:19 PM
    • #2

    The controller requires to be in Repeat Mode in order to carry out a SYSINIT either via command or via Aux Func 0805.

    Yes, sounds strange indeed......I would of thought this would be a teach mode function, but it is not.

    There must be some form of software interlock internally that requires Repeat Mode to be used.....as for why, I have no idea.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • ShAdOwDrAgOnS
    Reactions Received
    37
    Trophies
    3
    Posts
    64
    • October 20, 2020 at 10:42 PM
    • #3

    On a physical robot "P1020: cannot operate, teach pendant in operation." is generated when the teach lock on the pendant is ON. This will happen when the robot is in repeat or in teach when you try to do a sysini.

    My guess is that in the simulator when in teach, it must be virtually turning on the teach lock automatically and turning it off when going to repeat.

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • October 21, 2020 at 8:29 AM
    • #4
    Quote from kwakisaki

    Yes, sounds strange indeed......I would of thought this would be a teach mode function, but it is not.

    Yeah..really strange, but it works.

    Thanks

    Quote from ShAdOwDrAgOnS

    My guess is that in the simulator when in teach, it must be virtually turning on the teach lock automatically and turning it off when going to repeat.

    I have a "dedicated" button to switch the controller ON or OFF that are the same of the TP, so I'm sure of it status. As kwakisaki said, simply, the controller must be in repeat to perform a sysinit.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • October 21, 2020 at 11:30 PM
    • #5
    Quote from ShAdOwDrAgOnS

    On a physical robot "P1020: cannot operate, teach pendant in operation." is generated when the teach lock on the pendant is ON. This will happen when the robot is in repeat or in teach when you try to do a sysini.

    Ah.....that's a very good point ShAdOwDrAgOnS

    Been ages since I have done this on a live controller:

    - Try out a sysinit when in Teach Mode and Teach Lock is OFF and see if the message appears or executes the sysinit.

    - Then you'll know if it is tied to just the Teach Lock and not also Repeat Mode.

    In KROSET, when you toggle the Teach and Repeat switch, if you then use SWITCH command, you will see the TEACH_LOCK status also toggle between ON (for Teach) and OFF (for Repeat).

    So by definition, in KROSET you always need to be in Repeat to 'force' the Teach Lock off in order to carry out a sysinit.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • ShAdOwDrAgOnS
    Reactions Received
    37
    Trophies
    3
    Posts
    64
    • October 22, 2020 at 4:26 AM
    • #6
    Quote from kwakisaki

    Ah.....that's a very good point ShAdOwDrAgOnS

    Been ages since I have done this on a live controller:

    - Try out a sysinit when in Teach Mode and Teach Lock is OFF and see if the message appears or executes the sysinit.

    - Then you'll know if it is tied to just the Teach Lock and not also Repeat Mode.

    I know this for a fact to be true on a live controller, which is why i mentioned it. Because the only time i come across this error is if I left the Teach Lock ON when doing a sysini. Robot can be in teach or repeat when doing sysini as long as the teach lock is off.

    Quote from kwakisaki

    So by definition, in KROSET you always need to be in Repeat to 'force' the Teach Lock off in order to carry out a sysinit.

    That's what I suspect is happening when using virtual controllers such as Kroset.


    Edit :

    When working on live robot , before anyone reading this thread is tempted to do a SYSINI, i always suggest making a backup of your code and only use SYSINI for legitimate reasons to clear the robot memory as it will result in changing high level system switches which could have adverse effects.

    I recommend using SYSINI/U to only clear the User data as this will leave the environment data and high level system switches as they were.

    Use at your own risk. You have been warned!

    Edited once, last by ShAdOwDrAgOnS (October 22, 2020 at 4:33 AM).

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • October 22, 2020 at 8:35 AM
    • #7
    Quote from ShAdOwDrAgOnS

    I recommend using SYSINI/U to only clear the User data as this will leave the environment data and high level system switches as they were.

    Hi,

    I search for this command in the manual but I only find the "classical" sysinit:

    Are there other options for this command to clear other specific part of the system?

    (like save /p/l etc....)

    P.S.

    Indeed i found a sysint/n: I try to compare the differecences with a sysinit/u but I'm not sure of what is the "clearest".

    Edited once, last by Motouser (October 22, 2020 at 8:49 AM).

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • October 22, 2020 at 5:17 PM
    • #8

    Yes, Kawasaki only mention sysinit as this is the method that is with Aux Function - this is the way Kawasaki recommend end users to clear memory.

    In 99.9% of cases, customer will use Aux Function method, then load in previous backup to restore controller without diagnosing further.

    As ShAdOwDrAgOnS also says, some high level system switches are also reset to defaults with sysinit so a previous backup is essential if the controller is to restored to identical condition.

    ShAdOwDrAgOnS says You've been warned!......and I echo this too............:away:

    You can use SAVE/ROB, SAVE/SYS SAVE/A etc (See AS Manual) to just make sectional save.

    Then reload to 'clean' up if required.

    But be careful, as mistake in these areas could introduce many problems and without previous data to compare to, could cause damage or even injury.

    There is the hardware dipswitch initialization procedure which returns to empty factory default settings.

    Which make the controller inoperable until minimum configuration data is setup.

    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