LNC robot program

How to Create Main OB and Call Subroutine in LNC Robot Using Teaching Pendant | TP-3000-02

โ€”

by

in

Are you looking for LNC robot programming ? In todayโ€™s smart manufacturing environments, robotic systems like the LNC robot controller combined with the TP-3000-02 Teaching Pendant play a crucial role in automation processes such as bending, punching, and sawing. Programming these robots efficiently can drastically improve production flow and reduce setup time. In this tutorial, we will guide you step-by-step on how to create a Main OB (Organizational Block) and call a Subroutine using the teaching pendant โ€“ a fundamental part of creating structured robot logic.

This guide follows the demonstration from our YouTube channel Weblog5me, where you can visually follow the programming steps in real-time.

Unlock the Full Potential of Your LNC Robot Controller with TP-3000-02

The LNC robot controller, widely used in industrial automation, is recognized for its precision, flexibility, and advanced EtherCAT communication support. Combined with the TP-3000-02 teaching pendant, it offers a user-friendly interface that allows engineers and technicians to easily program complex movements, integrate external devices, and streamline production lines such as bending, punching, or sawing aluminum profiles.

This article will walk you through the step-by-step process of creating a Main OB (Organization Block) and calling a subroutine directly from the TP-3000-02 pendant. Whether you’re new to LNC robot systems or looking to expand your programming skills, this guide is designed to provide clear, actionable instructions.

๐Ÿ“บ Watch the full tutorial video on YouTube: Visit our YouTube Channel: Weblog5me


๐Ÿ”ง What Youโ€™ll Need LNC robot programming:

  • LNC Robot Controller (e.g., YH1035A-200 with LNC)
  • Teaching Pendant TP-3000-02
  • Powered robot system with EtherCAT communication configured
  • Optional: External PLC for master control

๐Ÿง  Understanding OB and Subroutines in LNC Robot

  • Main OB (Organization Block) is the central execution program where tasks are defined in sequential order.
  • Subroutines allow you to modularize commands (e.g., bending, gripping, moving) to be reused across different jobs.

๐Ÿ“ Step-by-Step Guide: Creating Main OB and Calling Subroutine

Step 1: Power On and Connect the TP-3000-02

  • Ensure all safety interlocks are satisfied.
  • Boot up the controller and connect the teaching pendant securely.

Step 2: Access the Program Menu

  • Tap on โ€œProgramโ€ from the main menu.
  • Choose โ€œCreate Newโ€ and name your Main OB (e.g., MainJob1).

Step 3: Define Main OB

  • In the program editor, add basic movement commands.
  • Use function blocks to set initial positions or grip status.

Step 4: Create a Subroutine

  • Go to the Subroutine Tab and select โ€œNew Subroutine.โ€
  • Name it accordingly (e.g., PickPart or BendProcess).
  • Add movement or I/O instructions relevant to that function.

Step 5: Call Subroutine from Main OB

  • Return to the Main OB.
  • Insert a โ€œCALLโ€ instruction.
  • Choose the subroutine you just created.
  • Position the CALL block in the sequence where the function should execute.

Step 6: Save and Test

  • Save your Main OB and all linked subroutines.
  • Switch to Auto mode and perform a dry run.
  • Monitor robot movements to ensure the sequence logic is correct.

๐Ÿ’ก Tip: Always use comments in your subroutines for clarity, especially in collaborative environments.


๐Ÿค– LNC robot programming & Benefits of Using Subroutines in LNC Robot Programming

  • Improves code reusability and reduces errors
  • Organizes complex logic into simpler, manageable blocks
  • Accelerates debugging and updates

If you’re working with LNC robot systems, PLC integration, or industrial HMI/SCADA platforms, then vohauipr.com is a must-visit resource. This site offers free downloadable software tools, configuration files, and guides to support automation engineers, control specialists, and system integrators.

From Siemens to Rockwell and Schneider platforms, the site features a variety of resources that save you time and streamline project development.

๐Ÿ“ฅ 5 Random Featured Downloads from vohauipr.com:

  1. โœ… Studio5000 Logix Designer V32 Full Setup
    Perfect for programming ControlLogix and CompactLogix PLCs from Allen-Bradley.
  2. โœ… WinCC V7.5 SP2 Installation Guide + Download
    Design professional SCADA systems with Siemens WinCC.
  3. โœ… FTView SE V13 Full Package + Activation
    Build real-time HMI solutions for large process systems.
  4. โœ… EDZ Files for EPLAN Electric P8 โ€“ Industrial Panel Project
    A rich library of .edz files for accurate cabinet design.
  5. โœ… RSLogix 500 + Emulator for MicroLogix PLCs
    Legacy software to program and simulate Allen-Bradley MicroLogix controllers.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *