lmf2000 fiber laser marker

lmf2000 fiber laser marker
OPERATOR MANUAL 990-298
Revision D
February 2009
OPERATOR MANUAL
FOR THE
LMF2000 FIBER LASER MARKER
Copyright © 2008, 2009 Miyachi Unitek Corporation
The engineering designs, drawings and data contained herein are the proprietary work of
the Miyachi Unitek Corporation and may not be reproduced, copied, exhibited or
otherwise used without the written authorization of the Miyachi Unitek Corporation.
Printed in the United States of America.
Revision Record
Revision
EO
Date
Basis of Revision
A
21818
5/08
Production Release
B
31139
11/08
Added External Start instructions, rack mount instruction,
added RS-232C to Appendix A, and software update.
C
31248
1/09
Updated technical data and maintenance procedures.
D
31271
2/09
Updated Working Distance specifications.
Your LMF2000 Laser Marker Shipment Contains The Following Items:
1.
LMF2000 Laser Marker Oscillator and Power Supply.
2.
Software Manual 990-550.
3.
Hardware Manual 990-298.
4.
Laser Safety Manual 990-502.
5.
115 VAC power cord, configured for use in the United States, Part Number 205-129.
6.
Ship Kit, Part Number 4-81189-01.
7.
Customer specified beam expander and f-theta lens installed in LMF2000.
8.
3m Cat 5e Crossover Cable, Part Number 205-318.
9.
2m laser head interface cable harness, Part Number 205-255.
10. 2m laser scanner interface cable, Part Number 205-256.
LMF2000 LASER MARKER
ii
990-298
CONTENTS
Page
Revision Record ......................................................................................................................................... ii
Contents
.............................................................................................................................................. iii
Contact Us ............................................................................................................................................. vii
Safety Precautions ................................................................................................................................... viii
Chapter 1. System Description
Section I: Features .................................................................................................................................. 1-1
Laser Marking .................................................................................................................................. 1-1
Features ............................................................................................................................................ 1-1
Section II: Part Names and Functions .................................................................................................... 1-3
Control Unit (Front) ........................................................................................................................ 1-3
READY Light ........................................................................................................................... 1-3
SHUTTER Light ...................................................................................................................... 1-3
EMISSION Light ...................................................................................................................... 1-3
FAULT Light ............................................................................................................................ 1-3
POWER Switch ........................................................................................................................ 1-3
System Enable Key Switch ...................................................................................................... 1-4
Emergency Stop Button ............................................................................................................ 1-4
Cooling Fan Air Filter .............................................................................................................. 1-4
Control Unit (Rear) ......................................................................................................................... 1-4
Motor Control Interface Connector .......................................................................................... 1-5
Motor Limits Connector ........................................................................................................... 1-5
Fiber .......................................................................................................................................... 1-5
Input Power Connector ............................................................................................................. 1-5
Main Power Switch .................................................................................................................. 1-5
TCP/IP - LAN/USB Interface Connector ................................................................................. 1-5
RS-232C Connector .................................................................................................................. 1-5
Remote I/L (Interlock) Connector ............................................................................................ 1-5
Laser Head Connector .............................................................................................................. 1-6
Scanner Connector .................................................................................................................... 1-6
E-Stop (Emergency Stop) Connector ....................................................................................... 1-6
User I/O Out Connector ............................................................................................................ 1-6
User I/O In Connector .............................................................................................................. 1-6
System I/O Out Connector ....................................................................................................... 1-6
System I/O IN Connector ......................................................................................................... 1-6
Oscillator (Rear) ............................................................................................................................. 1-7
Laser Head Control Connector ................................................................................................. 1-7
Laser Scanner Connector .......................................................................................................... 1-7
Fiber .......................................................................................................................................... 1-7
Section III: System Configuration ......................................................................................................... 1-8
Connection Diagram ........................................................................................................................ 1-8
Options ............................................................................................................................................ 1-8
LMF2000 FIBER LASER MARKER
990-298
iii
CONTENTS (Continued)
Page
Chapter 2. Installation and Setup
Section I: Planning ................................................................................................................................. 2-1
Section II: Installation ............................................................................................................................ 2-3
Connect the Signal Cables ............................................................................................................... 2-3
Verify That I/O Configuration is Correct ........................................................................................ 2-4
System I/O Inputs ..................................................................................................................... 2-4
Emergency Stop ........................................................................................................................ 2-4
Remote Interlock ...................................................................................................................... 2-4
Set the Working Distance ................................................................................................................ 2-5
Section III: Software Installation and Set-up ......................................................................................... 2-6
When Using a Factory-Supplied Computer ..................................................................................... 2-6
When Supplying your own Computer ............................................................................................. 2-6
Section IV: External Start .................................................................................................................... 2-12
Section V. F-Theta Lens Configuration ............................................................................................... 2-15
Section VI. Rack-Mount Installation (Optional) ................................................................................. 2-16
Chapter 3. Operating Instructions
Section I: Before You Start .................................................................................................................... 3-1
Safety Precautions ........................................................................................................................... 3-1
Notes ............................................................................................................................................ 3-1
Section II: Operation .............................................................................................................................. 3-2
Chapter 4. Maintenance
Section I: Safety Precautions ................................................................................................................. 4-1
Section II: Troubleshooting ................................................................................................................... 4-2
Section III: Clean and Replace the Protective Glass ............................................................................. 4-3
Section IV: Replace the Air Filter ......................................................................................................... 4-4
Section V: Firmware Update ................................................................................................................. 4-6
Section VI: Repair Service ..................................................................................................................... 4-8
Chapter 5. Remote Interface
Section I: Using the Embedded Controller ............................................................................................ 5-1
Using the Embedded Controller Card............................................................................................... 5-1
Section II: Using the WinLase LAN GUI .............................................................................................. 5-2
GUI (Graphical User Interface) Features ........................................................................................ 5-2
COM Automation Server API ......................................................................................................... 5-3
LMF2000 LASER MARKER
iv
990-298
Page
Section III: Using the Remote Command API ...................................................................................... 5-4
Remote Command API (Application Programming Interface) ........................................................ 5-4
Using the API (Application Programming Interface) ...................................................................... 5-4
API (Application Programming Interface) Command Set .............................................................. 5-5
Remote Command API List ............................................................................................................. 5-5
Section IV: Using the TC/IP and RS-232 Remote Interface ................................................................. 5-6
RS-232 and TCP/IP Commands and Functions ............................................................................... 5-9
RS-232 and TCP/IP Command List ................................................................................................. 5-9
Section V: Using the Remote Pendant ................................................................................................. 5-10
Using the Remote Pendant ............................................................................................................. 5-10
Pendant Error Codes ....................................................................................................................... 5-10
Appendix A. Technical Specifications ............................................................................................... A-1
Appendix B. Electrical And Data Connections .................................................................................B-1
Section I: Connectors .............................................................................................................................B-1
System I/O IN Connector ................................................................................................................B-2
System I/O OUT Connector ............................................................................................................B-2
User I/O IN Connector .....................................................................................................................B-3
User I/O OUT Connector .................................................................................................................B-3
E-STOP (Emergency Stop) Connector ............................................................................................B-4
Remote I/L (Interlock) Connector ...................................................................................................B-4
Scanner connector ............................................................................................................................B-4
Laser Head Connector .....................................................................................................................B-4
RS-232C Connector .........................................................................................................................B-5
TCP/IP - LAN/USB Interface Connector ........................................................................................B-5
Motor Limits Connector ..................................................................................................................B-5
Motor Control Interface Connector .................................................................................................B-5
Section II. Phoenix Connectors ..............................................................................................................B-6
Overview ..........................................................................................................................................B-6
Assembling the Connectors .............................................................................................................B-6
Section III. I/O Connections .................................................................................................................B-7
System I/O IN Connector – Dry Contact Example .........................................................................B-7
User I/O IN Connector – Dry Contact Example ..............................................................................B-8
System I/O OUT Connector ............................................................................................................B-9
User I/O OUT Connector ...............................................................................................................B-10
Emergency Stop Connector ...........................................................................................................B-11
Remote I/L (Interlock) Connector .................................................................................................B-11
Appendix C. SPI Pulsed Fiber Laser Reference Material
Section I: Laser Timing ..........................................................................................................................C-1
Section II: Pulsed Laser Characteristics .................................................................................................C-7
LMF2000 FIBER LASER MARKER
990-298
v
CONTENTS (Continued)
Page
Appendix D. Remote Interface Commands
Section I: Remote Command API .......................................................................................................... D-1
Remote API Commands (Numerical Listing) ................................................................................ D-1
Remote API Commands – Detail (Alphabetical Order) .................................................................. D-3
API Response Codes ..................................................................................................................... D-22
Example Program ......................................................................................................................... D-23
C# Example .................................................................................................................................. D-23
Section II: RS-232 and TCP/IP Commands ......................................................................................... D-24
RS-232 and TCP/IP Interface ....................................................................................................... D-24
Command Syntax .................................................................................................................. D-24
Command Set ........................................................................................................................ D-24
Example Program ......................................................................................................................... D-31
C++ Example ................................................................................................................................ D-31
LMF2000 LASER MARKER
vi
990-298
CONTACT US
Thank you for purchasing the Miyachi Unitek™ LMF2000 Fiber Laser Marker.
Upon receipt of your equipment, please thoroughly inspect it for shipping damage prior to its
installation. Should there be any damage, please immediately contact the shipping company to file a
claim, and notify Miyachi Unitek at:
1820 South Myrtle Avenue
P.O. Box 5033
Monrovia, CA 91017-7133
Telephone:
(626) 303-5676
FAX:
(626) 358-8048
E-Mail:
info@unitekmiyachi.com
The purpose of this manual is to provide the information required for proper and safe operation and
maintenance of the Miyachi Unitek™ LMF2000 Fiber Laser Marker.
We have made every effort to ensure that information in this manual is both accurate and adequate. If
you have any questions or suggestions to improve this manual, please contact us at the phone number or
address above.
Miyachi Unitek Corporation is not responsible for any loss or injury due to improper use of this product.
LMF2000 FIBER LASER MARKER
990-298
vii
SAFETY PRECAUTIONS
General
This Operator's Manual describes the Operation and Maintenance of the LMF2000
Fiber Laser Marker, and provides instructions relating to its SAFE use. Procedures
described in this manual must be performed as detailed by qualified and trained
personnel.
NOTE: For the rest of this manual, the LMF2000 Fiber Laser Marker will simply
be referred to as “the Marker.”
For SAFETY, and to effectively take advantage of the full capabilities of the
Marker, please read this instruction manual and the Laser Safety Manual
(Part Number 990-502) thoroughly before attempting to use the Marker.
After reading this manual, retain it for future reference when any questions arise
regarding the proper and SAFE operation of the Marker.
Operation
When operating or servicing the Laser Marker unit, always wear Protective
Goggles having an optical density of at least 7+ at a wavelength of 1060-1150
nanometers for the operation of the Marker.
Appoint a Laser Safety Officer. The Laser Safety Officer (LSO) must provide
personnel with sufficient training so that personnel can operate, maintain and
service the Laser Marker safely. The LSO must take charge of the key to the Key
Switch to ensure that only qualified and authorized personnel operate the Laser
Marker.
Establish and control a dedicated Laser Operation Area. The Laser Safety Officer
must isolate the Laser Operation Area from other work areas and display signs
warning that the Laser Operation Area is off-limits to unauthorized personnel.
Maintenance/Service
Before performing any maintenance on the Marker, read Chapter 4, Maintenance
thoroughly. Use the appropriate tools for terminating the connecting cables, being
careful not to nick the wire conductors.
Procedures other than those described in this manual or not performed as
prescribed in this manual, may expose personnel to electrical and/or laser radiation
hazards.
Do not modify the Marker without prior written approval from the Miyachi Unitek
Corporation.
LMF2000 LASER MARKER
viii
990-298
Before using this equipment, read the Safety Precautions carefully to understand the correct usage of the
equipment.
x
x
x
These precautions are given for the safe use
of the Marker and for prevention of injury to
operators or others.
Be sure to read each of the instructions, as
they are all important for safe operation.
The meaning of the words and symbols are
as follows:
DANGER
Do not touch inside the Marker when it is turned ON.
Doing so may result in electric shock.
Never attempt to disassemble, repair, or modify the Marker.
Doing so may result in electric shock or fire.
Refrain from any mechanical adjustment other than the maintenance procedures specifically
described in the operation manual.
Never expose eyes or skin to laser irradiation.
Exposure to direct or scattered laser light is extremely hazardous.
Direct exposure of the eye to laser beams may result in blindness.
LMF2000 FIBER LASER MARKER
990-298
ix
WARNING
Wear protective eyewear.
Always wear protective eyewear when using the Marker.
Keep in mind that exposure of the eyes to direct laser irradiation may result in blindness,
even when wearing protective eyewear.
Never aim the laser at any part of your own body or other people.
Exposure to laser beams will cause severe burns.
Never aim the laser at yourself or at anyone else.
Do not touch workpieces during or just after marking.
Workpieces may still be very hot.
Use only the specified cables. Make sure they are firmly connected.
Using cables of inadequate current capacity or connecting cables loosely may result in
fire or electric shock.
Avoid damaging power or connecting cables.
Do not step on, twist, or pull cables.
Damaged cables may result in electric shock, short circuits, or fires.
To repair or replace cables, contact your Miyachi dealer or the Miyachi Unitek
Corporation.
Stop using the Marker if any problems arise.
Continuing to use the Marker in the presence of abnormalities (fumes, unusual sounds,
excessive heat, smoke, and so forth) may result in electric shock or fire.
In this case, immediately turn the Marker OFF and contact your Miyachi dealer or the
Miyachi Unitek Corporation.
Ground the Marker.
Failure to ground the Marker may result in electric shock if the Marker is damaged or if
electrical leaks occur.
People using pacemakers must NOT approach the Marker.
Unless a physician has consented, pacemaker users must not approach the Marker in
use, or even approach the working area.
The Laser Marker generates electromagnetic fields that may affect pacemaker function.
LMF2000 LASER MARKER
x
990-298
CAUTION
Avoid spilling or splashing water on the Marker.
The presence of water on electrical parts may result in electric shock or short circuits.
Liquid spills may degrade the unit's insulation, resulting in electric leaks or fire.
Use the appropriate tools to terminate the power cable (wire strippers, crimp
tools, etc.).
Failure to use the appropriate tools may result in damage to the wire core, resulting in fire or
electric shock.
Install the Marker on a solid, level surface.
Should the Marker tip over or fall, injury or damage to the unit may result.
Keep combustible materials away from the Marker.
Sparks or spattering material may ignite combustible matter.
To avoid the risk of fire, never apply the laser beam to flammable or combustible materials.
During use, do not cover the Marker with a blanket, cloth, or similar articles.
When using the Marker, do not cover with a blanket, cloth, or similar articles.
The Laser Marker may become extremely hot, resulting in fire.
Do not use the Marker for any purpose other than laser marking.
Using the unit for nonspecified applications may result in electric shock or fire.
Wear protective gear.
Use protective gloves, long-sleeve garments, leather aprons, or other appropriate protective
gear. Sparks or spattering material may burn the skin on contact.
Keep a fire extinguisher nearby.
Keep a fire extinguisher in the marking area in case of fire.
Maintain and inspect the unit at periodic intervals.
Maintain and inspect the unit at periodic intervals. Repair any damage before resuming use.
LMF2000 FIBER LASER MARKER
990-298
xi
Guidelines for Normal Use
1.
Appoint a Laser Safety supervisor. Ensure that the supervisor has as much expertise and experience
with lasers and laser equipment as possible.
The supervisor, who will be in charge of the laser key switch, is responsible for familiarizing users
with safety issues and for coordinating laser marking.
2.
Partition off all areas that may be exposed to laser light.
The supervisor is responsible for posting signs to keep unauthorized personnel out of the marking
area.
3.
Install the Marker on a solid, level surface.
x To prevent errant marking, place workpieces on the same stand as the oscillator so that the
workpieces do not vibrate during marking.
4.
To ensure optimal marking quality, use the Marker in a location where ambient temperatures are
41ºF to 95ºF (5°C to 35°C), free of sudden temperature fluctuations and a relative humidity less
than 90% (non-condensing). Do not use the marker in any of the following locations:
x Locations with excessive dirt or oil mist
x Locations in which the unit may be subject to vibration or impact
x Locations in which the unit may be exposed to chemicals
x Locations near sources of high-frequency noise, or
x Locations in which condensation may form on the unit's surface.
5.
If the room temperature changes quickly (as when a heater is turned ON in cold weather), moisture
may condense on the optical components, resulting in fogging or collection of dust.
Avoid sudden changes in temperature. Under the conditions in which condensation may occur, wait
for a period of time after turning the unit ON before beginning operations.
6.
If the exterior of the unit becomes soiled, wipe it with a soft dry or lightly moistened cloth.
Clean heavily soiled areas with a cloth moistened with diluted neutral detergent or alcohol. Do not
use paint thinner, acetone, benzene, or similar chemicals, which may discolor or damage the unit.
7.
Never place screws or other foreign objects inside the marker. Such objects can damage the unit.
8.
Operate the switches and buttons gently by hand.
Applying excessive force or using the tip of a screwdriver, pen, or other instrument may damage the
Marker.
9.
Operate only one switch or button at a time.
Attempting to operate several at a time may damage the Marker.
LMF2000 LASER MARKER
xii
990-298
WARNING
Always wear protective goggles when maintaining the Marker.
Goggles must have an optical density of at least 7+, at a wavelength
of 1060-1150 nanometers for the operation of the Marker.
10. For more consistent marking, allow the unit to thermally stabilize for approximately 10 to 30
minutes before use. (The appropriate warm-up time will depend on the ambient temperature and
work piece material.)
Refer to the following standards for more information on managing laser equipment:
IEC60825-1 Edition1.2 “Safety of laser products Part1: Equipment
Classifications, requirements and user's guide.”
Miyachi Unitek Laser Safety Manual (Part Number 990-502)
Warning Labels
The Laser Marker carries the following labels. Read and follow the label instructions to ensure correct
use.
LMF2000 FIBER LASER MARKER
990-298
xiii
CHAPTER 1
SYSTEM DESCRIPTION
Section I: Features
The LMF2000 is a high-precision scanning fiber laser marker, either pulsed or Q-switched depending on
the configuration as delivered. For the rest of this manual, the LMF2000 Fiber Laser Marker will
simply be referred to as the Marker. This Marker can operate with several different marker software
packages including; WinLase (standard configuration software), ProLase and SCAPS/Nutfield. For the
rest of the manual this software will simply be referred to as the software. Please refer to the
appropriate software manual for details.
Laser Marking
Permanent marking
In contrast to ink-based printing, laser
marking is permanent, since the laser
beam changes the material itself.
Environmentally friendly
No ink is needed, so no solvent is used.
Use of recycling marked materials is
easier because they contain no ink.
Non-contact marking
Permits marking of curved and concave surfaces.
Features
Compact and lightweight
Ideal for production lines where space is limited.
Energy efficient
Low power consumption, thanks to a highly efficient laser diode.
Fully air-cooled
Easy maintenance. No coolant or coolant filters needed.
Compatible with PCs running with the Windows XP ™ operating system.
The WinLase application runs in Windows XP and allows the marking data to be laid out easily on a
large drawing screen. The software is user friendly and fully featured enabling the most
complicated of mark operations to be easily programmed. When using WinLase, one PC can
simultaneously run multiple markers.
LMF2000 LASER MARKER
990-298
1-1
CHAPTER 1: SYSTEM DESCRIPTION
High-speed marking
Capable of marking at extremely high speeds ( 5000mm/s) for the fastest possible marking time.
The maximum speed for each process is dependant on the selected optical configuration and the
material being marked.
Built-in guide beam
A visible 635nm red guide beam for positioning makes it easy to align marking positions.
Full-featured drawing functions allow more efficient production of marking data.
Functions include: move, rotate, copy, enlarge, reduce, compress, mirror text, reverse marking,
undo, redo, grid, ruler.
Stand Alone Capabilities
Depending on the hardware configuration of the Marker, it can be run independently of a PC.
When configured with the WinLase marking software, the marker can store marking jobs on the
built-in 32MB memory (expandable) and then the jobs can be run via the External I/O, RS-232,
TCP/IP, or an external pendant. Coming soon is the capability to program the marker using
WinLase’s built-in Windows-Embedded operating system.
LMF2000 LASER MARKER
1-2
990-298
CHAPTER 1: SYSTEM DESCRIPTION
Section II: Part Names and Functions
Control Unit (Front)
The control unit incorporates the controller, electronic cooling unit, interface hardware, and power
supply unit. You can monitor the operating status from a computer using the TCP/IP protocol.
1.
READY Light
Indicates that the Marker is ready to mark.
NOTES:
2.
The READY indicator is illuminated when no faults are detected and the laser power supply is
ready to mark.
The Marker may be powered OFF at any time.
If the READY indicator does not illuminate within 90 seconds after power is applied a fault has
occurred and the FAULT indicator will illuminate.
SHUTTER Light
Indicates that the Safety Shutter in the laser head is open.
3.
EMISSION Light
Indicates that marking is underway. This indicator will be briefly illuminated during initial power
up as a self check mechanism, but emission does not occur.
4.
FAULT Light
Indicates that an error has occurred. The specific fault is indicated by a coded series of flashes.
Please note the sequence and refer to this manual for resolution.
5.
POWER Switch
This switch allows the Operator to turn the Marker ON and OFF. The INPUT POWER switch on the
rear panel must be turned ON in order for this switch to become active.
LMF2000 LASER MARKER
990-298
1-3
CHAPTER 1: SYSTEM DESCRIPTION
6.
SYSTEM ENABLE Key Switch
Enables marking. This key switch must be in the ON position to open the safety shutter and enable
marking. If the key switch is in the OFF position the marker is incapable of laser emission. The
marker can still be operated using the guide beam with the key switch in the off position.
7.
Emergency Stop Button
Press to stop all marking processes immediately during an emergency. This will immediately
suspend marking, close the shutter, provide a fault signal to the operator, cease motion, and shut
down the laser diode power supply. Once pressed, the button will remain depressed. To reset this
button, turn the knob in the direction indicated by the arrows. To reset the laser, either cycle the
key switch or send an I/O signal to “Fault Reset” as described in Appendix B, Electrical and Data
Connections.
CAUTION
Use this button to stop the device only in emergency situations. Use the key switch and
main power switch for normal use.
8.
Cooling Fan Air Filter
Clean the air filter at regular intervals. See Chapter 4, Maintenance for more details.
Control Unit (Rear)
LMF2000 LASER MARKER
1-4
990-298
CHAPTER 1: SYSTEM DESCRIPTION
1.
MOTOR CONTROL Interface Connector
This connector allows a user utilizing WinLase and the OMS PCIx Motion Controller to interface
with the marker. A 68 pin SCSI-III cable connects the marker to the PC for up to 4 axis stepper
motor control. The specific number of axes available will depend on the PCIx selected and the
number of stepper drives installed into the Marker.
2.
MOTOR LIMITS Connector
This connector will be configured one of two ways; with a Motor Limit connection or with an RS232 (API) connection.
Motor Limit Connector - interface for up to 4 stepper motors and limit configurations.
RS-232 (API) Connector – used for communicating message based API commands.
3.
FIBER
Optical fiber that connects the Laser output to the Oscillator. NEVER allow the fiber bend radius to
decrease to less than 6”. NEVER kink or crush the fiber. Fiber damage will require refurbishment
of the laser power supply. The fiber is shipped installed and aligned. The fiber output assembly
can not be removed and replaced without internal laser head alignment.
4.
INPUT POWER Connector
Used for connecting the input power cable. Cables are available in many common configurations
and lengths.
5.
INPUT POWER Switch
Turns unit power ON/OFF. Immediately below this switch is a small drawer containing two fuses.
Please inspect these fuses if there are problems powering up the marker. Select Fast-Blow fuses
based on the local power supply. For US market machines please use (5mm × 20mm) fuses rated
for 8A at 125VAC.
6.
TCP/IP - LAN/USB Interface Connector
Use this port to connect the marker to a Category 5e cable if using the WinLase software package or
a USB type A cable if using Prolase or SCAPS/Nutfield.
Select your Category 5e cable depending on the network configuration you plan to use. If the
marker is to be directly connected to a PC use a Cat 5e crossover type cable. If the marker is to be
connected to a Local Area Network via a hub or switch, use a standard Cat 5e patch cable.
7.
RS-232C Connector
Although the unit is compatible with the full 9-signal RS232C wiring protocol, it is also capable of
communicating via a simplified 3-wire RS232 implementation using pins 2, 3, and 5 for Received
Data, Transmitted Data, and Ground respectively when Hardware Flow Control is disabled.
8.
REMOTE I/L (Interlock) Connector
This dry contact connection is used to control the laser’s remote interlock. If the remote interlock is
activated the safety shutter is immediately closed and an error message is sent to the software if a
marking operation is in progress.
LMF2000 LASER MARKER
990-298
1-5
CHAPTER 1: SYSTEM DESCRIPTION
9.
LASER HEAD Connector
This 15-pin D-Sub cable contains communication signals between the marker and laser head
including head interlocks, shutter power and sensor signals, etc. If this cable is disconnected the
marker will be in the Emergency Stop state.
10. SCANNER Connector
This 25-pin D-Sub cable contains power and digital communication signals for the laser scan head.
Please do not operate the marker without this connected as it may damage the scanhead or cause
unaimed laser emission. Do not plug or unplug this connector when power is ON.
11. E-STOP (Emergency Stop) Connector
This connector allows the user to integrate an external Emergency Stop button to the marker. The
signal should be a dry-contact type and must be closed to operate the marker. Please refer to
Appendix B, Electrical and Data Connections for details.
12. USER I/O OUT Connector
This connector contains programmable outputs controlled by the software suite. Depending on the
software used, some of these signals will be unavailable.
13. USER I/O IN Connector
This connector contains programmable inputs to the Marker. The behavior exhibited when these
signals are sent is programmed by the operator using the software suite. Depending on the software
used, some of these signals will be unavailable.
14. SYSTEM I/O OUT Connector
This connector allows the user to interface with status outputs using external control. Signals that
can be monitored include Fault conditions, Emission, System Ready, Mark in Progress, etc. See
Appendix B, Electrical and Data Connections for details.
15. SYSTEM I/O IN Connector
This connector allows for control of marker functions using external control. Features that can be
controlled include Mark Start, the Safety Shutter, Laser Enable, Fault Reset, etc. Please see
Appendix B, Electrical and Data Connections for details.
LMF2000 LASER MARKER
1-6
990-298
CHAPTER 1: SYSTEM DESCRIPTION
Oscillator (Rear)
1.
Laser Scanner Connector
This 25-pin D-Sub cable contains power and digital communication signals for the laser scan head.
Please do not operate the marker without this connected as it may damage the scanhead and do not
plug or unplug this connector when power is ON.
2.
Laser Head Control Connector
This 15-pin D-Sub cable contains the communication signals between the marker and laser head
including head interlocks, shutter control and sensor signals, etc. If this cable is disconnected the
marker will be in the Emergency Stop state.
3.
Fiber
Optical fiber that connects the Laser output to the Oscillator. NEVER allow the fiber bend radius to
decrease to less than 6”. NEVER kink or crush the fiber. Fiber damage will require refurbishment
of the laser power supply. The fiber is shipped installed and aligned. The fiber output assembly
can not be removed and replaced without internal laser head alignment.
LMF2000 LASER MARKER
990-298
1-7
CHAPTER 1: SYSTEM DESCRIPTION
Section III: System Configuration
Connection Diagram
Options
The following items are available as options:
Component
Description
Protective glass
The Marker is shipped with a protective glass affixed to the f-theta
lens. If this glass becomes soiled or cracked a replacement may be
purchased.
OMS PCIx Motion Controller
Allows stepper motor control depending on number of installed
amplifiers. MUC Part Number 270-402.
Air Filter (Control Unit)
An air filter is installed in the Control Unit at the time of purchase.
Additional filters are available. MUC Part Number 4-65491-01
Lithium system battery
CR2032 (Backup battery for internal memory) – MUC Part Number
145-017
Cat 5e Crossover Cable
For communications with a computer. MUC Part Number 205-318
LMF2000 LASER MARKER
1-8
990-298
CHAPTER 1: SYSTEM DESCRIPTION
9.
LASER HEAD Connector
This 15-pin D-Sub cable contains communication signals between the marker and laser head
including head interlocks, shutter power and sensor signals, etc. If this cable is disconnected the
marker will be in the Emergency Stop state.
10. SCANNER Connector
This 25-pin D-Sub cable contains power and digital communication signals for the laser scan head.
Please do not operate the marker without this connected as it may damage the scanhead or cause
unaimed laser emission. Do not plug or unplug this connector when power is ON.
11. E-STOP (Emergency Stop) Connector
This connector allows the user to integrate an external Emergency Stop button to the marker. The
signal should be a dry-contact type and must be closed to operate the marker. Please refer to
Appendix B, Electrical and Data Connections for details.
12. USER I/O OUT Connector
This connector contains programmable outputs controlled by the software suite. Depending on the
software used, some of these signals will be unavailable.
13. USER I/O IN Connector
This connector contains programmable inputs to the Marker. The behavior exhibited when these
signals are sent is programmed by the operator using the software suite. Depending on the software
used, some of these signals will be unavailable.
14. SYSTEM I/O OUT Connector
This connector allows the user to interface with status outputs using external control. Signals that
can be monitored include Fault conditions, Emission, System Ready, Mark in Progress, etc. See
Appendix B, Electrical and Data Connections for details.
15. SYSTEM I/O IN Connector
This connector allows for control of marker functions using external control. Features that can be
controlled include Mark Start, the Safety Shutter, Laser Enable, Fault Reset, etc. Please see
Appendix B, Electrical and Data Connections for details.
LMF2000 LASER MARKER
1-6
990-298
CHAPTER 1: SYSTEM DESCRIPTION
Oscillator (Rear)
1.
Laser Scanner Connector
This 25-pin D-Sub cable contains power and digital communication signals for the laser scan head.
Please do not operate the marker without this connected as it may damage the scanhead and do not
plug or unplug this connector when power is ON.
2.
Laser Head Control Connector
This 15-pin D-Sub cable contains the communication signals between the marker and laser head
including head interlocks, shutter control and sensor signals, etc. If this cable is disconnected the
marker will be in the Emergency Stop state.
3.
Fiber
Optical fiber that connects the Laser output to the Oscillator. NEVER allow the fiber bend radius to
decrease to less than 6”. NEVER kink or crush the fiber. Fiber damage will require refurbishment
of the laser power supply. The fiber is shipped installed and aligned. The fiber output assembly
can not be removed and replaced without internal laser head alignment.
LMF2000 LASER MARKER
990-298
1-7
CHAPTER 1: SYSTEM DESCRIPTION
Section III: System Configuration
Connection Diagram
Options
The following items are available as options:
Component
Description
Protective glass
The Marker is shipped with a protective glass affixed to the f-theta
lens. If this glass becomes soiled or cracked a replacement may be
purchased.
OMS PCIx Motion Controller
Allows stepper motor control depending on number of installed
amplifiers. MUC Part Number 270-402.
Air Filter (Control Unit)
An air filter is installed in the Control Unit at the time of purchase.
Additional filters are available. MUC Part Number 4-65491-01
Lithium system battery
CR2032 (Backup battery for internal memory) – MUC Part Number
145-017
Cat 5e Crossover Cable
For communications with a computer. MUC Part Number 205-318
LMF2000 LASER MARKER
1-8
990-298
CHAPTER 2
INSTALLATION AND SETUP
Section I: Planning
When planning for the installation of the Marker, assure that the following conditions are met:
x
The Marker should be placed in a dedicated laser operation area. The person responsible for the
area (the Laser Safety Officer) must isolate the laser operation area from other work areas and
display signs warning that the laser operation area is off limits to unauthorized personnel.
x
See Appendix A: Technical Specifications for specific weight and dimensional requirements.
x
Use proper tools (wire strippers, pressure wire connectors, etc.) for termination of the
connecting cables.
x
The Marker should be placed on a firm, level surface that is free from vibration. Install the
Oscillator and workpiece on the same stand to prevent marking distortion due to vibration.
x
Mount the oscillator on a platform of sheet metal at least 0.394” (10 mm) thick.
x
Do not operate the unit where there is considerable dirt, dust, oil mist, chemicals, fumes,
moisture, or near a high-frequency noise source.
x
The ambient temperature should be between 41°F to 95°F (5°C to 35°C) free of sudden
temperature fluctuations and a relative humidity less than 90% (non-condensing). The area
should have no rapid temperature fluctuations, which may cause dew condensation on the
optical surfaces.
x
If the outside of the Marker is stained, wipe it with a dry or slightly moistened cloth. If it is
badly stained, use a neutral detergent or alcohol to clean it. Do not use paint thinner, acetone,
benzene, etc. which can discolor or deform the parts.
x
To accommodate the standard cable lengths, the Control Unit, and Laser Head must be located
within 2m (6.5 ft) of each other. The computer can be located anywhere as long as both the
marker and PC have network accessibility.
x
When installing two opposing oscillators, install them so that neither unit is aimed at the other.
x
Install the Oscillator in any orientation desired.
x
Make sure that the bend radius of the optical fiber on the back of the Laser Head is greater than
6” (15 cm).
LMF2000 LASER MARKER
990-298
2-1
CHAPTER 2: INSTALLATION AND SETUP
Allow adequate clearance on all sides of the Marker to allow for cooling, maintenance and servicing.
Both the Control Unit and the Laser Head should have a minimum of 6 inches (15 cm) behind the units
for proper ventilation and cable clearance. The Marker Control Unit is designed for standard 19” rack
mounting. Ensure that the front and back of a rack mounted unit are clear for proper ventilation.
Observe the other minimum distances shown below:
When locating, ensure that the
front air filter and side and rear
exhausts are clear for proper
ventilation. A minimum of 6”
clearance behind the control unit
is required for proper fiber
routing.
If mounted in a 19” rack ensure
that the front and back are clear
and the side vent is not
completely blocked.
The laser oscillator is a sealed
unit that requires no airflow
clearance considerations other
than exposure to ambient air.
Ensure that there exists at least 6”
of clearance behind the marker
head for cable and optical fiber
clearance.
LMF2000 LASER MARKER
2-2
990-298
CHAPTER 2: INSTALLATION AND SETUP
Section II: Installation
Connect the Signal Cables
Connect the interconnect cables between the Marker Control Unit, Marker Oscillator, and Computer.
Connect all cables as shown below. Secure all cables by fastening the connector backshells.
LMF2000 LASER MARKER
990-298
2-3
CHAPTER 2: INSTALLATION AND SETUP
Verify the I/O Configuration is Correct
System I/O Inputs
If you plan to use customized External I/O, make sure that it is configured in accordance with Appendix
B, Electrical and Data connections. If you will not be operating the Marker through the External I/O,
verify that the factory-installed System I/O In jumper is configured as follows:
Jumper #1
Pin 2 connected to Pin 8
Jumper #2
Pin 4 connected to Pin 8
Jumper #3
Pin 9 connected to Pin 10
Emergency Stop
If an external Emergency Stop is to be used, make sure that it is wired in accordance with Appendix B,
Electrical and Data connections. If you will not be connecting the external Emergency Stop function,
verify that the factory-installed jumper is configured as follows:
Jumper
Pin 1 connected to Pin 2
Remote Interlock
If the Remote Interlock is to be used, make sure it is wired in accordance with Appendix B, Electrical
and Data connections. If you will not be connecting the Remote Interlock function, verify that the
factory-installed jumper is configured as follows:
Jumper
Pin 1 connected to Pin 2
LMF2000 LASER MARKER
2-4
990-298
CHAPTER 2: INSTALLATION AND SETUP
Set the Working Distance
In order to properly mark material, the working
distance must be set in order to focus the laser
beam onto the surface of the marking material.
An incorrectly set working distance, will not
produce an acceptable mark.
Set the distance as shown on the right. If the
marking quality is unacceptable, then slightly
adjust the marking material towards and away
from the lens until the marking quality is
acceptable.
Working Distance
f-theta lens
Working Distance
f = 100mm
3.86 ± 0.04 in.
(98 ± 1mm)
f = 160mm
6.93 ± 0.08 in.
(176 ± 2mm)
f = 163mm
7.28 ± 0.08 in.
(185 ± 2mm)
f = 254mm
11.65 ± 0.12 in.
(296 ± 3 mm)
f = 420mm
19.45 ± 0.20 in
(494 ± 5 mm)
LMF2000 LASER MARKER
990-298
2-5
CHAPTER 2: INSTALLATION AND SETUP
Section III: Software Installation and Set-up
When Using a Factory-Supplied Computer
WinLase Marker Software is factory-installed making the Marker ready-to-use. No further installation is
required. Please ensure the USB hardware key (dongle) is present for operation. Go to Chapter 3 for
operating instructions.
When Supplying your own Computer
1.
Insert the WinLase CD ROM into your computer and follow the installation procedures.
NOTE: When installation is complete you
will see the “restart” prompt as shown on
the right. Select No, because other changes
need to be made before restarting your
computer.
LMF2000 LASER MARKER
2-6
990-298
CHAPTER 2: INSTALLATION AND SETUP
2.
Please verify correct
network settings. The
Marker and Control PC
must be on the same
subnet for DHCP
configuration or the
static IP addresses must
be assigned and visible.
3.
View the properties of
the Local Area
Connection.
4.
Select the Internet Protocol (TCP/IP)
connection and select Properties.
LMF2000 LASER MARKER
990-298
2-7
CHAPTER 2: INSTALLATION AND SETUP
5.
If the Marker is connected directly to
the PC via a crossover Cat 5e cable, set
the PC to obtain the IP and DNS
information automatically as shown,
followed by OK. Otherwise, enter the
static IP address (if known).
6.
Click Yes to restart your PC.
7.
Restart WinLase and turn the Marker
ON.
NOTE: Allow 30 - 60 seconds for the
Marker to finish booting and be ready
for network operations.
LMF2000 LASER MARKER
2-8
990-298
CHAPTER 2: INSTALLATION AND SETUP
8.
Once WinLase has
restarted, select Manage
Laser System Connections
from the Tools pull-down
tab
NOTE: If the Marker has booted and the
network settings are correct, it will appear under
Laser System in the left hand box of the
Connections Manager. If the Marker has not
completed the boot process you will see Waiting
for system connection in the window.
9.
Select the appropriate Marker and click
Add >>>. If there are multiple devices,
choose one and set it as the default
device. Click Save to save these
settings.
LMF2000 LASER MARKER
990-298
2-9
CHAPTER 2: INSTALLATION AND SETUP
10. Once the device has been added to the
Automatic Connections list, a window
will pop up indicating the connection
status. Please wait until the status
changes to Connected and the window
has closed.
The connected device will be present in
the Laser System Viewer window in the
upper left corner of WinLase. A blue
icon indicates a TCP/IP connection is
present.
LMF2000 LASER MARKER
2-10
990-298
CHAPTER 2: INSTALLATION AND SETUP
11. Select the pull-down View menu, and
select a measurement standard.
You are now ready to create a new
marking job and operate the marker.
Please refer to the QuickStart Guide for
WinLase (Part Number 990-550) or the
Marker Help file for more information.
LMF2000 LASER MARKER
990-298
2-11
CHAPTER 2: INSTALLATION AND SETUP
Section IV: External Start
1.
Right click on the job and click Settings… F11.
2.
Select the External Start tab.
3.
Click on Wait for an external
start signal.
NOTE: You may change the
user Message if you wish.
Highlight the existing message,
then type in the new message.
LMF2000 LASER MARKER
2-12
990-298
CHAPTER 2: INSTALLATION AND SETUP
4.
Make sure that the Trigger Mode
is set to occur on a transition,
0 £ 5V or 5V £ 0 depending on if
you want to trigger on the rising
or falling edge of the signal.
To change the Trigger mode,
click on the arrow, select
another mode.
5.
You may change the Timeout if
you wish. Highlight the existing
time, then type in the new
number of minutes.
6.
After you click OK, in the Job Settings screen, click on the Run Process icon shown below.
LMF2000 LASER MARKER
990-298
2-13
CHAPTER 2: INSTALLATION AND SETUP
7.
When you see the screen below, click on Go.
8.
As soon as you see the Waiting for Start Mark message (or your own custom message if you
changed it) you may begin marking using your normal external I/O Start Mark signal (foot
pedal, START switch, PLC trigger, etc.).
LMF2000 LASER MARKER
2-14
990-298
CHAPTER 2: INSTALLATION AND SETUP
Section V: F-Theta Lens Configuration
After installing the new f-theta lens, select the
System pull-down menu, select Preferences, and
select the Hardware tab. Select the lens and click
Change to select the new f-theta lens.
If you wish to adjust the scaling, rotation, or
offset you can click Calibrate and follow the
instructions provided.
LMF2000 LASER MARKER
990-298
2-15
CHAPTER 2: INSTALLATION AND SETUP
Section VI. Rack-Mount Installation (Optional)
WARNING
The Marker Control Unit weighs 52 pounds (23.5 kg). The Rack-Mount brackets
alone are not strong enough to support the weight of the Control Unit, you must
also use support rails (not supplied) in your rack.
If you fail to use support rails the Control chassis will be damaged and the Control
may shift position which can cause injuries and damage to equipment.
Install Rack-Mount Brackets
Use the screws and washers supplied with the
brackets to install the rack-mount brackets as
shown in the following pictures.
NOTE: Make sure that all screws are
securely tightened.
LMF2000 LASER MARKER
2-16
990-298
CHAPTER 3
OPERATING INSTRUCTIONS
Section I: Before You Start
Safety Precautions
DANGER
Always wear protective goggles when operating the Marker. Goggles must have an
optical density of at least 7+ at a wavelength of 1060-1150nm for the marker. The
central emission band is 1064 ± 5nm. Never look directly into the laser beam.
WARNING
Never operate the Marker in any manner other than described in this manual. Doing
so may expose personnel to laser radiation or electrical hazards.
Before attempting to operate the Marker, have all personnel who will be working with
the Marker read this manual and the Laser Safety User’s Manual (Part Number 990502) thoroughly.
Notes
x
Verify that the electrical supply meets the electrical requirements, as shown in Appendix
A: Technical Specifications. The electrical supply must meet all applicable local, state,
and federal safety standards.
x
Before operating the Marker, be sure the protective lens cover is removed from the
output lens.
x
Operate the switches and buttons carefully by hand. If they are operated roughly or
with the tip of a screwdriver, a pen, etc. they may break or malfunction.
LMF2000 LASER MARKER
990-298
3-1
CHAPTER 3: OPERATING INSTRUCTIONS
Section II: Operation
Operate the Marker following the procedures written in the 990-550 Quickstart Guide for the WinLase
LAN Software manual. This Quickstart Guide only contains brief instructions in order to get you started
with basic marking right away. If you need more detailed information, please refer to the complete OEM
Reference Manual containing detailed instructions of all WinLase features. This Reference Manual is
available through Miyachi Unitek. To get a copy of the OEM Reference Manual, please refer to the
CONTACT US information located in the front section of this manual.
CAUTION
As you use the Marker, be sure to SAVE the created data periodically
onto a floppy disk or other backup medium. If there is trouble with the
Marker’s hard disk drive, all the data saved on it will be lost.
NOTE: If you are using software other than WinLase, contact the software manufacturer for their
appropriate operating manuals and other technical updates.
LMF2000 LASER MARKER
3-2
990-298
CHAPTER 4
MAINTENANCE
Section I: Safety Precautions
DANGER
Always wear protective goggles when maintaining the Marker. Goggles must have an
optical density of at least 7+ at a wavelength between 1060-1150 nm for the Marker.
The central emission band is 1064nm ± 5nm. Never look directly into the laser beam.
WARNING
x
Before starting any maintenance procedure, read all of the instructions,
including all caution and warning messages.
x
Before starting maintenance work, turn the power to the Marker OFF and
disconnect it from input AC power. Wait at least 5 minutes after turning OFF
power before starting work.
x
Keep the exterior of the Marker clean. If the outside of the Marker is stained,
wipe it with a dry or slightly moistened cloth. If badly stained, use a mild
detergent or alcohol to clean it. Do not use paint thinner, acetone, benzene, etc.
which can discolor or deform the parts.
LMF2000 LASER MARKER
990-298
4-1
CHAPTER 4: MAINTENANCE
Section II: Troubleshooting
If the Marker develops any fault conditions, the type of trouble is displayed on the Fault LED located on
the front of the unit. If the Fault Indicator is flashing please count the number of flashes and refer to the
chart below for assistance. Note that several faults can be active at once. If more than one fault is
active, please note all the different combinations of flashes.
The shutter will close immediately on any fault. To reset from a fault condition, clear the cause of the
fault and cycle the key switch.
Error
Number of Flashes
Cause/Corrective Measures
Emergency stop
3
Emergency stop circuit is open. Verify the E-Stop connector on
the rear panel is closed, the E-Stop switch on the front panel is
not active and the laser head cover is securely installed.
System Timeout
7
The system has reached the end of its timeout without the laser
or control hardware reaching a ready state. Please ensure that no
other faults exist and clear by cycling the key switch.
Shutter Fault
2
A shutter fault has occurred. Please cycle the key switch to try
and recover. If the fault continues please check the remote
interlock circuit. If the trouble continues, contact Miyachi
Unitek.
Laser Fault
4
A laser fault has occurred. Contact Miyachi Unitek if the
problem can not be cleared.
5
The laser temperature has exceeded the maximum allowable
temperature for laser emission. Turn the machine off and allow
the unit to cool down. If the laser temperature does not decrease
after a period of time, the air filter may be clogged or airflow
might otherwise be obstructed. Check that the ambient
temperature is 94qF (35qC) or below. If the trouble continues,
contact Miyachi Unitek.
Power Supply Fault
6
The internal power supplies are in a fault condition. This fault is
typically caused by another fault state. Clear any existing faults
and try again. If the power supply fault persists and no other
faults are active, turn off the machine at the circuit breaker on
the back of the unit. Wait 3 minutes and restart. If the problem
returns contact Miyachi Unitek.
Remote Interlock Fault
8
The remote interlock was open when the laser was firing or
instructed to fire. Close the remote interlock, remove the
partially marked part if applicable, clear the fault, and try again.
High Temperature
LMF2000 LASER MARKER
4-2
990-298
CHAPTER 4: MAINTENANCE
Section III: Clean and Replace the Protective Glass
Each f-theta lens is equipped with an optically-coated protective glass. When marking materials over a
period of time, many of the airborne particles produced during the marking process can dirty or fog the
protective glass. It is important to keep the protective glass clean. If the protective glass is dirty and
continually used, the contaminants may permanently damage the glass surface. When cleaning the
surface, use only lens cleaning paper. A scratched glass surface will cause undesirable marking results.
Required Items:
x Lens Cleaning Paper
x Acetone
x Air Blower
x Powder-free Vinyl Gloves or Finger Cots
1.
Turn the power OFF.
2.
Turn the protective glass holder CCW
(counter-clockwise) to remove it. Take
care not to drop it.
NOTE: Before you clean the
protective glass, put on a pair of
powder-free vinyl gloves or finger cots.
.
3.
Add a few drops of acetone onto the
lens and use the lens cleaning paper to
wipe the protective glass. When
cleaning, draw a spiral pattern from
the center of the glass as shown.
NOTE: If you can not get the
protective glass clean after several
attempts, replace the protective glass
with a new unit.
4.
Install the protective glass back onto
the Marker by turning it in the CW
(clockwise) direction.
LMF2000 LASER MARKER
990-298
4-3
CHAPTER 4: MAINTENANCE
Section IV: Replace the Air Filter
DANGER
BEFORE YOU START, turn the Marker OFF to prevent electrocution.
The air filters on the Marker need to be cleaned regularly to reduce the risk of overheating caused by
restricted airflow into the device. Please change the filters every 1-6 months depending on the operating
environment.
1.
Remove the COVER SCREWS that hold
the top cover in place.
2.
Lift the top cover off.
3.
Locate the AIR FILTERS behind the air
filter vent on the front panel.
LMF2000 LASER MARKER
4-4
990-298
CHAPTER 4: MAINTENANCE
4.
Remove the old AIR FILTER(S) and wipe
the front panel grille with a damp cloth.
Clean or replace the air filters
depending on the severity of
contamination. If the filter is just dusty
you can clean the filter using water and
allow it to dry completely before
reinstalling.
NOTE: Replace a frequently cleaned
filter once a year.
5.
Insert new or cleaned filters into the air
filter cavity. Use two ½” thick filters or
a single 1” thick filter to ensure proper
filtration.
In environments with substantial oil
mist or other contaminants use a special
filter available from Miyachi Unitek.
6.
Put the cover back on the unit and
reinstall the COVER SCREWS.
LMF2000 LASER MARKER
990-298
4-5
CHAPTER 4: MAINTENANCE
Section V: Firmware Update
WARNING
When updating the Controller Card firmware, all files stored locally
on the Controller Card will be lost. Backup all job files that have
been stored in the Controller Card’s flash memory.
From time to time, Lanmark Controls, Inc. will release an updated version of the firmware that is
resident on the Controller Card. This update may be in the form of a single file, or a web link. The
procedure written below describes how to update the firmware in the Controller Card.
NOTE: After updating the firmware, the Controller Card board must automatically (or manually) be
restarted for changes to take effect.
To install an update from a provided update file:
1.
From the Main menu of WinLase, click Help > Laser System device software update. A back-up
warning message will appear.
2.
Click Yes, and the Browse for Laser System software updates dialog box appears.
3.
Navigate to the Update file, select it and choose Open. The Laser System Software Updater will
LMF2000 LASER MARKER
4-6
990-298
CHAPTER 4: MAINTENANCE
appear.
The settings listed in the Laser System Software Updater consist of the following:
x
x
x
x
x
x
4.
Refresh — Click this button to rescan the network for installed Controller Card.
Laser System name — The name of a Controller Card board that has been detected on the
network. The icon representing the Controller Card will also indicate its status.
Current — The version of the firmware currently on the Controller Card.
Status — Indicates whether the update file you have selected is newer, older, or the same
version as the version currently on the Controller Card.
Automatically restart Laser System(s) after update — On current firmware versions after
1.4.2, the Controller Card will automatically restart when the firmware update is complete.
In order for changes to take affect, the LEC- 1 must be restarted after an update session.
On LEC- 1 cards with current firmware previous to 1.4.2, this checkbox has no effect and
the LEC- 1 must be restarted manually.
Update — Used to update the firmware in the Controller Card.
Select the Controller Card board(s) that need updating, then select the Update button.
LMF2000 LASER MARKER
990-298
4-7
CHAPTER 4: MAINTENANCE
Section VI: Repair Service
If you have problems with your Laser Marker that you cannot resolve, please contact the Miyachi
Unitek Corporation; see CONTACT US in the front of this guide to get in touch with us by e-mail,
telephone, or regular mail.
LMF2000 LASER MARKER
4-8
990-298
CHAPTER 5
REMOTE INTERFACE
Section I: Using the Embedded Controller
Using the Embedded Controller Card
Because of the flexibility of the Controller Card’s architecture, there are a number of different system
integration possibilities available. All possible solutions rely on a combination of the following
interfaces to control the Controller Card in a marking application:
x
x
x
WinLase LAN™ GUI (Graphical User Interface)
NOTE: For the rest of this chapter WinLase LAN™ and WinLase Professional™ will simply
be referred to as WinLase.
Remote Command API (Application Programming Interface), for interaction with a PC or PLC
through TCP/IP (Client/Server) and RS-232.
Pendant Controller, for local interaction (option).
LMF2000 LASER MARKER
990-298
5-1
CHAPTER 5: REMOTE INTERFACE
Section II: Using the WinLase LAN GUI
The WinLase™ LAN Software includes the following:
x WinLase™ GUI (Graphical User Interface).
x Lanmark Controls Inc. COM server object interface.
x Full documentation on the features of the included software tools.
GUI (Graphical User Interface) Features
WinLase elements include:
x
x
x
x
x
x
Line-art graphics: CAD, line-drawings, logos.
Shaded graphics: photos, halftones & grayscale artwork.
TrueType™ fonts, filled or outline-only.
Single point or drill object arrays.
AutoDate™, TextMerge™, Serialization, and Barcode.
Automation: I/O control, 4-axis motor control, time delays, and custom operator messages.
WinLase facilitates the creation, editing, control, execution, and automation of all laser-marking tasks.
The WinLase™ Software Suite includes the following features:
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Password-protected security lockout -- operators can be limited to only selected and running
Jobs.
Multiple open Jobs -- quickly switch between marking tasks with the click of a mouse.
Background template -- place an image of the parts tooling in the background to aid in mark
placement.
Runtime Fill™ change fill levels “on the fly” to develop the optimum in image quality for each
object type and material.
Full support for lasers with visible pointers for real time positioning of the mark.
HPGL (*.plt), WMF (*.wmf) EMF (*.emf), DXF (*.dxf), EPS (*.eps), JPEG (*.jpg), GIF
(*.gif), PCX (*.pcx), and Windows Bitmap (*.bmp) graphic filters.
Internal capability to generate linear and radial text, barcodes, AutoDate™, serialization, and
hole-drilling.
Complete TrueType™ font support -- engrave any TrueType™ font installed on the system.
Scale, move, rotate, group, or reverse any object on the screen.
Precise numerical control of laser-operation parameters.
Automation scripts easily built via mouse clicks.
Programmable alerts, warning, and run-time operator input of job numbers, batch numbers, etc.
Built-in 4-axis motor control -- use rotary tables, linear motion, and/or X-Y tables.
Text marking on cylindrical parts using an optional rotary indexer.
LMF2000 LASER MARKER
5-2
990-298
CHAPTER 5: REMOTE INTERFACE
WinLase™ contains all of the elements of a multi-element Job Editor, automation sequencing tool
(simplified ladder logic), and password-protected Operator’s Interface. Most procedures can be
efficiently served entirely from within the program.
COM Automation Server API (Application Programming Interface)
WinLase™ exposes a COM (Computer Object Module) Automation server, which offers external
programs the ability to communicate with and control WinLase™. For detailed information on the COM
Automation server interface, please refer to the document package WinLase COM Automation Server
Interface Manual available separately from Lanmark Controls, Inc.
Please refer to the WinLase Reference Manual for complete details on using the WinLase™ software
package.
LMF2000 LASER MARKER
990-298
5-3
CHAPTER 5: REMOTE INTERFACE
Section III: Using the Remote Command API
Remote Command API (Application Programming Interface)
The Embedded Controller Card was designed to be a powerful standalone controller, with the ability to
accept commands and return responses. The Remote Command API provides extended functionality to
load jobs, rename jobs, change administration settings, and many other functions.
There are three methods available for interfacing with the Remote Command API while in Local mode:
x Message based TCP/IP socket connection
x Message based RS-232 connection
x Message based wireless Bluetooth connection (future)
All interfaces are active simultaneously for interacting with the Remote Command API. All interfaces
support making calls to get parameters. Some commands, however require the client to “Take Control”
of the Controller Card Host device. When a client has control, the client can send execution commands
as well as commands to set the laser parameters.
Using the API (Application Programming Interface)
The Controller Card Remote Command API uses a message based communication protocol. The client
and the server (Host) must cooperate by sending messages back and forth in an alternating fashion.
Messages sent to the Controller Card are text strings, and must end with a line feed. Messages received
from the Controller Card are text strings and end in a line feed.
The Remote Command API provides a rich set of commands for communication and control of an
Controller Card. The API allows you to get and set system parameters, as well as perform actions with
locally stored job files, and to control the behavior of individual objects within the job files. If you are
loading and controlling the execution of locally stored jobs, use the TakeListControl command to gain
exclusive access to the server. Use the GetHashiobFileList or GetUSBJobFileList command to discover
the locally stored job files. Use the LoadJobFromFlash or LoadJobFromUSB command to load a job
into memory. A job previously loaded into memory can be executed by using the ExecuteJobOnce or
ExecuteJobContinuous command. When you are finished sending and receiving commands, use the
ReleaseHostControl command to allow other hosts exclusive access to the device.
To read the status of server parameters, use any of the Get commands. Most of these commands do not
require the client to have exclusive access to the server (Host).
To set server parameters, use the FakeHostControl command to gain exclusive access to the server. Use
any of the Set commands to make changes to server parameters. When you are finished setting all
parameters, use the ReleaseHostControl command to allow other hosts access to the API. If any IP
settings have been changed, these settings will not take effect until the board goes through a power
cycle, or you execute the HardwareReset command.
LMF2000 LASER MARKER
5-4
990-298
CHAPTER 5: REMOTE INTERFACE
API (Application Programming Interface) Command Set
The interface provided by the Remote Command API is a message (character string) based protocol. All
command and response strings must be terminated by a line feed. The Remote Interface commands and
their intended use are listed in Appendix D, Remote Interface Commands and are presented in
alphabetical order. Commands with multiple parameters are sent and returned in a comma delimited
format.
NOTE: All commands are text strings and are expressed in the table enclosed in quotes(”). The
quotation characters are not part of the command. This is also true for responses. Commands
and arguments are case-sensitive.
When using the LAN host interface, all commands are available as either descriptive commands as in
SetLocalIP or their numerical equivalent, as in 506. When using the high speed RS-232 host interface,
only the numerical version of the command is available.
NOTE: Not all commands are available on all host interfaces. All responses are sent as their numerical
representations for all host interface types.
The following convention will be used when indicating additional parameters:
For example:
SetLocalIP,ipaddress is sent to the API as “SetLocalIP,192.168.42.1” (without exclamation marks).
A description of the command parameters follows each command.
Remote Command API List
For the complete list of commands, see Appendix D, Remote Interface Commands.
LMF2000 LASER MARKER
990-298
5-5
CHAPTER 5: REMOTE INTERFACE
Section IV: Using the TCP/IP and RS-232 Remote Interface
In terms of simplicity, the RS-232 port is easier to set up than the TCP/IP interface, because the cable
connection between the two computers is direct and troubleshooting is much easier because
HyperTerminal can be used to troubleshoot the connection.
TCP/IP, on the other hand, is a Client/Server protocol that is a bit more difficult to set-up. TCP/IP is a
networking protocol that has the ability to communicate over local area networks (LANs), wide area
networks (WANs), and the Internet. In order for one program to communicate with another on a
different computer, the remote device needs to make itself available on a specified Port, and the IP
address of the remote device has to be known. It is this IP address and Port that ensures any message
sent reaches the proper destination. In other words, in order for you to communicate over TCP/IP, you
must know the IP address and Port of the device you are communicating with.
By default, WinLase makes the Remote Interface service available on Port 350. This can be changed in
the Host Interface setup box if Port 350 conflicts with another installed port on your machine.
Determining the IP address of the computer that WinLase is running on depends on how the TCP/IP
stack is configured in Windows. Computers can either have a static IP address, or one that is
dynamically allocated when the computer signs on to the network.
By default, the Controller Card makes the Remote Command API Interface service available on Port
12500. The Controller Card can be configured to use a Static IP address, or to request an IP address each
time it starts from a DHCP server. It is recommended in situations where the LAN based Remote
Command API is used, to configure Static IP addressing for the Controller Card. Using this approach,
the Remote Command API client will know the IP address of the Controller Card without having to use
other discovery techniques. Remote control of the Controller Card can be established by any client
computer that supports TCP/IP networking. This includes computers running Microsoft Windows™ ,
Linux™, or other operating systems. Communication with the board is established by opening a socket
connection using the IP address on port 12500.
To determine how TCP/IP is configured on your Windows XP™ computer:
1.
In Windows XP™, click Start > Settings > Control Panel to display the Control Panel.
LMF2000 LASER MARKER
5-6
990-298
CHAPTER 5: REMOTE INTERFACE
2.
Click on the Network and Internet Connections icon.
3.
When the Network and Internet Connections screen displays, double click the Network
Connections icon.
4. The Network Connections window will
display. Click on the Local Area
Connection icon.
LMF2000 LASER MARKER
990-298
5-7
CHAPTER 5: REMOTE INTERFACE
5.
Using your right mouse button, select
Properties to view the LAN Properties.
The Connection Properties window will
appear.
6.
Internet Protocol (TCP/IP) must appear
and be checked in the list of items. If
not, install TCP/IP, referring to the
Windows XP™ documentation as a
guide.
7.
Highlight Internet Protocol (TCP/IP), and
then click the Properties button.
8.
If the Use the following IP address:
radio button is selected, your computer
uses a static IP address, which is shown
in the IP Address box.
9.
If the Obtain an IP address
automatically radio button is selected,
your computer is assigned a different IP
address (dynamic address) each time it
boots up on the network. If your
computer uses a static IP address, you
can use this address when
communicating with WinLase over the
TCP/IP port.
If your computer uses a dynamically
assigned address, another method has to
be used to obtain the address.
LMF2000 LASER MARKER
5-8
990-298
CHAPTER 5: REMOTE INTERFACE
RS-232 and TCP/IP Commands and Functions
The interface provided for RS-232 and TCP/IP is textual; commands are sent over either port as ASCII
text strings. These strings are interpreted by WinLase, and are executed accordingly.
NOTE: The Marker also supports the Fieldbus interface protocol. Because Fieldbus is fundamentally
different from the RS-232 and TCP/IP Remote Interface, it is not discussed in this manual. Please refer
to the appropriate Fieldbus documentation for more information.
RS-232 and TCP/IP Command List
For the complete list of commands, see Appendix D, Remote Commands.
LMF2000 LASER MARKER
990-298
5-9
CHAPTER 5: REMOTE INTERFACE
Section V: Using the Remote Pendant
Using the Remote Pendant
A Remote Pendant can be used to control the Laser Marker. This is an option available through Miyachi
Unitek. Please contact the Miyachi Unitek Corporation; see CONTACT US in the front of this guide to get
in touch with us by e-mail, telephone, or regular mail.
Pendant Error Codes
The following error codes may be displayed when the pendant is executing jobs locally.
LoadFail
NoObjects
NoProperties
WriteFail
FileFormat
FileException
UnknownObject
UnknownType
NotSupported
=
=
=
=
=
=
=
=
=
100
101
102
103
104
105
106
107
108
LMF2000 LASER MARKER
5-10
990-298
APPENDIX A
TECHNICAL SPECIFICATIONS
Laser Specifications
PARAMETER
SPECIFICATIONS
Control Unit Dimensions:
Control Unit Weight:
52 lbs (23.5 kg)
Oscillator Dimensions:
Oscillator Weight:
18 lbs (8.2 kg)
Environmental
Ambient Temperature:
Relative Humidity:
Installation Site:
Electrical Requirements
Power Supply:
Maximum Running Current:
Recommended AC Service:
41-95F (5-35ºC)
Less than 90% (non-condensing)
Do not use where there is considerable dirt, dust, oil mist, chemicals,
fumes, moisture, vibration or near a high frequency noise source.
90-130, 180-260 VAC r 10% 50/60 Hz, single-phase
7A @110VAC
10A @110VAC
LMF2000 LASER MARKER
990-298
A-1
APPENDIX A: TECHNICAL SPECIFICATIONS
PARAMETER
Laser (1064nm)
Oscillation Wavelength:
Oscillation Mode:
Maximum Output:
SPECIFICATIONS
Type of Oscillation:
Pulse Frequency:
Guide Beam Wavelength:
1060-1150, central emission at 1064 ±5 nm
TEM00-Mode (at or near)
LMF2000 20W Source, Continuous Output >18W @ 25-500kHz, Power
output available from 2-500kHz
Pulsed oscillation or continuous wave (CW) oscillation
CW, 2-500kHz
635 nm
Software
See the separate Software Manuals.
Marking Area
LMF2000 Lens Marking Area
g T Lens Unit
f = 100mm
f = 160mm
f = 163mm
Scanning Method
Galvanometer Scanner
O (wavelength)
1060-1150, central emission 1064 ± 5 nm
Marking Area
2.42 in. x 2.42in.
(61.5mm x 61.5mm )
3.89 in. u 3.89 in.
(98.9mm u 98.9mm)
4.52 in. u 4.52 in.
(114.8mm u 114.8mm)
Working Distance
(approximate)
3.86 ± 0.04 in.
(98 ± 1mm)
6.93 ± 0.08 in.
(176 ± 2mm)
7.28 ± 0.08 in.
(185 ± 2mm)
Position
Resolution
0.00016 in.
(4Pm)
0.00028 in.
(7Pm)
0.00028 in.
(7Pm)
LMF2000 Lens Marking Area
g T Lens Unit
f = 254mm
f = 420mm
Scanning Method
Galvanometer Scanner
O (wavelength)
1060-1150, central emission 1064 ± 5 nm
Marking Area
6.18 in. u 6.18 in.
(157 mm u 157mm)
11.44 in. u 11.44 in.
(290.6mm u 290.6mm)
Working Distance
(approximate)
11.65 ± 0.12 in.
(296 ± 3 mm)
19.45 ± 0.20 in
(494 ± 5 mm)
Position
Resolution
0.00044 in.
(11Pm)
0.00088 in.
(22Pm)
LMF2000 LASER MARKER
A-2
990-298
APPENDIX B
ELECTRICAL AND DATA CONNECTIONS
Section I: Connectors
LMF2000 LASER MARKER
990-298
B-1
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
1. SYSTEM I/O IN Connector
Pin
Description
1
Start Job. Begins the job sequence.
2
Laser Enable. Enables the fiber laser marker. No laser emission is possible without triggering this input.
3
Guide Beam Control. Allows external control of visible guide beam
4
External Shutter Control. Allows external control of the safety shutter. This input must be triggered for
the shutter to open and permit laser emission.
5
Fault Reset. Resets any fault conditions.
6
Unused
7
Abort Job. Aborts the current job.
8
+24V
9
Optocoupler Bias Input
10
GROUND
2. SYSTEM I/O OUT Connector
Pin
Description
1
System Ready. The system is ready for laser processing. No faults are present.
2
System Fault. A fault condition exists that must be cleared.
3
Laser Emission In Progress (Job Busy). A laser marking job is currently being executed. This output
will be active from the time the job is executed until it is completed.
4
Mark In Progress. The laser is currently marking a segment. This output will trigger on and off rapidly
as the laser marks the various components of a job.
5
Ready for Mark Input. A job has been loaded and is ready to execute.
6
Unused
7
Unused
8
+24V
9
Optocoupler Bias Input
10
GROUND
LMF2000 LASER MARKER
B-2
990-298
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
3. USER I/O IN Connector
Pin
Description
1
User Input 0
2
User Input 1
3
User Input 2
4
User Input 3
5
Unused
6
+24V
7
Optocoupler Bias Input
8
GROUND
4. USER I/O OUT Connector
Pin
Description
1
User Output 0
2
User Output 1
3
User Output 2
4
User Output 3
5
Unused
6
+24V
7
Optocoupler Bias Input
8
GROUND
LMF2000 LASER MARKER
990-298
B-3
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
5. E-STOP (Emergency Stop) Connector
Pin
Description
1
E-Stop 0
2
E-Stop 1
3
AUX +24V. Auxiliary power supply for low current I/O purposes.
4
GROUND
NOTE: Pins 1 and 2 must be connected together by a DRY CONTACT ONLY to close the Emergency
Stop circuit and enable laser operation.
6. REMOTE I/L (Interlock) Connector
Pin
Description
1
Remote I/L 1
2
Remote I/L 2
NOTE: Remote I/L pins 1 and 2 must be connected by a DRY CONTACT ONLY to close the interlock
circuit. If the interlock circuit is open, the safety shutter can not open and the laser can not be enabled.
7. SCANNER Connector
No user serviceable connections.
8. LASER HEAD Connector
No user serviceable connections.
LMF2000 LASER MARKER
B-4
990-298
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
9. RS-232C Connector
#1 – Not Used
#6 – Not Used
#2 – RxD (Received Data)
#7 – Not Used
#3 – TxD (Transmitted Data)
#8 – Not Used
#4 – Not Used
#9 +5V DC (Pendant Power)
#5 – GND (Signal Ground)
NOTES:
The unit communicates via a simplified 3-wire RS232 implementation with Hardware Flow
Control disabled. Use pins 2, 3, and 5 for Received Data, Transmitted Data, and Ground
respectively. Pin 9 provides +5V to power a remote control pendant.
Use a Null-Modem type cable when communicating with a PC.
10. TCP/IP - LAN/USB Interface Connector
Standard LAN connector. No user serviceable connections.
11. MOTOR LIMITS Connector
Stepper Motor Limits Connector. No user serviceable connections.
RS-232 (API) Connector. No user serviceable connections.
12. MOTOR CONTROL Interface Connector
Stepper Motor Interface Connector. No user serviceable connections.
LMF2000 LASER MARKER
990-298
B-5
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
Section II. Phoenix Connectors
Overview
Connectors 1, 2, 3, 4, 5, and 8 on the Rear Panel are Phoenix-type connectors. The control can be
configured several different ways in order to match your welding needs depending on how these
connectors are wired. Configuration is achieved by using connectors with factory-installed jumpers, and
by fabricating your own I/O cables.
Assembling the Connectors
These connectors easily snap apart and use screw-terminal wire connections. No soldering is required
which makes configuring, or re-configuring, the connectors a simple task that can be done in just a few
minutes.
A 10-pin plug is shown below, but the instructions are the same for all of the plugs. As shipped, the
laser marker includes two 10-pin, two 8 pin, and one each 4 and 2 pin external I/O Phoenix-type
connectors.
LMF2000 LASER MARKER
B-6
990-298
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
Section III. I/O Connections
This marker uses +24V logic. All inputs can be configured to accept either a sourced “high” (+24V) or a
sinking “low” (0V) logic level and may be configured with switches, NPN or PNP transistors. Likewise
all outputs can be configured to source a “high” (+24V) or sink a “low” (0V) logic level when turned
ON. Both the System and User I/O Connectors include an opto-coupler bias input that is used to bias the
I/O connector with source or sink capabilities. An external Power Supply (+5 to +24V) may be used to
bias the I/O connections, or the internal +24V power supply may be used. The maximum I/O current is
limited to 50mA.
In all of the examples shown below, the internal +24V supply is used to bias all I/O’s to allow all inputs
and outputs to “source”.
System I/O IN Connector – Dry Contact Example
LMF2000 LASER MARKER
990-298
B-7
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
User I/O IN Connector – Dry Contact Example
LMF2000 LASER MARKER
B-8
990-298
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
System I/O OUT Connector
All outputs are configured with opto-coupled transistor outputs (FET’s). In order top properly use these
outputs, they will need to be biased by an external resistor. In the examples below, a 10k resistor is
used to keep the output from floating. The Outputs can either sink or source depending on how the
optocoupler bias jumper and resistors are configured.
LMF2000 LASER MARKER
990-298
B-9
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
User I/O OUT Connector
LMF2000 LASER MARKER
B-10
990-298
APPENDIX B: ELECTRICAL AND DATA CONNECTIONS
Emergency Stop connector
Remote I/L (Interlock) connector
LMF2000 LASER MARKER
990-298
B-11
APPENDIX C
SPI PULSED FIBER LASER
REFERENCE MATERIAL
Section I: Laser Timing
CW Mode Operation
NOTE: Illustration of CW operation in software control mode.
LMF2000 LASER MARKER
990-298
C-1
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
CW-to-Pulsed Mode Switching
NOTE: Timing diagram of on-the-fly switching between CW and Pulsed modes of operation.
LMF2000 LASER MARKER
C-2
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Pulsed Operation: High PRF ( PRF0)
LMF2000 LASER MARKER
990-298
C-3
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Pulsed Operation: Low PRF (< PRF0)
LMF2000 LASER MARKER
C-4
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Illustration of the Effect of Changing Simmer Current
LMF2000 LASER MARKER
990-298
C-5
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Initial Operation of the Marker with Basic Hardware
1. Make sure control lines are in a SAFE state.
2. Enable power supplies.
3. Is laser is ready to go?
4. Put laser into the READY state.
5. Set the laser to 20% power-amp pumps diode current.
6. Check Laser Status.
Is LASER READY OK?
7. Start the external pulse generator.
8. Put the Laser into the ACTIVE state.
9. Confirm optical output and diode current.
10. Increase POWER-AMP ACTIVE-STATE
CURRENT SET POINT to the desired level.
11. Confirm Optical Output power.
LMF2000 LASER MARKER
C-6
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Section II: Pulsed Laser Characteristics
Switching Frequency (PRF0)
LMF2000 LASER MARKER
990-298
C-7
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Waveform Reference Table
Waveform
Number
Electrical Duration
(Approximate ns)
12 W Lasers
PRF0 (KHZ) / Emaz (mJ)
20W Lasers
PRF0 (KHZ) / Emax (mJ)
0
200
20 / 0.6
25 / 0.8
1
65
50 / 0.24
65 / 0.31
2
30
100 / 0.12
125 / 0.16
3
15
200 / 0.06
250 / 0.08
4
12
300 / 0.04
375 / 0.053
5
9
400 I 0.03
500 / 0.04
6
Duplicate of 5
Duplicate of 5
Duplicate of 5
7
Duplicate of 5
Duplicate of 5
Duplicate of 5
8
Duplicate of 5
Duplicate of 5
Duplicate of 5
9
Duplicate of 5
Duplicate of 5
Duplicate of 5
10
Duplicate of 5
Duplicate of 5
Duplicate of 5
11
200
20 / 0.6
25 / 0.8
12
190
20.8 / 0.58
26 / 0.77
13
180
21.6 / 0.56
27 / 0.74
14
170
22.4 / 0.54
28 / 0.71
15
160
23.2 / 0.52
29 / 0.69
16
150
24.4 / 0.49
30.5 / 0.66
17
140
25.6 / 0.47
32/ 0.63
18
130
26.8 / 0.45
33.5 / 0.6
19
120
28.4 / 0.42
35.5 / 0.56
20
110
30.4 / 0.4
38 / 0.53
21
100
32.8 / 0.37
41 / 0.49
22
90
36 / 0.33
45 / 0.44
23
80
40 / 0.3
50 / 0.4
24
70
45.6 / 0.26
57 / 0.35
25
60
52.8 / 0.23
66 / 0.3
26
50
62.4 / 0.19
78 / 0.26
27
40
77.6 / 0.15
97 / 0.21
28
30
108 / 0.11
135 / 0.15
29
20
200 / 0.06
250 / 0.08
Duplicate of 29
Duplicate of 29
Duplicate of 29
30 — 63
LMF2000 LASER MARKER
C-8
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Example of 20W Laser Module Optical Pulse Shapes
TOP:
BOTTOM:
Waveforms 0 – 5 at PRF0 for each waveform.
Waveforms 11 – 29 at PRF0 for each waveform.
LMF2000 LASER MARKER
990-298
C-9
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Example of 20W Laser Module
Average Power vs. PRF Characteristics
NOTE: Solid points indicate PRF0.
Waveform 0: PRF0 = 25 kHz
Waveform 21: PRF0 = 41 kHz
Waveform 29: PRF0 = 250 kHz
LMF2000 LASER MARKER
C-10
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Example of 20W Laser Module FWHM
Pulse Width vs. PRF Characteristics
NOTE: Solid points indicate PRF0.
Waveform 0: PRF0 = 25 kHz
Waveform 21: PRF0 = 41 kHz
Waveform 29: PRF0 = 250 kHz
LMF2000 LASER MARKER
990-298
C-11
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Range Of Achievable FWHM Pulse Width vs. PRF at Maximum Output
Power Using Waveforms at, or Above Their Specified PRF0 Frequency
NOTE: This graph does not show operation at pulse rates below PRF0 for any waveform.
LMF2000 LASER MARKER
C-12
990-298
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Example of 20W Laser Module
Peak Power vs. PRF Characteristics (waveforms 0 – 10)
NOTE: Solid points indicate PRF0.
LMF2000 LASER MARKER
990-298
C-13
APPENDIX C: SPI PULSED FIBER LASER REFERENCE MATERIAL
Example of 20W Laser Module
Peak Power vs. PRF Characteristics (waveforms 11 – 31)
NOTE: Solid points indicate PRF0.
LMF2000 LASER MARKER
C-14
990-298
APPENDIX D
EMBEDDED CONTROLLER
REMOTE COMMAND API
Section I. Remote Command API
Remote API Commands (Numerical Listing)
Value/constant
Description
// Control commands //
1
Abort
2
TakeHostControl
3
ReleaseHostControl
4
GetHostControlStatus
5
GetHostInControl
6
EnableBroadcasting
7
LoadHardwareDefaults
8
HardwareReset
9
GetRemoteIP
10
GetKFactor
11
ForceLog
12
SetAlignmentGlobals
13
ResetAlignmentGlobals
14
SetPerformanceGlobals
15
ResetPerformanceGlobals
16
OpenCOMPort
17
CloseCOMPort
18
COMWriteLine
19
GoToZ
20
GoToXYZ
21
SetMOTFEncoderRate
22
SetMemBuffer
23
GetMemBuffer
24
GetAvailableRAM
LMF2000 LASER MARKER
990-298
D-1
APPENDIX D: REMOTE INTERFACE COMMANDS
Value/constant
Description
// Object commands //
100
SetObjectString
101
SetObjectWaitIO
// Job commands //
200
ClearJobList
201
MakeJobActive
202
RemoveJob
203
GetFlashJobFileList
204
GetUSBJobFileList
205
LoadFlashJob
206
LoadUSBJob
207
ExecuteJobOnce
208
ExecuteJobContinuous
209
GetJobStatus
210
GetLastError
// Administration //
500
SetAdminPIN
501
GetAdminPIN
502
SetDHCPMode
503
GetDHCPMode
504
SetLocalGateway
505
GetLocalGateway
506
SetLocalIP
507
GetLocalIP
508
SetNodeFriendlyName
509
GetNodeFriendlyName
510
SetSubnetMask
511
GetSubnetMask
512
SetUserPIN
513
GetUserPIN
514
SetCOMPortSpeed
515
GetCOMPortSpeed
516
SetPendantCOMPort
517
GetPendantCOMPort
LMF2000 LASER MARKER
D-2
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
Remote API Commands - Detail (Alphabetical Order)
A detail of the Remote API Commands are list alphabetically below by function name. Throughout
these tables the “Lanmark Controls Embedded Controller Card” is abbreviated as LEC-1.
Abort (1)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Stops the execution of a job.
“Abort”
“1”
LAN, RS-232
None
An API Response Code
Immediately stops the execution of a running job and resets the JobRunning status to Idle.
N/A
ClearJobList (200)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also See:
Removes all loaded jobs from memory.
“ClearJobList”
“200”
LAN, RS-232
None
An API Response code
The ActiveJob is cleared when this call completes.
RemoveJob, LoadUSBJob, LoadFlashJob.
CloseCOMPort (17)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Closes the specified COM port on the LEC-1.
“CloseCOMPort,portnum”
“17,portnum”
LAN
portnum: The COM port to close. Only COM2 is supported at this time.
Valid range: [2]
An API Response code.
Client must call OpenCOMPort with the appropriate port number before making this call.
OpenCOMPort, COMWriteLine.
LMF2000 LASER MARKER
990-298
D-3
APPENDIX D: REMOTE INTERFACE COMMANDS
COMWriteLine (18)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
EnableBroadcasting (6)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Writes a string of characters to the specified COM port on the LEC-1.
“COMWriteLine,<portnum>,<string>,<timeout>”
“18,portnum,string,timeout”
LAN
portnum: The COM port to write to. Only COM2 is supported at this time.
Valid range: [2]
string: The string of characters to send to the COM port. The LEC-1 will append a line
feed character to the end of the string.
timeout: The time in milliseconds to wait for a response to the string sent to the COM
port. If no response is expected, use the value 0 (zero).
<response>: The response received from the COM connected device. If the port times out,
PortTimeout is returned. If portnum is invalid, WrongPortNumber is returned. If a value
of 0 (zero) is specified for timeout, Success is returned.
Client must call OpenCOMPort before making this call.
OpenCOMPort, CloseCOMPort
Enables or disables the broadcast of messages by the Host.
“EnableBroadcasting,state”
“6,state”
LAN, RS-232
state: The state of the Broadcast engine:
0 = idle
1 = broadcasting messages
Valid range: [0,1]
An API Response code
Client must call TakeHostControl before making this call. Some high speed operations,
especially when using the RS-232 port, may be breifly interrupted during a broadcast
cycle. In these cases, the client can disable broadcasting. Note that when broadcasts are
disabled, the LEC-1 will no longer be visible on the local network.
N/A
ExecuteJobContinuous (208)
Purpose:
Starts the execution of the Active job and will execute the job in an infinite loop.
Descriptive implementation: “ExecuteJobContinuous”
Numerical implementation:
“208”
Availability:
LAN, RS-232
Parameters:
None
Returns:
An API Response code
Comments:
Client must call TakeHostControl before making this call. The ActiveJob must be set to a
job currently loaded in RAM with a call to MakeJobActive. The LEC-1 will optionally
wait to start marking until a hardware StartMark signal is received, and will continue
repeating this process until Abort is called if the job was saved with External Start
enabled. This command returns a response immediately. To determine if the ActiveJob is
running, use the GetJobStatus command.
Also See:
TakeHostControl, MakeJobActive, GetJobStatus, Abort, LoadFlashJob, LoadUSBJob
LMF2000 LASER MARKER
D-4
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
ExecuteJobOnce (207)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also See:
GetAdminPlN (501)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetAvailableRAM (24)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Starts the execution of the ActiveJob, and runs it once without repeat.
“ExecuteJobOnce”
“207”
LAN, RS-232
jobindex: The index of a job previously loaded.
An API Response code
Client must call TakeHostControl before making this call. The ActiveJob must be set to a
job currently loaded in RAM with a call to MakeJobActive. The LEC-1 will optionally
wait to start marking until a hardware StartMark signal is received if the job was saved
with External Start enabled. The job can be stopped by calling Abort at any time. This
command returns a response immediately. To determine if the ActiveJob is running, use
the GetJobStatus command.
TakeHostControl, GetJobStatus, Abort, LoadFlashJob, LoadUSBJob
Gets the current Adminstration PIN.
“GetAdminPIN”
“501”
LAN
None
adminpin: A string representing the AdminPIN.
The AdminPIN is used with the Pendant interface, and provides password protection for
Administrative functions.
SetAdminPIN, GetUserPIN, SetUserPIN
Gets the amount of available RAM from the Windows operating system.
“GetAvailableRAM”
“24”
RS-232
None
memorycount: The amount of available RAM as reported by the Windows operating
system.
None
N/A
LMF2000 LASER MARKER
990-298
D-5
APPENDIX D: REMOTE INTERFACE COMMANDS
GetCOMPPortSpeed (515)
Purpose:
Gets the baud rate of the specified COM port.
Descriptive implementation: “GetCOMPortSpeed,portnum”
Numerical implementation:
“515,portnum”
Availability:
LAN
Parameters:
portnum: The COM port number. Valid range: [1,2,3]
Returns:
speed: The baud rate of the specified COM port.
Comments:
Client must call TakeHostControl before making this call. There are three COM ports
available on the LEC-1: COM1, COM2, and COM3. Only the baud rate can be configured
on the ports. The remaining settings are:
8 data bits
No parity
1 stop bit
XON/XOFF (Software handshake)
Also see:
SetCOMPortSpeed, SetPendantCOMPort
GetDHCPMode (503)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Gets the current DHCP mode.
“GetDHCPMode”
“503”
LAN
None
“Static”: LEC-1 is in fixed IP address mode.
“Autodetect”: LEC-1 is in Dynamic IP address mode.
If the LEC-1 is in DHCP mode at power up, it will attempt to get an IP address from a
DHCP server on the local network.
Also See:
SetDHCPMode
GetFlashJobFileList (203)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Gets a comma delimited list of all jobs stored in Flash memory
“GetFlashJobFileList”
“203”
LAN
None
joblist: A comma delimited list of all jobs stored in Flash memory.
The flash memory is located on the LEC-1.
GetUSBJobFileList
LMF2000 LASER MARKER
D-6
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
GetHostControlStatus (4)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetHostInControl (5)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetJobStatus (209)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Indicates whether the Client currently has exclusive control of the LEC-1.
“GetHostControlStatus”
“4”
LAN, RS-232
None
InControl: Client currently has exclusive control of the LEC-1.
NotInControl: Client currently does not have exclusive control of the LEC-1.
None
TakeHostControl, ReleaseHostControl
Gets the current host interface that has exclusive control of the LEC-1.
“GetHostInControl”
“5”
LAN. RS-232
None
“Pendant”: The pendant has exclusive control.
“LANStream”: The LAN based streaming interface (WinLase LAN) has exclusive control
“GUI”: A User Interface running on the LEC-1 has exclusive control.
“Bluetooth”: The Bluetooth interface has exclusive control.
“LAN”: The LAN interface has exclusive control.
“RS-232”: The RS-232 interface has exclusive control.
None
TakeHostControl, ReleaseHostControl
Gets the status of the ActiveJob.
“GetJobStatus”
“209”
LAN, RS-232
None
Idle: The job engine is idle.
Busy: TheActiveJob is currently loading / executing.
Use this command to check the status of the ActiveJob. To set the ActiveJob to a job
currently loaded into RAM call MakeJobActive.
MakeJobActive, LoadUSBJob, LoadFlashJob
LMF2000 LASER MARKER
990-298
D-7
APPENDIX D: REMOTE INTERFACE COMMANDS
GetKFactor (10)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetLastError (210)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetLocalGateway (505)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Gets the calibration factor of the lens configuration.
“GetKFactor”
‘‘10”
LAN. RS-232
None
kfactor: The calibration factor of the lens configuration, in field units (bits)/mm.
Use this command to discover the conversion between real world units and field units.
SetAlignmentGlobals
Gets the last error string from the server. Reading the last error will clear it.
“GetLastError”
“210”
LAN. RS-232
None
errorstring: The last server error represented as a string.
An application should periodically check GetLastError, as some errors may be generated
asynchronously after Success was returned from a previous command. For example, after
a long marking process has been started with a call to ExecuteJobContinuous, an error
could occur that is generated after the call to ExecuteJobContinuous returns.
N/A
Gets the default local Gateway address for the LEC-1.
“GetLocalGateway”
“505”
LAN
None
gateway: The Gateway address in dot notation format (ex. 192.168.42.1)
None
SetLocalGateway
LMF2000 LASER MARKER
D-8
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
GetLocalIP (507)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetMemBuffer (23)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Gets the local IP address for the LEC-1.
“GetLocalIP”
“507”
LAN
None
ipaddress: The IP address in dot notation format (ex. 192.168.42.1)
None
SetLocalIP
Gets the internal memory buffer at the specified index.
“GetMemBuffer,bufferindex”
“23,bufferindex”
RS-232
bufferindex: The index of the memory buffer to retrieve.
Valid range: [1 to 10]
bufferstring: The contents of the specified memory buffer
A string based object (barcodes and text) can be configured to retrieve the next string to
mark from an internal memory buffer at execution time. There are 10 buffers available.
The string object must be configured to use these memory buffers.
SetMemBuffer
GetNodeFriendlyName (509)
Purpose:
Gets the local IP address for the LEC-1.
Descriptive implementation: “GetNodeFriendlyName”
Numerical implementation:
“509”
Availability:
LAN
Parameters:
None
Returns:
name: The name of the LEC-1. This name is used in LEC-1 broadcasts.
Comments:
None
SetNodeFriendlyName
Also see:
LMF2000 LASER MARKER
990-298
D-9
APPENDIX D: REMOTE INTERFACE COMMANDS
GetPendantCOMPort (517)
Purpose:
Gets the COM port to be used for the Pendant interface and for the RS-232 Host.
Descriptive implementation: “GetPendantCOMPort,”
Numerical implementation:
“517”
Availability:
LAN
Parameters:
None
Returns:
portnum: The COM port in use for the Pendant interface.
Comments:
Client must call TakeHostControl before making this call. There are three COM ports
available on the LEC-1: COM1, COM2, and COM3. The high speed RS-232 Host
interface and the Pendant share COM1 and COM2.
When the Pendant is configured for COM1, the RS-232 Host will use COM2.
Likewise if the Pendant is configured for COM2, the RS-232 Host will use COM1.
COM3 is available only for WinLase LAN Automation objects such as serially controlled
motors, etc.
Also see:
SetPendantCOMPort, SetCOMPortSpeed, GetCOMPortSpeed
GetRemotelP (9)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetSubnetMask (511)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Gets the IP address of the Client that has exclusive control of the LEC-1.
“GetRemoteIP”
“9”
LAN
None
remoteIP: The remote IP address in dot notation format (ex. 192.168.42.1)
This value is only valid if the Client that has exclusive control is using a TCP/IP
connection. All other host interfaces will report “0.0.0.0”.
N/A
Gets the Subnet mask of the LEC-1.
“GetSubnetMask”
“511”
LAN
None
subnetmask: The Subnet mask in dot notation format (ex. 255.255.255.0)
None
SetSubnetMask
LMF2000 LASER MARKER
D-10
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
GetUSBJobFileList (204)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GetUserPIN (513)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
GoToXYZ (20)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Gets a comma delimited list of all jobs stored in a USB drive.
“GetUSBJobFileList”
“204”
LAN
None
joblist: A comma delimited list of all jobs stored in the USB drive. If no USB drive is
found, NoDrive is returned.
Please check with the factory for tested and approved USB devices.
GetFlashJobFileList
Gets the current User PIN.
“GetUserPIN”
“513”
LAN
None
userpin: A string representing the UserPIN.
The UserPIN is used with the Pendant interface, and provides password protection for
User access functions.
SetUserPIN, GetAdminPIN, SetAdminPIN
Commands the x, y and z-axes to jump to the specified coordinate, at the specified jump
speed, and inserts the specified jump delay after the jump.
“GoToXYZ,xcoordinate,ycoordinate,zcoordinate,jumpdelay”
“19,xcoordinate,ycoordinate,zcoordinate,jumpdelay”
RS-232
xcoordinate: The coordinate location, in bits, to jump to. Valid range: [-32768 to 32767]
ycoordinate: The coordinate location, in bits, to jump to. Valid range: [-32768 to 32767]
zcoordinate: The coordinate location, in bits, to jump to. Valid range: [-32768 to 32767]
jumpspeed: The speed, in bits/millisecond, that the jump is executed at.
Valid range: [1 to 65535]
An API Response code
GoToXYZ is a Control Command, and the instructions are placed in the FIFO buffer
immediately.
GoToZ
LMF2000 LASER MARKER
990-298
D-11
APPENDIX D: REMOTE INTERFACE COMMANDS
GoToZ (19)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
HardwareReset (8)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
LoadFlashJob (205)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Commands the z-axis to jump to the specified coordinate, and inserts the specified jump
delay after the jump.
“GoToZ,zcoordinate,jumpdelay”
“ 19,zcoordinate,jumpdelay”
RS-232
zcoordinate: The coordinate location, in bits, to jump to.
Valid range: [-32768 to 32767 ]
jumpdelay: The time, in microseconds, to delay after the jump is executed.
Valid range: [1 to 65535]
An API Response code
GoToZ is a Control Command, and the instructions are placed in the FIFO immediately.
GoToXYZ
Resets the Embedded Controller Card.
“HardwareReset”
‘‘8’’
LAN
None
An API Response code
After receiving this command, the LEC-1 will perform a soft reset. Any changes made to
the IP address parameters will be applied at this time. If you are using a TCP/IP based
interface, the socket connection will be closed before the soft reset, and you will have to
reconnect after the reset.
N/A
Loads a job from flash memory into RAM.
“LoadFlashJob,jobname”
“205,jobname”
LAN, RS-232
jobname: The job file name in flash to load. Use the filename with the extension
(ex. Circle.dat). There can be multiple jobs loaded in RAM simultaneously.
An API Response code
Before interacting with a job, it must be made active with the MakeJobActive command.
GetFlashJobList, ExecuteJobContinuous, ExecuteJobOnce, MakeJobActive
LMF2000 LASER MARKER
D-12
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
LoadHardwareDefaults (7)
Purpose:
Loads the currently configured laser, lens and controller parameters from Flash.
Descriptive implementation: “LoadHardwareDefaults”
Numerical implementation:
“7”
Availability:
LAN
Parameters:
None
Returns:
An API Response code
Comments:
The laser, lens and controller parameters are stored in non-volatile memory on the LEC-1.
This command will reload the parameter sets from the configuration files in non-volatile
memory and may take up to 20 seconds to complete.
Also see:
N/A
LoadUSBJob (206)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
MakeJobActive (201)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Loads a job from the USB drive into RAM.
“LoadUSBJob,jobname”
“206”
LAN, RS-232
jobname: The job file name on the USB drive to load. Use the filename and extension (ex.
“Circle.dat”). There can be multiple jobs loaded in RAM simultaneously The job must be
located on the USB drive at the following path: \LEC\Jobs.
An API Response code
Before interacting with a job, it must be made active with the MakeJobActive command.
GetUSBJobFileList, ExecuteJobContinuous, ExecuteJobOnce, MakeJobActive
Sets a job loaded into RAM as the ActiveJob.
“LoadUSBJob,jobname”
“201”
LAN, RS-232
jobname: The job file name to make active. Use the filename and extension (ex.
“Circle.dat”).
An API Response code.
Before interacting with a job, it must be made active with the MakeJobActive command.
LoadFlashJob, LoadUSBJob
LMF2000 LASER MARKER
990-298
D-13
APPENDIX D: REMOTE INTERFACE COMMANDS
OpenCOMPort (16)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
ReleaseHostControl (3)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
RemoveJob (202)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Opens the specified COM port on the LEC-1.
“OpenCOMPort,portnum,baudrate,databits,parity,stopbits,flowcontrol”
“16,portnum,baudrate,databits,parity,stopbits,flowcontrol”
LAN
portnum: The COM port to open. Only COM2 is supported at this time.
Valid range: [ 2 ]
baudrate: The port baud rate.
Valid range: [110, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200,
128000, 256000]
databits: The port data bits. Valid range: [5,6,7,8]
parity: The port parity.
Valid range: [Even, Odd, None, Mark, Space]
stopbits: The port stop bits. Valid range: [1, 1.5, 2]
flowcontrol: The port flow control. Only COM2 has flow control available.
Valid range: [None, XonXoff, CTS_RTS, DSR_DTR]
An API Response code
HostInControl must be LANStream to open the COM port.
GetHostInControl, CloseCOMPort, COMWriteLine
Release the exclusive control of the LEC-1 back to the LANStream host.
“ReleaseHostControl”
“3”
LAN, RS-232
None
An API Response code
When any Client releases exclusive control, the LANStream host is given exclusive
control. The LANStream host is the streaming interface used when connected to the
device with the WinLase LAN.
TakeHostControl
Deletes a previously loaded job from RAM.
“RemoveJob,jobname”
“202,jobname”
LAN, RS-232
jobname: The job file name in RAM to delete. Use the filename and extension
(ex. Circle.dat)
An API Response code
The ActiveJob is cleared after this call completes. To set the Active job, call
MakeJobActive.
LoadFlashJob, LoadUSBJob, MakeJobActive
LMF2000 LASER MARKER
D-14
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
ResetAlignmentGlobals (13)
Purpose:
Resets the current Alignment global values to the Identity matrix.
Descriptive implementation: “ResetAlignmentGlobals”
Numerical implementation:
‘‘13’’
Availability:
LAN, RS-232
Parameters:
None
Returns:
An API Response code
Comments:
All marking objects have a global alignment matrix transform applied before marking.
Calling ResetAliginmentGlobals resets the alignment matrix to the Identity matrix.
SetAlignmentGlobals
Also see:
ResetPerformanceGlobals (15)
Purpose:
Resets the current Performance global values to their defaults.
Descriptive implementation: “ResetPerformanceGlobals”
Numerical implementation:
“15”
Availability:
LAN, RS-232
Parameters:
None
Returns:
An API Response code
Comments:
All marking objects have a global performance data structure applied before marking.
Calling ResetPerformanceGlobals resets the performance data structure to default
values.
SetPerformanceGlobals
Also see:
SetAdminPIN (500)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Sets the AdminPIN
“SetAdminPIN,pin”
“500,pin”
LAN
pin: The numeric based Administration password.
An API Response code
The AdminPIN is used with the Pendant interface, and provides password protection for
Administrative functions.
GetAdminPIN, SetUserPIN, GetUserPIN
LMF2000 LASER MARKER
990-298
D-15
APPENDIX D: REMOTE INTERFACE COMMANDS
SetAlignmentGlobals (12)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
SetCOMPortSpeed (514)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Sets the current Alignment global matrix values.
“SetAlignmentGlobals,rotation,rotationcenter,xscale,yscale,xoffset,yoffset”
“l2,rotation,rotationcenter,xscale,yscale,xoffset,yoffset”
LAN, RS-232
rotation: The amount of rotation, in degrees. A positive rotation value results in a
clockwise rotation.
Valid range: [-20.00 to 20.00] degrees. Default: [0.00]
rotationcenter: The coordinate position, in field units (bits), representing the center of
rotation. This value can be a coordinate position that is outside the normal marking field.
Default: [0]
xscale: Scale factor for the x-axis. Valid range: [0.800 to 1.200]. Default: [1.000]
yscale: Scale factor for the y-axis. Valid range: [0.800 to 1.200]. Default: [1.000]
xoffset: X-axis offset, in field units (bits). Valid range: [-32768 to 32767]. Default: [0]
yoffset: Y-axis offset, in field units (bits). Valid range: [-32768 to 32767]. Default: [0]
An API Response code
All marking objects have a global alignment transform applied before marking. Usually
this is the Identity matrix, but in some situations, such a vision alignment tasks, it is
necessary to transform the object using a different transform matrix. This transform is
reset to the Identity matrix after a power cycle.
GetKFactor, ResetAlignmentGlobals
Sets the baud rate of the specified COM port.
“SetCOMPortSpeed,portnum,speed”
“514,portnum,speed”
LAN
portnum: The COM port number. Valid range: [1,2,3]
speed: The desired baud rate.
Valid values: [110, 300, 600, 1200, 2400, 9600, 14400, 19200, 38400, 56000,
57600, 115200]
An API Response code
Client must call TakeHostControl before making this call. This setting will not take effect
until the board power is cycled, or a HardwareReset command is issued. There are three
COM ports available on the LEC-1: COM1, COM2, and COM3. Only the baud rate can
be configured on the ports. The remaining settings are:
8 data bits
No parity
1 stop bit
XON/XOFF (Software handshake)
GetCOMPortSpeed, SetPendantCOMPort
LMF2000 LASER MARKER
D-16
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
SetDHCPMode (502)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
SetLocalGateway (504)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
SetLocalIP (506)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Sets the current DHCP mode.
“SetDHCPMode,mode”
“502,mode”
LAN
mode: “Static” or “Autodetect”
An API Response code
Client must call TakeHostControl before making this call. This setting will not take effect
until the board is power cycled, or a HardwareReset command is issued. If the LEC-1 is
in DHCP mode at power up, it will attempt to get an IP address from a DHCP server on
the local network.
TakeHostControl, HardwareReset, GetDHCPMode
Sets the default local Gateway address for the LEC-1.
“SetLocalGateway,gateway”
“504,gateway”
LAN
gateway: The Gateway address in dot notation format (ex. 192.168.42.1)
An API Response code
Client must call TakeHostControl before making this call. This setting will not take effect
until the board power is cycled, or a HardwareReset command is issued.
TakeHostControl, HardwareReset, GetLocalGateway
Set the IP address of the LEC-1
“SetLocalIP,ipaddress”
“506,ipaddress”
LAN
ipaddress: The local IP address, in dot notation format (ex. 192.168.42.1)
An API Response code
Client must call TakeHostControl before making this call. This setting will not take effect
until the board power is cycled, or a HardwareReset command is issued.
.TakeHostControl, HardwareReset
LMF2000 LASER MARKER
990-298
D-17
APPENDIX D: REMOTE INTERFACE COMMANDS
SetMemBuffer (22)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Sets the internal memory buffer at the specified index.
“SetMemBuffer,bufferindex,newstring”
“22,bufferindex,newstring”
RS-232
bufferindex: The index of the memory buffer to set.
Valid range: [1 to 10]
newstring: The string to save in the specified memory buffer.
Valid size: [1 to 2999 characters]
An API Response code
A string based object (barcodes and text) can be configured to retrieve the next string to
mark from an internal memory buffer at execution time. There are 10 buffers available.
GetMemBuffer
SetMOTFEncoderRate (21)
Purpose:
Set the current MOTF encoder rate in the ActiveJob, which will take effect the next time a
job is executed.
Descriptive implementation: “SetMOTFEncoderRate,rate”
Numerical implementation:
“21,<rate>”
Availability:
LAN, RS-232
Parameters:
rate: The encoder rate, in bits/count. When the LEC-1 is configured for simulated encoder
mode, a fixed encoder pulse rate of 1 MHz is used, so the encode rate is the distance the
part moves (in field bits) through the field during 1 clock cycle (1/1,000,000 second).
When using an actual encoder, the encoder rate equals the distance the part moves (in
field bits) through the field during one encoder pulse.
Valid range: [-32768.0 to 32767.0]
Default: [0] (no MOTF)
Returns:
Comments:
Also see:
Example with simulated encoder mode:
Line speed = 100 mm/s
KFactor = 570 bits/mm
Encoder pulse rate 1,000,000 counts/s
((Line speed) x (KFactor) ) / 1,000,000 = 0.057 counts/bit
An API Response code
Client must call TakeHostControl before making this call, and the ActiveJob must be a
job that has MOTF enabled.
TakeHostControl, MakeJobActive, GetKFactor
LMF2000 LASER MARKER
D-18
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
SetNodeFriendlyName (508)
Purpose:
Set the name of the LEC-1
Descriptive implementation: “SetNodeFriendlyName,name”
Numerical implementation:
“508,<name>”
Availability:
LAN
Parameters:
name: The name of the LEC-1. This name is used in LEC-1 broadcasts.
Returns:
An API Response code.
Comments:
Client must call TakeHostControl before making this call.
TakeHostControl
Also see:
SetObjectString (100)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Set the string value of a string based marking object contained in the ActiveJob.
“SetObjectString,objectindex,newstring”
“100,objectindex,newstring”
LAN, RS-232
objectindex: The index of the object to change. Valid size: [1 to 2999 characters]
newstring: The new string value.
An API Response code
Client must call TakeHostControl before making this call. The Object at objectindex
must be a valid string based object, such as a text or barcode object. The ActiveJob must
be Idle for this command to succeed. To determine ActiveJob status, use the
GetJobStatus command.
TakeHostControl, GetJobStatus
SetPendantCOMPort (516)
Purpose:
Sets the COM port to be used for the Pendant interface and for the RS-232 Host.
Descriptive implementation: “SetPendantCOMPort,portnum”
Numerical implementation:
“516, portnum”
Availability:
LAN
Parameters:
portnum: The COM port to use for the Pendant interface. Valid range: [1,2]
Returns:
An API Response code
Comments:
Client must call TakeHostControl before making this call. This setting will not take effect
until the board power is cycled, or a HardwareReset command is issued. There are three
COM ports available on the LEC-1: COM1, COM2, and COM3. The high speed RS-232
Host interface and the Pendant share COM1 and COM2.
When the Pendant is configured for COM1, the RS-232 Host will use COM2.
Likewise if the Pendant is configured for COM2, the RS-232 Host will use COM1.
COM3 is available only for WinLase LAN Automation objects such as serially controlled
motors, etc.
Also see:
GetPendantCOMPort, SetCOMPortSpeed, GetCOMPortSpeed
LMF2000 LASER MARKER
990-298
D-19
APPENDIX D: REMOTE INTERFACE COMMANDS
SetPerformanceGlobals (14)
Purpose:
Sets the current Performance global data structure values.
Descriptive implementation: “SetPerformanceGlobals,markspeed,laserpower,pulsewidth,period,orientation
xoffset,yoffset,zoffset”
Numerical implementation:
“l4,markspeed,laserpower,pulsewidth,period,orientation,xoffset,yoffset,zoffset”
Availability:
LAN, RS-232
Parameters:
markspeed: Scale factor for the mark speed.
Valid range: [0.500 to 1.500]. Default: [1.000]
laserpower: Scale factor for the laser power.
Valid range: [0.800 to 1.200]. Default: [1.000]
pulsewidth: Scale factor for the laser modulation signal pulse width.
Valid range: [0.500 to 1.500]. Default: [1.000]
period: Scale factor for the laser modulation signal period.
Valid range: [0.500 to 1.500]. Default: [1.000]
orientation: Orientation of the scan head to the marking field.
Valid values: [0, 90, 180, 270]. Default: [0]
xoffset: Offset of the x-coordinate of all marking objects, in bits.
Valid values: [-32768 to 32767]. Default: [0]
yoffset: Offset of the y-coordinate of all marking objects, in bits.
Valid values: [-32768 to 32767]. Default: [0]
zoffset: Offset of the z-coordinate of all marking objects, in bits.
Valid values: [-32768 to 32767]. Default: [0]
Returns:
An API Response code
Comments:
All marking objects have a global performance “adjustment” applied before marking. Use
the SetPerformanceGlobals function to set the scalar values that are applied to the
specified parameters. Not all parameters need to be set at the same time. To leave the
current setting of a specific parameter unchanged, use the string “NOP” for that
parameter.
For example, to only set the pulsewidth scalar to 1.2, use the following command:
SetPerformanceGlobals,NOP,NOP,1.2,NOP,NOP,0,0,0.
Note that the x, y and z offsets must be provided.
ResetPerformanceGlobals
Also see:
LMF2000 LASER MARKER
D-20
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
SetSubnetMask (510)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
SetUserPIN (512)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
TakeHostControl (2)
Purpose:
Descriptive implementation:
Numerical implementation:
Availability:
Parameters:
Returns:
Comments:
Also see:
Sets the Subnet mask of the LEC-1.
“SetSubnetMask,subnetmask”
“510,subnetmask”
LAN
subnetmask: The Subnet mask in dot notation format (ex. 255.255.255.0)
An API Response code
Client must call TakeHostControl before making this call. This setting will not take effect
until the board power is cycled, or a HardwareReset command is issued.
TakeHostControl, HardwareReset, SetSubnetMask
Sets the current User PIN.
“SetUserPIN,userpin”
“512.userpin”
LAN
userpin: A string representing the UserPIN.
An API Response code
Client must call TakeHostControl before making this call. This setting will not take
effect until the board power is cycled, or a HardwareReset command is issued. The
UserPIN is used with the Pendant interface, and provides password protection for User
access functions.
TakeHostControl, HardwareReset, SetUserPIN, GetAdminPIN, SetAdminPIN
Request exclusive control of the Embedded Control Card.
“TakeHostControl”
“2”
LAN, RS-232
None
An API Response code
A Client cannot gain exclusive control of the Embedded Control Card if it is busy
processing a job. Use GetJobStatus to determine if there is a job currently being
processed.
ReleaseHostControl, GetJobStatus
LMF2000 LASER MARKER
990-298
D-21
APPENDIX D: REMOTE INTERFACE COMMANDS
API Response Codes
The following are possible responses returned by the API. In certain cases, the response message may be
an error message rather than the expected Success or return variable(s).
Value/constant
Description
0
1
2
3
4
5
6
7
8
9
10
=
=
=
=
=
=
=
=
=
=
=
Success
Idle
Busy
NoJob
InControl
NotInControl
LicenseUnavailable
LicenseAccessDenied
BadCommand
BadArg
ArgOutOfRange
The operation completed successfully
The job engine is idle
The job engine is currently executing a job
The specified job was not found
The requesting client has exclusive control of the Host
The requesting client does not have exclusive control of the Host
A valid license was not found
The current license does not allow the requested feature
The API command was not recognized
A specified argument was invalid
A specified argument was out of range
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
NoFilesFound
NoDrive
JobOutOfMemory
TooManyObjects
NoObject
JobException
NotInHostControl
WrongHostType
ErrorJobBusy
NoActiveJob
ErrorSoftware
LoadFail
NoObjects
WriteFail
JobFileFormat
FileException
UnknownObject
UnknownType
NotSupported
NotAvailable
FPGADataFai1
No files were found at the specified path
No drive was found
Out of memory exception
Internal error, consult factory
The specified object does not exist
An internal job exception
Operation cannot be performed if the client is not in control
Operation cannot be performed with this host type
Operation cannot be performed while a job is executing
There is no Active Job
Internal error, consult factory
A job load failed
The job does not contain any objects
Internal error writing file
Job file format error
Internal error while processing file
Unknown object type
Unknown type
Operation not supported
Resource not available
Internal FPGA data format failure
200
201
202
203
204
205
206
207
208
209
210
211
=
=
=
=
=
=
=
=
=
=
=
=
NoProperties
ObjectException
Abort
NoFontResource
NoOverride
ExternalEnableDenied
CannotCreatePort
CannotOpenPort
PortNotOpen
PortTimeout
WrongPortNumber
WrongObjectType
Object does not contain any properties
Internal object exception
Operation was aborted
The font specified in the object was not found
Internal object error
Operation denied by External control
A port setting (baudrate, stopbits, etc.) is invalid
Error while attempting to open COM port
Port must be open to execute command
A port operation timed out
Invalid port number
Operation is not supported by this object type
LMF2000 LASER MARKER
D-22
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
Example Program
An example program is provided to illustrate how to initiate a session with the LEC-1, load a job stored
locally on the controller, run the job once, and then close the session.
C# Example
This is an example written for the LAN interface. Error checking of the value returned from
Socket.ReadLine() has been omitted for clarity.
//Connect to the LEC-1 (with specific platform function call)
Socket.Connect();
string result Socket.ReadLine(); //Welcome banner sent by LEC-1
//Take exclusive control of the LECSocket.WriteLine(“TakeHostcontrol”);
result = Socket.ReadLine();
//Load a job
Socket.WriteLine(“LoadFlashJob,testjob.dat”);
result = Socket.ReadLine();
//Make the job active
Socket.WriteLine(”MakeJobActive,testjob.dat”);
result = Socket.ReadLine();
//Run the job once
Socket.WriteLine(”ExecuteJobOnce”);
result = Socket.ReadLine();
//Wait while job is running
do
{
//Check job status
Socket.WriteLine(“GetJobStatus”);
result = Socket.ReadLine();
Sleep(100);
}
while (result != “Idle”);
//Close session
Socket.WriteLine(”ReleaseHostControl”);
result = Socket.ReadLine();
//Disconnect (with specific platform function call)
Socket.Close();
LMF2000 LASER MARKER
990-298
D-23
APPENDIX D: REMOTE INTERFACE COMMANDS
Section II. RS-232 and TCP/IP Commands
The interface provided for RS-232 and TCP/IP is textual; commands are sent over either port as ASCII
text strings. The commands listed below are in support of the standard RS-232 communications. This
section does not include commands sent over a Fieldbus interface, that uses a memory mapped
technique and transfers bits and bytes of memory between Master and Slave sources. Please refer to the
Lanmark Controls Inc. Interface guide for details on communicating over a Fieldbus interface.
RS-232 and TCP/IP Interface
Command Syntax
For the sake of clarity, the responses listed below each command have been listed with their descriptive
error codes. In practice, the responses are returned with numerical error codes. For example; when the
Host is in control of WinLase, the Interface Request Status for STATUS,IN_HOST_MODE will be
STATUS,512.
Command Set
The following list describes all of the Remote Interface commands and their intended use, and is
presented in alphabetical order by command name. A description of the command parameters follows
each command.
HOME
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
Commands all of the motor control axes to return to their Home position. This command is valid only if
WinLase has been configured with a compatible motor controller.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,NO_MOTOR_CONTROLLER
Motor controller board not found
ERROR,MOTOR_HOME
There was an error during the homing process
MODIFY,buffer,##,******
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
To store the string ‘*****’ in the internal string buffer at index ##. ## must be between 1 and 10. Text
objects within the job must have their “Source” set to Get String from Memory buffer to use the buffer
contents. Calling this will clear the previous value stored in the buffer.
ACK
Acknowledged
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,NO_SUCH_BUFFER
Buffer ## out of range
ERROR,INVALID_TEXT
The length of the ***** string is zero, or does not contain
markable characters
LMF2000 LASER MARKER
D-24
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
MODIFY,field,##,******
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
To modify a field of text or barcode where ## is the number of the field (object) to be modified, and
“*****”is the new text string. The field ## corresponds to the position the object has in the Object List
within the job (i.e. the first object in the Object List would have an index value of 1). If the index values
are not known at run time, use MODIFY, buffer instead. The marker must be OFFLINE. If the field
does not exist, an error is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
ERROR,UNKNOWN_QUALIFIER
The length of the ***** string is zero, or does not contain
markable characters.
MODIFY,position,##,xoffset,yoffset
Purpose:
Responses:
To change the position of a marking object, where ## is the number of the object to be modified, xoffset
is the amount to move the object in bits along the x-axis, and yoffset is the amount to move the object in
bits along the y-axis. The field ## corresponds to the position the object has in the Object List within
the job (i.e. the first object in the Object List would have an index value of 1).The marker must be
OFFLINE. If the field does not exist, an error is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
MODIFY,rotation,##,angle
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
(NOTE: WinLase must be under Host control)
To rotate a marking object about it’s center, where ## is the number of the field (object) to be modified,
and angle is the amount to rotate the object, in units of 0.010 degrees. A positive angle value rotates the
object clockwise. The object ## corresponds to the position the object has in the Object List within the
job (i.e. the first object in the Object List would have an index value of 1).The marker must be OFFLINE.
If the field does not exist, an error is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
LMF2000 LASER MARKER
990-298
D-25
APPENDIX D: REMOTE INTERFACE COMMANDS
MODIFY,rotationex,##,angle,xcenter,ycenter
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
To rotate a marking object about an arbitrary center of rotation, where ## is the number of the object to
be modified, angle is the amount to rotate the object, in units of 0.010 degrees, xcenter is the x-axis
center of rotation, in bits and ycenter is the y-axis center of rotation in bits. A positive angle value
rotates the object clockwise. The object ## corresponds to the position the object has in the Object List
within the job (i.e. the first object in the Object List would have an index value of 1). The marker must
be OFFLINE. If the field does not exist, an error is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
MODIFY,scale,##,xscale,yscale
Responses:
(NOTE: WinLase must be under Host control)
To scale a marking object from it’s center, where ## is the number of the object to be modified, xscale
is the amount to scale the object in the x-axis, in percent, and yscale is the amount to scale the object in
the y-axis, in percent. For example, to decrease the size of an object to half it’s current size, use the
value 50.00 (%) for both the xscale and yscale values. The object ## corresponds to the position the
object has in the Object List within the job (i.e. the first object in the Object List would have an index
value of 1). The marker must be OFFLINE. If the field does not exist, an error is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
OFFLINE
(NOTE: WinLase must be under Host control)
Purpose:
Responses:
Commands the laser to immediately stop marking, and returns the laser to the MARKER OFFLINE state
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,ALREADY_OFFLINE
Marker is already offline
Purpose:
LMF2000 LASER MARKER
D-26
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
ONLINE
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
Commands the marker to start the marking process. System will immediately start polling external start
port, and enter MARKER_ONLINE state. This call automatically sets the external start flag to true,
and sets the repeat mode to repeat indefinitely.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,ALREADY_ONLINE
Marker is marking or waiting for external start signal.
ERROR,NO_JOB_LOADED
No job loaded.
ERROR,INTERLOCKS_OPEN
An interlock port on the interlock I/O card is open.
ERROR,NO_SCANCARD
There is no scan head card installed in machine
ERROR,NO_HARDLOCK
No Hardlock detected
ERROR,NO_IOCARD
No I/O card installed in the computer.
ERROR,STEP_REPEAT_INVALID
The values saved in the job for step and repeat will result
in an invalid object position.
ERROR,TEXT_SOURCE _INVALID
A text object was saved with a Source value incompatible
with the host interface.
ERROR,TEXTMERGE_INVALID
There was an error while processing a TextMerge file.
ERROR,OBJECT_OUT_OF_BOUNDS
There is an object in the job that is outside the legal
marking field.
OPEN,file,######
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
To open a file where “####” is a text string describing the file to be opened, and must be a fully
qualified UNF file path. If the file cannot be found, or is corrupt, an error code is returned.
ACK
Acknowledged
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode
ERROR,FILE_NOT_FOUND
The file was not found at the indicated path location, or
there was an error while opening the file.
ERROR,UNKNOWN_VERB
First word in command line not recognized.
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
ERROR, UNKNOWN_QUALIFIER
The file path was less than 3 characters in length.
REQUEST,data,bits_per_mm,c#,h#
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the current value for the scan field bits/mm, where c# is the zero based card
index and h# is the zero based scan head index. An example string would be:
“REQUEST,data,bits_per_mm,0,0”. The bits/mm value is the ratio of a point coordinate in bits and the
actual position of the point in millimeters.
DATA,x
x is the bits/mm value.
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
LMF2000 LASER MARKER
990-298
D-27
APPENDIX D: REMOTE INTERFACE COMMANDS
REQUEST,data,cyclecount
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the current cycle count. The cycle count indicates the number of full cycles,
including step and repeat.
DATA,x
x is the current cycle count.
ERROR,UNKNOWN_VERB
First word in command line not recognized.
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
REQUEST,data,partcount
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the current part count. The part count is the individual marks within a cycle.
DATA,x
x is the current part count.
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
REQUEST,data,cycletime
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the current cycle time. The cycle time is defined as the elapsed time to do
all marks within a single cycle.
DATA,x
x is the current cycle time.
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
REQUEST,data,parttime
Purpose:
Responses:
Request WinLase to return the current part mark time. The part time is defined as the elapsed time to
do a single mark within an overall cycle.
DATA,x
x is the current part time.
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
REQUEST,data,jobname
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the name of the currently loaded job.
DATA,filepath
filepath is the fully qualified path to the currently loaded
job file.
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
LMF2000 LASER MARKER
D-28
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
REQUEST,data,version
Purpose:
Responses:
Request WinLase to return its Version number.
DATA,x
x is the Version number
ERROR,UNKNOWN_VERB
First word in command line not recognized
ERROR,UNKNOWN_NOUN
Second word in command line not recognized
REQUEST,data,user
Purpose:
Responses:
Responses:
(NOTE: WinLase must be under Host control)
To request data from a field of text, barcode or graphic where ## is the number of the field to be
queried. The marker must be OFFLINE. If the field does not exist, an error is returned.
DATA,field#,objecttype,data
field# is the field # of the object.
objecttype is object type defined in Appendix B
data is the string value for text and barcodes and the
graphic file path for a graphic object.
ERROR,NOT_IN_HOST_MODE
WinLase must be in host mode.
ERROR,UNKNOWN_VERB
First word in command line not recognized.
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
ERROR,UNKNOWN_QUALIFIER
The ## field was not an integer value.
ERROR,NO_SUCH_FIELD
The ## field index is larger than the total number of
objects loaded.
REQUEST,status,interface
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Request WinLase to return the User currently logged on to the current Windows NT/2000 session.
DATA,username
username is the currently logged on user.
ERROR,UNKNOWN_VERB
First word in command line not recognized.
ERROR,UNKNOWN_NOUN
Second word in command line not recognized.
REQUEST,field, ##
Purpose:
(NOTE: WinLase does not need to be in Host control)
(NOTE: WinLase does not need to be in Host control)
Returns the current status of the Host interface
STATUS,IN_HOST_MODE
Host is in control of WinLase.
STATUS,HOST_NOT_READY
Not available for host command.
STATUS,HOST_READY
Available for host command.
LMF2000 LASER MARKER
990-298
D-29
APPENDIX D: REMOTE INTERFACE COMMANDS
REQUEST,status,marker
Purpose:
Responses:
Returns the current status of the laser marker and WinLase software.
STATUS,HOST_NOT_READY
Cannot get status of marker because host is not available
for host command.
STATUS,INTERLOCKS_OPEN
An interlock port on the interlock I/O card is open.
STATUS,MARKER_ONLINE
Marker is marking or waiting for external start signal.
STATUS,MARKER_OFFLINE
Job is loaded and marker is ready to accept ONLINE
command or MODIFY command.
STATUS,NO_JOB_LOADED
No job loaded.
STATUS,ERROR_PROCESS
There was an error while in the ONLINE mode. This
error will be cleared after it is read once, and if all OK,
the next response will be
STATUS,MARKER_OFFLINE.
RUN
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
(NOTE: WinLase must be under Host control)
Commands the marker to start the marking process. System will immediately execute the currently
loaded job and enter the MARKER_ONLINE state. This call does not automatically set the external
start flag to true, and does not set the repeat mode to repeat indefinitely. The current job settings will
be used for these two parameters.
ACK
Acknowledged.
ERROR,NOT_IN_HOST_MODE
WinLase must be in Host mode.
ERROR,ALREADY_ONLINE
Marker is marking or waiting for external start signal.
ERROR,NO_JOB_LOADED
No job loaded.
ERROR,INTERLOCKS_OPEN
An interlock port on the interlock I/O card is open.
ERROR,NO_SCANCARD
There is no scan head card installed in machine.
ERROR,NO_HARDLOCK
No Hardlock detected.
ERROR,NO_IOCARD
No I/O card installed in computer.
ERROR,STEP_REPEAT_INVALID
The values saved in the job for step and repeat will result
in an invalid object position.
ERROR,TEXT_SOURCE_INVALID
A text object was saved with a Source value incompatible
with the host interface.
ERROR,TEXTMERGE_INVALID
There was an error while processing a TextMerge file.
ERROR,OBJECT_OUT_OF_BOUNDS
There is an object in the job that is outside the legal
marking field.
SET,control,host
Purpose:
Responses:
(NOTE: WinLase does not need to be in Host control)
Puts WinLase into external control mode. All user input at the console is disabled.
ACK
Acknowledged.
ERROR,ALREADY_IN_HOST_MODE
Host is already in Host mode.
ERROR,HOST_NOT_READY
Host cannot go into host mode because the Allow Host
Control check box in WinLase is cleared.
LMF2000 LASER MARKER
D-30
990-298
APPENDIX D: REMOTE INTERFACE COMMANDS
SET,control,local
Purpose:
Responses:
(NOTE: WinLase must be under Host control)
Releases WinLase from the external control mode. Enables user input at the console.
ACK
Acknowledged.
ERROR,ALREADY_IN_LOCAL_MODE Host is already in local mode.
ERROR,MARKER_ONLINE
Marker is marking or waiting for external start signal.
Example Program
An example program is provided to illustrate how to initiate a session with WinLase, manipulate an
object in the loaded job, run the job, and then close the session.
C++ Example
The following pseudo-code uses an application defined function called SendToSocket(), which
represents a method of outputting text from either the RS-232 or TCP/IP ports, and receiving a response
as it’s return value.
//Aquire WinLase
SendToSocket (“SET,control,host”);
//Make sure we have control
if(SendToSocket (“REQUEST,status,interface”)!=” STATUS,512 )
return ERROR;
//Load a job
SendToSocket (“OPEN,file,c:\\test\\job\\test.wlj”);
//Make sure job has loaded properly
if(SendToSocket (“REQUEST,status,marker”)!=” STATUS,2300 )
return ERROR;
//Change the text in the object at index position 2
SendToSocket (“MODIFY,field,2,”Hello World”);
//Put WinLase into the ONLINE mode, waiting for START PROCESS to toggle
SendToSocket (“ONLINE”);
//Verify we are in ONLINE MODE
if(SendToSocket (“REQUEST,status,marker”)!=” STATUS,2301)
return ERROR;
//Mark some parts
//Stop polling the STARTPROCESS input
SendToSocket (“OFFLINE”);
//Release WinLase
SendToSocket (“SET,control,local”);
LMF2000 LASER MARKER
990-298
D-31
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising