fiberscan manual rev c - laser mechanisms, inc. fiberscan manua… · plmnl0226 rev. c 2 fiberscan...

15
FiberScan Software and Control Operation Manual

Upload: ngoliem

Post on 05-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

FiberScan Software and Control Operation Manual

Page 2: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C i FiberScan Manual

WARNING WORKING AROUND HIGH-POWERED LASERS

CAN BE DANGEROUS

Laser Mechanisms, Inc.’s cutting heads must never be operated without the cutting head interlock switch being connected. The switch should be CLOSED when the head is properly attached. In the event of a crash or the cutting head becomes dislodged from its normal operating position, the switch will OPEN. This interlock switch must be connected in a circuit in such a way that it will immediately turn off the laser and stop all machine motion. Check the wiring diagrams for your system.

Serious personal injury and/or equipment damage can occur if the head becomes dislodged and:

• The head interlock is not connected properly.

• Any interlock in the Laser Mechanisms’ product or laser system is defeated.

Laser Mechanisms, Inc. assumes no responsibly or liability for interlock switches or circuits and all interlocks are the sole responsibility of the purchaser of this head.

All wiring should be done by personnel knowledgeable in electrical wiring and in accordance with the national and local electrical codes.

DISCLAIMER The information in this manual is subject to change without notice.

Laser Mechanisms, Inc. makes no warranty of any kind with regard to the material in this manual, including but not limited to, the warranties or merchantability and fitness for a particular purpose.

Laser Mechanisms, Inc. shall not be liable for errors contained herein or for incidental or consequential damages in connection with furnishing, performance or use of this product.

Corporate names and trademarks stated herein are the property of their respective companies.

COPYRIGHT ©2014 Laser Mechanisms, Inc. All rights reserved. No part of this publication may be reproduced in any form, or by any means without the prior written permission of Laser Mechanisms, Inc.

PRODUCT WARRANTY Laser Mechanisms, Inc. warrants this product against defects in material and workmanship for a period of one year from the date of shipment from Laser Mechanisms, Inc. or an authorized distributor. During the warranty period, Laser Mechanisms, Inc. will at its option, repair or replace products that prove to be defective.

For all products returned to Laser Mechanisms, Inc. for warranty service the customer must:

• Call Laser Mechanisms, Inc. for a Return Material Authorization (RMA) number.

• Properly pack the product with the RMA number on the outside of the package. Include in the package all cables and all accessories shipped with the product along with a description of the problem.

• Prepay shipping charges to Laser Mechanisms, Inc.

• Insure the shipment in case of loss or damage. Laser Mechanisms, Inc. will not accept any liability in case of damage or loss.

Laser Mechanisms, Inc. will pay the shipping charges, duties and taxes for the products returned to Laser Mechanisms, Inc. from outside the United States.

The foregoing warranty will not apply if damage is incurred resulting from improper or inadequate maintenance by the customer, unauthorized modifications or misuse, operation of the product outside its specifications, interlocks not connected properly, improper site preparation, parts or assemblies not supplied by Laser Mechanisms, Inc. or unauthorized repair by non-Laser Mechanisms, Inc. authorized personnel.

For complete warranty information visit our web site at www.lasermech.com.

Page 3: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C ii FiberScan Manual

TABLE OF CONTENTS

1  Getting Started ............................................................................................................................................. 1 1.1  Introduction ......................................................................................................................................... 1 

1.2  Software Installation ........................................................................................................................... 1 

2  Installation – Electrical ............................................................................................................................. 2 2.1  PC connection ..................................................................................................................................... 2 

2.2  Power Input ......................................................................................................................................... 2 

2.3  Digital Inputs (TB2) ............................................................................................................................. 2 

2.4  Digital Outputs (TB3) .......................................................................................................................... 2 

2.5  Connection to smart deflectors Ch1 (X), & Ch2(Y) ............................................................................. 2 

3  Shape List and Parameters ..................................................................................................................... 3 3.1  Using the Shape List ........................................................................................................................... 3 

3.2  Shapes ................................................................................................................................................ 3 

3.2.1  Circle ............................................................................................................................... 3 

3.2.2  Rectangle ........................................................................................................................ 3 

3.2.3  Slot .................................................................................................................................. 3 

3.2.4  Line .................................................................................................................................. 3 

3.3  Parameters ......................................................................................................................................... 4 

3.3.1  Pattern ............................................................................................................................. 4 

3.3.2  Overlap ............................................................................................................................ 4 

3.3.3  Spacing ........................................................................................................................... 4 

3.3.4  Speed .............................................................................................................................. 4 

3.3.5  Rotation ........................................................................................................................... 4 

3.3.6  Lead-In ............................................................................................................................ 4 

4  Main Program ............................................................................................................................................... 5 4.1  Using the Program Editor ................................................................................................................... 5 

4.1.1  Adding Rows ................................................................................................................... 5 

4.1.2  Inserting & Rearranging Rows ........................................................................................ 5 

4.1.3  Changing Command Parameters .................................................................................... 5 

4.1.4  Deleting Rows ................................................................................................................. 5 

4.1.5  Save Program & Load Program ...................................................................................... 5 

4.2  Basic Program Structure ..................................................................................................................... 5 

4.3  Available Commands .......................................................................................................................... 6 

Page 4: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C iii FiberScan Manual

5  Controls ........................................................................................................................................................... 7 5.1  Connecting to FiberScan .................................................................................................................... 7 

5.2  Available Controls ............................................................................................................................... 7 

5.3  Store Shapes & Program .................................................................................................................... 7 

5.4  Field Size ............................................................................................................................................ 7 

6  Appendix A – Control Unit Dimensions ............................................................................................ 8 

7  Appendix B – Setting the IP Address from Default Configuration ......................................... 9 

8  Appendix C – Calculating and Configuring Field Size .............................................................. 10 

Page 5: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 1 FiberScan Manual

1 Getting Started

1.1 Introduction

FiberScan Programmer is PC software that is used to control the operation of FiberScan. The software consists of a Shape List on the left side and a changeable panel on the right side that displays either shape parameters, the main program, or controls for communicating with FiberScan.

The FiberScan Controller is powered from a standard 120-240 VAC power source. There are four optically isolated outputs and three optically isolated inputs. Any of these I/O points can be placed in the users program to communicate with other devices, such as PLC’s, robot controllers, etc.

1.2 Software Installation

The FiberScan Programmer application is self-contained and requires no special installation. Simply extract the FiberScan Zip file to the directory of your choice and launch the application.

Upon starting FiberScan Programmer, the Main Window will be displayed with a new program and sample shape. From here, you may begin writing a new program or open an existing program.

Page 6: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 2 FiberScan Manual

2 Installation – Electrical

2.1 PC connection

Ethernet connector (RJ45). Use crossover cable to connect control unit with application PC. If a network switch is used, a standard Ethernet (CAT5) cable required.

2.2 Power Input

Specifications:

100 – 240 VAC 50/60 Hz. @ 2.5 A

2.3 Digital Inputs (TB2)

Specifications: 5 to 24VDC, 10mA at 24V

The inputs are configurable for connection to either sourcing or sinking outputs depending on the connection made to the input common.

PIN NAME DESCRIPTION

1 IN COM Input Common

2 IN COM Input Common

3 IN 1 Input 1

4 IN 2 Input 2

5 IN 3 Input 3

6 GND Ground

7 GND Ground

Connect +V to IN COM when the inputs are connected to sinking (active low) outputs or connect 0V to IN COM when connecting to sourcing (active high) outputs.

2.4 Digital Outputs (TB3)

Specifications: 5 to 24VDC, 250mA per output

All outputs are configurable for sourcing or sinking depending on the connection made to OUT COM.

PIN NAME DESCRIPTION

1 OUT COM Output Common

2 OUT COM Output Common

3 OUT 1 Output 1

4 OUT 2 Output 2

5 OUT 3 Output 3

6 OUT 4 Output 4

7 GND Ground

8 GND Ground

