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

Pulse command

  • ericwiz7923
  • December 21, 2020 at 3:19 PM
  • Thread is Unresolved
  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • December 21, 2020 at 3:19 PM
    • #1

    I recently created a AutoStart program to monitor certain IO events and its been working well. One thing I noticed the other day is I had forgot to enable the system switch to enable the AutoStart feature (oops, rookie mistake) which I promptly corrected. But that got me thinking about a previous post I read on here about the PULSE command. I seem to remember reading that someone was using a pulsed output as a "heart beat" from the robot, monitored by the plc. If you don't see that output turning on and off then trigger an alarm to alert of a communication interruption. I believe this will be sufficient, I was also planning on setting the time base to 3 sec. Thought or suggestions on best practices?

    Images

    • autostart.PNG
      • 16.78 kB
      • 401 × 426
      • 23
  • Alexandru
    Reactions Received
    49
    Trophies
    6
    Posts
    407
    • December 21, 2020 at 3:36 PM
    • #2

    Do you want to check If the autostart program is working or If the communication between robot and PLC is working?

  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • December 21, 2020 at 7:31 PM
    • #3

    If the ethernet communication between the robot and PLC is working. This autostart is just writing to outputs used to trigger supervisory alarms. They don't stop the process in any way, just aid in troubleshooting physical problems.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • December 21, 2020 at 8:40 PM
    • #4
    Quote from ericwiz7923

    If the ethernet communication between the robot and PLC is working.

    What protocol is being used?

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Alexandru
    Reactions Received
    49
    Trophies
    6
    Posts
    407
    • December 21, 2020 at 9:07 PM
    • #5

    Are you using a GSD file for the robot in the PLC program? If the robot is on profinet communication, then you can use some profinet diagnostics in orfer to check If the device is still running or not.

    Also, in the robot program you can check If the autostart program is running or not with task function. It is very usefull If you need to exchange information between autostart program and motion program.

  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • December 22, 2020 at 1:16 AM
    • #6
    Quote from kwakisaki

    What protocol is being used?

    Ethernet/IP I believe? PLC program is for the line in question. The VTP is just what I had saved on this work station but I believe all our cells are identical besides the actual IP's.

    Images

    • robotnetwork.PNG
      • 333.71 kB
      • 1,920 × 1,030
      • 23
  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • December 22, 2020 at 1:18 AM
    • #7
    Quote from Alexandru

    Are you using a GSD file for the robot in the PLC program? If the robot is on profinet communication, then you can use some profinet diagnostics in orfer to check If the device is still running or not.

    Also, in the robot program you can check If the autostart program is running or not with task function. It is very usefull If you need to exchange information between autostart program and motion program.

    No the OEM just has it mapped to a generic ethernet module and write to a I/O array. Nothing actually monitors the connection that I'm aware of. As far as Task Function's, I could read up on those in the Ops manual right? Right now I'm just writing to networked outputs to signal if the robot is Held, if a solenoid is enabled, or if the collision sensor is off. These outputs are used to trigger alarm bit tags in the plc so that there is a trackable alarm on the HMI to "alert" the operator or skilled tradesmen of those events. It in now way interrupts the equipment running.

    Edited once, last by ericwiz7923 (December 22, 2020 at 1:25 AM).

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • December 22, 2020 at 6:59 AM
    • #8

    You could use the EIPSTATUS command to monitor on the robot to report adapter/scanner status.

    Within the PLC, surely there is diagnostic monitoring that can do the same.

    Negating any need for any heartbeat exchange.

    PULSE only controls the ON period, not the OFF period as a command.

    The opposite of PULSE is the DLYSIG, which delays the turning ON of the specified signal.

    So if used in a continuous PC Task, you will need to control the OFF period too.

    Especially if you are synchronising a PLC to read the ON and OFF periods.

    A simple heartbeat example is in the AS Manual, I posted a variant of this in a previous post:

    - Replace the internal signal with a relevant fieldbus output.

    - Replace the PCSCAN value with 3.

    - This of course requires to be running all the time for the PLC to monitor for.

    .PROGRAM heartbeat.pc()

    PCSCAN 1; Sets the scan time to 1 second.

    IF SIG(2256) THEN

    SIGNAL -2256

    ELSE

    SIGNAL 2256

    END

    .END

    This of course is not necessarily practical as this is utilizing a complete PC Task just for this function.

    But you can add more instructions to the above and still maintain an 'x' sec duration.

    You would need to test this of course, but will provide a definitive ON and OFF duration for the PLC to monitor for.

    The other aspect to consider (often overlooked is the RUNMASK command).

    RUNMASK masks the signal(s) to only be controlled from any program when it's executing.

    So simply applied, if you turn the signal on at the start of the PC Task......you know it's running.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • December 28, 2020 at 5:45 PM
    • #9
    Quote from kwakisaki

    You could use the EIPSTATUS command to monitor on the robot to report adapter/scanner status.

    Within the PLC, surely there is diagnostic monitoring that can do the same.

    Negating any need for any heartbeat exchange.

    I cant find anything in the E-series AS Language manual about EIPSTATUS? Am I looking in the wrong manual?

    Quote from kwakisaki

    The other aspect to consider (often overlooked is the RUNMASK command).

    RUNMASK masks the signal(s) to only be controlled from any program when it's executing.

    So simply applied, if you turn the signal on at the start of the PC Task......you know it's running.

    Looking at the description of RUNMASK, I appreciate the suggestion but I don't think it will work with the alarm events I'm trying to monitor/send to the plc. Might come in handy at a later date though! Also thanks for clarifying the function of the PULSE command.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • December 28, 2020 at 6:45 PM
    • #10
    Quote from ericwiz7923

    I cant find anything in the E-series AS Language manual about EIPSTATUS? Am I looking in the wrong manual?

    That doesn't surprise me.

    In the majority of cases, specific option commands are not usually supplied in the standard AS manual, only the option manual relative to it.

    You'll find it in the General Fieldbus Manual in the Ethernet/IP section.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Florescu Bogdan
    Trophies
    2
    Posts
    3
    • February 5, 2021 at 3:59 PM
    • #11

    You can set dedicated signals for different outputs or inputs :

    when autostart1 is on :

    alfo useful for teach, cycle start, and so on...

  • ericwiz7923
    Reactions Received
    25
    Trophies
    3
    Posts
    194
    • February 7, 2021 at 2:57 PM
    • #12
    Quote from Florescu Bogdan

    You can set dedicated signals for different outputs or inputs :

    when autostart1 is on :

    alfo useful for teach, cycle start, and so on...

    For sure, thank you for the suggestion. Unfortunately I’ve seen where a signals stay “high” after a connection was lost, hence the desire to create a heart beat situation.

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

  • System Variable

    • TSGIR
    • November 26, 2016 at 10:14 AM
    • Yaskawa Motoman Robot Forum
  • TCP calibration has no effect on NX100

    • jiivee
    • September 18, 2020 at 4:55 PM
    • Yaskawa Motoman Robot Forum
  • Trigger an DO when any tp program is edited in the background

    • IRockWell
    • October 9, 2019 at 9:20 PM
    • Fanuc Robot Forum
  • Programming

    • TSGIR
    • June 30, 2019 at 1:49 PM
    • Kawasaki Robot Forum
  • Unwinding the T axis

    • Sergei Troizky
    • June 13, 2019 at 4:53 PM
    • Yaskawa Motoman Robot Forum
  • Interrupt not working when triggering condition is satisfied at activation time?

    • lionpeloux
    • November 8, 2018 at 4:10 PM
    • KUKA Robot Forum
  • Reset digital output if submit interpreter is not running

    • SimotionD410
    • November 21, 2017 at 3:39 PM
    • KUKA Robot Forum
  • Auxiliary axis moving with no command to do so.

    • beanluke
    • November 29, 2017 at 11:08 PM
    • Fanuc Robot Forum
  • KRC4 Run command

    • scotty
    • October 9, 2017 at 11:23 PM
    • KUKA Robot Forum
  • generating pulse with KRC4

    • ak
    • September 25, 2017 at 5:03 PM
    • KUKA Robot Forum
  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