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

Launch TP or Karel Program via HTML

  • Ranguet
  • December 11, 2024 at 11:50 AM
  • Thread is Unresolved
  • Ranguet
    Trophies
    3
    Posts
    4
    • December 11, 2024 at 11:50 AM
    • #1

    Hello, I am pretty new to Fanuc and I am working on a project with a CRX Robot.

    My goal is to create an HTML app, with buttons to execute KRL or TP program. I have tried to use the Fanuc iPendant Controls but I am doing something wrong / I am not finding a solution to do this.

    I tried to use the Execution Control, to launch my Karel program, but it doesnt work, i have tried to use different path to the file but it doesnt work neither .

    My KRL program :

    PROGRAM premier
    BEGIN
    IF DOUT[2]=OFF THEN
    DOUT[2] = ON
    ELSE
    DOUT[2]=OFF
    ENDIF
    END premier


    My HTML :


    <HTML>
    <HEAD>
    <STYLE>
    p {color: black;background-color:#FFFFCC;}
    </STYLE>
    <title>Accueil</title>
    </HEAD>
    <BODY style="background-color:#FFFFCC;">
    <p><img src="logoa.gif" width="200"></p>
      
       
    <object classid="clsid:BEC06F36-B6DE-4903-838C-5B110F58550E" id="FRIPExecution1">
    <param name="width" value="32">
    <param name="height" value="32">
    <param name="FastLoad" value="1">
    <param name="Name" value="md/premier.pc">
    </object>

    </BODY>
    </HTML>

    Thanks for your help, if you have any working example or others solutions I am taking it.

  • massula December 11, 2024 at 1:11 PM

    Approved the thread.
  • gpunkt
    Reactions Received
    138
    Trophies
    6
    Posts
    492
    • December 12, 2024 at 1:57 PM
    • #2

    Get in touch with your local rep and ask for the plugin developer kit.
    For Tablets, iPendant Controls is not very good. Instead, you're better off with developing your HMI as a plugin.

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,624
    • December 13, 2024 at 5:47 AM
    • #3

    Do you use it on TP or on an external device like laptop or tablet? Those controls only work on TP.

  • Ranguet
    Trophies
    3
    Posts
    4
    • December 13, 2024 at 1:56 PM
    • #4

    Thank you for your answer.

    I am using the Tablet teach pendant.

    I found a way to do it, using flag, macro and background logic. But it should be more simple if i can simply launch TP program using a HTML button from the iPendant Controls.

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,624
    • December 13, 2024 at 2:43 PM
    • #5

    Have no experience with custom HMI on Tablet pendant. But as it is a Samsung Tablet, may be the custom controls don't work there, just like on external tablets.

    For html pages on external tablets there are examples in documentation: "iPendant_Screen_Customization_Function"

  • NeySEA
    Reactions Received
    1
    Trophies
    1
    Posts
    31
    • December 28, 2024 at 6:41 PM
    • #6

    We do it now. I believe you simply want to use other style starting method and in your Karel routines logic just use call program and it will call whatever tp program you have named provided it’s in the same directory of the compiled karel . pc program. We used to use a number field next to the tp program names we wanted to call but since have modified the Karel program with a variable so all it looks for now is the named TP program your Karel program wants to have execute. You must have end statements at the last line of your TP programs for your Karel routine to move to the next Karel routine in your logic . I can check more specifics for you if you need but we have this same Karel program setup using the TP with an html HMI page that controls the whole system . Basically you need to just use other start method on the controller use the html HMI on the TP browser to start the Karel program and subsequent calls to any TP program you have on that Karel routine/routines

  • Ranguet
    Trophies
    3
    Posts
    4
    • January 9, 2025 at 10:40 AM
    • #7

    Thank you, I'll test it.

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • Fanuc
  • KRL
  • tp
  • CRX
  • html
  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