Connect +V to OUT COM for sourcing (active high) outputs or connect 0V to OUT COM for sinking (active low) outputs.

2.5 Connection to smart deflectors Ch1 (X), & Ch2(Y)

SMA type coax connector, impedance 50 ohm.

These connections should be done by means of a standard 50 ohm coaxial cable with a length not more than 5 meters. The nuts of the cable should be tightened by a wrench to a torque of approx. 1.5 Nm.

Page 7: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 3 FiberScan Manual

3 Shape List and Parameters

3.1 Using the Shape List

The Shape List is used to define movements made by FiberScan. Shapes are added or removed by using the Add Shape and Delete Shape buttons located below the Shape List. Double-clicking on a shape will display the parameters for that shape. At least one shape must be in the shape list at all times. A sample 1mm circle outline is provided upon startup, and can be modified or replaced with other shapes as desired.

Shapes consist of a variety of parameters. Required parameters are indicated in bold, while optional parameters are in normal typeface. Each shape must be given a unique name which is used to call the shape in the main program. Next, the shape must be selected from a list. Depending on which shape is selected, one or two dimensional parameters will be displayed.

Shape List & Parameters

3.2 Shapes

3.2.1 Circle

Diameter must be greater than zero. Current set position is center point.

3.2.2 Rectangle

Width must be greater than Height. Height must be greater than zero. Current set position is center point.

3.2.3 Slot

Overall length defined by Width greater than Height. Height must be greater than zero. Diameter of circular ends is equivalent to Height. Current set position is center point.

3.2.4 Line

Width defines distance in X direction. Height defines distance in Y direction. At least one value must be non-zero. Values may be negative. Current set position is starting point.

Page 8: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 4 FiberScan Manual

3.3 Parameters

3.3.1 Pattern

Pattern determines how the shape is filled in. When Outline is selected, only the perimeter of the shape is drawn.

The Fill pattern does a line-by-line scan of the full area of the shape. Circles and slots are filled from the outside in, while rectangles are filled horizontally from top to bottom. An additional Crosshatch pattern is available for circles, which performs both horizontal and vertical line-by-line scans followed by a final perimeter scan.

3.3.2 Overlap

Overlap is an option for the Outline pattern and allows a portion of the pattern to be repeated after completing one full scan. For Circles, Overlap is measured along the circumference of the circle up to one radius (D/2) in length. For Rectangles and Slots, Overlap is measured from the center of the Width to a maximum of either the next corner (W/2) or the start of the radius ((W-H)/2).

3.3.3 Spacing

The Spacing parameter appears when using the Fill or Crosshatch pattern and defines the distance between rows of the pattern. This typically equals spot size.

3.3.4 Speed

Different scan speeds can be selected for each shape. A speed greater than zero is required.

3.3.5 Rotation

The Rotation parameter is available for Rectangles and Slots and enables the shapes to be oriented in any direction. Rotation is CCW.

3.3.6 Lead-In

Lead-In is an option for the Outline pattern and determines the path FiberScan follows from the center of the shape to the starting point of the pattern. FiberScan normally jumps directly to the starting point via the shortest available path at the jump speed. When a lead-in pattern is selected, a straight line or semi-circle is drawn from the center point to the starting point of the shape at the scan speed.

Page 9: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 5 FiberScan Manual

4 Main Program

4.1 Using the Program Editor

The Main Program consists of lines of commands that are selected from contextual menus. Right-clicking within the Main Program panel will display a list of commands that can be selected.

4.1.1 Adding Rows

If no line is currently selected, the “Add Command” button will appear below the Main Program panel. Clicking this button or pressing the Insert button on your keyboard will add a new line with No Command to the Main Program panel. New commands can also be added in a single step by right-clicking on a blank line and selecting a command from the list.

4.1.2 Inserting & Rearranging Rows

To insert a new command within an existing program, right-click on an existing line and select “Insert Row Above” or “Insert Row Below”. These rows can then be right-clicked to assign commands. Command lines can also be rearranged by dragging and dropping them in a new position within the program.

