Difference between revisions of "Teach Pendant Installation Guide"

From SoftMC-Wiki
Jump to: navigation, search
m (Deadman Switch)
(BackToTop button)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|Teach_Pendant_Installation_Guide}}
 +
<div id="BackToTop"  class="noprint" style="background-color:; position:fixed; bottom:32px; left:95%; z-index:9999; padding:0; margin:0;">
 +
<span style="color:blue; font-size:8pt; font-face:verdana,sans-serif; border:0.2em outset:#ceebf7; padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 +
[[Image:TOP2.png|50px|link=#top]] </span></div>
 
= '''Product Overview''' =
 
= '''Product Overview''' =
  
Line 5: Line 9:
  
 
[[Image: product overview 1.1.png|500px]]
 
[[Image: product overview 1.1.png|500px]]
 +
 +
 +
==See Also (How to connect simple switch to CDHD): ==
 +
[[How to connect simple switch to CDHD|How to connect simple switch to CDHD]]
  
 
==Teach Pendant Hardware==
 
==Teach Pendant Hardware==
Line 25: Line 33:
 
== Product Label ==
 
== Product Label ==
  
[[Image: product label 1.4.png|300px]]
+
[[Image: product label 1.4.png|200px]]
  
 
='''Safety'''=
 
='''Safety'''=
Line 275: Line 283:
 
[[Image: wiring 4.14.png|600px]]
 
[[Image: wiring 4.14.png|600px]]
  
{| border="1" cellpadding="4" cellspacing="0"
+
{| border="1" cellpadding="4" cellspacing="0" align="center"
 
!width = "100" bgcolor = A9A9A9| '''Action'''
 
!width = "100" bgcolor = A9A9A9| '''Action'''
 
!width = "60" bgcolor = A9A9A9|  
 
!width = "60" bgcolor = A9A9A9|  
Line 299: Line 307:
 
|Panic
 
|Panic
 
|[[Image: wiring 4.20.png|250px]]
 
|[[Image: wiring 4.20.png|250px]]
 +
 +
|}
 +
 +
='''Setup'''=
 +
 +
==Hardware Setup==
 +
 +
The diagram below shows a typical system configuration.
 +
 +
[[Image: setup 5.1.png|500px]]
 +
 +
 +
* The softTP connects to the jig board by means of the teach pendant cable.
 +
* The jig board:  Receives 24 VDC power supply (provided by user); connects to the Ethernet switch by means of an Ethernet (RJ45) cable; connects to drive/s or an external IO module by means of an IO cable (provided by user).
 +
* The three softTP switches – Mode Selector, Emergency and Deadman – are connected to the digital inputs of a drive, or to an external IO module, through the IO cable (provided by user).
 +
* The Emergency and Deadman switches are connected to the safety circuit of the system (STO, safety relay) according to user requirements.
 +
 +
==Software Setup==
 +
 +
'''note:''' IPK files are for '''softMC 7''' systems; ZIP files are for '''softMC 3''' systems.
 +
 +
 +
Using ControlStudio software, perform the following procedure:
 +
# Install the Java Runtime Engine:
 +
## Send JREx.x.x_xxx.IPK/ZIP file to softMC: <br> Tools > Firmware Update > File  > Open.
 +
## Wait for the softMC to reboot (automatically).
 +
# Install the Java Web Server and HTML (WWW folder) files:
 +
## Send JAVA_FILES. .IPK/ZIP file to softMC: <br> Tools > Firmware Update > JAVA_FILES.IPK > Open
 +
## Wait for the softMC to reboot (automatically)
 +
# Install and activate the softTP license:
 +
## Make sure the '''MCTP file''' is in the ControlStudio working directory.
 +
## In the ControlStudio Terminal, enter the following: <br> [[Image: setup 5.2.png|500px]]
 +
## Power cycle the system.
 +
# On the user PC, create a dedicated folder for the set of MC-Basic teach pendant files, which define settings for softTP operation. <br> Extract the teach pendant files to that folder.<br> In the ControlStudio File Manager, navigate to and open the dedicated folder. <br> Select and drag all the MC-Basic teach pendant files from the PC File list (middle pane) to the Controller File list (right pane). <br> [[Image: setup 5.3.png|800px]]
 +
# In the Controller File list, locate the file '''TP_INIT.PRG.''' <br> Select and drag the file from the Controller File list to the PC File list. <br> Double-click to open TP_INIT.PRG for editing in the Terminal pane.
 +
# Edit the lines in TP_INIT.PRG to map I/Os and define relevant values for various teach pendant functions, as follows:
 +
## Set the digital input numbers of the Deadman and Mode Selector switches: <br> [[Image: setup 5.4.png|500px]]
 +
## Define the type of teach pendant (2 options): <br> [[Image: setup 5.5.png|500px]]
 +
## Define the type of coordinate frame (2 options): <br> [[Image: setup 5.6.png|500px]]
 +
## Define whether a log file will be created and maintained (true or false): <br> [[Image: setup 5.7.png|500px]]
 +
## If a log file is enabled, set the maximum size of file: <br> [[Image: setup 5.8.png|500px]] <br> A log file is created and filled until it reaches the maximum size. When filled, a second log file is created and filled to maximum size.<br> Once the second file is filled to capacity, the log overwrites the first log file.
 +
## Define the type of teach pendant keyboard. Currently only one type is available; the line should be as follows: <br> [[Image: setup 5.9.png|500px]]
 +
## For safety purposes, set values for reducing velocity, acceleration and current for each motion element (group and/or single axis). <br> Invoke the settings for each motion element ID, as shown here:<br> [[Image: setup 5.10.png|500px]] <br> [[Image: setup 5.11.png|500px]]
 +
# Save TP_INIT.PRG and send the file to the controller (right-click “Copy to Controller”).
 +
# In the Controller File list, locate the file '''AUTOEXEC.PRG.''' <br> [''Alternately, if using Configurator'', use the file STARTPRG.PRG]. <br> Select and drag the file from the Controller Files list to the PC File list. <br> Double-click to open AUTOEXEC.PRG for editing in the Terminal pane. <br> At the end of the program, add the line: <br> [[Image: setup 5.12.png|500px]] <br> <br> Save AUTOEXEC.PRG and send the file to the controller (right-click “Copy to Controller”).
 +
# Initialize the softMC and the TP. In the Terminal pane, enter the commands: <br> [[Image: setup 5.13.png|500px]] <br> [''Alternately, if using Configurator'', enter the commands:]. <br> [[Image: setup 5.14.png|500px]]
 +
# In the Message Log pane, check for the following message: <br> [[Image: setup 5.15.png|500px]]
 +
 +
 +
The softTP is now ready for operation.
 +
 +
==Browser Setup==
 +
 +
To set-up the IP address of the softMC on your softTP you will need to do the following (Note, all the snapshots below are from softTP screen):
 +
 +
# Strat softMC Scanner (from Desktop) <br>
 +
# Select network adapter <br> [[Image: setup 5.16.png|500px]] <br> 
 +
# Click on softMC in the list to open in browser and then set as homepage <br> [[Image: setup 5.17.png|500px]] <br> 
 +
# Go to firefox options (the menu is located right of the address bar): <br> [[Image: setup 5.18.png|300px]] <br> 
 +
# Change the homepage to the softMC’s IP and close the window.
 +
 +
='''Appendix'''=
 +
 +
This appendix describes alternative setups for using the TP Emulator software instead of the actual softTP.
 +
 +
==TP Emulator Communicating with softMC==
 +
 +
This configuration is useful for working with a real robotic system when an actual teach pendant is not available. <br> An HTML5 browser is used either on laptop or tablet.
 +
 +
{| border="0" cellpadding="2" cellspacing="0"
 +
 +
!width = "10"|
 +
!width = "60"|
 +
|-
 +
|[[Image:warnings 2.1.png|70px]]
 +
|It is extremely dangerous to work without safety switches. <br> Maintain a safe distance (beyond the reach of the robotic arm) while working with robot.
 +
 +
|}
 +
 +
 +
 +
 +
===Hardware setup===
 +
 +
[[Image: setup 5.19.png|350px]]
 +
 +
===Software Setup===
 +
 +
To prefer the software for this configuration, refer to the section Software Setup, and do the following: <br>
 +
* Step 1: Java Runtime Engine
 +
* Step 2: Java Web Server
 +
* Step 3: softTP license
 +
* Step 4: TP library of MC-BASIC files
 +
* Step 5: TP_INIT.PRG file: <br> Do not define any I/Os. <br> Define the teach pendant and keyboard types as follows: <br> [[Image: appendix 6.1.png|500px]]
 +
*In the browser, call the file emulator.html (instead of index.html). <br> For example: e.g., '''10.4.20.148/emulator.html'''
 +
 +
==TP Emulator Communicating with Virtual (Simulated) softMC ==
 +
 +
This configuration is useful for working with a completely simulated robotic system. <br>  An HTML5 browser is used on either the same or a different PC.
 +
 +
 +
 +
===Hardware Setup===
 +
 +
 +
[[Image: appendix 6.2.png| 200px]]
 +
 +
 +
===Software Setup===
 +
To prefer the software for this configuration, refer to the section Software Setup, and do the following: <br>
 +
 +
* Step 1: Java Runtime Engine
 +
* Step 2: Java Web Server
 +
* Step 3: softTP license
 +
* Step 4: TP library of MC-BASIC files
 +
* Step 5: TP_INIT.PRG file: <br> Do not define any I/Os. <br> Define the teach pendant and keyboard types as follows: <br> [[Image: appendix 6.1.png| 550px]]
 +
* In the browser, call the file emulator.html (instead of index.html). <br> For example: e.g., '''10.4.20.148/emulator.html'''

Latest revision as of 13:52, 6 August 2017

Language: English  • 中文(简体)‎

TOP2.png

Product Overview

The softTP teach pendant (TP) is an add-on tool for softMC-based systems. It allows users to move the robot by means of jog keys, and to create and run complete robot programs written in MC-Basic.
The softTP touch screen interface enables quick and easy application development.

product overview 1.1.png


See Also (How to connect simple switch to CDHD):

How to connect simple switch to CDHD

Teach Pendant Hardware

  • Touch screen
  • Jog buttons
  • Emergency switch
  • Deadman switch
  • Mode Selector switch
  • Jig board for power, Ethernet communication and digital outputs

Teach Pendant Software

The following software components are provided with the softTP:

  • Java Runtime Engine
  • Java Web Server (HTML to KMAPI converter) and WWW folder (HTML files and Java scripts)
  • softTP license (MCTP file)
  • softTP programs and libraries (MC-Basic source code)

Product Label

product label 1.4.png

Safety

Warnings

warnings 2.1.png It is the user’s responsibility to follow all safety guidelines and precautions for working with robotic system.
warnings 2.1.png It is the user’s responsibility to connect the Emergency switch to the robotic system in accordance with safety standards and guidelines.
warnings 2.1.png It is the user’s responsibility to connect the Deadman switch to the robotic system in accordance with safety standards and guidelines.
warnings 2.1.png When handling the softTP teach pendant, be sure to grasp it with both hands. The softTP is equipped with a deadman switch to ensure user safety.

You cannot operate the teach pendant unless the deadman switch is held down in the intermediate (Enable) position. Refer to the section Error! Reference source not found.

warnings 2.1.png Never use adhesive tape or other means to keep the deadman switch held down. Doing so is extremely dangerous as it may prevent the robot from stopping while operating in Manual mode.

Handling and Maintenance

  • Make sure cabling is secure and cannot be tripped over.
  • Make sure cabling is not bent or crushed by other objects.
  • Make sure cabling does not come into contact with sharp edges that can cause it to fray.
  • Make sure the softTP is never set down in a manner in which operating elements may be mechanically damaged.
  • Never place the softTP where it will be subject to high heat sources or direct sunlight.
  • Avoid subjecting the softTP to mechanical shocks, excessive dust, humidity or strong magnetic fields.
  • Do not use solvents or abrasive materials on the softTP. For cleaning use a soft cloth moistened with water or a mild cleaning agent.
  • The softTP has a touch screen. Use only your finger to operate. Make sure no sharp objects come into contact with the screen.

Specifications

Technical Specifications

Item Specification
Processor Intel®Atom™E3800/1.6 GHz single core
Memory DDR3 4 GB
NAND SSD 32 GB
Rating 12-24 VDC, 1-0.5 A
LCD Screen TFT LCD. 7-inch (163 x 104 mm). Resolution 800x480 pixel. Background lighting 24 LEDs.
Touch Screen 4-wire analog-resistive. USB touch controller.
OS Lubunto
LEDs 3-color LED x 6
SD/MMC External SD card
USB USB host
Keypad -) keys. 4 screen navigation keys. 4 function keys (not used).
Switches Emergency/Mode Select/Deadman
Communication RS232/RS485/Ethernet. Selectable
Operating Temperature 45°C max. ambient
Enclosure IP54
Compliance CE

Dimensions

dimensions 3.1.png

dimensions 3.2.png


Wiring

Teach Pendant Cable

The teach pendant cable is part of the softTP; it cannot be detached.


TP Cable Pin Assignments

wiring 4.1.png

TP Cable Connector - Male


wiring 4.2.jpg


Part Number A ΦB ΦC ΦD
SRC6A21-26P mm 98.0 31.0 20.4 12.2


wiring 4.3.png

Jig Board

TP Cable Interface on Jig Board - Female


wiring 4.4.png


Part Number A ΦB C(C') D E F G
SRC6A21-26P mm 25.6 20.4 27.7 (25.5) 14 2.3 32 26

wiring 4.5.png  : wiring 4.6.png


IO Cable Interface on Jig Board - Pin Assignments

Example: connection to CDHD

The Emergency and Deadman switches are connected to the safety circuit of the system (STO, safety relay) according to user requirements.

wiring 4.7.png


Example: connection to DDHD

Different input order and no emergency switch connected. Green lines are bridges; red and black lines are from an outside source.


wiring 4.8.png

Emergency Switch

It is the user’s responsibility to connect the Emergency switch to the robotic system, and to follow all necessary safety guidelines and precautions.

wiring 4.9.png

Selector Switch

wiring 4.10.png


Position Symbol
Left wiring 4.11.png
Center wiring 4.12.png
Right wiring 4.13.png


Deadman Switch

It is the user’s responsibility to connect the Deadman switch to the robotic system, and to follow all necessary safety guidelines and precautions.
Pressing or releasing the Deadman switch automatically and immediately stops the motion of all axes.

wiring 4.14.png

Action Position Symbol
If deadman switch is not pressed or is pressed too lightly.

Switch is off.

wiring 4.15.png Null wiring 4.16.png
If deadman switch is pressed with normal pressure.

Switch is on.

wiring 4.17.png Enable wiring 4.18.png
If deadman switch is pressed too hard.

Switch is off.

wiring 4.19.png Panic wiring 4.20.png

Setup

Hardware Setup

The diagram below shows a typical system configuration.

setup 5.1.png


  • The softTP connects to the jig board by means of the teach pendant cable.
  • The jig board: Receives 24 VDC power supply (provided by user); connects to the Ethernet switch by means of an Ethernet (RJ45) cable; connects to drive/s or an external IO module by means of an IO cable (provided by user).
  • The three softTP switches – Mode Selector, Emergency and Deadman – are connected to the digital inputs of a drive, or to an external IO module, through the IO cable (provided by user).
  • The Emergency and Deadman switches are connected to the safety circuit of the system (STO, safety relay) according to user requirements.

Software Setup

note: IPK files are for softMC 7 systems; ZIP files are for softMC 3 systems.


Using ControlStudio software, perform the following procedure:

  1. Install the Java Runtime Engine:
    1. Send JREx.x.x_xxx.IPK/ZIP file to softMC:
      Tools > Firmware Update > File > Open.
    2. Wait for the softMC to reboot (automatically).
  2. Install the Java Web Server and HTML (WWW folder) files:
    1. Send JAVA_FILES. .IPK/ZIP file to softMC:
      Tools > Firmware Update > JAVA_FILES.IPK > Open
    2. Wait for the softMC to reboot (automatically)
  3. Install and activate the softTP license:
    1. Make sure the MCTP file is in the ControlStudio working directory.
    2. In the ControlStudio Terminal, enter the following:
      setup 5.2.png
    3. Power cycle the system.
  4. On the user PC, create a dedicated folder for the set of MC-Basic teach pendant files, which define settings for softTP operation.
    Extract the teach pendant files to that folder.
    In the ControlStudio File Manager, navigate to and open the dedicated folder.
    Select and drag all the MC-Basic teach pendant files from the PC File list (middle pane) to the Controller File list (right pane).
    setup 5.3.png
  5. In the Controller File list, locate the file TP_INIT.PRG.
    Select and drag the file from the Controller File list to the PC File list.
    Double-click to open TP_INIT.PRG for editing in the Terminal pane.
  6. Edit the lines in TP_INIT.PRG to map I/Os and define relevant values for various teach pendant functions, as follows:
    1. Set the digital input numbers of the Deadman and Mode Selector switches:
      setup 5.4.png
    2. Define the type of teach pendant (2 options):
      setup 5.5.png
    3. Define the type of coordinate frame (2 options):
      setup 5.6.png
    4. Define whether a log file will be created and maintained (true or false):
      setup 5.7.png
    5. If a log file is enabled, set the maximum size of file:
      setup 5.8.png
      A log file is created and filled until it reaches the maximum size. When filled, a second log file is created and filled to maximum size.
      Once the second file is filled to capacity, the log overwrites the first log file.
    6. Define the type of teach pendant keyboard. Currently only one type is available; the line should be as follows:
      setup 5.9.png
    7. For safety purposes, set values for reducing velocity, acceleration and current for each motion element (group and/or single axis).
      Invoke the settings for each motion element ID, as shown here:
      setup 5.10.png
      setup 5.11.png
  7. Save TP_INIT.PRG and send the file to the controller (right-click “Copy to Controller”).
  8. In the Controller File list, locate the file AUTOEXEC.PRG.
    [Alternately, if using Configurator, use the file STARTPRG.PRG].
    Select and drag the file from the Controller Files list to the PC File list.
    Double-click to open AUTOEXEC.PRG for editing in the Terminal pane.
    At the end of the program, add the line:
    setup 5.12.png

    Save AUTOEXEC.PRG and send the file to the controller (right-click “Copy to Controller”).
  9. Initialize the softMC and the TP. In the Terminal pane, enter the commands:
    setup 5.13.png
    [Alternately, if using Configurator, enter the commands:].
    setup 5.14.png
  10. In the Message Log pane, check for the following message:
    setup 5.15.png


The softTP is now ready for operation.

Browser Setup

To set-up the IP address of the softMC on your softTP you will need to do the following (Note, all the snapshots below are from softTP screen):

  1. Strat softMC Scanner (from Desktop)
  2. Select network adapter
    setup 5.16.png
  3. Click on softMC in the list to open in browser and then set as homepage
    setup 5.17.png
  4. Go to firefox options (the menu is located right of the address bar):
    setup 5.18.png
  5. Change the homepage to the softMC’s IP and close the window.

Appendix

This appendix describes alternative setups for using the TP Emulator software instead of the actual softTP.

TP Emulator Communicating with softMC

This configuration is useful for working with a real robotic system when an actual teach pendant is not available.
An HTML5 browser is used either on laptop or tablet.

warnings 2.1.png It is extremely dangerous to work without safety switches.
Maintain a safe distance (beyond the reach of the robotic arm) while working with robot.



Hardware setup

setup 5.19.png

Software Setup

To prefer the software for this configuration, refer to the section Software Setup, and do the following:

  • Step 1: Java Runtime Engine
  • Step 2: Java Web Server
  • Step 3: softTP license
  • Step 4: TP library of MC-BASIC files
  • Step 5: TP_INIT.PRG file:
    Do not define any I/Os.
    Define the teach pendant and keyboard types as follows:
    appendix 6.1.png
  • In the browser, call the file emulator.html (instead of index.html).
    For example: e.g., 10.4.20.148/emulator.html

TP Emulator Communicating with Virtual (Simulated) softMC

This configuration is useful for working with a completely simulated robotic system.
An HTML5 browser is used on either the same or a different PC.


Hardware Setup

appendix 6.2.png


Software Setup

To prefer the software for this configuration, refer to the section Software Setup, and do the following:

  • Step 1: Java Runtime Engine
  • Step 2: Java Web Server
  • Step 3: softTP license
  • Step 4: TP library of MC-BASIC files
  • Step 5: TP_INIT.PRG file:
    Do not define any I/Os.
    Define the teach pendant and keyboard types as follows:
    appendix 6.1.png
  • In the browser, call the file emulator.html (instead of index.html).
    For example: e.g., 10.4.20.148/emulator.html