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

Need help with PR[i,j]

  • waterless_water
  • September 29, 2022 at 9:40 PM
  • Thread is Unresolved
  • waterless_water
    Trophies
    1
    Posts
    1
    • September 29, 2022 at 9:40 PM
    • #1

    I know that the i represents the position register number.

    The j represents the position register element number. In my situation, j represents the Z position.

    Overview of lab:

    Create PR [4: OFFSET]: Created the offset point

    Then used PR[i,j]

    I used PR [4: offset] as i, and 3 as the j.

    The code would be like this: PR[4, 3: OFFSET] + 15: Does that mean I offset 15 mm in z position referenced from point 4(offset I created in PR[4])?

    Can someone explain in like 5 year old term how PR[i,j] work?

    Also, what is the difference from the code listed from above and this one? PR[4, 3: OFFSET] = 0 or 15?

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • September 30, 2022 at 4:12 AM
    • #2

    This line below is incomplete and would be a syntax error.

    : PR[4, 3: OFFSET] + 15


    This line is complete. It's adds 15 to the current z value.

    :PR[4, 3: OFFSET] = PR[4, 3: OFFSET] + 15;

    This line is also complete. It sets the z value to 15.

    :PR[4, 3: OFFSET] = 15;

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

  • Best Off-line programming software

    • Emben22
    • March 17, 2022 at 10:43 AM
    • KUKA Robot Forum
  • Need help connecting the scanner to the controller NX100 via Ethernet

    • A_ghost
    • September 26, 2022 at 11:39 AM
    • Yaskawa Motoman Robot Forum
  • Drop part logic

    • cat91345
    • September 24, 2022 at 2:56 AM
    • Fanuc Robot Forum
  • Replacing 710iC arm

    • PPP
    • September 20, 2022 at 12:15 AM
    • Fanuc Robot Forum
  • Help with logic

    • cat91345
    • September 18, 2022 at 7:05 PM
    • Fanuc Robot Forum
  • question about setting up KRC4 robot

    • bmike
    • August 22, 2022 at 7:41 PM
    • KUKA Robot Forum
  • Rotary Phase Converters and 5 Wire 3 Phase Power for Robots?

    • Dekatronic
    • April 10, 2022 at 4:19 PM
    • General Discussion of Industrial Robots Only
  • My company wants to move over to robotics and they want me to make it happen. Where do I start??

    • dodkipod
    • June 9, 2020 at 3:40 PM
    • General Discussion of Industrial Robots Only
  • Fanuc RJ-2 I/O and Aux Axis

    • Ceckles
    • July 17, 2020 at 1:46 AM
    • Fanuc Robot Forum

Users Viewing This Thread

  • 2 Guests
  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