4.1.3 Changing Command Parameters

After clicking on a command line to select it, parameters related to that command will appear below the Main Program panel if applicable. Changing values in these fields will immediately update the command line in the Main Program.

4.1.4 Deleting Rows

Command lines can be deleted by either right-clicking on a command and selecting “Delete Row” or pressing the Delete button on your keyboard.

4.1.5 Save Program & Load Program

Main Programs and their associated shape lists can be saved for later use and reloaded by using the commands found in the File menu.

4.2 Basic Program Structure

A typical FiberScan program is configured to run automatically without being connected to a PC. To accomplish this, a basic program structure should be followed.

Set Jump Speed

Loop Start (0)

Wait IO Status (trigger from laser system)

Set Position (x,y center point of shape or starting point of line)

Draw Shape

… Additional Set Position & Draw Shape commands if using multiple shapes …

Loop End

Sample Program

Page 10: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 6 FiberScan Manual

4.3 Available Commands

A variety of other commands are available to further customize your program. These include:

Draw Shape [rtFileFetch(ShapeName)] – Calls the specified shape as defined in the Shape List.

Loop Start [rtSetLoop(n)] – Marks the start of looped code. Must be paired with a Loop End command and cannot be nested. Repeat for n times or infinitely if set to 0.

Loop End [rtDoLoop()] – Marks the end of looped code.

Set Jump Speed [rtSetJumpSpeed(speed)] – Sets the movement speed for Jump To Position commands in millimeters per second. Note: Jumps are included within shape routines to move to starting positions and new lines.

Set Position [rtSetOffsXY(x,y)] – Sets the starting position for shape routines and offsets Jump To Position commands.

Set IO Value [rtSetIO(value,mask)] – Sets the outputs selected in Mask to the state selected in Value.

Wait IO Status [rtWaitIO(value,mask)] – Waits until the inputs selected in Mask match the state selected in Value.

Wait Time [rtSleep(time)] – Pause program execution for the specified time in microseconds.

Conditional If IO Equals [rtIfIO(value,mask)] – Start of a section of code that is performed only if the inputs selected in Mask match the state selected in Value.

Conditional Else [rtElse()] – Ends a preceding If IO Equals section of code and starts of a section of code that is performed if the preceding If IO Equals statement is false.

Conditional End If [rtEndIf()] – End of a conditional section of code.

Jump To Position [rtJumpTo(x,y)] – Moves the current position of FiberScan to the specified position. Note: This only changes the resting position, not the starting position of shapes. If Set Position is set to a value other than (0,0), the Jump To Position will also be offset by that amount.

Page 11: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 7 FiberScan Manual

5 Controls The Controls panel allows programs to be uploaded and run on FiberScan.

Controls Panel

5.1 Connecting to FiberScan

The FiberScan controller communicates with the PC software via Ethernet. The default IP address is set to 169.254.99.20 and can be changed using the CuaEthSetup.exe program. See Appendix B for more information on setting the IP address.

WARNING – FiberScan Programmer requires a constant connection to FiberScan while using the Controls. Do not disconnect the FiberScan controller’s power or network connection or place your PC in Sleep mode while FiberScan Programmer is running or the program may become unresponsive and require a force quit.

5.2 Available Controls

Home – Moves FiberScan to (0,0) and clears any offset.

Abort – Stops the current program from running.

Run – Executes the Main Program without storing it in remote memory. Note: Any modified shapes must be uploaded separately prior to running the Main Program.

5.3 Store Shapes & Program

The Upload button offers four options for storing shapes and programs in remote memory.

Selected Shape – Uploads only the shape currently selected in the Shape List.

All Shapes – Uploads all shapes listed in the Shape List.

Main Program – Uploads the main program so that it automatically runs when the system is started up. Note: To run the program immediately, you must click the Run button or cycle power on the controller.

Erase Existing Data – Resets the remote memory, deleting all shape and program data previously stored on the controller. While shapes with the same name and the Main Program are overwritten automatically, unused shapes may remain in memory and can be removed using this function.

5.4 Field Size

