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

Write more than 40 characters to TPDISPLAY?

  • rf103
  • January 14, 2014 at 5:55 PM
  • Thread is Resolved
  • rf103
    Reactions Received
    17
    Trophies
    4
    Posts
    264
    • January 14, 2014 at 5:55 PM
    • #1

    Hi,

    does anyone know how to get the TPDISPLAY in anything but 40x9 (col x row) from Karel?

    Using shift+disp->5 Single wide it would seem there is something like 80 cols, and about 20 rows, but any text will be cut at 40 cols and there are still only 9 lines max on the screen.

    Browsing files with select does use the entire screen, so there must be some way to get this to work?

    I've tried using the Special ASCII Character Codes from the Karel manual, but that doesn't seem to be it.

  • rf103
    Reactions Received
    17
    Trophies
    4
    Posts
    264
    • January 18, 2014 at 9:36 PM
    • #2

    Anyone?

  • rf103
    Reactions Received
    17
    Trophies
    4
    Posts
    264
    • January 23, 2014 at 4:28 PM
    • #3

    Ok, so just answering my own question: this is possible, but it requires quite a bit more than just writing some special character codes to the TPDISPLAY.

    I'm not sure if this is the best way to do it, but just to document what works for me right now:
    [list type=decimal]

    • create a new screen, or reuse an existing one (DEF_SCREEN, ACT_SCREEN)

    • create two new windows: one for the title, and one for the window 'body'. This is where it is possible to create windows larger than the default 40x9, say 80x20. Larger window sizes only work correctly when the TP is in Single Wide mode though (DEF_WINDOW)

    • in case you reuse an existing screen, detach some of the default windows. For the User Menu window (which is on screen T_SC), detach windows t_fu, t_pr and t_fk (DET_WINDOW)

    • now attach your own windows to your screen, specifying the correct location: as far as I've been able to tell, the title window should go at [1, 1] (row, col), and the body window at [2, 1]

    • now open file descriptors on both windows, using 'WD:' as the device, and the name you gave the windows in step 2

    [/list]
    The file descriptors can now be used as any other windows, so WRITE and READ should work like they do with for instance the TPDISPLAY window.

    Be sure to install an ABORT handler though, as detached windows aren't reattached at program exit, leaving you with an empty user menu if you don't reattach them yourself.

    Also, if you've reused the T_SC window, you should be able to navigate back to it using the User Menu menu entry. If you've created your own screen, you should probably link to it from some custom menu entry.

    See Table 7.10.1 (USER Menu on the Teach Pendant) and example B.12 (Displaying a list from a dictionary file) in the Karel reference manual (rev.C) for some additional info.

    Edited once, last by rf103 (January 23, 2014 at 4:31 PM).

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