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

Looking for a System Variable that can tell me what panel is currently selected on the teach pendent!

  • Aminnakhjavani
  • June 24, 2024 at 7:58 PM
  • Thread is Unresolved
  • Aminnakhjavani
    Posts
    1
    • June 24, 2024 at 7:58 PM
    • #1

    I'm trying to perform an action based on if the program was run from the primary screen/panel of the teach pendent. After reading through the Karel Manual I thought $TP_CURSCRN would give me that info but changing panels while monitoring this system variable doesn't seem to affect it! Is there a different variable I should be looking at? Is this even an option in the fanuc TP?

  • Lemster68 June 24, 2024 at 8:09 PM

    Approved the thread.
  • HalbesYoyo
    Persona non grata
    Reactions Received
    47
    Trophies
    3
    Posts
    151
    • June 25, 2024 at 1:53 PM
    • #2

    Can you perhaps describe your problem in more detail? You can only start a program from the primary window anyway. Otherwise the error message TPIF-166 FWD/BWD in primary window only will be shown.

    The variable $SP_ID contains the currently displayed screen. For the Select screen, for example, this is 71, the RefPos Screen it is 147.

    If a program is being executed, this value is 64, regardless of whether a TP program or a KAREL program is being executed (just tested in RoboGuide).



    Addendum:

    A quick search of all the manuals available to me has - unsurprisingly - not turned up a list of $SP_IDs. :unamused_face:

    Edited 2 times, last by HalbesYoyo (June 26, 2024 at 8:09 AM).

  • AnandTUD
    Reactions Received
    12
    Trophies
    2
    Posts
    39
    • June 26, 2024 at 9:28 AM
    • #3

    I had made a list some time back. Not complete though.

    Main Page

    Page Name

    SP_ID

    With SCRN_ID

    Utilities

    Hints

    153

    153,1

    Proj Adjust

    930

    930,1

    Program Shift

    151

    151,1

    Mirror Image Shift

    150

    150,1

    Tool Offset

    155

    155,1

    Frame Offset

    191

    191,1

    Group Exchg

    1200

    1200,1

    Angle Entry Offset

    254

    254,1

    Test Cycle

    Setup

    69

    69,1

    Manual Fctns

    Macros

    138

    138,2

    Alarm

    Alarm Log

    18

    18,1

    Motion Log

    18

    18,2

    System Log

    18

    18,3

    Appl Log

    18

    18,4

    Password Log

    18

    18,5

    Comm Log

    18

    18,6

    Log Book

    1106

    1106,1

    I/O

    Cell Interface

    955

    955,1

    Custom

    992

    992,1

    Digital

    98

    98,1

    Analog

    97

    97,1

    Group

    99

    99,1

    Robot

    107

    107,1

    UOP

    108

    108,1

    SOP

    109

    109,1

    Interconnect

    157

    157,1

    Link Device

    299

    299,1

    Flag

    1111

    1111,1

    Marker

    1111

    1111,2

    TC_ONLINE

    1111

    1111,3

    Ethernet

    1062

    1062,1

    PROFIBUS

    272

    272,2

    PMC

    473

    473,1

    SETUP

    ZDT Client

    1985

    1985,1

    General

    68

    68,1

    Coll Guard

    1087

    1087,1

    Frames

    154

    154,1

    Macro

    140

    140,1

    Ref Position

    147

    147,1

    Prog Select

    166

    166,1

    Port Init

    163

    163,1

    Ovrd Select

    181

    181,1

    User Alarm

    31

    31,1

    Error Table

    456

    456,1

    BG Logic

    1111

    1111,6

    Resume Offset

    1337

    1337,1

    Resume Tol.

    420

    420,1

    Softfloat

    225

    225,1

    Stroke Limit

    197

    197,1

    Space fnct.

    200

    200,1

    PROFIBUS

    272

    272,3

    ProfiNet

    1161

    1161,2

    Host Comm

    195

    195,1

    Passwords

    935

    935,1

    FILE

    File

    74

    74,1

    File Memory

    253

    253,1

    Auto Backup

    1008

    1008,1

    USER


    37

    37,1

    SELECT


    71

    71,1

    DATA

    Registers

    23

    23,1

    Position Reg

    148

    148,2

    Pallet register

    92

    92,1

    KAREL Vars

    34

    34,2

    KAREL Posns

    34

    34,3

    STATUS

    Axis

    32

    32,2

    Version ID

    70

    70,1

    Stop Signal

    173

    173,1

    Exec-Hist

    226

    226,1

    Memory

    174

    174,1

    Prg Timer

    152

    152,1

    Sys Timer

    152

    152,2

    Condition

    296

    296,1

    PROFIBUS

    272

    272,1

    Notifications

    1621

    1621,1

    Reminder

    1827

    1827,1

    Program

    932

    932,1

    Power Consumption

    1711

    1711,1

    4D Graphics

    4D Display

    1388

    1388,1

    Axis Position Display

    33

    33,1

    SYSTEM

    Clock

    34

    34,4

    Variables

    34

    34,1

    OT Release

    66

    66,1

    Axis Limits

    162

    162,1

    Config

    34

    34,6

    Motion

    290

    290,1

    DCS

    1133

    1133,1

    USER2


    190

    190,1

    HMI Menu

    381

    381,22

    Top Menu

    381

    381,23

    Jog Assist Menu

    1631

    1631,100

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

Tags

  • Fanuc
  • tp
  • teach pendant
  • system variables
  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