The field size is preconfigured at the time of manufacture based on customer specifications and is used to calibrate the size of the pattern specified in the program with the size of the pattern on the material. This value represents the focal length of the lens in millimeters times the optical scanning range of the installed motors in radians.

In the event the focal length changes, you may temporarily compensate by adjusting the size of shapes and movements in your program, or see Appendix C for information how to change the field size.

Page 12: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 8 FiberScan Manual

6 Appendix A – Control Unit Dimensions

Page 13: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 9 FiberScan Manual

7 Appendix B – Setting the IP Address from Default Configuration

1. Start with the controller disconnected and turned off. 2. Make sure the network card you are using to connect to the controller is configured to obtain an IP address

automatically and is not connected to any other network. 3. Connect the Ethernet cable between the controller and your PC and turn on power to the controller. 4. Launch the CUA - ETH Setup program. 5. In the IP Address field, enter the default IP address: 169.254.99.20. 6. Click “Read” to verify that you are able to communicate with the controller. If you cannot, verify that your network

card is configured properly and try again. 7. Select the “Change IP : IP” tab. 8. In the New IP Address field, enter the IP address you would like to set the controller to. 9. In the Current IP Address field, enter the default IP address: 169.254.99.20. 10. Click “Change”. 11. Close the CUA - ETH Setup program. 12. Turn power off to the controller. 13. Set the IP address of the network card connected to the controller so that it is on the same subnet as the controller’s

new IP address (i.e. if the controller is set to 192.168.1.20, your network card should be set to 192.168.1.100.) 14. Turn the controller’s power back on. 15. Re-launch the CUA - ETH Setup program. 16. In the IP Address field, enter the new IP address you just changed the controller to. 17. Click “Read” to verify that you are able to communicate with the controller at the new IP address.

Page 14: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

PLMNL0226 Rev. C 10 FiberScan Manual

8 Appendix C – Calculating and Configuring Field Size

Field Size is the area that the system can cover. This area is a function of angular range of the installed motors and focal length of the mounted optics. The value to be entered can be calculated:

FIELDSIZE = FOCAL_LENGTH * ANGULAR_RANGE/1000

The angular range is printed on the motor housing as RTA-ARxxx where xxx is the 3 digit angular range.

For example, if an f-theta 163 mm flat field lens is used on a system fitted with RTA-AR800 motors, the Field Size that has to be entered equals: 163*800/1000 = 130 mm

To change the Field Size value, follow these steps:

1. Open the rhothor.exe application. If you did not receive a copy of this application, contact Laser Mechanisms for assistance.

2. Enter the IP address of the FiberScan controller and click Connect.

3. Click on the Config tab. 4. In the XY - Channel section, enter the

Field Size value in the indicated box. 5. Click on the Control tab to store the settings, and then exit

the application.

**IMPORTANT**

After changing the Field Size, you must re-upload all shapes to the controller. The coordinates of each shape are calculated using the Field Size setting at the time they were uploaded.

An alternative method to determine Field Size is to measure a known shape and calculate the scale factor:

1. Set the Field Size to a first guess (i.e. 100 mm). 2. Mark a square substantially smaller than the Field Size (i.e. 50 mm). 3. Measure the size of the marked square (i.e. 60 mm). 4. Calculate the Field Size using the following equation:

FIELDSIZE = FIRST_GUESS * MEASURED_SIZE/REQUESTED_SIZE (i.e. FIELDSIZE = 100 * 60/50 = 120)

Page 15: FiberScan Manual Rev C - Laser Mechanisms, Inc. FiberScan Manua… · PLMNL0226 Rev. C 2 FiberScan Manual 2 Installation – Electrical 2.1 PC connection Ethernet connector (RJ45)

Laser Mechanisms, Inc. 25325 Regency Drive • Novi, Michigan 48375 USA

Phone: (248) 474-9480 • Fax: (248) 474-9277 In Europe: Phone: +32(0)92 18 70 70 • Fax: +32(0)92 18 70 79

Web: www.lasermech.com • E-Mail: [email protected]