Home
HC/3 Controller User`s Manual
Contents
1. XXX X XX X X Xx XXx x x x Figure 20 Red area delineates the correctable marking field Grid correction simply adjusts the position of points commanded so that they all fall onto a rectilinear grid Each point has a different X and Y correction factor but the errors are determined by the physics of the mirror system so it is possible to correct each point by using a Grid Calibration Table coupled with interpolation Grid Calibration Tables are provided with each GMAX head for a given focal length and lens These tables are loaded into the WinMCL Plus system using the commands MC set corrtable and MC set corrtableFromMemory P N 70M 1095 Rev E pc Genera ELLA Page 26 WWW gs scanners com WinMCL Plus Software User s Manual Laser Power Control The HC 3 card provides two hardware interfaces for programmatic control of laser power PortB and the Laser Modulation signal The value output by PortB is controlled by the Power parameter Each time the value changes output occurs on both Port B of the isolated connector and Port B of the internal connector The Power Delay is executed on each change to compensate for the time frame latency between the laser and computer The Power parameter is actually an index into a WinMCL data structure called the Power Table Operations
2. General 4 Scanning WWNW gs scanners com O38 zZ indur SSSA 3ndur Sdd j ZOLM 7 vH tom Sd3 Ha OF vOLM 31V97 END OF DOCUMENT Figure 12 2 add on card block diagram 2 Block Diagram HC 3 Controller User s Manual 3geu dois I 4 LSSA dois 3ndut A N 3nd 3no uJe841i1nus Z yndut 4azanys 1095 4717 25 U 3 3 AS a 19504 cold 138440 339 I WV JT v a 4 7 STG 4 P N 70M 034 Rev G Page 36 General Scanning Optical Scanners WinMCL Plus Software User s Manual References found in this document to prior company and division names such as General Scanning Inc GSI Lumonics and GMAX now refer to General Scanning
3. 124 5 30 125 39l MC SET X FUP c 126 Dos MC SET XFORM n EEEa ST 127 5 53 MU SET XY BXCHANGE i ssetasdereaveshindstesdebersacnsacamadensevadbavensasiegderidemeretadaavenieses 128 3 34 MC SET Ron c 129 222 MO 00 p 130 390 MC START MARK atu eee ER miU 5 57 START MARK NON 132 5 98 START MARK ON siandedaaasondonsaspobdd sisnanadesanacacdeses 133 5 59 MC START MARK ON BEGIN NON BLOCKING 22 134 5 60 Doi aiutato 135 3 01 IMIG SOP TRACKING 136 P N 1095 Rev E gt Genera D c Page 74 WWW gs scanners com WinMCL Plus Software User s Manual pc General P N 7 1095 Rev E EA WWW gs scanners com Page 75 WinMCL Plus Software User s Manual MC abort mark Operational Description This function call aborts the currently executing marking job When to Call This command will terminate the m
4. 143 6 6 MD INCLUDE DATA 144 6 7 MD INCLUDE 145 6 8 MD IUMP ABS 146 6 9 MD LU DAI T UU Um 147 610 ANID LIST BEGIN rec 148 OAL MD TIST END E E 149 MD MARK oaair a uid Ea ii 150 613 UMD MARK RE 151 MD MOVE 152 615 MD M VE 153 MD e FU ena 154 6 17 an iu 155 6 18 MD rainei innia a RRE 156 619 MD PART MATRIX 157 6 20 MD PART TRANSFORM 158 621 MD RASTER ABS EEE 159 p22 BEL E UR E e s PERDE aM 160 6 23 MD REPEAT esenee 161 6 24 MD RESET TRACRING 162 6 25 IMD ASELECT PARAMETER SET ciscscdsag
5. OFFSET P102 TES Jumper Figure 11 IO2 card outline drawing gt FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 25 HC Controller User s Manual IO2 Card Installation The IO2 card piggybacks onto the HC3 The HC3 must be removed from the computer the IO2 card plugged into the HC3 the jumpers on the IO2 card set and the card assembly reinstalled into the computer Refer to sections 0 and 0 for information on jumper settings To remove the HC3 With the computer and the monitor power off remove the computer cover 2 Remove the cables from the HC3 output connectors 3 Unplug and remove the HC3 from the computer motherboard Connecting the IO2 card to the HC3 The connector on the solder side of the IO2 card mates to the internal 50 pin IO header on the HC3 Make sure of the IO2 card is connected to Pin of the The male header on the HC3 is a 50 pin the female connector on the IO2 is a 34 pin connector The higher number pins on the 50 pin HC3 connector remain unused Place screws M3x6 mm into the two holes on the IO2 card such that the screw heads are on the component side of the board 2 Insert spacers over the screws Align the connector with the IO header on the HC3 and press them together 4 Secure the each panel by placing a flat washer lock washes and then nut on the solder side of the HC3 o Reinstallin
6. i Signal 10 us i Laser 1 Rod IM n Nee NN Laser Pulse Output 50 kHz 10 us Off Time Q Switch Signal NULL 1 b ra me Laser d Rod 1 Laser Pulse Output P N 70M 1095 Rev E General 4 Scanning gue mt WWW gs scanners com Page 229 WinMCL Plus Software User s Manual INDEX A Absolute Coordinate glossary P190 B Beam Path glossary P190 Beam Positioning Lag glossary P190 BEGIN_MARK signal glossary P190 Break Angle parameter P56 D Data Structure Definitions tutorial P39 Dither Feed parameter P57 Dither Width parameter P58 E Exchange Flag glossary P191 F Field Distortion Correction Table glossary P192 Field Distortion Correction tutorial P26 Flip Matrix glossary P192 Focal Point glossary P192 FPS Enable parameter P59 FPS Delay glossary P192 G GCX File glossary P192 GCX Files tutorial P General Comments on Function Calls tutorial P33 Global Matrix glossary P192 Global Parameters glossary P193 H Hardware IO tutorial P29 HC 3 device driver glossary P193 HC 3 glossary P194 I Intensity parameter P60 J Job Queue glossary P194 Jump Delay glossary P195 Jump Delay
7. 69 4 15 Q SWITCH E o 70 416 STEP PERIOD 71 STROKE DELAY rt 72 gt FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 55 WinMCL Plus Software User s Manual Break Angle If the angle between two consecutive mark vectors in a stroke is too acute the beam may not be able accurately to track the change in heading due to galvo mirror inertia resulting in a curved error path where sharp corners would be expected We say that the Break Angle the change in beam compass heading is too large The Break Angle parameter allows a maximum angle to be specified If this exceeded WinMCL Plus will break the stroke at the end of vector N and start a new stroke with vector N 1 If the stroke is broken into two strokes then the laser trajectory executes the Stroke Delay If the included angle is greater than the break angle then the trajectory of the stroke executes without a pause Current maximum Break Angle between Break Angle setting vectors and N Macro vector N Macro vector N Parameter Definition BreakAngle Integral Degrees 0 180 Unsigned long Related Topics Stroke Delay Polyline Delay Appendix A Adjusting Parameters P N 1095 Rev E gt Genera D ocn Page 56 WWW gs scanners com WinMCL Plus Software User s Manual
8. P N 1095 Rev E pc General T Page 72 WWW gs scanners com WinMCL Plus Software User s Manual FUNCTION DEFINITIONS program interface API A separate subset of MD commands described in Chapter 0 GCX Command Definitions direct the HC3 for individual marking scripts or GCX files Click on the link below to jump to the topic page Y 7 arious commands included in WinMCL Plus library are called by an application 5 1 NIC ABORT MARK os ne Quim 76 5 2 IMC CLOSE VECTOR DUMP 77 5 3 EIN Tc 78 3 4 MC EXIT MARR PROC rc rcc 79 mo MC GET BEGIN Ming r E E EE 80 5 6 MC GET MARK ABORT 81 97 GET OPTIONAL STATUS 82 38 MC E E 83 5 9 dE oo P 84 2 10 MC GET ERROR dida div dites didus 85 511 MC GET FPS DELAY 0m 86 5 12 MC GET HEAD STATUS E A E 87 MC JOR COUN cei a ean 88 514 MC GET NUM CARDS bo bine 89 5 15 2205 9 SERE
9. pc General P N 7 1095 Rev E WWW gs scanners com Page 203 WinMCL Plus Software User s Manual Object Matrix The Object Matrix is traditionally used to transform graphic objects within a job For instance the job requirement might be that a serial number be written on one edge of a square model number on another edge and the corporate logo on a third edge See the diagram eye 010 gt lt fs gt 5 23432 Figure 45 Example of part marking with three graphic objects in different orientations Changes in the Object Matrix that precede the marking instructions for certain strings allow the string routines to be written in the normal upright sense The Object Matrix simple rotates the coordinate system as needed to mark the mini job in a given orientation The Object Matrix is represented as 3x3 matrix of floating point numbers as shown in the following diagram A 0 C D YO 0 0 1 Figure 46 Location of the parameters in the Object Matrix The MD object matrix GCX command is an input method where the parameters of the instruction are directly mapped to the matrix locations as shown in the diagram above The MD object transform GCX provides an alternate input method for the parameters The following diagram illustrates the procedure invoked on the parameters of this function cos ang sin ang 0 1 0 x sin ang cos ang O x 0 1 y 0 0 1 0 0 1 Fig
10. A Q Switch Period pe Laser OFF Delay Maximum laser ON pulse grey 255 Laser ON delay 0 Figure 5 Simple form of maximum pulse definition with Laser ON Delay 0 Guidelines have been set for consistent operation for the values of the delay parameters QSwitchPeriod LaserOffDelay LaserONDelay gt 0 So in raster mode the Laser On Delay and Laser OFF Delay operate slightly differently than in vector mode In vector mode the delays were used to prevent the laser from firing while mirror was moving in its latent time frame with respect to the undelayed MD instruction execution time frame Raster mode differs in that the delays are used to set the maximum raster pulse that can be commanded in the raster commands The pacing or raster pulse rate is determined solely by the value of the Q switch period parameter The Laser On Delay and Laser OFF Delay simply provide a means to define the width of the maximum raster pulse P N 70M 1095 Rev E pc Genera ELLA Page 16 WWW gs scanners com WinMCL Plus Software User s Manual Laser power control for the raster marking instructions can also be output from PortB There are actually three modes of output of the GSV parameters of the raster commands 1 Laser power is controlled by the pulse width of the laser modulation signal only 2 Power control is output via Port B only 3 Power control is output from both sources The diagram shows the ti
11. The signal output is located at pin 9 of the External I O connector The signal is active low The following diagram shows the location of the MARK ERROR signal on the optically isolated connector D ERROR pin 9 1 Figure 41 Location of the Mark Error signal on the pin out of 12 The MD command related to MARK ERROR is e MD set mark error The MC command related to MARK ERROR is e MC set mark error Related topics e MD set mark error e MC set mark error e Hardware IO e MC reset MARK IN PROGRESS The MARK IN PROGRESS signal is an output from the HC 3 This signal is used by WinMCL Plus to tell external hardware that a marking job is in progress The signal is active low and is set when marking a job The MARK PROGRESS signal is reset when either the MC abort mark or MC reset commands are executed or if the MARK ABORT signal is asserted The signal output is located at pin 5 of the optically isolated connector I2 or pin 21 of the internal connector I3 The following diagram shows the location of the MARK IN PROGRESS signal on both of the connectors P N 70M 1095 Rev E pc Genera D ocn Page 200 WWW gs scanners com WinMCL Plus Software User s Manual MARK_IN_PROGRESS pin 5 1 lo Figure 42 Location of the Mark_in_Progress signal on the pin out of I2 PAO 1 2 1 2 3 4 4 5 6 PAS PA6 7 8 PA7 PBO 9 10 1 2 11 12 PB3 PB4 13 14
12. Related Topics General Comments on Function Calls WinMCL Error Codes Data Structure Definitions P N 70M 1095 Rev E pc General D ocn Page 92 WWW gs scanners com WinMCL Plus Software User s Manual MC get status Operational Description Get the WinMCL Plus system status The system status value consists of two groups of bits The first cumulatively indicates the progress of a job through successive stages of processing The second indicates error conditions When to Call This command is used to monitor the progress of the marking thread It is useful in coordinating the flow of data into the job queue Input Parameters None Output Parameters Previously allocated unsigned long address Status The current WinMCL Plus system status code Unsigned long Function Call unsigned long Status get status estatus 2 Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Possible Values in Output Parameter Status STATUS IDLE STATUS LOADING JOB STATUS MARKING STATUS WAITING FOR BEGIN Related Topics General Comments on Function Calls WinMCL Error Codes gt FE P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 93 WinMCL Plus Software User s Manual MC get target velocity Operational Description Get the target X and Y velocities that were previously set in MC set target velocity Units are LSB sec When to Call Input
13. General Scanning Optical Scanners HC 3 Controller User s Manual References found in this document to prior company and division names such as General Scanning Inc GSI Lumonics and GMAX now refer to General Scanning Optical Scanners a member of GSI Group Inc HC 3 Controller User s Manual General Scanning Optical a December 2006 GSI Group Inc GSI Group and General Scanning are registered trademarks P N 7 034 Revision G The information contained in this document is the sole property of General Scanning The disclosure of this information does not constitute the release of any proprietary rights therein Permission to reproduce this information or the products disclosed herein must be obtained in writing from General Scanning Contact Information Americas Europe Asia 39 Manning Road Einsteinstrasse 2 Technoport Kamata 16 1 Billerica MA 01821 D 85716 Unterschleissheim Minami Kamata 2 Chome U S A Germany Ohta Ku Tokyo 144 0035 Japan TEL 1 978 439 5511 TEL 49 89 31707 0 TEL 81 3 5425 7733 Sales FAX 1 978 663 0131 FAX 49 89 31707 250 81 3 5714 0557 Service a AR sig com e gsig com PAATE PARR panas Toll Free 1 800 342 3757 81 3 5714 0566 Service E mail ScannerSales Asia gsig com P N 70M 034 Rev G uren Page 2 WWW gs scanners com Table of Contents 1 IMPORTANT INFORMATIO
14. 216 216 216 216 General Scanning WWW gs scanners com P N 70M 1095 Rev E Page 7 WinMCL Plus Software User s Manual DELAYS Laser On Off Delay Jump Delay usec Mark Delay usec Break Angle degree Stroke Delay usec Autosegmentation Laser Power Laser Power Delay OPTIMIZING DELAYS Define Process Scan Velocity Optimize Timing Between Laser and Galvos Optimize Jump Size and Jump Delay Optimize Mark Delay Optimize Stroke Delay LASER MODULATION Laser Modulation Signal Q Switched Lasers YAG INDEX 218 218 220 221 222 223 224 225 226 226 226 227 227 227 228 228 228 230 P N 70M 1095 Rev E Page 8 General 4 Scanning WWwW gs scanners com WinMCL Plus Software User s Manual 1 IMPORTANT INFORMATION 1 1 ESD WARNING The OEM electronics that General Scanning manufactures including galvanometers and servo controllers are electrostatic discharge ESD sensitive Improper handling 4 f aS could therefore damage these electronics General Scanning has implemented procedures and precautions for handling these devices and we encourage our customers to do the same Upon receiving your components you should note that it is packaged in an ESD protected container with the appropriate ESD warning labels The equipment should remain sealed until the user is located at a proper static control station Note Any equipment returned to the factory
15. 4 Altera Corporation Analog Devices Z3 Andrea Electronics 3 Apple Computer Inc ArcSoft Z3 Autodesk 7 cope Classes Clients crystal Decisions Cygnus Solutions dapdesign EH EH EH EH EE EH EH EHE EH EH EH EE EHE EH EHE EHI EH GSILumonics Installedoptions 3 3 Instalshield KEI Computer HKEY_LOCAL_MACHINE SOFTWARE GSILUmonics WinMCL 32 2 Cadence Design Systems DameWare Development Dell Computer Corporation Z3 FLEXIm License Manager Type Data 88 DownloadNBlocks 88 SSmaxDutycycle REG_SZ REG_DWORD REG_DWORD REG_DWORD REG_DWORD REG_DWORD REG_DWORD REG_DWORD REG_DWORD value not set 0 00000000 0 0x00000020 32 0 00002000 8192 0x0000005a 90 0 00000032 50 0x0000000a 10 Ox0000000f 15 0x00000001 1 Figure 22 Separate Signals Mode registry settings WWwW gs scanners com P N 7 1095 Rev E G E Page 31 WinMCL Plus Software User s Manual PROGRAMMING WINMCL PLUS following section serves as tutorial for those engaging in the programming of WinMCL Plus 3 1 SUPPORT PROGRAMS GCXASM NPC POSTGRID WGCXVIEW AND WINMCLTEST3233 3 2 GENERAL COMMEN
16. MD command P166 MD shoot MD command P167 MD start tracking MD command P169 Micro Vector glossary P202 Mirror Inertia glossary P202 Move Vector glossary P203 O Object Matrix glossary P203 OPT2 signal glossary P203 Obsolete MC Commands tutorial P44 Obsolete MD Commands tutorial P45 Pacing Delay glossary 205 Parameter Set glossary P205 Parameter Set default values glossary P206 Parameter Sets tutorial P40 Part Matrix glossary P206 Plane of Projection glossary P207 Poly Line Delay glossary P207 Poly Line Delay parameter P66 Port A input glossary P207 Port B output glossary P209 Port N output glossary P211 Power parameter P67 Power Delay parameter P68 Power Table glossary P213 Power Table default value glossary P213 Q Q Switch Period parameter P69 Q Switch Width parameter P70 WinMCL Plus Software User s Manual General 4 Scanning WWW gs scanners com P N 70M 1095 Rev E Page 233 WinMCL Plus Software User s Manual R Raster Mode tutorial P15 RasterPulses glossary P211 Relative Coordinate glossary P212 REMOTE EXECUTE signal glossary P212 S Servo Bandwidth glossary P212 Shoot Mode tutorial P20 Step Period glossary P213 Step Period parameter P71 Stroke glossary P213 Stroke Delay glossary P213 Stroke Delay parameter P
17. P N 70M 1095 Rev E General Scanning RTL WWW gs scanners com Page 141 WinMCL Plus Software User s Manual MD global transform Specify coefficients for the Global Matrix using alternate parameters The operation is performed as rotate then translate Record Layout MD global transform float ang float x float y gt 4 4 4 4 16 Bytes ang angle in Radians Parameters x offset in LSB y offset in LSB The following matrix operation is performed with the input parameters to generate the global matrix cos ang E sin ang 0 1 0 x sin ang cos ang 0 0 1 y 0 0 1 JO O I Related Topics GCX file tutorial Marking Field Transformations MD global matrix P N 7 1095 Rev E p Garen Page 142 WWW gs scanners com WinMCL Plus Software User s Manual MD include Include contents of another GCX file Record Layout lt MD_include gt lt filename gt Opcode 0x00000005 Record Size 4 4 512 Bytes filename The filename parameter must be a valid Windows filename including the extension of up to 256 UNICODE characters and must be an EVEN number of Unicode Parameters characters long so that the entire record is an integer multiple of DWORDs long A name that actually has an odd number of characters should be padded with a trailing Unicode NUL Restrictions Must be paired with an MD include end record Related Topics GCX file tutori
18. Pin 15 Connect Con 1 Pin 6 5V output to the switches for STOP MARK and BEGIN MARK Connect Con 1 Pin 8 to the return line of the STOP MARK switch Connect Con 1 Pin 7 to the return line of the BEGIN MARK switch There is no extra external voltage needed if only the STOP MARK and BEGIN MARK function of the customer interface CONI is used pc Genet P N 70M 034 Rev G d WWW gs scanners com Page 27 HC Controller User s Manual With Opto Isolation CON 1 Begin_mark GND 2 34 stop mark Connect Con Pin 14 amp Pin 15 with the external voltage ground e Connect the external voltage 5V to 18V to the switches for BEGIN MARK and STOP MARK e Connect Con 1 Pin 8 to the return line of the STOP MARK switch connect Con 1 Pin 7 to the return line of the BEGIN MARK switch Flags and lamp current There are two Flag outputs e Remote current control COUT e Remote control LOCAL Interconnection of the customer interface CON 1 8 15 gt flag L local flag y LP Lamp current control voltage gt return Lamp current control voltage ground V 1 GND The external voltage has to be supplied to the CON1 connector if the flags and or the lamp current control voltage are to be used P N 034 Rev gt General lt lt Page 28 Www gs scanners com Connecto
19. use this function to set an upper limit on the time that any single process can complete Input Parameters The desired timeout value in milliseconds Unsigned long 0 4294967295 Output Parameters None Function Call unsigned long NewTime MC set timeout NewTime Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes gt e P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 125 WinMCL Plus Software User s Manual MC set x flip Operational Description Set or reset the x flip flag When the flag is TRUE the command stream output by the HC 3 card will have the X axis reverse with respect to the GCX command file X Flip does not modify the Transform Matrix When to Call This function can be called during initialization of the system to compensate for mounting geometries or it can be called in response to input data about the orientation of the part in the field of view Input Parameters Current flag state Unsigned short 1 TRUE 0 FALSE Output Parameters lt None gt Function Call unsigned short Flag iclajo Flag p Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D ocn Page 126 WWW gs scanners com WinMCL Plus Software User s
20. 100 communication to digital scan heads The new release includes greater functionality including CO tickle pulse first pulse suppression and option isolation of IO ports The IO2 add on card allows additional analog control required for some lasers General Scanning offers WinMCL Plus to communicate to the HC3 WinMCL Plus functions on Windows NT 2000 or XP The HC3 can be configured with PC MarktMT to backward compatible with PCMarkMT MS DOS based systems Throughout this document are blue hot links for easy navigation In addition headings in the table of contents can be clicked for rapid movement to the selected topic 2 1 General Description scanning systems consist of three distinct interdependent items First the XY scan head includes the galvos mirrors and applicable two axis mounting assembly Second closed loop scanners employ high accuracy servos that adjust the mirror position based on position feedback sensing and command input signals And third a controller device supplies a command to the servo determining the position and velocity of the system The galvanometer mirror scan head servos and controller execute in synergy to optimize the most accurate and fastest performance possible Drive Current Command 4 Position Feedback Computer Drive Current Position Feedback Figure 1 Typical scheme of a two axis optical scanning system including galvos servos and
21. 5 34 MC RESET JOB QUEUE 109 2 39 PARAMDET onesies nienie E A EE AA Ra 110 5 36 111 2297 RESET TRACKING M AE I AE a 112 5 239 SELECT PARAMETER SET 113 5 39 WC SEP MABE ERROR necis yia misit 114 5 10 SET REMOTE EXECUTE sccisscsvcatesivoseiensebdevasnsoensandassetashiveevabdepansienveneiacassentests 115 5 4 MC SET COBRTABLB sijscneqsancenssannsssnnsunsesivuesnssaanevanvdadesesaanearpuuiaadscssanaanenvenacsananel 116 5 42 SET_CORRTABLEFROMMEMORY scccsssssessscesseccessescesssccsesssesesccceeasscessansseaces 117 543 MC 118 5 444 MC SET 119 5 45 SET 25 5 120 DAD MC 20 121 5 47 MC_SET_POWERTABLEFROMMEMORY c cccsssceceeceeesececsscceessceeeseceeensececsceeenees 122 SAG RASTER MODE 123 5 19 IMIG SET
22. 6 2 First Pulse Suppression FPS is a status output available only on the internal 50 pin IO interface In the standard configuration first pulse suppression FPS is implemented as a short output pulse of 625nSec An abort condition will not affect the FPS activation state however a board reset will deactivate it The HC3 board can be optionally configured to extend the FPS output and alter it s polarity Depending on the configuration setting FPS can be extended until the first through the seventh rising edge of the LM output after FPS is initially asserted and the polarity of the FPS output can be changed to positive assertion P N 034 Rev gt General Sy Page 18 Www gs scanners com HC 3 Controller User s Manual 3 6 3 HC3Setup exe MS DOS only WinMCL Plus includes functionality to adjust the following settings but PCMarkMT requires the execution of a separate program to configure the HC3 configuration logic In the PCMarkMT tree find the file named hc3setup exe in directory C mark tools The hc3setup files allows the user to set and read parameters Type hc3setup and the screen will render the current parameters HC3 Parameters Number of cards is 1 Unless in Master Slave mode 12 34 Im 00 0 0 Inhibit LM on FLAG INPUT l Inhibit t 0000 Enable CO2 tickle pulse 1 Positive tw 0 0 0 0 CO2 PWM tickle width nx 25 microsec n 0 7 fdc 0 0 0 0 FPS pulse extension 0 7 up to seven
23. CardIndex HC 3 number Unsigned short 0 3 Output Parameters CorTbl The address of the field distortion correction table CORRTABLE 0 4294967295 Function Call unsigned short CardIndex CORETABLE CorTbl CorTbl CORETABLE malloc sizeof CORETABLE get corrtable Caiccllinclesx Corbi Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note Related Topics General Comments on Function Calls WinMCL Error Codes Data Structure Definitions gt General P N 7 1095 Rev E uL WWW gs scanners com Page 83 WinMCL Plus Software User s Manual MC get cur xyz Operational Description Gets the current X Y and Z output positions for the selected HC 3 The returned position has had field distortion correction applied and does not necessarily match any particular position in the input GCX data file When to Call Use this command when you want to know where the laser is pointing Since the data returned has had the field distortion correction applied it is not trivially possible to understand how the data relates to position data in the GCX file but it can be useful in certain contexts such as verifying that the laser is pointing to a safe area Input Parameters CardIndex HC 3 number Unsigned short Output Parameters Current X output position 32768 to 32767 Current Y output position 32768 to 32767 Current Z output position 32768 to 3
24. Current position must have been previously established using absolute coordinates Related Topics GCX file tutorial P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 151 WinMCL Plus Software User s Manual MD move abs Use the MD move abs to move the mirrors to a location specified by absolute coordinates at the marking velocity During the move the laser will be OFF The command uses the Mark Size and Step Period parameters from the currently selected Parameter Set to determine the marking velocity Record Layout MD move abs int x abs int y abs int z abs X abs X axis coordinate Parameters y abs Y axis coordinate 2 abs Z axis coordinate Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 152 WWW gs scanners com WinMCL Plus Software User s Manual MD move rel Use the MD move rel command to move the mirrors to a new location relative to the current location as specified by relative coordinates at the marking velocity During the move the laser will be OFF The command uses the Mark Size and Step Period parameters from the currently selected Parameter Set to determine the marking velocity Record Layout MD move rel int x rel int y rel int 2 rel x rel X axis relative coordinate Parameters y rel Y axis relative coordinate 2 rel Z axis relative coordinate Restrictions Curren
25. Dither Feed The Dither Feed parameter is defined as the magnitude of radial variation in the direction of motion of the dither signal By using the Dither Feed and Dither Width parameters it is possible to define a variety of circular and oval dither shapes Dither Feed Dither Width beam motion with dithering x Parameter Definition Default rane Ju Direction of beam motion DitherFeed Dither Width lt DitherFeed lt Dither Width 2 m nm Dither Width DW defines the radius of the circles Dither Feed DF is the distance between two circles The DF constraint is DW lt DF lt 2 DW In case of DF DW the next circle s center is located on the edge of the previous one In other words they are 50 overlapped In case of DF 2 DW the circles just touch each other Mark Size should be always larger than DW 1 41 The size doesn t make any difference as long as it complies to that rule DW MS SQRT 2 The rate of dither is DF per 7 SP 7 is 6 for circle elements 1 for mark to next circle For example if you have a line of 10000 LSB long and SP 20 and DF 50 then the rate is 50 LSB 7 20 usec The line mark time would be 10000 7 20 50 28 msec gt FE P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 57 WinMCL Plus Software User s Manual Dither Width The Dither Width parameter is defined as the magnitude of radial va
26. Genera D ocn Page 116 WWW gs scanners com WinMCL Plus Software User s Manual MC set corrtableFromMemory Operational Description Copies correction table values to the indexed correction table from memory When to Call Input Parameters DestIndex index of the destination correction Unsigned short Must be SourceCorrectionTable Address of the source correction table CORRTABLE PORT TABEE previously allocated Output Parameters lt None gt Function Call unsigned short DestIndex CORRTABLE SourceCorrectionTable SourceCorrectionTable CORRTABLE malloc sizeof CORRTABLE MC_set_corrtableFromMemory DestIndex GousceCo siecitdiomlelole Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc Fe P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 117 WinMCL Plus Software User s Manual MC set external signal Operational Description Set the external signal pin 50 of the I3 connector This represents the time that should elapse between the FPS Trigger Pulse and the start of Laser Modulation When to Call Input Parameters Output Parameters Function Call unsigned short usOnOff 1 set external signal State Possible Return Values Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev
27. LM cycles 0 0 0 0 FPS signal polarity 1 positive Example Type the following to change the parameters C mark tools gt hc3setup fi 1 tc 1 tw 6 You must reboot the computer for the configuration changes to take effect Now type hc3setup and the screen will identify HC3 Parameters Number of cards is 1 Unless in Master Slave mode 12 3 4 Im 0 0 0 0 Inhibit LM on FLAG_INPUT 1 Inhibit t 10 0 0 Enable CO2 tickle pulse 1 Positive tw 6 0 0 0 CO2 PWM tickle width nx 25 microsec n 0 7 fd 0 0 0 0 FPS pulse extension 0 7 up to seven LM cycles fi 10 0 0 FPS signal polarity 1 positive gt P N 70M 034 Rev G 7 Sanning WWW gs scanners com Page 19 HC Controller User s Manual 4 SAFETY AND WARNINGS Health CDRH has promulgated regulations 21 CFR parts 1000 and 1040 controlling the he United States Food and Drug Administration through the Center for Devices and Radiological safety of lasers and laser products for sale or manufacture in the United States This section is a guide to the specific areas of this product where laser safety should be addressed General Scanning XY Scan heads are designed to provide maximum flexibility and ease of use Such a design inherently requires the user to assure the overall safety of the configuration in use Note Prior to operating any configuration of the General Scanning XY Scan heads you must make a thorough analysis of system safety Key infor
28. MC commands P124 set timeout MC commands P125 MC set x flip MC commands P126 set xform matrix MC commands P127 MC set xy exchange MC commands P128 MC set y flip MC commands P129 shoot MC commands P130 MC start mark MC commands P131 MC start mark on begin MC commands P133 start tracking MC commands P135 MD comment begin MD command P139 MD comment end MD command P140 MD global matrix MD command P141 MD 2lobal transform MD command P142 MD include MD command P143 MD include data MD command P144 MD include end MD command P145 MD jump abs MD command P146 MD jump rel MD command P147 MD list begin MD command P148 MD list end MD command P149 MD mark abs MD command P150 P N 70M 1095 Rev E pc Genera ELLA Page 232 WWW gs scanners com MD mark rel MD command P151 move abs MD command P150 MD move rel MD command P153 nrepeat MD command P154 MD object transform MD command P155 MD object matrix MD command P156 MD part matrix MD command P157 MD part transform MD command P158 MD raster abs MD command P159 MD raster rel MD command P160 MD repeat MD command P161 MD reset tracking MD command P162 MD select parameter set MD command P163 MD set mark error MD command P114 MD set remote execute MD command P165 MD set output offset
29. Manual MC set xform matrix Operational Description Sets the transform matrix coefficients for the Universal Matrix The transform matrix is applied to all incoming vectors to provide scaling rotation and other transformations of the vector coordinates before field distortion correction is applied The following diagram shows the row and column locations for each of the input parameters for the Universal matrix A B C D YO 0 0 1 When to Call Input Parameters Name Description Type Declaration value Range fa mememmereessmoenvaue Fem Transom mavixcooicentvane Fem Transform matrix coefficient value Float limits Transform matrix coefficient value Float limits Transform matrix coefficient value Float limits Output Parameters lt None gt Function Call 9 Cp S40 MOP Sel a 9 e el xO wO Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Marking Field Transformations Universal Matrix pc General P N 7 1095 Rev E WWW gs scanners com Page 127 WinMCL Plus Software User s Manual MC set xy exchange Operational Description Set or reset the x y exchange flag When the flag is TRUE the X and Y output channels will be swapped in relation to the commands in t
30. Page 14 WWW gs scanners com WinMCL Plus Software User s Manual Raster Mode Raster mode is used for dot rendering of images There are two MD commands that cause the HC 3 card to render a line of dots MD raster abs MD raster rel These commands are used conjunction with jumps and moves to mark a raster screen of dots on the part Raster mode is different from vector mode in that the timings involved are not based on the Step Period rather the timing is based on the Q switch period The picture below shows a timeline for 5 pixels in the raster mode The length of time required to render the raster line is Q switch period NumberOfPixels where NumberOfPixels is a parameter of either the MD raster abs or MD raster rel commands In the example assume that the Q switch period is 200 uS thus the length of time required is 5 200 1000 uS During the render time the focal point must move from the start position to the end position Assume that the distance was 500 LSB thus the beam velocity is 500 1000 2 500000 LSB sec It is important to remember to limit the velocity to that appropriate for the servo and galvo d a at Q Switch gt Q Switch Period Q Switch Period Laser ON pulse Figure 2 A train of Raster Pulses The next picture shows the composition of one pixel event in time The parameters involved are the Laser On Delay the Laser OFF Delay and
31. Progress output are available on the internal 50 pin header without opto isolation GROUNDopto and are the same as GND and 5 0 found on the 50 pin header when W1 is installed If W1 not installed the 9 pin input and output signals require external 5 power INTERFACE PIN ASSIGNMENT GROUNDopto VCCopto 5V LM_OUT FLAG_INPUT INPUT STOP MARK INPUT REMOTE EXECUTE OUTPUT START MARK INPUT MARK ERROR OUTPUT MARK IN PROGRESS OUTPUT Pin 5 Pin1 9 Pin D sub Male Power Connection External IO Pin Definitions GROUNDopro Input or output defined by jumper W1 LM provides laser modulation Polarity defined by jumper W2 Connects to the OPTO isolator O8 It is set as an input STOP MARK Connects to the isolator O8 It is set as an input START MARK Connects to the isolator It is set as an output IN PROGRESS VCCopro 5V input or output defined by jumper W1 Connects to the isolator O9 It is set as an input FLAG INPUT Connects to the OPTO isolator O2 It is set as an output REMOTE EXECUTE Connects to isolator O2 It is set as an output ERROR pin header 9 Pin Connecter 50 Pin Header Pin 2 Pin 33 STOP MARK Pin 3 Pin 20 START MARK Pin 4 Pin 17 MARK IN PROGRESS Pin 5 Pin 21 FLAG INPUT Pin 7 Pin 19 Signals cannot be opto isolated on 50 pin head
32. WinMCL Plus Software User s Manual MC reset powertable Operational Description Resets the Laser Power Calibration Table for the selected HC 3 to the default values i e 1 1 power mapping When to Call This function is useful when you want to perform alter data in the power table but you want the power table to be in a known state Input Parameters Type Declaration Value Range CardIndex HC 3 number Unsigned short Output Parameters None Function Call unsigned short CardIndex MC_reset_powertable Card Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes gt P N 70M 1095 Rev E 2 Canning WWW gs scanners com Page 111 WinMCL Plus Software User s Manual MC reset tracking Operational Description Reset the mark on the fly tracking variables When to Call This function should be called after the marking operation is complete and WinMCL is idle The mark on the fly tracking counter can only hold a finite count so after each MOF mark operation the counters should be reset so that they do not roll over Input Parameters None Output Parameters None Function Call MC reset tracking Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Mark on the Fly P N 70M 1095 Rev E 55
33. a PCI slot on the motherboard Remove the existing slot blank and retaining screw 4 Firmly insert the HC3 into the slot Verify that the 9 and 25 pin connectors will face outward of the PC cover when the cover is reinstalled 5 Secure the board to the computer with the retaining screw Make sure the HC3 is firmly seated in the computer and the computer frame is square 6 Replace and secure the computer cover After the card is installed the hardware device found wizard in Windows plug and play machines will appear Hit cancel and proceed with the WinMCL Plus installation pc dinni P N 70M 034 Rev G WWW gs scanners com Page 9 HC 3 Controller User s Manual 3 3 HC3 LED Definitions The HC3 includes several LEDs located at the top edge of the card denoting the state of the HC3 card The LED lights serve as a useful troubleshooting tool See 0 Location of Jumpers and LEDs for the location of each LED _ Description Start Mark asserted Stop Mark asserted LM asserted default polarity Host access in progress Shutter relay closed Mark in progress 3 4 Interconnections amp Signal Definitions The card includes three separate signal locations 25 pin X Y2 100 serial link connector for scan head control 9 pin opto isolated laser and flag IO and 50 pin non opto isolated laser and flag IO header Several of the signals on the 9 pin connector are also available without opto isolat
34. a mark job The signal is active low The signal input is located at pin 4 of the optically isolated connector I2 or pin 17 of the internal connector I3 The following diagram shows the location of the BEGIN MARK signal on both connectors 1 BEGIN_MARK pin 4 Figure 34 Location of the Begin_Mark signal on the pin out of 12 P N 7 1095 Rev E p Garen Page 190 WWW gs scanners com WinMCL Plus Software User s Manual PAO 1 2 1 2 3 4 PA3 PA4 5 6 5 6 7 8 7 PBO 9 10 PB1 PB2 11 12 4 13 14 5 START MARK 17 18 FLAG OPT FLAG LER 19 20 STOP MARK MARKPROG 21 22 1 IN FPS 23 24 1 OUT GND 25 26 GND V5 0 27 28 V5 0 12V 29 30 12V CLR STEP PNO 35 36 1 PN2 37 38 39 40 PN5 PN6 41 42 PN7 PN8 43 44 PN9 PN10 45 46 PN11 PN12 47 48 PN13 PN14 49 50 PN15 Figure 35 Location of the Begin Mark signal on the pin out of I3 There is no MD command related to BEGIN MARK The MC commands related to the BEGIN MARK signal are MC get begin mark and MC start mark on begin Related topics e MC get begin mark e MC start mark on begin e Hardware IO Exchange Flag The Exchange Flag is set when the X and Y axis s are exchanged This results during the execution of the MC set xy exchange function The state of the Exchange Flag can be read back with the MC get xy exchange function The Exchange flag is a global parameter it is not
35. affected when a new parameter set is selected L General Scanning WWw gs scanners com P N 7 1095 Rev E Page 191 WinMCL Plus Software User s Manual FPS Delay FPS Delay is used during laser control when the FPS Enable flag is set true The value of the parameter defines a delay in the FPS pulse when the laser is turned ON FPS Delay is one of the global parameters it is not affected when a new parameter set is selected Related topics Laser Power Control FPS Enable Field Distortion Correction Table The Field Distortion correction table is supplied by General Scanning for a given head design and lens option The table consists of a row of numbers that define interpolations that square up the marking field when it is projected onto the plane of projection When stored in the proper location in WinMCL the Field Distortion Correction Table is a member of the Global Parameters it is not affected when a new parameter set is selected Related Topics Field Distortion Correction Tutorial MC set_corrtable MC set corrtableFromMemory MC corrtable Flip Matrix The Flip Matrix is used to flip either the X or Y axis or both The Flip Matrix is a member of the Global Parameters it is not affected when a new parameter set is selected Focal Point The focal point is the focus of the laser beam directed by the angular displacement of the steering mirrors GCX File and Data GCX files contain
36. are combined at run time Scanning Velocity Galvo and Beam Velocity Distance ime Velocity How fast does the galvo move Distance step size of LSBs per DAC command LSBs Time step period time for one DAC command usecs Distance _ step size Time step period Galvo Velocity P N 1095 Rev E pc Genera 216 WWW gs scanners com WinMCL Plus Software User s Manual e How fast does the beam move field size 65535 LSBs field si Distance in the field E M stepsize 65535 Distance in the field step size field size Beam Velocity x Time step period 65535 Calculating Marking Speed Beam Velocity step size field size ki step period 7 65535 DIGNI 52 505 108 1 000 000 usec X X 857 mm sec 100 usec 65535 1 sec Calculating Jump Speed jump size field size TRE step period 65535 MPSR 150 1868 108 mm 1 000 000 usec x X 100 usec 65535 1 sec pc FE P N 70M 1095 Rev E 2 Scanning WWW gs scanners com Page 217 WinMCL Plus Software User s Manual Delays Laser On Off Delay e Inertial mass of galvos and mirrors causes a time lag in response to command signals e Laser on and laser off delays are time delays to allow galvos to respond to command signals e Synchronizes switching the laser beam and off with galvo movement e Settings dependent upon scan speed Timing Di
37. default Important note The Index control does not always indicate the index of the selected active parameter set Please remember which set you selected especially if you are editing a number of different parameter sets Figure 27 Controls that work with parameter sets P N 7OM 1095 Rev E Carte WWW gs scanners com Page 49 WinMCL Plus Software User s Manual The parameter editor has input fields for each of the parameters If you enter a value out of range for a given parameter an error message will pop up when you press the OK button When OK is pressed the parameter set is saved in the program To select it as the selected parameter set press the Set Active button When the program is first started all 64 parameter sets are loaded with the same default values Scanner amp Laser Parameters x Scanner Parameters r Laser Parameters Step Period x microSec FPS enable Mark Size 5 LSB Laser Power Jump Size s LSB Period 100 microSec Jump Delay 1000 Width 75 microSec Poly Line Delay 80 microSec Laser On Delay 100 microSec Stroke Delay 1000 Laser Off Delay 100 microSec Break Angle 190 Degrees Power Delay 1500 microSec Dither Feed 0 LSB Dither Width 0 LSB Figure 28 The parameter set dialog box The Global Parameters are programmed with input fields located on t
38. driver board and interface cable Customers assume all responsibility for maintaining a laser safe working environment OEM customers must assume all responsibility for CDRH Center for Devices and Radiological Health certification 3 Customer Support General Scanning has support services to address your questions or concerns with either the product or manual you are using Before calling for assistance be sure to refer to any appropriate sections in the manual that may answer your questions Call General Scanning s Customer Service Department Monday through Friday between 8 A M and 5 P M local time GMT 05 00 Eastern Time US amp Canada The customer service personnel will be able to give you direct assistance and answers to your questions 4 Unpacking Carefully unpack the contents from the box and inspect each item for damage Check the contents of the box against the packing list to ensure reception of all parts Contact customer service immediately if you suspect shipping damage or an incomplete shipment Save the shipping container and packaging material in case you need to return unit for service P N 70M 034 Rev gt General T Page 6 Www gs scanners com HC 3 Controller User s Manual 2 INTRODUCTION Gr Scanning continues the Helpercard line of scan and laser control products with the HC3 card The HC3 fits into any PCI bus offered standard with most common desktops to provide XY2
39. feature is used to mark parts that are moving on an assembly line Mark Rate In vector mode the mark rate is the velocity of the focal point during mark and move motions It is defined by two parameters mark size divided by step period Since the step period is a common parameter between the mark and jump rates it is only possible to differentiate the two with the mark size and jump size parameters See the section on vector marking for more information In raster mode the mark rate is determined by the Q Switch period the number of pixels in the line and the length of the line See the section on raster marking for more information Mark Vector A mark vector is a type of macro vector that moves the beam position while the laser is ON The velocity of the focal point during the motion is given by the mark rate Strokes are made up of mark vectors All marking must be done with GCX files there are no MCL commands that will cause a mark vector to execute The GCX MD commands that cause a marking vector to execute are e MD mark rel e MD mark abs C c P N 70M 1095 Rev E Scanning RTL WWW gs scanners com Page 199 WinMCL Plus Software User s Manual MARK_ERROR signal The MARK_ERROR signal is an output from the HC 3 This signal can be used to signal external hardware that WinMCL Plus has detected an error The signal is cleared by the MC_reset function and set by either MD set mark error or MC set mark error
40. float 0 gt 4444444444444 28 Bytes a b c d x0 yO Transform Matrix coefficients The following diagram shows the row and column locations for each of the input parameters for the object matrix A 0 YO 0 0 1 Related Topics GCX file tutorial Marking Field Transformations MD 9object transform P N 7 1095 Rev E p Garen Page 156 WWW gs scanners com WinMCL Plus Software User s Manual MD part matrix Specify coefficients for the Part Matrix Record Layout MD part matrix float a float b float c float d float xO float 0 gt 4444444444444 28 Bytes a b c d x0 yO Transform Matrix coefficients The following diagram shows the row and column locations for each of the input parameters for the part matrix A B C D YO 0 0 1 Related Topics GCX file tutorial Marking Field Transformations MD part transform P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 157 WinMCL Plus Software User s Manual MD part transform Specify coefficients for the Part Matrix using alternate parameters The operation is performed as translate then rotate Record Layout MD part transform float ang float x float y gt Opcode 0x00000021 Record Size 4 4 4 4 16 Bytes ang angle Radians Parameters x in LSB y Offsetin LSB The following matrix operation is performed with the input par
41. for each line Compute the velocity as follows returning the beam velocity in LSB sec Length of Line Number of Pixels QSwitch Period Beam Velocity Laser On Delay and Laser OFF Delay are configured based on the type and power of your marking laser The mark rate should be programmed to match the velocity of the raster pulses and a move command issued prior to the raster marking command to establish constant linear velocity The following diagram P P N 70M 1095 Rev 7 Sanning WWW gs scanners com Page 17 WinMCL Plus Software User s Manual shows the overscan region set up by the move command The parameters required to establish the move mark rate are StepPeriod and MarkSize Take the value of raster mark rate previously computed and determine a mark rate as the following Mark Size Mark Rate Step Period Since the StepPeriod parameter also affects the jump rate care should be taken to insure that optimal jump performance is achieved without affecting the matching of the mark rate to the raster marking velocity Finally the Stroke Delay should be set to zero insuring that the transition from the move command to the raster marking command does not have a delay Figure 7 Breakdown of the component motions in a raster marking sequence P N 70M 1095 Rev E 55 Genera EL Page 18 WWW gs scanners com WinMCL Plus Software User s Manual The following flow
42. issue another start mark If application doesn t want to process rest of the job queue it issues MC reset job queue command Jump Delay The jump delay occurs at the end of a jump motion The delay is programmed in the parameter set by adjusting the jump delay parameter The jump delay is useful in the coordination of the laser ON command with the start of a mark vector Typical marking artifacts that can be removed by adjusting the jump delay include hooks and blooms at the start of strokes Jump Rate The jump rate is the velocity of the focal point during jump motions It is defined by two parameters jump size divided by step period Jump Vector A jump vector is a type of macro vector that moves the beam position while the laser is OFF The velocity of the focal point during the motion is given by the jump rate The MCL commands that cause jumps to execute are e MC jump rel e MC jump abs The GCX MD commands that cause jumps to execute are e MD jump rel e MD jump abs pc General P N 7 1095 Rev E j Sanning www gs scanners com Page 195 WinMCL Plus Software User s Manual Laser Modulation Laser modulation refers to a type of control mechanism that allows you to control the power of a laser with an electrical signal voltage or parallel binary data Laser Modulation Signal The Laser Modulation Signal is output on pin 2 of connector 2 as an optically isolated signal The Laser Modulation Sig
43. like MC init and MC reset cause the default power table to be loaded and the value of the Power parameter to be set to zero then the zero value is output to Port B the Power Delay executed if the port was outputting other than zero before The value sent to Port B can be changed through several different operations If the value of the power parameter changes it will index a new cell in the power table If the value in the cell is different than the value at Port B then the cell value as pointed to by the new power parameter value will be sent to Port B and the Power Delay then executed because Port B change in value If the Power parameter remains constant but the power table changes then the cell in the power table referenced by the power parameter may contain a different value if so the value of the cell is sent to Port B and Power Delay is executed In vector mode the laser power commanded during a stroke is always constant Use the Power parameter in the Parameter Set to set the laser power to a specific value during the ON period In multi card systems it is possible to calibrate the power of multiple lasers so that the resultant marks are the same for different lasers Use the power table to calibrate the various lasers to the commanded value The power table format consists of 256 entries where the value indexed by the Power parameter is the value sent to the Port B output the laser power control output There are
44. list end Restrictions Must be paired with an MD list begin record Related Topics GCX file tutorial P N 7 1095 Rev E General 4 Scanning ptm mne WWW gs scanners com Page 149 WinMCL Plus Software User s Manual mark abs Use the MD_mark_abs to mark a vector using absolute coordinates at the marking velocity While the mirrors are moving the laser will be ON The command uses the Mark Size and Step Period parameters from the currently selected Parameter Set to determine the marking rate Record Layout lt MD_mark_abs gt lt int x_abs gt lt int y_abs gt lt int z_abs gt Opcode 0x00000012 Record Size 4 4 4 4 16 Bytes x abs X axis coordinate Parameters y_abs Y axis coordinate z_abs Z axis coordinate Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 150 WWW gs scanners com WinMCL Plus Software User s Manual MD mark rel Use the MD mark rel command to mark a vector using relative coordinates at the marking velocity While the mirrors are moving the laser will be ON The command uses the Mark Size and Step Period parameters from the currently selected Parameter Set to determine to determine the marking velocity Record Layout MD mark rel int x rel int y rel int 2 rel x rel X axis relative coordinate Parameters y rel Y axis relative coordinate rel Z axis relative coordinate Restrictions
45. mode operations in the tutorial Raster Pulses L General Scanning WWw gs scanners com P N 7 1095 Rev E Page 211 WinMCL Plus Software User s Manual Raster pulses are laser control pulses that are output from the LM signal or PortB or both These pulses are output only during the execution of the MD raster abs and MD raster rel commands Configuration of the pulse output is performed with the MC set raster mode command prior to the execution of the marking job See the tutorial on raster marking Relative Coordinate A relative coordinate is defined as the distance from the current position REMOTE EXECUTE signal The REMOTE EXECUTE signal is an output from the HC 3 This signal can be used to control external hardware under the command of WinMCL Plus The signal output is located at pin 8 of the External I O connector The signal is active low The following diagram shows the location of the REMOTE EXECUTE signal on the optically isolated connector I2 REMOTE_EXECUTE pin 8 Figure 55 Location of the Remote Execute signal on the pin out of I2 The MD command related to REMOTE EXECUTE is MD set remote execute The MC command related to EXECUTE is set remote execute See also e MD set remote execute e MC set remote execute e Hardware IO P N 70M 1095 Rev E pc General T Page 212 WWW gs scanners com WinMCL Plus Software User s Manual Servo
46. must be shipped in anti static packaging A proper static control station should include 1 Asoft grounded conductive tabletop or grounded conductive mat on the tabletop A grounded wrist strap with the appropriate 1 Meg series resistor connected to the tabletop mat and ground An adequate earth ground connection such as a water pipe or AC ground Conductive bags trays totes racks or other containers used for storage Properly grounded power tools Qv Personnel handling ESD items should wear ESD protective garments and ground straps 1 2 Warranty Information The Customer shall examine each shipment within 10 days of receipt and inform General Scanning of any shortage or damage If no discrepancies are reported General Scanning shall assume the shipment was delivered complete and defect free General Scanning warrantees products against defects up to 1 year from manufacture date barring unauthorized modifications or misuse Repaired product is warranted 90 days after the repair is made or one year after manufacture date whichever is longer Contact Customer Service to obtain a Return Materials Authorization number before returning any product for repair All orders are subject to the General Scanning Terms and Conditions and Limited Warranty Visit our website for the latest version of these documents and other useful information gt FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 9 WinM
47. scanners com WinMCL Plus Software User s Manual MC set powertable Operational Description Loads the Laser Power Calibration Table for the selected HC 3 from the given file When to Call Input Parameters CardIndex HC 3 number Unsigned short Previouly 5 allocated char FileName Power calibration table file name Char buffer at least 512 bytes long Output Parameters lt None gt Function Call unsigned short CardIndex char FileName Mehari malioe 512 5 MC_set_powertable CardIndex FileName Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note The table describes the mapping between the power values given in MD set power data records and the corresponding laser interface values Related Topics General Comments on Function Calls WinMCL Error Codes gt e P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 121 WinMCL Plus Software User s Manual MC set powertableFromMemory Operational Description Loads the Laser Power Calibration Table for the selected HC 3 from application memory When to Call Input Parameters CardIndex HC 3 number Unsigned short Pointer to previously allocated ptptr Pointer to power table in memory POWERTABLE and populated power table Output Parameters None Function Call unsigned short CardIndex POWERTABLE ptptr ptptr POWERTABLE malloc sizeof
48. scanners com Page 159 WinMCL Plus Software User s Manual MD raster rel This command is used to mark a line of dots on the part The line is marked from the current position to the end point where the endpoint is expressed by the X and Y parameters in coordinates relative to the current position The next parameter n gives the number of dots that will be marked and what follows are n parameters the gray scale value GSV of each dot Please see the section on raster mode marking for a complete explanation Record Layout lt MD raster rel gt X Y n lt 0 0 gt lt 9 1 gt lt gt g n 1 4444444n 12 4n Bytes X X axis endpoint in relative coordinates Y Y axis endpoint in relative coordinates Parameters n number of pixels in the line 9 0 g n 1 array of gray scale values for each pixel Selection of raster mode has to be executed before the job is run See the MC set raster mode function Restrictions The following parameters are involved in raster operations Q Switch Period Laser on delay laser off delay Related Topics GCX file tutorial raster mode tutorial RasterPulses P N 70M 1095 Rev E pc General T 160 WWW gs scanners com WinMCL Plus Software User s Manual MD repeat Use this command to repeat a list of MD commands indefinitely The marking job must be terminated with with the MC_exit_mark command
49. the marking instructions required to perform a marking job GCX files simply store the sequence of marking instructions required to perform a piece of a job GCX files can call other GCX files and they can be loaded and executed out of memory GCX Data is a buffer with list of GCX commands The application is responsible of loading the GCX Data into the memory and then passing the pointer to GCX Data to WinMCL Plus The GCX Data in memory should stay valid until WinMCL Plus processes it P N 70M 1095 Rev E 7 General cei I Page 192 WWW gs scanners com WinMCL Plus Software User s Manual Global Matrix The Global Matrix is represented as 3x3 matrix of floating point numbers A 0 C D YO 0 0 1 Figure 36 Locations of the parameters for the Global Matrix The MD global matrix GCX command is an input method where the parameters of the instruction are directly mapped to the matrix locations as shown in the diagram above The MD global transform GCX provides an alternate input method for the parameters The following diagram illustrates the procedure invoked on the parameters of this function cos ang sin ang 0 1 0 sin ang cos ang 0 x O 1 0 0 1 0 0 Figure 37 Locations of the parameters for the alternate input method x y 1 The Global Matrix is one of the Global Parameters it is not affected when a new parameter set is selected Global Parameters The Global Parameters remain unchanged when t
50. there are several other signals and ports available on Port B output output BEGIN MARK signal ee si an MARK ERROR signal 0900 MARK_ABORT signal ee E EE E pay Laser Modulation 03000 35 50 7 General P N 7 1095 Rev E WWW gs scanners com Page 29 WinMCL Plus Software User s Manual Separate Signals Mode Historically the laser on off and modulation would be controlled by the same signal The laser would be off and would not emit power if no modulation was present With the laser on the Laser Modulation signal would oscillate according to the Q switch period and Q switch frequency Hence the Laser Modulation signal acts as both laser on off gate as well as Q switch modulation also called pulsed modulation source Laser ae Y n 172 Laser off Figure 21 Traditional Laser Modulation Signal In the separate signals mode the gate mode and Q switch modulation are removed from each other The simply high low laser on off gate is controlled through the FPS pin while the Q Switch frequency and period remain on the LM pin Note that inverting the FPS signal see Section 0 GCX Test Program and Figure 31 HC 3 configuration dialog box will invert whatever the output is on the FPS pin the pin labeled as FPS While in Separated Signal Mode if the FPS sign
51. 1095 Rev E Scanning RTL WWW gs scanners com Page 185 WinMCL Plus Software User s Manual MD qswitch width This parameter sets the length of time in microseconds for each laser pulse For example a 50 percent duty cycle pulse in a 10 kHz system would be 50 microseconds long Record Layout lt MD qswitch_width gt lt ulong width Width of laser pulse in microseconds Width should be shorter than q switch period For CW set q switch period to zero Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 186 WWW gs scanners com WinMCL Plus Software User s Manual MD set break angle This parameter sets the angle above which corners in marks will be broken into separate strokes Record Layout lt MD set break angle gt lt long break angle Opcode 0x00000064 Record Size 4 4 bytes Parameters Break angle in degrees Restrictions None Related Topics GCX file tutorial Break Angle C P N 1095 Rev E Scanning te ren WWW gs scanners com Page 187 WinMCL Plus Software User s Manual MD set dither width This parameter sets the width of a dither line Record Layout lt MD set dither width gt lt long dither width Opcode 0x00000065 Record Size 4 4 bytes Parameters Dither Width in LSB Restrictions None Related Topics GCX file tutorial Dither Width P N 7 1095 Rev E p Garen Page 18
52. 197 WinMCL Plus Software User s Manual MARK_ABORT signal The MARK_ABORT signal is an input to the HC 3 This signal can be used to allow a hardware input to abort marking The signal input is located at pin 3 of the External I O connector The signal is active low The following diagrams show the location of the MARK ABORT signal on the optically isolated connector I2 and the internal connector I3 MARK ABORT pin 3 1 gH Figure 39 Location of the Mark Abort signal on the pinout of I2 PAO 1 2 1 2 3 4 PA3 PA4 5 6 PA5 PA6 7 8 PBO 9 10 PB1 PB2 11 12 PB3 PB4 13 14 PB5 START MARK 17 18 FLAG OPT FLAG LER 19 20 STOP MARK MARKPROG 21 2 1 IN 5 23 24 1 OUT GND 25 26 GND V5 0 27 28 V5 0 12V 29 30 12V CLR STEP LM AMEZ PNO 35 36 PN1 PN2 37 38 PN3 PN4 39 40 PN5 PN6 41 42 PN7 PN8 43 44 PN9 PN10 45 46 PN11 12 47 48 13 14 49 50 15 Figure 40 Location of the Mark_Abort signal the pin of I3 P N 1095 Rev E P Gener 198 WWwW gs scanners com WinMCL Plus Software User s Manual There is no MD command related to MARK ABORT The MC command that reads MARK ABORT is MC get mark abort Related topics e MC get mark abort e Hardware IO Mark on the Fly Mark on the Fly is an operational mode of WinMCL that when enabled causes the Marking Field to move along the plane of projection at a constant velocity This
53. 2767 Function Call unsigned short CardIndex long Xposition Yposition Zposition MC get cur xyz CardIndex amp Xposition amp Yposition amp Zposition Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc General D ocn Page 84 WWW gs scanners com WinMCL Plus Software User s Manual MC get error Operational Description Gets the WinMCL Plus error code and message When to Call Each MC function call returns a flag that states if there was in error in processing These return values should be examined and if there was an error this function is called in order to retrieve the error code Input Parameters lt None gt Output Parameters A buffer allocated in the calling function or Previously allocated pErrorStruct globally where the fetched error ERROR_STRUCT orror structure butler information will be stored Function Call ERRORS 7 jPlhiewoOieSie ice P pErrorStruct ERROR STRUCT malloc sizeof ERROR_STRUCT get error Pik Possible Return Values WMCL OPERATION OK Note This command is only useful after a previous command has returned the WMCL OPERATION FAILED status Related Topics General Comments on Function Calls WinMCL Error Codes Error Code Structure pc P N 1095 Rev E 2 Sa
54. 72 T Transmission Latency glossary P214 U Universal Matrix glossary P214 V vector glossary P215 Vector Mode tutorial P12 Vector Mode glossary P215 W WinMCL Error Codes tutorial P42 WinMCL Plus Default State glossary P215 END OF DOCUMENT P N 70M 1095 Rev E Page 234 P General 4 Scanning WWwW gs scanners com
55. 8 WWW gs scanners com WinMCL Plus Software User s Manual MD set dither feed This parameter sets the feed rate for a dither pattern Record Layout lt MD set dither feed gt lt long dither feed Opcode 0x00000066 Record Size 4 4 bytes Parameters Dither feed in LSB Restrictions None Related Topics GCX file tutorial Dither Feed C P N 70M 1095 Rev E Scanning ptm mne WWW gs scanners com Page 189 WinMCL Plus Software User s Manual GLOSSARY The glossary provides definitions of commonly used terms Absolute Coordinate An absolute coordinate is defined as the distance from the origin of the coordinate system to the point Beam Path The beam path is the continuous motion of the focal point along the plane of projection Beam Positioning Lag Beam Positioning Lag comes about because the host computer is not in a tight position feedback loop with the mirror position Typically the computer issues commands to the servo via the HC 3 which correspond the desired destination The servos then attempt to aim the mirrors in the appropriate way and as fast as possible but they never operate at the same rate as the host computer due to the mechanical consideration of mirror inertia or the electrical consideration of servo bandwidth and transmission latency BEGIN_MARK signal The BEGIN_MARK signal is an input to the HC 3 This signal can be used to allow a hardware input to commence
56. 9 30 12V CLR 31 32 STEP LM 33 34 4MHZ PNO 35 36 PN1 PN2 37 38 PN3 PN4 39 40 PN5 PN6 41 42 PN7 43 44 PN9 PN10 45 46 PN11 PN12 47 48 PN13 PN14 49 50 PN15 Figure 52 Location of Port B on the pin out of I3 The optional General Scanning Port adapter card Part 272 216 00 can be used to bring the Port B outputs out the computer expansion bus The pin out for this connector is shown in the following diagram pc General P N 1095 Rev E WWW gs scanners com Page 209 WinMCL Plus Software User s Manual INTERFACE ASSIGNMENT 25 Pin D Sub male connector PORT BO PORT B1 PORT B2 PORT B3 PORT B4 PORT B5 PORT B6 MSB LP_COUT NC FPS TRIGGER SHUTTER IN GROUND 45V GROUND NC 45V NC NC NC NC GROUND 45V SHUTTER OUT LASER MODULATION NC Figure 53 Location of Port B on accessory bulkhead connector The laser power data output by this port is controlled in software via the Power parameter of the parameter set When the value of the Power parameter is changed in software the registering of data to Port B is immediate but Power Delay delays further execution of FIFO instruction The Power Delay pause interval is a pacing parameter that allows the WinMCL software to stay in step with the physical and electrical characteristics of the marking laser during a change in power Proper utilization of the Power Delay parameter insures that subsequent marking instruction
57. Bandwidth Servo bandwidth is a number that describes how fast and accurate the galvos can move the mirrors The higher the bandwidth number the fast the servo and the more characters per second can be marked Servo bandwidth is not directly related to WinMCL rather it is a characteristic of the plant i e the mirror galvo and servo For more information on servo bandwidth please visit the General Scanning web site or talk to your service representative Step Period The step period determines the rate at which instruction events are read and written from the host computer More importantly the step period is a factor in the mark rate and jump rate during marking operations Ultimately the step period is the system heartbeat Related topics e Step Period e Jump Rate e Mark Rate Stroke A stroke is composed of any number of consecutive mark vectors In a sense a stroke is considered to be a poly line Stroke Delay The stroke delay is applied at the end of a stroke This delay takes into account the laser OFF time as it allows the laser power to diminish to a non marking level The stroke delay is controlled via the parameter set by adjusting the value of the stroke delay parameter Typical marking artifacts that can be removed with the stroke delay include tail or trailing lines at the end of strokes Related topics e Stroke e Stroke Delay Power Table The Power Table is a 256 entry lookup table that is addres
58. Bytes x_abs X axis coordinate Parameters y_abs Y axis coordinate z_abs Z axis coordinate Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 146 WWW gs scanners com WinMCL Plus Software User s Manual MD jump rel Use the MD_jump_rel command to move the mirrors to a new location relative to the current location as specified by relative coordinates at the jump velocity During the move the laser will be OFF The command uses the Jump Size and Step Period parameters from the currently selected Parameter Set to determine the jump rate Record Layout MD jump rel int x rel int y rel int z_rel gt Opcode 0x0000001 1 Record Size 4 4 4 4 16 Bytes x_rel X axis relative coordinate Parameters rel Y axis relative coordinate rel Z axis relative coordinate Related Topics GCX file tutorial P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 147 WinMCL Plus Software User s Manual MD list begin Marks the start of a Data List Block Record Layout MD list begin Restrictions Must be paired with an MD list end record May not be used recursively within a List Block Related Topics GCX file tutorial P N 7OM 1095 Rev E p Garen Page 148 WWW gs scanners com WinMCL Plus Software User s Manual MD list end Marks the end of a Data List Block Record Layout MD
59. CL Plus Software User s Manual IMPORTANT Optical Scanners are normally tuned serialized and warranted as a matched set for optimized performance Mismatched components negatively affect performance and void the warranty A matched set typically consists of galvanometer motor mirror load electronic driver board and interface cable Customers assume all responsibility for maintaining a laser safe working environment OEM customers must assume all responsibility for CDRH Center for Devices and Radiological Health certification 1 3 Customer Support General Scanning has support services to address your questions or concerns with either the product or manual you are using Before calling for assistance be sure to refer to any appropriate sections in the manual that may answer your questions Call General Scanning s Customer Service Department Monday through Friday between 8 A M and 5 P M local time GMT 05 00 Eastern Time US amp Canada The customer service personnel will be able to give you direct assistance and answers to your questions P N 1095 Rev E pc Genera D c Page 10 WWW gs scanners com WinMCL Plus Software User s Manual INTRODUCTION QUE Scanning presents the WinMCL Plus dynamic link library for controlling the HC3 laser and scan control card WinMCL Plus offers the link between scanner hardware and the user graphical or application interface WinMCL Plus operates in the Windows NT
60. CL Plus call before exiting your program Once MC exit is called you will have to reinitialize with MC Input Parameters None Output Parameters None Function Call esae 6 Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note No further commands with the exception of init can be successfully issued after MC exit Related Topics General Comments on Function Calls WinMCL Error Codes P N 1095 Rev E pc Genera EL Page 78 WWW gs scanners com WinMCL Plus Software User s Manual MC exit mark Operational Description Gracefully exit from any repeat or nrepeat loop When to Call This command is used to exit a repeating mark job MC exit mark is executed asynchronously to the repeating mark job and so may be sensed by the marking thread at an arbitrary point in the job The action of the command is to prevent the repeat or nrepeat command from repeating and so one final complete execution of the job is performed The job queue then starts and the next job loads to be marked This command is useful in manufacturing situations such as ablation or surface treatment where the host program may be signaled that a desired result has been achieved The host program would then call MC exit mark to halt the processing and move to the next job Input Parameters None Output Parameters None Function Call MC exit mark Possible Return Values WMCL OPERAT
61. E pc Genera ELLA Page 118 WWW gs scanners com WinMCL Plus Software User s Manual MC set fps delay Operational Description Set the first pulse suppression delay value This represents the time that should elapse between the FPS Trigger Pulse and the start of Laser Modulation When to Call m Parameters FpsDelay FPS delay in microseconds Unsigned long Output Parameters lt None gt Function Call unsigned long FpsDelay set ips delay FpsDelay Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc E P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 119 WinMCL Plus Software User s Manual MC set ParamSet Operational Description Set the values of one of the 64 parameter sets When to Call Input Parameters Address of a parameter set structure in the Must be PSET pParamSet user application that contains the values to previously write to the selected parameter set allocated Output Parameters None Function Call int Index ISI EDEA ran e ti pParamSet PSET malloc sizeof PSET MC set ParamSet pParamSet Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Parameter Set Structure P N 70M 1095 Rev E pc General D ocn Page 120 WWW gs
62. ESCRIPTIONS during a mark job Formerly known as the Laser Parameter Set the Parameter Set now contains Mark on the Fly velocities as well as parameters that control the quality of the mark on the part Referencing global parameters rather than reading them in the GCX instruction stream will make the execution of GCX instructions more efficient Ds are used during the execution of GCX files to represent values that seldom change The following pages describe the various marking parameters that are stored in the parameter set click on the parameter below to jump to its description page 4 BREAK T 56 NITES oriretur TP Te 57 43 DITHER ccm 58 44 EPS ENABLE c M 59 4 5 INTENSITY E 60 JOMEDELAY 61 4 7 JUMP Rede 62 4 8 LASER OFF hue 63 4 9 64 IVE ccc oe 65 411 66 4 12 POWER 67 413 POWERDELAY c 68 4 14 Q SWITCH PERIOD
63. Genera EL Page 112 WWW gs scanners com WinMCL Plus Software User s Manual MC select parameter set Operational Description Selects a laser parameter set as the current parameter set When to Call Input Parameters Output Parameters lt None gt Function Call long Index IC Select _Paicaimeceic Sec Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Parameter Set Structure pc FE P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 113 WinMCL Plus Software User s Manual MC set mark error Operational Description Set or reset the external MARK ERROR signal on all HC 3s When to Call Call if you wish to change the state of pin 9 of the External I O connector Input Parameters SignalState The required signal state Unsigned short 1 ASSERTED 0 INACTIVE Output Parameters lt None gt Function Call unsigned short SignalState MC_set_mark_error SignalState Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note The command should only be issued when WinMCL Plus is idle Related Topics General Comments on Function Calls WinMCL Error Codes MARK ERROR signal P N 70M 1095 Rev E pc Genera D ocn Page 114 WWW gs scanners com WinMCL Plus Software User s Manual MC set remote execute Operational Descript
64. ION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc ar P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 79 WinMCL Plus Software User s Manual MC get begin mark Operational Description Gets the status of the external BEGIN MARK signal on the Master HC 3 When to Call Use this command if the host program needs to read the hardware input of the HC 3 card Input Parameters None Output Parameters SignalStatus The current signal status Unsigned short 1 ASSERTED 0 INACTIVE Function Call unsigned short SignalStatus MC_get_begin_mark amp SignalStatus Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note The command should only be issued when WinMCL Plus is idle Related Topics General Comments on Function Calls WinMCL Error Codes BEGIN MARK signal P N 70M 1095 Rev E pc Genera D ocn Page 80 WWW gs scanners com WinMCL Plus Software User s Manual MC get mark abort Operational Description Gets the status of the external MARK ABORT signal on the Master HC 3 When to Call Use this command if the host program needs to read the status of the external inputs on the HC 3 card Input Parameters None Output Parameters SignalStatus The current signal status Unsigned short 1 ASSERTED 0 INACTIVE Function Call unsigned short SignalStatus MC ge
65. Manual MD_list_begin MD select parameter set 0 MD jump abs MD mark rel MD mark rel MD mark rel 0 0 0 0 MD stop tracking MD reset tracking MD list end 5000 10000 5000 Select a parameter set that was prepared using WinMCL commands 0 Stop the tracking counters Reset the tracking counters A routine that renders a 4 line raster graphic MD_list_begin MD select parameter set MD jump abs MD move rel MD raster rel MD move rel MD jump rel MD move rel MD raster rel MD move rel MD jump rel MD move rel MD raster rel MD move rel MD jump rel MD move rel MD raster rel MD move rel MD jump rel MD list end 50 100 50 25 175 100 50 25 175 100 50 23 175 100 50 25 175 50 Set parameters Move to the start of the feature Execute a lead in over scan region 255 255 255 255 255 00 0 0 O Note 1 Execute a lead out over scan region Execute a retrace 255 255 255 225 25 255 255 255 255 255 255 255 253 255 255 00000 00000 00000 Note 1 Mark the raster data L General Scanning WWW gs scanners com P N 70M 1095 Rev E Page 37 WinMCL Plus Software User s Manual GCX File Syntax GCX file gt lt include data record gt lt include block gt lt include begin record gt lt include end record gt lt include text gt lt file name gt lt fil
66. N 1 1 ESD WARNING 1 2 WARRANTY INFORMATION 1 3 CUSTOMER SUPPORT 1 4 UNPACKING 2 INTRODUCTION 2 1 GENERAL DESCRIPTION 2 2 HC3 FEATURE SET 2 2 1 PCI Interface 2 2 2 Software Compatibility requires PCI driver 2 2 3 HC3 Functionality 2 2 4 On Board 102 Functionality 2 2 5 Enhancements 3 INSTALLATION amp CONFIGURATION 3 1 MINIMUM COMPUTER REQUIREMENTS 3 2 CARD INSTALLATION 3 3 HC3 LED DEFINITIONS 3 4 INTERCONNECTIONS amp SIGNAL DEFINITIONS 3 4 1 Serial Link Connector 3 4 2 External IO 9 pin Connector 3 5 INTERNAL IO 50 PIN HEADER 3 6 CONFIGURABLE LOGIC 3 6 1 2 Tickle Pulse Generation 3 6 2 First Pulse Suppression 3 6 3 HC3Setup exe MS DOS only 4 SAFETY AND WARNINGS APPENDIX A ADDITIONAL RESOURCES APPENDIX B HC 3 BLOCK DIAGRAM APPENDIX C REGULATORY APPENDIX D HC 3 MASTER SLAVE APPENDIX E OPTIONAL IO 2 CARD 102 CARD INSTALLATION HC 3 Controller User s Manual 2 A OA tA ta Mo NO N 22 23 24 25 26 L General Scanning WWW gs scanners com P N 70M 034 Rev Page 3 HC Controller User s Manual IO2 INTERCONNECTIONS 27 Connector I 15 pin D sub connector 27 Connector 2 25 pin D sub connector 29 Optional connector 9 pin D sub connector 30 2 CARD TECHNICAL NOTES 31 Laser Current Control LP 3 Remote Cu
67. Optical Scanners a member of GSI Group Inc WinMCL Plus Software User s Manual General Scanning Optical a December 2006 GSI Group Inc GSI Group and General Scanning are registered trademarks P N 7 1095 Revision E The information contained in this document is the sole property of General Scanning The disclosure of this information does not constitute the release of any proprietary rights therein Permission to reproduce this information or the products disclosed herein must be obtained in writing from General Scanning Contact Information Americas Europe Asia 39 Manning Road Einsteinstrasse 2 Technoport Kamata 16 1 Billerica MA 01821 D 85716 Unterschleissheim Minami Kamata 2 Chome U S A Germany Ohta Ku Tokyo 144 0035 Japan TEL 1 978 439 5511 TEL 49 89 31707 0 TEL 81 3 5425 7733 Sales FAX 1 978 663 0131 FAX 49 89 31707 250 81 3 5714 0557 Service oe ee sig com e gsig com a Thales Toll Free 1 800 342 3757 81 3 5714 0566 Service E mail ScannerSales Asia gsig com P N 1095 Rev nnne Page 2 WWw gs scanners com WinMCL Plus Software User s Manual Table of Contents 1 IMPORTANT INFORMATION 1 1 ESD WARNING 1 2 WARRANTY INFORMATION 1 3 CUSTOMER SUPPORT INTRODUCTION SCAN HEAD PROGRAMMING CONSIDERATIONS MARKING JOBS Vector Mode Raster Mode Step a
68. PBS START MARK 17 18 OPT FLAG LER 19 20 STOP MARK MARKPROG 21 2 1 IN FPS 23 24 1 OUT GND 25 26 GND V5 0 27 28 V5 0 12V 29 30 x 12V CLR ra TEP MARK IN PROGRESS pin 21 MHZ PNO 1 PN2 PN4 PNS PN6 PN7 PN8 PN9 PN10 PN11 PN12 PN13 PN14 PN15 Figure 43 Location of the Mark In Progress signal on the pin out of I3 Related topics e Hardware IO e MC abort mark e MC reset e MARK ABORT signal pc General P N 7 1095 Rev E WWW gs scanners com Page 201 WinMCL Plus Software User s Manual Marking Field The marking field is the area on the plane of projection that the marker head can mark The size of the marking field is limited by the distance of the marking head to the plane of projection the angular displacement of the mirrors in the head and any effects generated by the lens Uncorrected marking field are shaped like mirrored hyberboli somewhat like the hourglass shape Correction of this distortion can be done with lenses or in software with the Field Distortion Correction Table Marking Job A marking job consists of a number configuration instructions in WinMCL and motion instructions stored in the GCX format either in memory or in a file A marking job traditionally means all of the operations required to perform a complete mark on the part Master HC 3 In multiple card installations the Master HC 3 serves as the controller for u
69. POWERTABLE Cardincex p Possible Return Values WMCL OPERATION OK OPERATION FAILED Note The table describes the mapping between the power values given in MD set power data records and the corresponding laser interface values Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D ocn Page 122 WWW gs scanners com WinMCL Plus Software User s Manual MC set raster mode Operational Description This function is used to set the type of laser control that is output when either the MD raster abs or MD raster rel commands are executed during a marking job There are three mode of Raster Pulse control When to Call This is a configuration command used to select the laser control option for generating Raster Pulses Input Parameters Value Action 0 PortB and LM RasterMode Raster mode Unsigned long RASTER 8BIT ONLY PortB only RASTER ONLY LMonly Output Parameters None Function Call unsigned long RasterMode MC set raster mode RasterMode Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes gt e P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 123 WinMCL Plus Software User s Manual MC set target velocity Operational Descri
70. Parameters None Output Parameters m Value Previously Pointer to variable to receive the Target X Velocity Velocity allocated units are LSB s per second float pXVelocity address Previously allocated unsigned float address Pointer to variable to receive the Target Y Velocity Velocity pYVelocity units are LSB s per second Function Call float pXVelocity pYVelocity MC get target velocity amp pXVelocity amp pYVelocity Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D ocn Page 94 WWW gs scanners com MC get timeout WinMCL Plus Software User s Manual Operational Description Get the current timeout value in milliseconds When to Call Use this function to return the HC 3 watchdog timer setting Input Parameters None Output Parameters None Function Call MC get timeout Return Value The Current Timeout Value ms or 0 if there is an error Related Topics General Comments on Function Calls L General 7 WWW gs scanners com P N 70M 1095 Rev E Page 95 WinMCL Plus Software User s Manual MC get version Operational Description Gets the WinMCL Plus version information strings When to Call This call can be useful in determining if the proper HC 3 device driver is installed on the s
71. RT B4 PORT B5 PORT B6 MSB LP COUT PORT N15 FPS TRIGGER SHUTTER IN GROUND 45V GROUND Pin 14 PORT N14 45V PORT N16 MIP 25 Pin D sub Male PORT A3 Digital IO Connection Eo PORT A1 45V SHUTTER OUT LASER MODULATION PORT AO Pin 1 gt P N 70M 034 Rev G 2 Scanning WWW gs scanners com Page 17 HC Controller User s Manual 3 6 Configurable Logic The HC3 contains on board configurable logic for adjusting hardware settings regarding laser modulation tickle pulse and first pulse suppression The settings can be configured from Windows using WinMCL Plus If working with PCMarkMT then an additional file named HC3Setup exe that comes with the software will be required to set the following features 3 6 1 CO2 Tickle Pulse Generation The HC3 board can be optionally configured through the PCI 9054 configuration EEPROM to provide a PWM signal on the LM output specifically designed for CO lasers When this configuration is set the LM signal generated by the mark control logic is modulated by a fixed PWM frequency either 5 kHz or 20 kHz When the LM signal generated by the mark control logic is de asserted a tickle pulse is imposed onto the output to keep the CO laser just below the lasing energy level The tickle pulse has a fixed 5 kHz frequency with a configurable pulse width of 0 25 0 50 0 75 1 00 1 25 1 50 1 75 or 2 00 Sec 3
72. S EIE A EE 90 5 16 GEI PORTA INPIN palio vu Ra FEL an Pen E 91 2217 55 pbi 92 2 18 MG GET STATUS idees 93 5 19 JMC GEP VEROQUIY XAR AH UN DU DI Te 94 520 MC C CUM IL By M 95 5 221 MC GET VERSION c 96 322 MC GEF X PEP ee 97 Dl MC GET MATRIX Quiero r RO E ras 98 Sb MC GET XY EXCHANGE AA NERA do DIRE ESE a 99 MC GET 100 c TEE 101 UMEN EN USI E c 102 LM ANB dul 103 pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 73 WinMCL Plus Software User s Manual cee MEE UM S Sennen mee eet rer ne Pear a err 104 5 30 LOAD JOB FROM tendue een 105 931 OPEN VECTOR DUMP 106 222 107 2222 MC RESET CORR TABLE 108
73. T END 140 GLOBAL MATRIX 141 MD_GLOBAL_TRANSFORM 142 MD_INCLUDE 143 MD_INCLUDE_DATA 144 MD_INCLUDE_END 145 MD_JUMP_ABS 146 MD_JUMP_REL 147 MD_LIST_BEGIN 148 MD_LIST_END 149 MD_MARK_ABS 150 MD_MARK_REL 151 MD_MOVE_ABS 192 MD MOVE REL 153 MD_NREPEAT 154 MD_OBJECT_TRANSFORM 155 MD_OBJECT_MATRIX 156 P N 70M 1095 Rev E pc Genera D EEL Page 6 WWW gs scanners com MD PART MATRIX MD PART TRANSFORM MD RASTER ABS MD RASTER REL MD REPEAT MD RESET TRACKING MD SELECT PARAMETER SET MD SET MARK ERROR MD SET REMOTE EXECUTE MD SET OUTPUT OFFSET MD SHOOT MD START TRACKING WAIT MD WAIT BEGIN MARK PARAMETER HANDLING COMMANDS MD parameter begin MD parameter set end set step period MD mark size jump size set power set intensity MD polyline delay set jump delay MD stroke delay MD laser on delay set laser off delay power delay fps enable MD set qswitch period MD qswitch width MD break angle set dither width MD set feed GLOSSARY APPENDIX A ADJUSTING PARAMETERS DESCRIPTION OF LASER PARAMETERS Scanning Vectors Scanning Velocity WinMCL Plus Software User s Manual 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 171 172 173 174 175 176 177 178 179 180 181 182 183 154 185 186 187 168 169 190
74. TED INT REQ 515 STATUS P N 7 1095 Rev E Gener Scanning gue mt WWW gs scanners com Page 43 WinMCL Plus Software User s Manual Obsolete MC and MD Commands Many of the depreciated MC and MD commands from earlier versions of WinMCL are now obsolete The following is a list of these commands Obsolete MC Commands MC do mark do mark blocking MC end mark get Corrtablename MC get Progress count get corrfile MC get cur intensity get cur power MC get cur x MC get cur y get cur z MC get do mark status get fps period get load job status MC get power limits get power scale get power scale factor MC get powertablename MC get start mark status MC load job blocking MC load job from memory blocking MC register Progress callback reset Progress count MC run MC set cur z set fps period MC set power limits set power scale set power scale factor MC start mark on begin blocking MC stop P N 70M 1095 Rev E Page 44 General 4 Scanning WWwW gs scanners com WinMCL Plus Software User s Manual Obsolete MD Commands MD line abs MD line rel MD line rle MD progress marker MD set autosegmentation MD set beam dump position MD set shoot time MD set wait for laser off MD set wait for laser on pc FE P N 70M 1095 Rev E 2 Scanning WWW gs
75. TS ON FUNCTION CALLS 3 3 GEX FILES 3 4 DATA STRUCTURE DEFINITIONS doni iH aera qi rea na i a YE ecd 3 5 PARAMETER SETS Nd Mp qu IN 3 6 WINMCL ERROR E ODES 3 7 OBSOLETE MC AND MD 8 2 2 2 2100 000000100 600000000 3 8 25 LED E 3 9 GCX FILE ASSEMBLER TEST PROGRAM 44 4 4 P N 70M 1095 Rev E Page 32 P General 4 Scanning WWwW gs scanners com WinMCL Plus Software User s Manual DLLS AND LIBS ON THE WINMCL PLUS CD ROM The WinMCL Plus library is stored in WinMCL32 DLL Several other DLL s are distributed to support utilities such as NPC exe These other DLL s need not be present to use WinMCL Plus functions in your own programs Microsoft compilers expect library files in the Common Object File Format and will link with WinMCL32lib Borland compilers and others that use the Object Module Format can link with WinMCL32 omf lib Support Programs GcxAsm NPC Postgrid wgcxview and WinMCLtest32 The WinMCL Plus includes a variety of support programs for use in scanning applications including GcxAsm NPC Postgrid wgcxview and WinMCLtest32 None of these programs need be present in integrator developed front end ap
76. W P N 034 Rev gt General Page 32 Www gs scanners com HC 3 Controller User s Manual Laser Modulation and First Pulse Suppression Laser Modulation LM and First Pulse Suppression FPS outputs have opto isolators as driver circuitry The external supply VSS2 may be between 5V and 18V relative to GND2 The external supply supplies all points labeled VCC2 and GND2 Configuration of the opto isolator The LM signal is opto isolated through the IC and the FPS signal through the IC OPTOI VCC2 882 1K PA 2 Output EM gt Type gt gt 17 2 max low current 20mA Ground GND Ground General Scanning Customer Inverting the Signals To meet the need of inverting the signals use bridge W102 for the FPS signal and bridge W104 for the LM signal Standard settings for LM and FPS are as shown W104 W102 Lm FPS i 02 2 IFPS W1 1 FPS Delays The first pulse suppression can be re configured to a zero first and second pulse suppression up to a maximum of 4 pulses with bridge W101 The default setting is first pulse suppression W101 ILM 0 suppression 1 suppression 2 suppression 3 suppression 4 suppression IFPS moved through W101 pc FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 33 HC 3 Controlle
77. _DELAY 86 MC_GET_HEAD_STATUS 87 MC_GET_JOB_COUNT 88 P N 1095 Rev E pc Genera p Se Page 4 WWW gs scanners com WinMCL Plus Software User s Manual MC_GET_NUM_CARDS 89 MC_GET_PARAMSET 90 MC_GET_PORTA_INPUT 91 MC_GET_POWERTABLE 92 MC_GET_STATUS 93 MC_GET_TARGET_VELOCITY 94 MC_GET_TIMEOUT 95 MC_GET_VERSION 96 MC_GET_X_FLIP 97 MC_GET_XFORM_MATRIX 98 MC_GET_XY_EXCHANGE 99 MC_GET_Y_FLIP 100 MC_INIT 101 MC_JUMP_ABS 102 MC_JUMP_REL 103 MC_LOAD_JOB 104 MC_LOAD_JOB_FROM_MEMORY 105 MC_OPEN_VECTOR_DUMP_FILE 106 MC_RESET 107 MC_RESET_CORRTABLE 108 MC_RESET_JOB_QUEUE 109 MC_RESET_PARAMSET 110 MC_RESET_POWERTABLE 111 MC_RESET_TRACKING 112 MC_SELECT_PARAMETER_SET 113 MC_SET_MARK_ERROR 114 MC_SET_REMOTE_EXECUTE 115 MC_SET_CORRTABLE 116 MC_SET_CORRTABLEFROMMEMORY 117 MC_SET_EXTERNAL_SIGNAL 118 MC_SET_FPS_DELAY 119 MC_SET_PARAMSET 120 MC_SET_POWERTABLE 121 MC_SET_POWERTABLEFROMMEMORY 122 P Fe P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 5 WinMCL Plus Software User s Manual MC_SET_RASTER_MODE 123 MC_SET_TARGET_VELOCITY 124 MC_SET_TIMEOUT 125 MC_SET_X_FLIP 126 MC_SET_XFORM_MATRIX 127 SET XY EXCHANGE 128 SET Y FLIP 129 SHOOT 130 MC START MARK 131 MC START MARK NON BLOCKING 132 START MARK ON BEGIN 122 START MARK ON BEGIN NON BLOCKING 134 START TRACKING 135 STOP TRACKING 136 GCX COMMAND DEFINITIONS 137 MD COMMENT BEGIN 139 MD COMMEN
78. additional connector located on the board with the following pin configuration INTERFACE PIN ASSIGNMENT Not connected OPT4 OPT4 OPT3 OPT3 OPT2 OPT2 OPT1 OPT1 5 9 4 8 3 7 2 6 1 9 Pin D Sub male connector P N 034 pc Genera G Page 30 Www gs scanners com HC 3 Controller User s Manual IO 2 Card Technical Notes Laser Current Control LP The Laser Current Control circuitry delivers a Voltage between 0 7 to 10V The signal is galvanic isolated from the PC It can be used to drive power control circuitry of the laser The output is controlled through the application software The WinMCL Plus or PCMarkMT amp Job Editor programs send to the IO2 via the HC3 card 7F for the lowest output level e Hex 00 for the highest output level P102 adjusts the lowest output level min 0 7V max 5V P101 adjusts the highest output level max 10V VSS1 1 102 r6 DIA T UIS P 101 cw 102 GND OFFSET The standard settings 2V low level 10V high level The external power input VSS1 ranges from min 15V to 18V relative to GND1 with maximum 150mA Remote Current Control Flag The remote current control flag is an opto isolated output It indicates that the lamp current circuitry is being controlled through the HC3 0 control through the HC3 1 no c
79. agram Laser On Off Delay Galvo Position i Command Signal Ideal Galvo Velocity Signal Galvo Response Laser On Delay P N 70M 1095 Rev E pc General T 218 WWW gs scanners com WinMCL Plus Software User s Manual Laser On Dela sec e Generated at the beginning of a marking vector e Keeps laser off until galvos have a chance to respond to command signals Laser on delay too short e Will turn on laser before galvos reach set speed e Will dig into part more e Pulse pile up Mark Vector Laser on delay too long e Galvos reach set speed before laser is turned on e Will miss beginning of mark Vector Mark dam aw a Wa Wa lt gt 52555552 lt 55525250555252 Laser Off Delay usec e Generated at the end of a marking vector e Keeps laser on until end of vector reached Laser off delay too short e Laser will be turned off before it reaches the end of a stroke Mark Vector e Will miss end of mark Laser off delay too long e Laser will stay on after it has reached the end of a stroke e Can cause blooming at the end of a mark Vector Mark gt General P N 7 1095 Rev E G Sonning www gs scanners com Page 219 WinMCL Plus Software User s Manual Jump Delay usec Jump Delay Description e Generated at the end of a non marking move jump e Settling
80. al P N 7 1095 Rev E General 4 Scanning mnn WWW gs scanners com Page 143 WinMCL Plus Software User s Manual MD include data Identifies GCX data to be inserted contiguously into the current stream If it occurs outside a Data List Block it identifies a GCX File structure in memory If it occurs within a Data List Block it identifies another Data List Block Record Layout MD include data pvoid pGCXdata gt uint length Parametere pGCXData address of start of data length of data bytes Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 144 WWW gs scanners com WinMCL Plus Software User s Manual MD include end Marks the end of an include block Record Layout MD include end Restrictions Must be paired with an MD include record Related Topics GCX file tutorial P N 7 1095 Rev E General 4 Scanning ptm mne WWW gs scanners com Page 145 WinMCL Plus Software User s Manual MD jump abs Use the MD_jump_abs command to move the mirrors to an absolute coordinate at the jump velocity During the move the laser will be OFF The command uses the Jump Size and Step Period parameters from the currently selected Parameter Set to determine the jump velocity Record Layout lt MD_jump_abs gt lt int x_abs gt lt int y_abs gt lt int z_abs gt Opcode 0x00000010 Record Size 4 4 4 4 16
81. al is inverted then the gate signal is also inverted To enable the separate signals mode the registry must be changed Change SSmode equal to 1 to activate the separate signals mode 0 disables separate signal mode The default SSmode is 0 or off The registry also includes settings for constraining the output signals while in this mode SSmaxDutyCycle SSmaxPeriod SSminDutyCycle and SSminPeriod limit the rate of oscillation of the output LM signal See the Q switch width and Q switch period parameters for the definitions of the laser modulation oscillation output Many lasers have a delay between the time the laser starts to oscillate and the time the laser outputs power from the cavity In most lasers the power is applied to the cavity at the same time the laser oscillator is activated as seen in Figure 21 Some lasers carry warnings not to apply power to the cavity until the oscillator has sufficient time to build up energy In those cases where the laser should be modulated before the gate signal is applied the SSdelay registry sets a delay between the start of the LM signal and the latch of the gate FPS pin signal P N 1095 Rev E pc Genera EL Page 30 WWW gs scanners com WinMCL Plus Software User s Manual iT lolx Registry Edit View Favorites Help El CURRENT USER HKEY LOCAL MACHINE HARDWARE H E SAM SECURITY SOFTWARE H Actel 23 ActiveTouch Adaptec 22 Adobe
82. ameters to generate the part matrix x cos ang E sin ang 0 1 sin ang cos ang 0 0 1 0 0 1 O e Related Topics GCX file tutorial Marking Field Transformations MD part matrix P N 7 1095 Rev E p Garen Page 158 WWW gs scanners com WinMCL Plus Software User s Manual MD raster abs This command is used to mark a line of dots on the part The line is marked from the current position to the end point where the endpoint is expressed by the X and Y parameters in absolute coordinates The next parameter n gives the number of dots that will be marked and what follows are n parameters the gray scale GSV value of each dot Please see the section on raster mode marking for a complete explanation Record Layout MD raster abs gt X Y n lt g 0 gt g 1 g n 1 4444444n 12 4n Bytes X X axis endpoint in absolute coordinates Y Y axis endpoint in absolute coordinates Parameters number of pixels the line 9 0 g n 1 array of gray scale values one for each pixel Selection of raster mode has to be executed before the job is run See the MC set raster mode function Restrictions The following parameters are involved in raster operations Q Switch Period Laser on delay laser off delay Related Topics GCX file tutorial raster mode tutorial RasterPulses pc General P N 7 1095 Rev E AE WWW gs
83. ardIndex MC reset corrtable Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D c Page 108 WWW gs scanners com WinMCL Plus Software User s Manual MC reset job queue Operational Description Resets the Job Queue When to Call Input Parameters None Output Parameters None Function Call MC reset job queue Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc ME P N 70M 1095 Rev E I WWW gs scanners com Page 109 WinMCL Plus Software User s Manual MC reset ParamSet Operational Description Reset the values of one of the 64 parameter sets to default values When to Call This function is useful when you want to start with a parameter set that has known values Call this function instead of setting the value of each of the parameters in the set Input Parameters Parameter set index int 0 to 63 Output Parameters None Function Call MC_reset_ParamSet Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Parameter Set Structure P N 1095 Rev E pc General G Sanning Page 110 WWW gs scanners com
84. arking head on the plane of projection as the GCX file executes in time During the time that it takes to trace the entire beam path the marking laser may be ON or OFF When the beam path advances while the laser is OFF the result appears as if the marker jumped from one location to another in reality the beam path advanced in a continuous line to the new location but the laser was OFF consequently there was no marked record of the path of the beam If the laser is ON while the mirrors are moving then the laser leaves a mark on the object and these marks are the useful work that the marking head performs Terminology derived from this example is expressed in the command names such as MD_jump_rel a command to move the focal point with the laser OFF or MD_mark_abs a command to move the focal point with the laser ON These are the fundamental operations needed for vector mode operations and all other commands and parameters are related to rendering quality or performance tuning The WinMCL Plus library provides all the functionality needed to insure that arbitrary projections of the marking head focal point onto the plane of projection can be transformed into a rectangular marking field where locations within the field of view can be assigned Cartesian coordinates and that this coordinate system can be used in the marking commands Further discussions in this section will assume that the marking field is rectangular P N 70M 1095 Rev E gt Gen
85. arking job immediately so it is useful as an emergency stop Note the beam position and laser command signals will be left in an arbitrary state Input Parameters None Output Parameters None Function Call MC abort mark Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Side Effects Clears the MARK IN PROGRESS signal Note This command leaves ALL laser signals in an UNDEFINED state Related Topics General Comments on Function Calls WinMCL Error Codes P N 1095 Rev E gt Genera ELLA Page 76 WWW gs scanners com WinMCL Plus Software User s Manual MC close vector dump file Operational Description This function call will close the vector dump file When to Call Call this function at the appropriate time in your debug routine to halt logging of marking commands to the file Input Parameters lt None gt Output Parameters lt None gt Function Call MC_close_vector_dump_file Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes MC open vector dump file pc FE P N 70M 1095 Rev E 2 Scanning WWW gs scanners com Page 77 WinMCL Plus Software User s Manual MC exit Operational Description Shuts down WinMCL232 destroys the software instance and closes the communication channel to the HC 3 device driver When to Call Make this the last WinM
86. chart outlines the sequence of events needed to mix the above raster marking routine into an overall vector marking routine Configure raster output mode enables rastermarking parameters Prepare a parameter set that vector marking Select a parameter set used for marking jobs Begin execution of vector Select raster parameter set jump to begining of raster area MC_jump_abs 0100 Execute raster marking job MD_move_rel 1000 MD raster rel 20 0 105 6 7 8 9 23 24 25 55 67 MD_move_rel 200 MD jump rel 32 2 0 MD move rel 1000 MD move rel 200 MD jump rel 32 2 0 MD move rel 1000 MD raster rel 20 0 10 5 6 7 8 9 23 24 25 55 67 MD move rel 200 MD jump rel 32 2 0 MD move rel 1000 MD raster rel 20 0 105 6 7 8 9 23 24 25 55 67 MD_move_rel 200 MD jump rel 32 2 0 MD_raster_rel 20 0 10 15 16 17 18 19 23 24 25 55 67 Figure 8 A flowchart that describes the sequence of events when mixing vector and raster marking L General Scanning WWW gs scanners com P N 70M 1095 Rev E Page 19 WinMCL Plus Software User s Manual Step and Shoot Mode Step and shoot mode is most commonly used for the via hole drilling operation of printed circuit production The operational mode is characterized by a strict sequence of marking commands jumps followed by a shoot command In via hole drilling applications ho
87. control electronics P N 70M 034 Rev General Scanning mre w mne www gs scanners com Page 7 HC Controller User s Manual 2 2 Feature Set 2 2 1 PCIInterface 32 bit 33 MHz PCI host interface supporting 132 Mbytes sec burst transfers Complies with PCI v2 2 specification Plug amp Play compatibility 3 3V or 5V PCI signaling 2 2 2 Software Compatibility requires PCI driver MMCL and higher layers PCMarkMT Job Editor Win MCL Plus and higher layers 2 2 3 HC3 Functionality Serial link interface Optically isolated laser control I O 50 pin internal I O compatibility Master slave compatibility Interface to General Scanning two axis XY scan heads Interface to General Scanning three axis XYZ scan systems One input data channel for the status of the receivers First in first out FIFO ram Shutter control circuitry Interrupt control logic 2 2 4 On Board IO2 Functionality The HC3 includes most functionality the HC2 required the IO2 add on card to accomplish BEGIN MARK and STOP MARK differential optically isolated inputs Single ended optically isolated output for First Pulse Suppression Optional LM inhibit on Laser Error 2 2 5 Enhancements Configurable on board instruction store up to 64K 32 bit words Support for low latency binning Configurable CO tickle pulse generation Configurable First Pulse Suppression generation Shutter relay control Inhibit galvo movement on mark abo
88. e There are two ways to process more than one job e The first approach is to use MC load job MC load job from memory and MC start mark for each job Do until last job MC_load_job_from_memory start mark j e The second approach is to use the Job Queue The application loads a number of jobs by MC load job MC load job from commands and then issues start mark command While WinMCL processes the loaded jobs the application may load more jobs into the Job Queue The application should use two threads because MC start mark doesn t return until marking is done The example of two thread pseudo code is represented below Thread 1 Thread 2 P N 1095 Rev E pc General Page 194 WWW gs scanners com WinMCL Plus Software User s Manual For 1 0 1 lt M I MC start mark MC get job count Create GCX file MC load job from memory If 4 m Activate Thread 2 if n 0 MC start mark The first thread creates m GCX files loads them and activates thread 2 Then it keeps calculating rest M m files and loads them The second thread starts the marking process When MC start mark returns the second thread checks the number of jobs is the Job Queue If the n number of jobs in the queue is equal zero then all the jobs were processed If the n is more than zero then last n jobs weren t processed To process the rest of the jobs in the job queue the application should
89. e earth ground connection such as a water pipe or AC ground Conductive bags trays totes racks or other containers used for storage Properly grounded power tools Qv pmo 5 Personnel handling ESD items should wear ESD protective garments and ground straps 1 2 Warranty Information The Customer shall examine each shipment within 10 days of receipt and inform General Scanning of any shortage or damage If no discrepancies are reported General Scanning shall assume the shipment was delivered complete and defect free General Scanning warrantees products against defects up to 1 year from manufacture date barring unauthorized modifications or misuse Repaired product is warranted 90 days after the repair is made or one year after manufacture date whichever is longer Contact Customer Service to obtain a Return Materials Authorization number before returning any product for repair All orders are subject to the General Scanning Terms and Conditions and Limited Warranty Visit our website for the latest version of these documents and other useful information gt FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 5 HC 3 Controller User s Manual IMPORTANT Optical Scanners are normally tuned serialized and warranted as a matched set for optimized performance Mismatched components negatively affect performance and void the warranty A matched set typically consists of galvanometer motor mirror load electronic
90. e laser interface Q Switched Lasers e Pulses are produced by turning Q switch on and off e The laser pulse shape is affected by two things 1 How many times the Q switch is turned off and on a second referred to as frequency or Q rate 2 How long the Q switch is turned off for each pulse Q switch off time or pulse width Changing the Q switch settings will affect the peak energy and average power of each pulse and is used to determine how the laser will interact with the material to be marked Q Switch EN Command ERI Signal Timing Diagram RF Driver T Wil Output 2 12 MHz Signal Laser Pulse Output Rate and Power Range e 0 02 KHz to 50KHz or CW e Software selectable CW Continuous Wave e No Q switching RF power off e No peak power only average power Low Q Rates e Set in software by making the pulse width off time longer than the selected period 1 f e Higher peak power lower average power e Used more for drilling type of marking where high peak power is necessary to remove material High Q Rates e Lower peak power higher peak power P N 1095 Rev E pc General 2 8 228 WWW gs scanners com WinMCL Plus Software User s Manual e Used more for a heating type of interaction with the material where the higher average power heats it up to discolor or burn in the mark Q Rate Variations 10 kHz 10 us Off Time Q Switch
91. e name character gt GCX list list begin record list end record list block transform matrix record comment block comment begin record comment end record comment text comment character para set selector record parameter set index jump record move record mark record shoot record vector data matrix coefficients theta x y coefficients bool value ushort value int value unit value float value pointer lt GCxX list include block comment blocks include data record transform matrix record MD include data pointer lt uint gt include begin record include text gt include end record MD include MD include end file name gt file name character file name character gt any UNICODE character valid for file names in Win dows NT list begin record comment block gt lt list block list end record MD list begin MD list end lt comment block gt para set selector record gt lt jump record gt move record mark record gt shoot record gt MD global matrix MD part matrix MD object matrix matrix coefficients MD global transform MD part transform MD object transform theta x y coefficients gt MD comment begin MD comment end comment character comment character gt any non NUL UNICODE character MD se
92. e the beam position to move at the jump rate When the final command voltages are sent to the servo the computer assumes that the beam path is located at the new vertex in fact the servo may still be steering the mirrors to the new location because of finite servo bandwidth or inertia in the mirrors WinMCL Plus has a built in facility to handle this situation the JumpDelay and the action is to pause the execution of the GCX file after a jump instruction The following figure shows that each of the jump vectors has an JumpDelay associated with it Figure 10 Simple marking path example show the location of Jump Delays The Laser On Delay timer starts at the beginning of a stroke the first MD mark abs or MD mark rel The Laser On Delay is required to account for finite servo bandwidth a latency in the mirror time frame with respect to the computer time frame pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 21 WinMCL Plus Software User s Manual Pasition 19 Time Figure 11 Timing of Jump Delay and Laser ON Delay The next parameter is called the Poly Line Delay This delay appears in the beam path after each mark vector of a stroke except the last By examining the physics of the mirrors in motion it is possible to understand the utility of the Poly Line Delay During marking operations the X axis and Y axis mirrors move at constant angular velocities that correspond to the beam path t
93. eader The internal 50 pin header provides laser signal access without opto isolation All signals are TTL outputs with a maximum 10mA low current REMOTE EXECUTE and MARK ERROR are not available on the 50 pin head and can only be found on the external 9 pin header The 50 pin header features signals regarding e Laser modulation LM First plus suppression trigger pulse Remote power control flag e Relay contact for shutter circuitry A short on a signal line will destroy the HC3 immediately Figure 8 Pin assignment of the internal IO header P N 70M 034 Rev p General Page 16 Www gs scanners com HC 3 Controller User s Manual Laser Safety Shutter The use of the laser safety shutter feature should replace the Safety and Warnings referenced in all General Scanning scan head manuals or the user site laser safety policies To improve laser safety the shutter should be connected in a series with SH IN and SH OUT The circuit enables the shutter control line only when the computer is switched on Contact ratings are maximum 48V maximum 0 5A and maximum switch on resistance 200mQ SH IN v SH OUT 50 Pin Header Adaptor Cable General Scanning offers an adaptor cable for the internal 50 pin header General Scanning part number 712 78735 Contact customer service regarding information on ordering the cable INTERFACE ASSIGNMENT HC3 Connections PORT BO PORT B1 PORT B2 PORT B3 PO
94. er P N 034 pc Genera Page 12 WWW gs scanners com HC 3 Controller User s Manual Location of Jumpers and LEDs The following figure shows the location of jumpers W1 and W2 on the HC3 card See sections 3 3 HC3 LED Definitions 0 Opto Isolation and 0 Laser Modulation Signal for more information Figure 3 Location of HC3 jumpers and LEDs Opto Isolation Jumper W1 The output logic can be supplied from the internal PC 5V supply or from an external power supply W1 GROUND OPTO Figure 4 W1 pin configuration The default configuration bridges a jumper across pins 1 to 8 and pins 4 to 5 setting the HC3 to use the internal 5V supply of the computer To achieve opto isolation remove the jumper and connect an external power supply to the external 9 pin connector The input voltage is defined as 4 75 to 5 75V max 100mA W1 Pin 8 GROUNDOPTO VCCopro Return W1 Pin 5 pc FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 13 HC Controller User s Manual Laser Modulation LM Signal Jumper W2 The LM signal is active high or active low depending on the position of jumper W2 For LM low active insert W2 between pin 1 amp 2 default setting For LM high active insert W2 between
95. er s Manual Alarm Flags All Alarm flags are readable before and after a job is done through the HC3 from the application program The bits are always low if they are connected and no alarm flag is set Code definition read back through the HC3 BIT FLAG 1 2 3 4 5 6 7 8 Alarm Flag Input from the HF Driver The inputs for the alarm flags are opto isolated Sample PIN definition of the alarm flags with Q switched Y AG laser systems HRP high reverse power LFP z low forward power MCO modulator crystal over temperature RFO RF modulator driver heat sink over temperature Some Laser Manufacturer s alarms are voltage free normally open contacts They are closed with no error closed healthy open on alarm VCC2 IK 15 V to 18 V a 4 K847P INPUT Customer General Scanning Optional Input Flags The inputs for the optional input flags are opto isolated inputs The optional input flags are only available on request of the customer Configuration of the inputs is as follows OPT INPUT i 4 10 20 OPTOB min5V OmA L OPT INPUT Customer General Scannig 2 e g Spectron Laser Systems gt P N 70M 034 Rev 7 Sanning WWW gs scanners com Page 35 Ly 0547 p D 4 ZNIIZNI 7 NG
96. er words the string length has to be a multiple of four A string that actually has an odd number of characters should be padded with a trailing Unicode NUL Record Layout MD comment begin Restrictions Must be paired with an MD comment end record May not be used recursively within comments Related Topics GCX file tutorial A General P N 7 1095 Rev E SCOTS WWW gs scanners com Page 139 WinMCL Plus Software User s Manual MD comment end In the syntax of the GCX file this command acts as the end of comment delimiter Any comments started in the GCX file using the MD comment begin command must be terminated with this command Record Layout MD comment end Parameters None Restrictions Must be paired with an MD_comment_begin command Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 140 WWW gs scanners com WinMCL Plus Software User s Manual MD global matrix Specify coefficients for the Global Matrix Record Layout MD global matrix float a float b float c float d float x0 float 0 gt 4444444444444 28 Bytes a b c d x0 yO Transform Matrix coefficients Restrictions Nome The following diagram shows the row and column locations for each of the input parameters for the global matrix A B 0 C YO 0 0 1 Related Topics GCX file tutorial Marking Field Transformations MD_global_transform
97. era D Soy Page 12 WWW gs scanners com WinMCL Plus Software User s Manual In the vector mode of operation a marking job consists of a continuous beam path composed of vectors The following example illustrates the progression of marking over time by labeling the vertices visited in numerical order B 5 4 d o 3 Figure 1 Simple marking path example showing an ordered sequence of jumps and marks In the example the arrows point in the direction of beam path motion The gray arrows indicate jump vectors motions where the laser is OFF The black arrows indicate mark vectors motions where the laser is ON The example shows the letters AP being marked and the beam path starts at vertex 0 and continues sequentially to vertex 13 The GCX motion commands that implement mark and jump operations are MD_mark_abs and MD_jump_abs when an absolute coordinate system is desired and MD mark rel and MD jump rel when a relative coordinate system is desired Generally the coordinate destinations of the mark and jump commands are 16 bit numbers These are signed numbers that have ranges according to the following table Bits Min Value Max Value 16 32768 32767 Position parameters are available for X Y and Z axis The X and Y axis position values are converted to command voltages that are subsequently sent to power servo controllers operating the mirrors The Z axis typically comma
98. es its input parameter lt ShootTime gt to set the duration of drilling P N 70M 1095 Rev E gt Genera ELLA Page 20 WWW gs scanners com WinMCL Plus Software User s Manual Fine Tuning with Delays An aspect of fine tuning a marking job is the coordination of the beam path with commanding the laser ON and OFF Beam positioning lag and laser turn ON lag are external factors that must be accounted for in software Various techniques are employed including the addition of delays in the marking instruction stream that can be used to increase the mark rate for a given character quality or to increase the clarity of the characters Laser ON and OFF commands are an integral part of the MD_mark and MD_jump commands there are no specific MD commands for turning the laser ON and OFF and the only means of control is the timing of the hardware The following introduces the various laser parameters that WinMCL Plus exposes for adjustment by focusing on three key delays listed below see Chapter 0 Parameter Descriptions for a complete set of adjustable parameters e JumpDelay e Poly Line Delay e Stroke Delay The first parameter to be discussed will be the JumpDelay parameter that addresses the lag issues at the end of a jump move The JumpDelay is part of the Laser Parameter Set and it applies to all jump commands When the command stream of the GCX file executes a jump instruction the HC 3 card issues a Series of voltage outputs that caus
99. escription Opens GCX Data in application memory and places it in the Job Queue for subsequent processing When to Call Input Parameters Pointer to the start of the job file in Properly allocated block of application memory memory Length of the job file in bytes Unsigned long 0 4294967295 Output Parameters lt None gt Function Call char startAddress unsigned long length startAddress char malloc 512 MC_load_job_from_memory startAddress length Possible Return Values WMCL_OPERATION OK WMCL_OPERATION_FAILED Related Topics General Comments on Function Calls WinMCL Error Codes gt e P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 105 WinMCL Plus Software User s Manual open vector dump file Operational Description Opens the vector dump file When to Call This is a function used in debugging marking jobs The vector dump file will contain the binary representations of all the MD commands of a marking job Parameters Type Declaration Value Range Previously allocated pszFileName Name of file Char char buffer at least 512 bytes long Output Parameters lt None gt Function Call char pszFileName pszFileName char malloc 512 MC_open_vector_dump_file pszFileName Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Funct
100. ev E Page 46 WWW gs scanners com WinMCL Plus Software User s Manual Enter the file path here Press the browse button to raise a file dialog Figure 24 How to specify the GCX file to run Before a GCX file is run it is important to configure the system to operate properly Please read through this section completely to understand what settings have to be made before a job is run The job contained in the GCX file is executed when the Run button is pressed The program has controls that allow configuration of the job execution The Auto Repeat checkbox is used to configure repeating behavior for GCX files First the Auto Repeat box is checked then the Run button is pressed The job contained in the selected GCX file is run and at the end it is reloaded and run once again This repeats endlessly until pressing the Exit or Abort button terminates it The Exit button simply prevents the job from being reloaded when pressed the job runs to completion and then terminates normally The Abort button causes the MC_abort_mark command to terminate the job immediately It is important to note that the MC_abort_mark function will leave the position and laser control signals in an undefined state The program provides a way to trigger a marking job via the BEGIN_MARK signal Select the GCX file to run and then check the On Begin checkbox When you press the Run button the job will not start instead the program will arm
101. family including Windows NT 2000 and XP Be careful to observe safety and warnings associated with laser hazards you may encounter Scan heads consist of galvanometers and attached mirrors that reflect a laser beam whose operation can be hazardous if certain precautions are not taken Please be alert to the safety considerations and specific procedures regarding the scan head and the laser you are using This document features highlighted blue hot links for rapid navigation through the document Click on any of the blue text to jump to the associated topic pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 11 WinMCL Plus Software User s Manual SCAN HEAD PROGRAMMING CONSIDERATIONS laser systems requires special attention to various application issues specific to the laser arena The following chapter discusses various topics related to using laser systems Marking Jobs Fine Tuning with Delays Marking Field Transformations Field Distortion Correction aser Power Control Mark on the Fly Disabling Z Axis Hardware I O Separate Signals Mode Marking Jobs Marking jobs are accomplished with the three operational modes of the HC 3 card e Vector Mode e Raster Mode e Shoot Mode Vector Mode Vector operational mode is most easily understood by thinking of the beam path as tracing the outline of the object The beam path is simply the focal point of the mirrors of the m
102. ficult it is to turn the mirror on the axis of the galvo and it is based on the physical characteristics of the mirror including the mass and dimensions Mirror inertia is not directly addressed in WinMCL as it is part of the physical plant the servo galvo and mirror Additional information regarding mirror inertia can be found on the General Scanning web site or by inquiries through your sales representative Move Vector A move vector is a type of macro vector that runs at the same velocity as the mark vector i e the mark rate but the laser is OFF during the motion This type of motion is useful in establishing a constant beam velocity before turning the laser ON All move vectors are commanded from GCX files there are no MCL commands that would cause move vector to execute The GCX MD commands that cause a move vector to execute are e MD move rel MD move abs OPT2 signal The OPT2 signal is an input from the HC 3 This signal input has been traditionally used for laser error input for those lasers that have to signal errors in hardware The signal input is located at pin 7 of the External I O connector The signal is active low The following diagram shows the location of the OPT2 signal on the connector OPT2 pin 7 ER 6 Figure 44 Location of the OPT2 signal on the pin out of I2 The MC command related to this port is MC get optional status Related topics e MC get optional status e Hardware IO
103. files to selected HC 3 cards HC 3 cards have certain parameters related to different types of lasers For stable operation lasers require tickle pulses to maintain ionization of the gas just below the lasing threshold while the laser is not firing To enable these pulses click the check box in the configuration dialog box The width of the pulses in microseconds can be set with the appropriate radio buttons Pulse train frequency is fixed at 5 kHz Nd YAG lasers require a first pulse suppression signal to control the discharge of energy stored in the laser cavity while the laser is not firing Selection of pulse sense active high or active low can be toggled using the Invert FPS check box Extension of the pulse to suppress several pulses may be selected with the radio buttons in the First Pulse Extension group Once the appropriate settings are made click button Changes will be implemented the next time the PC is powered on P N 7OM 1095 Rev E Sonning Page 52 WWw gs scanners com WinMCL Plus Software User s Manual HC 3 configuration Figure 31 HC 3 configuration dialog box P N 70M 1095 Rev WWNW gs scanners com Page 53 WinMCL Plus Software User s Manual GCX File Assembler Test Program A utility program GCXAsm exe is included in the distribution package to generate GCX files It allows you to type MD commands into a text file and then assembles those com
104. ftware User s Manual MC start mark Operational Description Commence the execution of GCX marking jobs that have been loaded into the job queue This call will not return until the job queue is empty When to Call Once the job queue contains marking jobs they can be marked Use this command to commence marking Input Parameters None Output Parameters None Function Call MC start mark Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 131 WinMCL Plus Software User s Manual MC start mark non blocking Operational Description As above except this function spawns its own thread and returns essentially immediately Use with languages like LabVIEW that have difficulty spawning their own threads When to Call Once the job queue contains marking jobs they can be marked Use this command to commence marking Input Parameters None Output Parameters None Function Call MC loloce kxwe Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 1095 Rev E 55 Genera EL Page 132 WWW gs scanners com WinMCL Plus Software User s Manual MC start mark on begin Operational Descr
105. g the card assembly To install the card assembly you will need two adjacent blank slots One slot will house the HC3 The second slot will mount the two connectors on the ends of the ribbon cable coming from the IO2 card Firmly insert the card assembly into one slot Secure the HC3 to the computer with the retaining screw Remove the slot blank from the adjacent slot Secure the connector assembly to the computer with the retaining screw Replace and secure the computer cover Ce P N 70M 034 Rev gt General T Page 26 Www gs scanners com HC 3 Controller User s Manual IO2 Interconnections The serial link cable connecting to the scan head still interfaces from the HC3 card With the addition of the IO2 card two more connections exit to mating system equipment Connector 1 15 pin D sub connector INTERFACE CONI PIN ASSIGNMENT VSS1 External input 5 to 18 V RESERVED LP Lamp current 0 to 10 V LP_COUT 0 V Remote current control SH_IN Shutter relay contact 5 V 5 V output BEGIN MARK STOP MARK GROUND 1 External input return LP RETURN Signal Ground output LOCAL 0 V Remote control SH OUT Shutter relay contact GROUND Signal Ground output 15 Pin D Sub male connector BEGIN MARK STOP_MARK 1 2 3 4 5 6 7 8 Using STOP MARK and BEGIN MARK Without Opto Isolation Begin mark stop mark Connect Con 1 Pin 13 ground output to Pin 14 amp
106. ge 179 WinMCL Plus Software User s Manual MD set stroke delay This parameter sets the period of time the galvos are held in position at the end of a stroke Record Layout MD stroke delay stroke delay Opcode 0x00000048 Record Size 4 4 bytes Parameters Stroke delay in microseconds Restrictions Zero or positive value Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 180 WWW gs scanners com WinMCL Plus Software User s Manual MD set laser on delay This parameter sets the period of time in microseconds between the galvo command that begins a mark and the laser modulation signal assertion A negative value will assert the laser modulation signal before the command to move the galvo is sent Record Layout lt MD_set_laser_on_delay gt lt long laser_on_delay gt Parameters Laser on delay in microseconds Related Topics GCX file tutorial P N 70M 1095 Rev E General Scanning RTL WWW gs scanners com Page 181 WinMCL Plus Software User s Manual MD set laser off delay This parameter sets the period of time between the time the laser modulation signal is unasserted and the end of the stroke delay interval Record Layout lt MD_set_laser_off_delay gt lt long laser_off_delay gt Parameters Laser off delay in microseconds Zero or positive value Increasing the value in excess of the stroke delay interval
107. has no effect Restrictions Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 182 WWW gs scanners com WinMCL Plus Software User s Manual MD set power delay This parameter sets the waiting period in microseconds after a power change is commanded before marking continues This is normally used to allow a flashlamp to stabilize Record Layout lt set power delay power delay Parameters Power delay in microseconds Related Topics GCX file tutorial P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 183 WinMCL Plus Software User s Manual MD set fps enable This flag enables or disables operation of the first pulse suppression trigger Record Layout MD set fps enable gt ulong flag gt Opcode 0x00000060 Record Size 4 4 bytes Parameters Flag 0 for false non zero for true Restrictions None Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 184 WWW gs scanners com WinMCL Plus Software User s Manual MD set qswitch period This parameter sets the time allowed for the full period of a laser pulse For example a 10 kHz rate would be expressed as 100 microseconds Record Layout lt MD set qswitch period Q switch period in microseconds Setting the period to zero results in CW operation Related Topics GCX file tutorial C c P N 70M
108. hat is to be traced out At each vertex in the stroke the direction of the beam path can change instantaneously and from the standpoint of commanding the galvos that control the mirrors the angular velocity must change instantaneously This is not possible physically due to the inertia of the mirrors therefore the marked stroke contains an error artifact based on the mechanics of the system The Poly Line Delay inserts a short pause at each vertex inside the stroke the last vertex of the stroke is subject to the stroke delay to be covered next and the action of this delay is to allow time for the mirrors to attain a new angular velocity The following figure show the vertices in the example where the Poly Line Delay occurs Figure 12 Simple marking path example showing the location of Polyline Delays P N 70M 1095 Rev E pc Genera D oc Page 22 WWW gs scanners com WinMCL Plus Software User s Manual Position Figure 13 Timing of the Polyline Delay The final delay parameter used in coordination of the beam path to the laser is the Stroke Delay The Stroke Delay adds a pause at the last vertex of a stroke The Stroke Delay is required to account for finite servo bandwidth latency in the mirror time frame with respect to the computer time frame and the delay allows the mirror to catch up to the commanded position The eye is more sensitive to shortened strokes than to rounded corners so the stroke delay is included t
109. he GCX file XY exchange does not affect the Transform Matrix When to Call Input Parameters Desired flag state Unsigned short 1 TRUE 0 FALSE Output Parameters lt None gt Function Call unsigned short Flag MC get Flag Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera EEL 128 WWW gs scanners com WinMCL Plus Software User s Manual MC set y flip Operational Description Set or reset the y flip flag When the flag is TRUE the command stream output by the HC 3 card will have the Y axis inverted with respect to the GCX command file Y Flip does not modify the Transform Matrix When to Call This function can be called during initialization of the system to compensate for mounting geometries or it can be called in response to input data about the orientation of the part in the field of view Input Parameters Current flag state Unsigned short 1 TRUE 0 FALSE Output Parameters lt None gt Function Call unsigned short Flag setr y lip Flag 2 Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc Fe P N 70M 1095 Rev E 2 Canning WWW gs scanners com Page 129 WinMCL Plus Software User s Manual
110. he following diagram illustrates the procedure invoked on the parameters of this function cos ang 0 1 0 x sin ang cos ang 0 0 1 y 0 0 1 001 Figure 49 Location of parameters in the matrix for the alternate input form The Part Matrix is one of the Global Parameters it is not affected when a new parameter set is selected Related topics Marking Field Transformations MD part matrix MD part transform Plane of Projection The plane of projection extends infinitely in all directions from the marking field In the most useful geometries the beam that is projected from the marking head when the mirrors are aimed at X 0 Y 0 is normal to the plane of projection Poly Line Delay A polyline is composed of more than one mark or vectors The polyline delay is applied to the end of each macro vector vertices at which the beam path moves in a new direction except for the last macro vector in a stroke The polyline delay is useful in establishing sharply marked corners during the changes in direction of a stroke The following figure shows where the polyline delay occurs inside a stroke amp P B D Figure 50 representation of a stroke with the locations of polyline delays indicated See also e Stroke e Stroke Delay Port A input pc General P N 7 1095 Rev E WWW gs scanners com Page 207 WinMCL Plus Software User s Manual The PORT A i
111. he main window Make the changes as needed and then press the Update button to register the values with the program When the program is first started the values of the Global Parameters are given suitable default values Genera Scanning Crees nn P N 70M 1095 Rev E C Page 50 WWNW gs scanners com WinMCL Plus Software User s Manual Figure 29 Controls that work with Global Parameters Some installations have more than one HC 3 card An aspect of these systems is that each card has it s own Grid Correction Table and Power Table The program shows you how many cards are recognized by enabling a certain number of radio buttons These radio buttons are used to select the destination for configuration changes To program the two tables on a per card basis you must first select the HC 3 card with the radio button and then enter a file name or browse for both the Grid Table and Power Table Once data is complete press the Set button in the Grid Table section and in the Power Table section When the program is first started the Grid and Power Tables take on the default values for each installed card i e tables that do not provide any correction P N 7OM 1095 Rev E 2 poe Carte tmn WWW gs scanners com Page 51 WinMCL Plus Software User s Manual Helper Ca Master Slayel 512722 Slaved 7 Reset 0 0 te T Figure 30 Controls that assign correction
112. he master end of the cable is the connector with only two wires Slave 3 Slave 2 Slave 1 MASTER LA LI MURUN coe fee ff eee MUNNI ooroo 3456 1034565 3456 12345678 F Figure 10 Master slave cable configuration P N 034 Rev gt General Page 24 WWW gs scanners com HC 3 Controller User s Manual APPENDIX E OPTIONAL IO 2 CARD he IO2 add on board contains additional options for the Typically lasers requiring analog voltage control necessitate the IO2 addition to the HC3 The IO2 features include Function HC2 102 HC3 IO2 Laser Modulation output opto isolated Higher allowable external voltage for opto isolation 5V to 18V All outputs on 9 pin con opto isolated 7 bit D A converter for analog power control OV to user defined maximum between 0 7 10V Gate signal for first pulse suppression Jumper selectable 1 244 34 or 4 pulse suppression Software configurable 15 24 34 or 4 pulse suppression Additional user programmable 8 bit opto isolated input e g for system flags Not opto isolated LM FPS C 8 ali
113. he parameter set is changed Most of the Global Parameters are in fact the transformation matrices Also each HC 3 card has its own Grid Correction Table and Power Table and these are treated as Global Parameters also The list of Global Parameters is FPS Delay Universal Matrix Global Matrix Part Matrix Object Matrix Flip Matrix Exchange Flag 4 Grid Correction Tables 4 Power Tables gt General P N 7 1095 Rev E uL WWW gs scanners com Page 193 WinMCL Plus Software User s Manual device driver The HC 3 device driver is typically installed when the HC 3 card is installed in the computer The WinMCL Plus software communicates with the HC 3 driver to transfer data from GCX file to the output ports of the HC 3 card HC 3 The HC 3 is a PCI bus card that is used to command the marking head WinMCL Plus communicates to the HC 3 device driver through function calls and the device driver communicates to the HC 3 card via the job queue Please refer to General Scanning manual 7OM 034 for complete information on the HC 3 card At the hardware level the HC 3 card communicated via a serial link to either of the General Scanning HPM or HCI cards translator cards The HC 3 card also has a DB9 connector for certain inputs and output that can be read and written from WinMCL Plus Related topics e BEGIN MARK signal MARK ABORT signal REMOTE EXECUTE signal MARK ERROR signal MARK IN PROGRESS Job Queu
114. he process velocity now determined we have to optimize the timing between the laser and the galvos next e Mark a test pattern that clearly shows the start and end point of vectors e Find the LON and LOFF values that give you the best results Full length of vector w o blooming P N 70M 1095 Rev E pc Genera ELLA Page 226 WWW gs scanners com WinMCL Plus Software User s Manual Optimize Jump Size and Jump Delay Now we can start to reduce the jump delay and increase the jump size until we start to see wiggle lines at the beginning of vectors after a jump The best ratio between jump speed and jump delay for the shortest cycle time will later depend on the number of jumps in the pattern which is actually to be processed Optimize Mark Delay Increase the Mark Delay until we see no further improvement to small features in particular small characters Optimize Stroke Delay Finally we can reduce the stroke delay Beware of the limitations Because of delay interdependencies we cannot go any smaller than SD gt LOFF LON SP Depending on your specific hardware laser galvo mirror it might not be possible to reduce the Stroke Delay to its theoretical minimum A E P N 70M 1095 Rev E 2 Sanning www gs scanners com Page 227 WinMCL Plus Software User s Manual Laser Modulation Laser Modulation Signal e Turns laser on and off e Generated by the software e Send out from HC 2 or HC 3 to th
115. iguration of the Laser Modulation Signal If the Laser Modulation Signal is configured for DC operation continuous wave by setting the Q Switch Period parameter to 0 then the ShootTime parameter is decoded as the length of time in microseconds to assert the Laser Modulation signal On the other hand if the Laser Modulation Signal is configured for pulse operation then the ShootTime parameter is decoded as the number of pulses to fire The MD shoot command must be preceded by a jump to establish the beam position any other instruction will cause an error Record Layout MD shoot Shoot gt Cannot be used within marking strokes Related Topics GCX file tutorial Step and Shoot tutorial pc General P N 7 1095 Rev E WWW gs scanners com Page 167 WinMCL Plus Software User s Manual MD start tracking This command is used to start the Mark on the Fly counters The MOF counters are finite in size and for a given MOF velocity the counters will be valid for a finite time interval so they must be activated and reset on a demand basis Record Layout MD start tracking gt Related Topics GCX file tutorial Mark on the Fly tutorial P N 7 1095 Rev E p Garen Page 168 WWW gs scanners com WinMCL Plus Software User s Manual MD wait This command will cause program operation to wait for the specified number of microseconds Record Layout MD wait g
116. in arbitrary units Restrictions 0 256 Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 176 WWW gs scanners com WinMCL Plus Software User s Manual MD set intensity This parameter determines the signal sent via Port N Record Layout lt MD set intensity ulong intensity Opcode 0x00000045 Record Size 4 4 bytes Parameters Intensity Restrictions Value should be in the range 0 256 Related Topics GCX file tutorial C P N 70M 1095 Rev E Scanning ptm mne WWW gs scanners com Page 177 WinMCL Plus Software User s Manual MD set polyline delay This parameter sets the delay between successive elements of a mark This delay is inserted to allow marks to avoid rounding at corners Record Layout lt MD_set_polyline_delay gt lt ulong polyline delay time gt Parameters Polyline delay time in microseconds Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 178 WWW gs scanners com WinMCL Plus Software User s Manual MD set jump delay This parameter sets the delay in microseconds allowed for the system to settle after a jump Record Layout MD jump delay ulong delay Opcode 0x00000047 Record Size 4 4 bytes Parameters Delay value in microseconds Restrictions None Related Topics GCX file tutorial C P N 70M 1095 Rev E Scanning te ren WWW gs scanners com Pa
117. in step and repeat applications where the marking program consists solely of relative motion commands Input Parameters Name Description Type Declaration Value Range Output Parameters None Function Call lone 3 amp 5 Xp AR MC_jump_rel Y Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes gt General P N 7 1095 Rev E uL WWW gs scanners com Page 103 WinMCL Plus Software User s Manual MC load job Operational Description Opens a GCX File located on disk and places it in the Job Queue for subsequent processing When to Call This particular command assumes that the marking job is described in a GCX File in the files system So this command reads and parses the file and then pushes the job onto the job queue Input Parameters GCX filename Full path file name expressed in an even Valid file name number of unicode characters Output Parameters lt None gt Function Call char GCX filename GCX filename char malloc 512 MC load job GCX filename Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc General G Sanning Page 104 WWW gs scanners com WinMCL Plus Software User s Manual MC load job from memory Operational D
118. inMCL Plus Software User s Manual MD set remote execute Use this command to change the state of the remote execute signal on pin 8 of the External I O connector The state parameter determines the state of the signal A parameter value of 1 asserts the signal a parameter value of 0 unasserts the signal Record Layout MD set remote execute int state Related Topics GCX file tutorial P N 7 1095 Rev E General 4 Scanning mnn WWW gs scanners com Page 165 WinMCL Plus Software User s Manual MD set output offset Identifies the offset to be applied to the data for the specified scan head The offset will be scaled through the universal matrix This will reset the beam dump output mode for the specified head Record Layout MD Set Output Offset gt uint CardIndex gt int Xoffset gt int Yoffset int Zoffset gt 4 amp 4 4 44 444 20 Bytes CardIndex HC 3 card to apply offset to Xoffset the X axis offset Yoffset the Y axis offset Zoffset the Z axis offset Parameters Related Topics GCX file tutorial MD Set BeamDump Position P N 7 1095 Rev E p Garen Page 166 WWW gs scanners com WinMCL Plus Software User s Manual MD shoot Use the MD shoot command to turn laser ON for an interval During the laser ON cycle the focal point will not be moving The ShootTime parameter is interpreted in two different ways depending on the conf
119. ing MD commands are related to Mark on the Fly e MD start tracking e MD reset tracking Disabling Z Axis When running two axis systems the Z axis should be disabled While the scan head will simply ignore Z axis signals one can get up to one third increase in maximum throughput with this axis disabled as significantly less information must be transmitted for each vector A registry entry controls the Disable Z axis function By default the Z axis is disabled The following procedure allows you to adjust the Disable Z axis status 1 Open regedit exe 2 Navigate to HKEY LOCAL MACHINE SOFTWARE GSILumonics WinMCL32 3 Modify the DisableZ variable to 1 to disable 0 to enable P N 70M 1095 Rev E pc Genera ELLA Page 28 WWW gs scanners com WinMCL Plus Software User s Manual Hardware I O The HC 3 card has two I O connectors that break out user signals I2 is a 9 pin connector located on the computer bulkhead This connector provides optically isolated inputs and outputs Opto isolator 10 signals Laser Modulation gt MARK ABORT signal gt o BEGIN MARK signal 4 MARK IN PROGRESS 5 Opto isolator 5VDC_ The second connector provided is the internal connector I3 The signals on this connector are not MARK IN PROGRESS Gud 15 optically isolated In addition to the signals provided on 12
120. ing example will use the assembly language of GCX file for the examples but it is assumed that the files will be converted into binary before being submitted to WinMCL for execution The simplest GCX files consist of a block or list of GCX motion commands The following example shows several types of operations that are performed with GCX files A simple marking routine MD_list_begin This delimiter is always needed MD_jump_abs 0 0 O0 Jump to the origin of the marking field MD jump abs 9000 0 0 Jumpto the beginning of the graphic feature MD mark 2250 5000 0 Begin to mark the feature MD mark rel 4500 10000 0 MD mark rel 2250 5000 0 MD mark rel 3000 0 0 MD mark 50 50 0 MD mark rel 50 0 0 MD mark rel 50 50 0 MD mark rel 300 60 0 MD jump abs 0 0 Jump to indicate end of marking MD list end The simple marking routine illustrates several important features about all GCX files and buffers The list of instructions is delineated by the MD list begin and MD list end commands All other instructions must appear inside these delimiters The delimiters show the extent of one job Jobs are loaded sequentially onto the job queue execution of the job queue is suspended pending the invocation of the MC start mark or MC start mark on begin functions Once the queue is started the jobs are executed in the order in which they were pushed onto the job queue A common technique when mar
121. ion Set or reset the external REMOTE EXECUTE signal on all HC 3s When to Call Call when you wish to change the state of pin 8 of the External I O connector Input Parameters SignalState The required signal state Unsigned short 1 ASSERTED 0 INACTIVE Output Parameters lt None gt Function Call unsigned short SignalState MC_set_remote_execute SignalState Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note The command should only be issued when WinMCL Plus is idle Related Topics General Comments on Function Calls WinMCL Error Codes REMOTE EXECUTE signal pc P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 115 WinMCL Plus Software User s Manual MC set corrtable Operational Description Loads the Field Distortion Correction Table for the selected HC 3 from the given file When to Call Input Parameters CardIndex HC 3 number Unsigned short Must an allocated string FileName Field distortion correction table file name Char that contains the file name Output Parameters lt None gt Function Call unsigned short CardIndex char FileName FileName char malloc 512 P Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc
122. ion Calls WinMCL Error Codes P N 1095 Rev E pc Genera p Se Page 106 WWW gs scanners com WinMCL Plus Software User s Manual MC reset Operational Description Resets WinMCL Plus to the default state This affects all Global Parameters Parameter Sets and tables Field Distortion Correction Table and Laser Power Calibration Table When to Call Call this function to force a return of all tables and variables to a known state Input Parameters lt None gt Output Parameters lt None gt Function Call MNT Possible Return Values WMCL OPERATION OK OPERATION FAILED Side Effects Clears the MARK IN PROGRESS signal Clear the MARK ERROR signal Note The communication channel to the kernel mode driver is not affected by this command In all other respects reset is equivalent to MC Related Topics General Comments on Function Calls WinMCL Error Codes Laser Power Calibration Table default value MARK IN PROGRESS pc e P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 107 WinMCL Plus Software User s Manual MC reset corrtable Operational Description Resets the Field Distortion Correction Table for the selected HC 3 to the default values i e no corrections When to Call Input Parameters CardIndex HC 3 number Unsigned short Output Parameters lt None gt Function Call unsigned short C
123. ion on the 50 pin header Figure 2 depicts a typical scanning configuration Laser Control Connection Power Supply 22 Customer Supplied J Serial Link Connection 2 2 lt KR N N gt i internal to PC Figure 2 Typical two axis laser scanning interconnection setup P N 70M 034 Rev G General fd Scanning pte Von Page 10 Www gs scanners com HC 3 Controller User s Manual 3 4 1 Serial Link Connector The HC3 relays standard XY2 100 protocol to the digital interface head through a digital control cable General Scanning stocks standard cable lengths of 3 and 10 meters The following chart shows the 25 pin digital output to the scan head for reference only INTERFACE ASSIGNMENT HC3 Connections SENDCK SENDCK SYNC SYNC CHANNEL X CHANNEL X CHANNEL Y CHANNEL Y RESERVED FOR Z AXIS RESERVED FOR Z AXIS STATUS STATUS NOT CONNECTED NOT CONNECTED RESERVED i RESERVED LM E LM 25 Pin D sub Female NOT CONNECTED Digital I O Connection SHIELD GROUND SHIELD GROUND SHIELD GROUND NOT CONNECTED SHUTTER OUT SHUTTER IN gt Fe P N 70M 034 Rev G 2 Scanning WWW gs scanners com Page 11 HC Controller User s Manual 3 4 2 External IO 9 pin Connector The 9 pin connector external to the PC provides opto isolated signals for various inputs and outputs Laser Modulation LM Laser Error input Mark Abort input Begin Mark input and Mark In
124. iption Initializes vector processing and begins vector processing and output The output starts when the external BEGIN MARK signal is asserted on the 9 pin Sub D connector The MARK IN PROGRESS signal is set and the HC 3 starts data output automatically The command effectively blocks while waiting for the BEGIN MARK signal Once the signal has been asserted the command starts a new thread to run the mark and returns to the caller When to Call This command is used once jobs are loaded in the job queue When the host software issues this command it relinquishes control of the actual start time to the hardware input BEGIN MARK signal on the HC 3 This is useful when coordinating the operation of manufacturing equipment Input Parameters Maximum time in milliseconds that the program will _ wait for the START_MARK signal Unstigned long 1 0429496 295 Output Parameters lt None gt Function Call unsigned long TimeOut MC start mark on begin TimeOut Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes BEGIN MARK signal pc a P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 133 WinMCL Plus Software User s Manual MC start mark on begin non blocking Operational Description As above except this function spawns its own thread and returns essentially immediately Use wi
125. issued from a separate thread of the host program Record Layout lt MD_repeat gt Related Topics GCX file tutorial P N 70M 1095 Rev E General Scanning RTL WWW gs scanners com Page 161 WinMCL Plus Software User s Manual MD reset tracking This command resets the Mark on the Fly timing registers to zero Record Layout MD reset tracking gt Related Topics GCX file tutorial Mark on the Fly tutorial P N 7OM 1095 Rev E p Garen Page 162 WWW gs scanners com WinMCL Plus Software User s Manual MD select parameter set Select active parameter set for use during subsequent vector processing Record Layout MD select parameter set unit index index parameter set index 0 63 Related Topics GCX file tutorial Parameter Set Structure P N 7 1095 Rev E General 4 Scanning mnn WWW gs scanners com Page 163 WinMCL Plus Software User s Manual MD set mark error Use this command to change the value of the mark error signal on pin 9 of the External I O connector The parameter state determines the state of the output A parameter value of 1 asserts the signal a parameter value of 0 unasserts the signal Record Layout lt MD set mark error gt int state Related Topics GCX file tutorial Hardware IO P N 7 1095 Rev E p Garen Page 164 WWW gs scanners com W
126. king on a planar marking field is to set the Z axis 0 for all motion commands Notice that the job does not contain any instructions related to delays like the stroke delay polyline delay etc These delays are generated as a side effect of the instructions in the stream and they do not and cannot be explicitly inserted into a marking job but they can be programmed from the parameter set A Step and Shoot Marking Job pc FE P N 70M 1095 Rev E 7 Sanning WWW gs scanners com Page 35 WinMCL Plus Software User s Manual This is an example of a Step and Shoot program It is important to remember that the MD_shoot command must always be preceded by a jump command otherwise WinMCL will generate an error when processing the file The file shows some common operations such as selecting a parameter set before drilling MD_list_begin MD select parameter set 4 MD jump abs 0 0 0 MD jump rel 10 00 0 MD shoot 25 MD jump rel 10 0 0 MD shoot 23 MD_jump_rel 10 0 0 MD shoot 25 MD jump rel 10 00 0 MD shoot 25 MD_jump_rel 10 0 0 shoot 25 MD jump rel 500 500 0 MD jump rel 10 00 0 MD shoot 23 MD jump rel 10 00 0 MD shoot 25 MD_jump_rel 10 0 0 MD shoot 25 MD jump rel 10 00 0 MD shoot 25 MD jump rel 10 0 0 MD shoot 25 MD list end P N 1095 pc General Page 36 Www gs scanners com A marking routine that uses Mark on the Fly WinMCL Plus Software User s
127. le throughput is the prime consideration The focal point is jumped from target to target once at a target the jump delay is executed then the hole is drilled The special GCX command MD_ shoot causes the laser to turn ON for a fixed interval The following diagram shows the beam path as the job marks Figure 9 Small portion of a step and shoot marking job The commands involved are e MD jump rel MD jump abs e MD shoot It is important to note that the MD shoot command must always be preceded by a jump command this is the defining characteristic of Step and Shoot mode If the MD shoot command is executed after any other command WinMCL will flag an error and stop processing The parameters involved in Step and Shoot mode are e StepPeriod e JumpSize e JumpDelay StepPeriod and JumpSize determine the Jump Rate this has to be set as fast as possible without causing undue stability either in the motion of the mirrors or in mirror shaking when the jump move stops The JumpDelay is set to allow enough time for the mirrors to stop shaking after the jump Of the three operational modes Vector Raster and Step and Shoot Step and Shoot is the only mode that can operate without the use of GCX files The MC shoot MC jump abs and MC jump rel functions can be used in a program to implement a via hole drilling program When operated this way the jump commands use the timing parameters in the parameter set to establish the jump rate and us
128. lect parameter set parameter set index 0 63 MD jump abs MD jump rel vector data MD move abs MD move rel vector data MD mark abs MD mark rel vector data MD shoot int value int value int value int value float value float value float value float value float value float value float value float value float value 0 1 0 65535 2147483648 2147483647 0 gt 4294967295 A valid 32bit address the application s memory space P N 70M 1095 Rev E Page 38 Genera Scanning aren Pc WWwW gs scanners com WinMCL Plus Software User s Manual Data Structure Definitions Error Code Structure Defined in winmcl32 api h Note This structure is used with the MC get error function Parameter Set Structure Defined in winmcl32 api h Note This structure is used with the following functions and commands MC get ParamSet MC reset ParamSet MC select parameter set MC set ParamSet MD select parameter set P N 70M 1095 Rev E Pe WWNW gs scanners com Page 39 WinMCL Plus Software User s Manual Grid Correction Table define GRID_SIDE 65 One side of the correction grid define GRID_SIZE GRID SIDE GRID SIDE Grid is 65 by 65 values typedef struct CORRTABLE long XData GRID SIZE long YData GRID SIZE long ZData GRID SIZE CORRTABLE Defined in winmcl32 a
129. libration Table default value e Hardware IO Port B output e Master HC 3 e Data Structure Definitions P N 70M 1095 Rev E pc General T i Page 196 www gs scanners com WinMCL Plus Software User s Manual Laser Power Calibration Table default value After MC_init or MC_reset the Laser Power Table takes on the default value as shown in the following table The default power table simply provides a 1 to 1 correction factor for laser power i e the index value equals the indexed value Laser Turn ON Lag Marking lasers typically have delays associated with laser ON and Laser OFF events In typical operation the HC 3 sends a command to the laser through the laser modulation signal The laser must then transition from the OFF mode to the ON mode start to lase and this may take time Macro Vector In the WinMCL Plus system a macro vector is defined as the vector motion that is commanded by the MD mark move and jump commands Marking routines are conceived and programmed using macro vectors During operation the macro vectors are converted to micro vectors at the hardware level and this determines the beam path velocity The following picture shows the relationship between macro vectors and micro vectors Micro vector I 9 Macro vector grey Figure 38 Graphic illustrates the composition of a macro vector C c P N 70M 1095 Rev E Scanning nne WWW gs scanners com Page
130. ll in assumption jump the beam to the start point gt jump abs 500 600 0 Fill in assumption Mark the letter M gt There is a marking program for the letter M and it is located in the file C MARKING LETTERS LET_M GCX gt MD include C MARKING LETTERS LET_M GCX The marking sequence is now fully translated MD jump abs 500 600 0 MD include C MARKING LETTERS LET_M GCX The example above assumed that the marking program LET M GCX was composed in a relative coordinate system If this was not an option then the marking operation would be much more complex as shown in the following example MD jump abs 500 600 0 jump to the start of the character MD mark abs 500 700 0 mark the first riser MD mark abs 550 600 0 mark the first diagonal MD mark abs 600 700 0 mark the second diagonal MD mark abs 600 600 0 mark the first descender MD jump abs 600 600 0 jump to indicate end of mark In order to compare the previous two examples we should expand the file LET M GCX into the relative motion commands so spell out the original marking sequence by expanding all of the MD include instructions MD jump abs 500 6000 jump to the start of the character MD mark rel 0 1000 mark the first riser MD mark rel 50 1000 mark the first diagonal MD mark 50 1000 mark the second diagonal MD mark rel 0 1000 mark the first descender MD jump rel O OO jump to indicate end of mark P N 70M 1095 Rev E pc General 2
131. loyment of parameters has been expanded beyond control of the laser Parameter sets are no longer supported as data in GCX Files Related topics e Parameter Set Tutorial e Parameter Set default values e List of Parameters pc General P N 7 1095 Rev E G Sanning WWW gs scanners com Page 205 WinMCL Plus Software User s Manual Parameter Set default values The default parameter set has the following values 180 o Fintensity 100 100 PPolyLineDelay 30 100 100 PTargetxXVelocty 0 Part Matrix The Part Matrix is traditionally used align the Marking Field to the physical part to be marked Depending upon the type of material handler that is placing the part under the marker the Part Matrix may be either static or dynamic from part to part but during the marking job for one part the Part Matrix does not change value The Part Matrix is represented as 3x3 matrix of floating point numbers A B C D YO 0 0 1 Figure 48 Locations of parameters in the Part Matrix P N 1095 Rev E Page 206 WWW gs scanners com WinMCL Plus Software User s Manual The MD_part_matrix GCX command is an input method where the parameters of the instruction are directly mapped to the matrix locations as shown in the diagram above The GCX command MD part transform provides an alternate input method for the parameters T
132. m matrix Operational Description Gets the current transform matrix coefficients for the Universal Matrix The following diagram shows the row and column locations for each of the output parameters for the Universal matrix The traditional application of the Universal Matrix is to adjust the overall geometry of the marking system to the part handler A 0 C D YO 0 0 1 Figure 33 Placement of the function parameters in the Universal Matrix When to Call This function is useful when minor corrections to the overall marking geometry have to be made Use this function to capture the existing settings make the required incremental changes and then load the new values into the Universal Matrix with the MC set xform matrix Input Parameters None Output Parameters Previoulsy allocated float address Transform matrix coefficient Function Call iloeuE 9 Cy 20 sp MC get xform matrix amp b amp d amp 0 amp yO Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Marking Field Transformations Universal Matrix P N 70M 1095 Rev E pc Genera 98 WWW gs scanners com WinMCL Plus Software User s Manual MC get xy exchange Operational Description Gets the current x y exchange flag value When to Call Input Parameters None Output Parame
133. mands into the proper format of a GCX file In addition it can disassemble existing GCX files The following is a summary of menu options File New Create a new GCX source code file and edit its contents in the upper text box File Open If you open an existing GCX source code file then the source code will appear in the upper edit box where it can be edited If you open an existing GCX file then it will be disassembled and the disassembled contents will be written to the upper edit box and written to a file of type DIS File Save Save As Save the edited GCX source code file Run Assembler Assemble the GCX source code file A GCX and LST fill will be created in the current directory and the LST file will be displayed in the lower edit box Gcx Assembler C Program Files GSI LumonicsW File Run Help Gcx Assembler C Program Files GSI Lumoni 0 0 0 5000 5000 0 10000 10000 0 0 10000 10000 0 5000 5000 5000 0 5000 0 0 5000 0 5000 5000 0 5000 0 0 0 000 8ECFFFF 00 0 00000000 Line 16 jump 00 4 11000000 00 8 00000000 00 00000000 OOFO 00000000 Line 17 MD_nrepeat 1000 OOF4 01020000 00 8 8030000 Line 18 MD_list_end OOFC 02000000 Error Count 0 Figure 32 GCXAsm display P N 1095 Rev E conn Page 54 WWNW gs scanners com WinMCL Plus Software User s Manual PARAMETER D
134. mation for this purpose is contained in this manual You should become familiar with all this information before proceeding A full description of laser hazard analysis is beyond the scope of this manual A technical survey of laser safety requirements can be found in ANSI Z136 1 American National Standard For the Safe Use of Lasers This is available from American National Standards Institute Inc 1430 Broadway New York New York 10018 WWw ansi org Among the many other sources of laser safety information the following institution offers several excellent publications The Laser Institute of America 5151 Monroe Street Suite 118W Toledo Ohio 43623 www laserinstitute org Your Laser Safety Officer or a competent specialist in this field should make final analysis of all safety features The first consideration in a safety analysis is the laser mated to the General Scanning XY Scan heads The Laser Class label on the device indicates the approximate hazard level of the laser Refer to ANSI 7136 1 for definitions of laser classes and labeling information Note that besides radiation lasers may present other hazards e g electric shock or creation of poisonous fumes Note The General Scanning XY Scan heads provide you with the ability to aim the laser beam over a roughly pyramidal volume The divergence of the focused beam beyond the focal point which is a function of the lenses selected and their position can cause radiation
135. ming relationship between of the two outputs When both outputs are selected the LM signal can be used simply to trigger a laser pulse and the PortB output controls the laser power with the byte wide digital data Q Switch Q Switch Q Switch Q Switch Q Switch gt Period Period Period Period PortB output Figure 6 Timing relationship between LM signal and PortB during Raster Pulse generation When power only is output from PortB only the byte value changes at the start of each Q switch period Note also that while the raster marking operation is executing the timing of the command is not based on the StepPeriod so there is no PowerDelay executed as the PortB data changes Once the raster marking command completes and vector operation commences execution of the PowerDelay will once again be enabled and will execute after each change in laser power Configuration of the source of laser power control is performed with the MC_set_raster_mode command before a job starts You must also prepare a parameter set that will invoke the required timings when the raster routine is run Q switch period is configured based on the desired velocity of the focal point during the raster marking routine Hopefully the array of raster lines will all be the same length and have the same number of pixels and it is desirable to have the raster beam velocity the same
136. nal is also output on pin 33 of connector non isolated form In the WinMCL HC 3 system modulation refers to the ability to control laser power with a pulse waveform the Q Switch or Laser Modulation signal Since this is a type of Pulse Width Modulation we call the signal the Laser Modulation Signal It is important to remember that during strokes the Laser Modulation signal configuration remains constant it is not possible to change it while a mark vector is executing If the Q Switch Period is set to 0 the Laser Modulation Signal will be a DC waveform Related topics Hardware IO Laser Power Control Q Switch Period Q Switch Width Laser Power Calibration Table The Laser Power Calibration table is most often used in installations that contain more than one HC 3 and consequently more than one laser possibly different makes and hours in service The table is used to correct for differences in power output between lasers such that each marking head marks the part identically Each HC 3 in a multiple card installation can have its own Laser Power Calibration Table Single HC 3 systems must still use a Laser Calibration Table but typically the default table is used The Laser Power Calibration Table is a lookup table addressed by the Power parameter in the Parameter Set The value indexed is sent to the Port B output as a byte value and this is used to control the power of an external laser Related topics e Laser Power Ca
137. nd Shoot Mode FINE TUNING WITH DELAYS MARKING FIELD TRANSFORMATIONS FIELD DISTORTION CORRECTION LASER POWER CONTROL MARK ON THE FLY DISABLING Z AXIS HARDWARE I O SEPARATE SIGNALS MODE PROGRAMMING WINMCL PLUS SUPPORT PROGRAMS GCXASM NPC POSTGRID WGCXVIEW AND WINMCLTEST32 GENERAL COMMENTS ON FUNCTION CALLS GCX FILES GCX File Syntax DATA STRUCTURE DEFINITIONS Error Code Structure Parameter Set Structure Grid Correction Table Power Table PARAMETER SETS WINMCL ERROR CODES OBSOLETE MC AND MD COMMANDS Obsolete MC Commands Obsolete MD Commands GCX TEST PROGRAM 10 11 12 12 12 15 20 21 24 26 27 28 28 29 30 32 33 33 35 38 39 39 39 40 40 40 42 44 44 45 46 L General 4 Scanning WWW gs scanners com P N 70M 1095 Rev E Page 3 WinMCL Plus Software User s Manual GCX FILE ASSEMBLER TEST PROGRAM 54 PARAMETER DESCRIPTIONS 55 BREAK ANGLE 56 DITHER FEED 27 DITHER WIDTH 58 FPS ENABLE 59 INTENSITY 60 JUMP DELAY 61 JUMP SIZE 62 LASER OFF DELAY 63 LASER ON DELAY 64 MARK SIZE 65 POLYLINE DELAY 66 POWER 67 POWER DELAY 68 Q SWITCH PERIOD 69 Q SWITCH WIDTH 70 STEP PERIOD 71 STROKE DELAY 72 FUNCTION DEFINITIONS 73 MC_ABORT_MARK 76 MC CLOSE VECTOR DUMP FILE 77 MC_EXIT 78 MC_EXIT_MARK 79 80 81 MC_GET_OPTIONAL_STATUS 82 MC_GET_CORRTABLE 83 MC_GET_CUR_XYZ 84 MC_GET_ERROR 85 MC_GET_FPS
138. nds P87 MC get timeout MC commands P95 MC get portA input MC commands P91 MC get powertable MC commands P92 MC get status MC commands P93 get target vel MC commands P94 get timeout MC commands P95 WinMCL Plus Software User s Manual 7 General 4 Scanning WWwW gs scanners com P N 7 1095 Rev E Page 231 WinMCL Plus Software User s Manual MC get version MC commands P96 MC get x flip MC commands P97 MC get xform matrix MC commands P98 MC get xy exchange MC commands P99 MC get y flip MC commands P100 init MC commands P101 MC jump abs MC commands P102 MC jump rel MC commands P103 MC load job MC commands P104 MC load job from memory MC commands P105 MC open vector dump file MC commands P106 reset MC commands P107 MC reset ParamSet MC commands P110 MC reset corrtable MC commands P108 MC reset powertable MC commands P111 reset tracking MC commands P112 MC select parameter set MC commands P113 MC set mark error MC commands P114 MC set remote execute MC commands P115 MC set ParamSet MC commands P120 set corrtable MC commands P116 MC set corrtableFromMemory MC commands P117 MC set fps delay MC commands P118 MC set powertable MC commands P121 MC set raster mode MC commands P123 MC set target vel
139. nds a laser focus control i e a linear translator If you are simply marking on planar surface then the traditional method of handling the Z parameter is to set each one to zero The choice of coordinate system is not an explicit mode of WinMCL but rather they are viewpoints to take when constructing a solution to a marking job There are efficiencies to be had when using relative coordinates for instance the MCL font characters are defined using the commands MD_mark_rel and MD_jump_rel only The advantage of this is that the same letter can be marked anywhere in the marking field without a change to the program Sequence of instruction is very straightforward the focal point is jumped using a jump command and absolute coordinates i e MD jump abs to a location in the marking field that will correspond to the beginning of the letter then the MCL font marking sequence is run The operations just described parallel the high level description of the problem as an example consider the problem Mark the letter M one inch from the top of the pencil pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 13 WinMCL Plus Software User s Manual In order to translate the problem description into a marking sequence we must translate position information into coordinates and also fill in any missing information or assumptions Translate coordinates inch from the top of the pencil gt X 500 Y 600 Z 0 Fi
140. ners com WinMCL Plus Software User s Manual FM UM GM PM OM There are two types of input methods provided for setting the values of the Global Object and Part matrices The matrix input method simply allows you to set the values of certain cells The names of the parameters in the matrix type MD instruction correspond to the locations in the matrix in the following picture A B C D YO 0 0 1 Figure 18 Direct input method form for Transform Matrices The second input method is the transform method This method allows you to input a rotation in Radians and an offset in LSBs The following picture shows the computation in software that accompanies the transform input method basically a matrix multiplication of a pure translation matrix with a pure rotation matrix 1 0 x cos ang sin ang 0 0 1 y x sin ang cos ang 0 0 0 1 0 0 1 Figure 19 Rotation and translation input form for Transformation Matrices As shown above the angle parameter is applied the function then the appropriate trigonometric function of the value is stored in the matrix In this manner rotation about the origin of the coordinate system is implemented The Object Part and Global matrices are programmed from within GCX files only The Universal matrix is programmed from the host software only The following table shows the commands related to each matrix Name Commands Object matrix MD object transform MD 9object ma
141. nning WWW gs scanners com Page 85 WinMCL Plus Software User s Manual get fps delay Operational Description Gets the current first pulse suppression delay value When to Call Use this call to retrieve the current FPS Delay setting Useful when you want to make incremental changes to the value Input Parameters None Parameters Previously FpsDelay FPS delay in milliseconds Unsigned long allocated unsigned long address Function Call unsigned long DelayVal IM get eelsy Dell Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera EEL Page 86 WWW gs scanners com WinMCL Plus Software User s Manual MC get head status Operational Description Function gets the head status for the Master HC 3 When to Call Call this command to get data about the operation of the marking head Input Parameters None Output Parameters Pointer to a memory location in the calling D Status function that will contain the value of the head Unsigned short h status byte unsigned short address Function Call unsigned short stait get neacli status estat p Possible Return Values WMCL_OPERATION_OK WMCL_OPERATION_FAILED Possible Values in Output Parameter Status MC get head status places two bytes in Statu
142. nput register is located on the internal I O connector of the HC 3 Use this to input byte values from an external source into WinMCL Plus PORT A pins 1 8 PAO PA2 PA4 5 PAG 7 PBO 7 87 pg 11 4 13 START 17 FLAG LER 19 MARKPROG 21 FPS 23 GND 25 V5 0 27 12V 29 CLR 31 LM 33 PNO 35 PN2 37 PN4 39 PN6 41 PN8 43 PN10 45 PN12 47 PN14 49 4 Y E 12 14 18 20 22 24 46 50 PA1 PA3 PA5 PA7 PB1 PB3 PB5 FLAG OPT STOP MARK SHTHR 1 IN SHTR 1 OUT GND V5 0 412V STEP 4MHZ PN1 PN3 PN5 PN7 PN9 PN11 PN13 PN15 Figure 51 Location of Port A on the pin out of I3 There is no MD command related to the Port A input typically because there are no provisions in GCX files for handling input data The MC command for reading Port A is MC get portA input Related topics e MC get portA input e Hardware IO P N 70M 1095 Rev E Page 208 P General Scanning www gs scanners com WinMCL Plus Software User s Manual Port B output Port B is used to control laser power It is an 8 bit output port located on the internal I O connector of the HC 3 as shown in the following diagram PAO 1 2 1 2 3 4 PA3 4 5 5 PAG 24 r8 PA7 PBO 9 PB1 PB2 1 11 PORT pins 9 16 START MARK TH FLAG FLAG LER 19 20 MARK MARKPROG 21 22 1 IN 5 23 24 1 OUT GND 25 26 GND V5 0 27 28 V5 0 12V 2
143. o correct for this AP Figure 14 Simple marking path example showing the location of Stroke Delays The Laser OFF Delay works in conjunction with the stroke delay to control the marking at the end of a stroke where the laser turns OFF Due to the real world characteristics of laser gating some lasers take more time than others to extinguish to an emission level below the marking power Laser OFF Delay specifies an interval that commences in the stroke delay and ends with the start of the jump move pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 23 WinMCL Plus Software User s Manual Laser modulation unasserted here Position Figure 15 Timing of the Stroke Delay and Laser OFF Delay Marking Field Transformations There are five transformation matrixes and Flip Exchange to be applied to GCX files Object Matrix OM Part Matrix PM Global Matrix GM Universal Matrix UM Flip Exchange matrix FM First four matrixes are represented as 3x3 matrix of floating point numbers A 0 C D YO 0 0 1 Figure 16 Standard organization for the Transformation Matrices The Flip Matrix is represented by the following matrix where FX and FY are valued either 1 or 0 0 FX 0 FY 0 0 0 0 1 Figure 17 Organization of the Flip Matrix The overall transformation matrix to be applied to the GCX files is calculated as P N 1095 Rev E pc General uns Page 24 WWW gs scan
144. od Will not allow beam to reach the end of a stroke before sending the command to jump elsewhere Stroke delay too short and laser off delay too short If the Stroke Delay is shorter than the Laser Off Delay large parts of a vector can get lost Beam starts next move before it has caught up with the last move Because the laser is turned off too early the mark ends before where it is supposed to end Vector gt FE P N 70M 1095 Rev E 7 Sanning WWW gs scanners com Page 223 WinMCL Plus Software User s Manual Stroke delay too short and laser off delay too long Beam starts next move before it has caught up with the last move Because the laser is still on this is visible Stroke Delay Too Long e Generally no visible effect e Excessively long delays can cause abnormal software operation Autosegmentation Micro Vectors e Eliminates vectors shorter than half of the mark step size Ste Ste Ste Ste Size Size Size SES Last Vector Step Size 2 Last Vector Step Size 2 P N 70M 1095 Rev E pc Genera D oc Page 224 WWW gs scanners com WinMCL Plus Software User s Manual Laser Power Laser Power Delay Laser Power LSBs e Determines laser output power e Digital signal from the HC 2 e Can be converted to an analog signal with the I O 2 add on card Laser Power Delay msec e Time delay which allows the po
145. od 1 frequency of the laser modulation signal If Q Switch Period then the laser modulation output is continuous wave CW Parameter 1000000 Related Topics Laser Modulation Appendix A Adjusting Parameters gt General P N 7 1095 Rev E un WWW gs scanners com Page 69 WinMCL Plus Software User s Manual Q Switch Width The Q Switch Width parameter is used to set the duty cycle of the laser modulation signal Duty cycles are computed base upon the Q Switch Period of the laser modulation signal Parameter Definition Q Switch Width 1 1000000 Unsigned long Related Topics Laser Modulation Appendix A Adjusting Parameters P N 1095 Rev E pc General T Page 70 WWW gs scanners com WinMCL Plus Software User s Manual Step Period The Step Period parameter defines the length of time required to for the beam path to traverse either the Jump Size or the Mark Size distances Parameter Definition Related Topics Jump Rate Mark Rate Appendix A Adjusting Parameters gt General P N 7 1095 Rev E un WWW gs scanners com Page 71 WinMCL Plus Software User s Manual Stroke D elay The Stroke Delay parameter defines the length of the pause at the end of a stroke Parameter Definition StrokeDelay 0 10000000 Unsigned long Related Topics Fine Tuning with Delays Appendix A Adjusting Parameters
146. onal blocks are incorporated in the HC3 the PCI host interface the SRAM the programmable logic and the IO application interfaced d Te b y Application N f Laser Specific N QQ y Devices J pi 9 a N E ad 22 Serial Link Optolsolators Internal I O Interfaces Configurable Logic EPF6016A EPROM Synchronous SRAM 64K x 32 PCI Interface EEPROM PCI 9054 2K bit PCI Bus 32 bit 33 MHz v2 2 Figure 9 HC3 block diagram P N 70M 034 Rev G gt General Page 22 WWW gs scanners com HC 3 Controller User s Manual APPENDIX C REGULATORY he HC3 board when incorporated into a laser marking system will meet the following requirements of the EMC Directive of the EEC 89 336 EEC 93 68 EEC necessary for a CE declaration of conformity and CE marking 55011 1991 EN61000 3 2 199 EN61000 3 3 1995 EN61000 4 2 1995 EN61000 4 3 1996 EN61000 4 4 1995 EN61000 4 5 1995 EN61000 4 6 1996 EN61000 4 11 1994 RF Emissions from industrial equipment AC Power Mains Harmonic Current Emissions AC Voltage Fluctuations and Flicker Electrostatic Discharges Immunity to Radiated RF Electromagnetic Fields Electrical Fast Transient Burst Surge Immunity Conducted Disturbance Induced by RF ab
147. ontrol through the HC3 VSS1 VSS1 10K 12 LP_COUNT OPTO7 gt 4 847 max low current 20mA by Ground Ground General Scanning Customer pc FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 31 HC Controller User s Manual Mode Selection for the Laser HF Driver To control the HF driver through the HC3 it is necessary to select the GATED CW mode on the HF driver This is done with the following external mode selection inputs e 2 B GND2 When REMOTE is selected on the mode switch HF driver then the external mode selection is activated Remote Flag The remote flag indicates that the mode selection of the HF driver is used computer control 0 Remote 1 Local This information is available through the HC3 for application programs WinMCL Plus PCMarkMT etc At the same time the Remote flag is available through an opto isolator as a local flag TVSS1 VSS1 10K 14 Local OPTO7 gt Type fi N 847 P max low current 20 Ground GND1 Ground General Scanning Customer Local Remote control through the HC3 Laser Safety To improve the laser safety the Shutter should be connected in series with IN and SH OUT This enables the Shutter control line only when the computer is switched on SH IN 7 SH_OUT Contact rating Max 48V Max 0 5A e Switch on resistance max 200m
148. open the desired gcx file to view the gcx output Jump movements where the laser is not on may be toggled by pressing the jump hot button on the toolbar The jump toolbar button appears as an arc with an arrow on it WinMCLtest32 provides a straightforward interface for executing gcx files and otherwise testing the control of a HC3 system WinMCLtest32 is not designed to aid the user in creating a front end only for debugging one For more information on WinMCLtest32 see section 0 GCX Test Program General Comments on Function Calls The WinMCL Plus API consists of functions that are used to interface the user program to the HC3 card In general the function interface is similar for each of the functions and they differ in the quantity and type of parameters and of course in the operations that they perform pc FE P N 70M 1095 Rev E 7 Sanning WWW gs scanners com Page 33 WinMCL Plus Software User s Manual Function parameter lists are typically organized with the input parameters preceding the output parameters The MC_get_version function is an exception Input parameters are usually passed by value unless the parameter is a string or a structure For example the CardIndex parameter is used in many functions to select one HC 3 card in an installation that contains multiple cards The CardIndex is passed by value A file name is a parameter passed to several functions The file name is stored in a string and a pointer
149. ove 9KHz Mains Voltage Variations General 4 Scanning WWW gs scanners com P N 70M 034 Rev G Page 23 HC Controller User s Manual APPENDIX D HC 3 MASTER SLAVE his version of the HC3 card allows up to four interconnected HC3 M S cards in one PC to control up to four General Scanning two axis or three axis laser systems simultaneously Each scan head laser system needs a corresponding HC3 M S One of the cards serves as a master and will control the first head the laser modulation and the timing while the other cards serve as slaves and each control one additional head Each system will be associated with its own calibration files through software thus providing all systems will execute the exact same pattern A dual head configuration does not require one HC3 Master Slave card for each head Some configurations utilize two scan heads mounted on one laser If identical patters run on each head then a single HC3 card may be used to control the laser firing and scan head control In such a configuration only one correction file can be set for both heads Simply use a Y connector off the 25 pin serial link of the HC3 and run a serial cable to each of the scan heads Separate laser patterns or separate laser control cannot be run using the same HC3 card Two lasers require their own HC3 5 card The installed HC3 cards must be connected via the General Scanning cable part number 712 777341 through the connector J3 T
150. p to three slave cards The slaves are controlled via the I O signals The master HC 3 in a multi card installation is identified with a board ID of 0 Micro Vector Micro vectors are generated in the HC 3 as part of interpreting the instruction stream of macro vectors during a marking job Two types of micro vectors can be defined those that are used in jump vectors and those that are used in mark vectors thus there are essentially two types of micro vectors distinguished by the velocity of the focal point during execution Micro vectors are defined with distance and time parameters and the result dist time velocity is the beam velocity For jumps the parameters of interest are the jump size and the step period For marks the parameters of interest are the mark size and the step period Please note that the step period parameter is a common factor to the definitions of both the jump micro vector and the mark micro vector so it is useful to consider it as a speed scaling parameter when the value is made smaller the speed will increase The jump size and mark size parameters determine the ratio of the jump rate to the mark rate Typically the jump rate is much faster than the mark rate because the laser is OFF and we are not concerned about marking artifacts P N 70M 1095 Rev E gt General 202 WWW gs scanners com WinMCL Plus Software User s Manual Mirror Inertia Mirror inertia describes how dif
151. parameter P61 P N 70M 1095 Rev E pc General 2 Page 230 WWW gs scanners com Jump Rate glossary P195 Jump Size parameter P62 Jump Vector glossary P195 L Laser Modulation glossary P195 Laser Modulation Signal glossary P196 Laser Off Delay parameter P63 Laser On Delay parameter P64 Laser Power Calibration Table glossary P213 Laser Power Calibration Table default value glossary P196 Laser Power Control tutorial P27 Laser Turn ON Lag glossary P197 M MARK_ABORT signal glossary P197 MARK_ERROR signal glossary P199 MARK_IN_PROGRESS glossary P200 Macro Vector glossary P197 Mark Rate glossary P199 Mark Size parameter P65 Mark Vector glossary P199 Mark on the Fly glossary P199 Mark on the Fly tutorial P28 Marking Field glossary P201 Marking Field Transformations tutorial P24 marking job glossary P202 Marking Jobs tutorial P12 Master HC 3 glossary P202 MC_abort_mark MC commands P76 MC close vector dump file MC commands P77 exit MC commands P78 MC exit mark MC commands P79 get begin mark MC commands P80 MC get mark abort MC commands P81 MC get optional status MC commands P82 MC get ParamSet MC commands P90 MC corrtable MC commands P83 MC get cur xyz MC commands P84 get error MC commands P85 MC get fps delay MC commands P86 MC get head status MC comma
152. pi h Power Table Defined in winmcl32 api h define POINTS 256 typedef struct POWERTABLE unsigned long PowerCorrect POWER POINTS POWERTABLE Parameter Sets The WinMCL Plus software is capable of storing 64 parameter sets in memory The parameter set structure is defined on the next page The following list of WinMCL commands operate on the parameter sets MC set ParamSet MC get ParamSet MC reset ParamSet MC select parameter set P N 70M 1095 Rev E pc General Page 40 WWW gs scanners com WinMCL Plus Software User s Manual struct LASERPARAMETERSET unsigned long BreakAngle unsigned long FPSEnable long TargetXVelocity long TargetYVelocity unsigned long Power unsigned long PowerDelay unsigned long QSwitchPeriod unsigned long QSwitchWidth unsigned long Intensity unsigned long StepPeriod unsigned long JumpSize unsigned long JumpDelay unsigned long MarkSize unsigned long PolyLineDelay unsigned long StrokeDelay long LaserOnDelay unsigned long LaserOffDelay unsigned long DitherWidth unsigned long DitherFeed typedef LASERPARAMETERSET PSET A procedure to operate on parameter sets might be to Allocate space on the heap for a parameter structure Store the parameter set in the parameter set array by calling the MC_set_ParamSet function Copy in values from the default value parameter set using the MC_reset_ParamSet f
153. pin 2 amp 3 The jumper setting does not determine the output of laser modulation on the 50 pin header Customer Figure 5 HC3 laser modulation schematic Input Flag Signals The following diagram shows the interface circuitry for input signals START_MARK STOP_MARK and FLAG_INPUT FLAG_INPUT is also sometimes referred to as FLAG_LER on the 50 pin header or LASER_ERROR The flag inputs require minimum 0 3mA to maximum 10mA at 5Volts VCCoero 680 Start_Mark eH Stop_Mark or Flag Input 4 Customer GSI Lumonics Figure 6 HC3 schematic for all input flags P N 034 Rev gt General Page 14 WWW gs scanners com HC 3 Controller User s Manual Output Flag Signals The following diagram shows the interface circuitry for output signals REMOTE EXECUTE MARK ERROR and MARK IN PROGRESS AII the flags are low active Be aware that the flag outs are low current devices YY Figure 7 HC3 schematic for all output flags Fuse for External IO Circuitry A resettable fuse is fitted to the HC3 to protect the external IO circuitry against incorrect connections e g wrong polarity or exceeding the maximum input voltage The fuse is labeled F1 on card pc FE P N 70M 034 Rev G 2 Sanning WWW gs scanners com Page 15 HC Controller User s Manual 3 5 Internal IO 50 pin H
154. plications GcxAsm allows users to open a list of MD MC commands in text format and assemble them into a gcx file The GcxAsm will check for errors and report the findings The gxc file may then be loaded in WinMCLtest32 to be executed See section 0 GCX File Assembler Test Program for more information NPC or N Point Calibration enables users to do grid correction to account for geometric and other errors associated with scanning systems The NPC yields a good quality correction after two or three iterations The NPC process results in an asc file that should be loaded into the grid table field of WinMCLtest32 be sure to press the set button Several correction files for GSILumonics scan heads and industry standard lenses are included in the cal folder of the WinMCL Plus installation so using NPC may not be necessary See the NPC manual in the doc folder for more information Postgrid creates the z axis coordinates and grid correction file for General Scanning three axis HPLK systems Postgrid will output an asc file to be loaded into WinMCLtest32 or the front end application The Postgrid program will come on a separate disk with the HPLK system although the latest configuration files con are located in the cal directory of WinMCL Plus For more information about Postgrid see the manual included with the Postgrid installation Wecxview enables viewing of gcx files an invaluable tool when evaluating recently created gex files Simply
155. ption Set the target X and Y velocities When to Call Input Parameters Target Velocity Velocity units XVelocity LSB s per second Float Float limits Target Y Velocity Velocity units are YVelocity LSB s per second Float Float limits Output Parameters None Function Call float Xvelocity YVelocity MC set target velocity Xvelocity YVelocity Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Mark on the Fly P N 70M 1095 Rev E pc Genera EEL Page 124 WWW gs scanners com WinMCL Plus Software User s Manual MC set timeout Operational Description Specifies how long WinMCL Plus should wait for a response from the HC 3 device driver The default value after MC init or reset is 10 seconds which is more than adequate in all normal circumstances The value may need to be increased if using a very long Step Periods roughly more than 5 milliseconds although this value is highly dependent upon the exact mixture of vectors produced by the application When to Call While this function is provided it is not necessary for normal operation The length of time that the HC 3 card is away processing is dependent on the complexity of the marking job and the Mark and Jump rates If it is absolutely required that the host program set a watchdog over the HC 3 process then
156. put Parameters None Output Parameters None Function Call MC start tracking Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Mark on the Fly MC reset tracking MD start tracking MD reset tracking pc E P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 135 WinMCL Plus Software User s Manual MC stop tracking Operational Description This function will enable the mark on the fly capability of WinMCL Plus When to Call Call this function after the part has been marked Input Parameters None Output Parameters None Function Call EIS aereas Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Mark on the Fly MC reset tracking MD start tracking MD reset tracking P N 70M 1095 Rev E Page 136 P General 4 Scanning WWwW gs scanners com WinMCL Plus Software User s Manual GCX COMMAND DEFINITIONS W 6 1 MD COMMENT 139 6 2 140 6 3 MD GLOBAL MATRIX e 141 6 4 MD GLOBAL TRANSFORM 142 6 5 IVE
157. r 2 25 pin D sub connector HC 3 Controller User s Manual ASSIGNMENT VCC2 VCC2 VCC2 VCC2 VCC2 NOT UESD REMOTE VSS2 HRP LFP MCO RFO GROUND XA VCC2 XB GROUND GATE FPS GROUND NOT USED REMOTE RETURN GROUND HRP RETURN LFP RETURN MCO RETURN RFO RETURN INTERFACE CON2 25 Pin D Sub male connector HF driver interface Pin 1 2 3 4 5 are connected together Remote flag External input 5 to 18 V High reverse power flag Low forward power flag Modulator crystal over temp RF modulator over temp Pin 14 and Pin 15 are for Mode GATED CW Laser Modulation First pulse suppression Signal Ground External Ground input Signal Ground Signal Ground Signal Ground Signal Ground The HF driver interface is designed for Q switched Y AG laser systems PIN configuration for reference only 25 1 RFO flag MCO flag LFP flag HRP flag GND z EN T Y A The external voltage is normally between 5V to 18V 1 e g Spectron Laser Systems WWwW gs scanners com General Scanning REMOTE flag gt FPS First pulse supression gate signal gt GATE Laser modulation signal P N 70M 034 Rev HC Controller User s Manual Optional connector 9 pin D sub connector The IO2 card contains an
158. r User s Manual BEGIN MARK amp STOP MARK The STOP MARK and BEGIN MARK inputs are opto isolated The inputs are normally used with an input voltage range from 5V to 18V The maximum voltage between the input lines should not exceed 18V BEGIN MARK The BEGIN MARK input starts the marking through the application programs e g WinMCL Plus or PC MARK MT Configuration of the opto isolator is as shown TVCC2 R 7 5 V to 18 V R OPTO7 with 10 mA gt 4 K847P 0v 8 Customer General Scanning STOP MARK The rising edge of the input voltage triggers the STOP MARK function Configuration of the opto isolator is as follows VCC2 R 1 5 V to 18 V OPTOS with 10 mA gt 17 2 2 Customer General Scanning The configuration of the STOP_MARK function can be as follows e With the bridge W103 connected between pin 2 amp pin 3 used as opto isolated input for mark abort to stop the marking at the end of the stroke e With the bridge W103 connected between 1 amp pin 2 used to stop the Laser Modulation signal immediately and sets mark abort to stop the marking at the end of the stroke By using the bridge connected between pin amp pin 2 the STOP_MARK input can be used for trimming applications The standard setting of bridge W103 is pin 1 to pin 2 P N 034 Rev gt General Page 34 Www gs scanners com HC 3 Controller Us
159. r does not have to be fixed at the origin Beam paths are composed of sequences of free vectors or vectors where the tail of the next vector is coincident with the head of the previous Vector Mode The vector mode of operation involves marking lines on the object by moving the mirrors while the laser is ON In typical operation the beam is steered in the X and Y axis and the laser is focused in the Z axis During the marking motion the laser power remains constant WinMCL Plus Default State See e Parameter Set default values e Laser Power Calibration Table default value P N 7 1095 Rev E General 4 Scanning ptm mne WWW gs scanners com Page 215 WinMCL Plus Software User s Manual APPENDIX A ADJUSTING PARAMETERS adjustment for optimal system performance The following section describes laser parameters laser control programs include a variety of laser parameters requiring fine their application effects and tips on adjusting each parameter Description of Laser Parameters Scanning Vectors Marking Vectors Stroke e Laser beam is on e Marking speed is determined by the material to be marked e Speed is set by step size and step period Non Marking Vectors Jumps Laser beam is off Positioning speed to move from one set of marking vectors to the next Speed is set by jump size and step period Generally faster than Marking Vectors to improve throughout Consecutive jumps
160. ren Page 172 WWW gs scanners com WinMCL Plus Software User s Manual MD set step period This parameter sets the period of each microvector Record Layout MD set step period long step period Opcode 0x00000041 Record Size 4 4 bytes Parameters Time period of each microvector in microseconds Restrictions None Related Topics GCX file tutorial C P N 70M 1095 Rev E Scanning ptm mne WWW gs scanners com Page 173 WinMCL Plus Software User s Manual MD set mark size This parameter sets the length of each mark microvector in LSB s Record Layout MD set mark size lt ulong mark size Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 174 WWW gs scanners com WinMCL Plus Software User s Manual MD set jump size This parameter sets the size in LSB s of each microvector jump Record Layout lt MD_ set_jump_size gt lt ulong jump size gt Opcode 0x00000043 Record Size 4 4 bytes Parameters Jump size Restrictions None Related Topics GCX file tutorial C P N 70M 1095 Rev E Scanning te ren WWW gs scanners com Page 175 WinMCL Plus Software User s Manual MD set power This parameter sets the 8 bit value sent via Port B to the laser to control output power Record Layout MD set power long power Opcode 0x00000044 Record Size 4 4 bytes Parameters Power
161. riation orthogonal to the axis of motion By using the Dither Width and Dither Feed parameters it is possible to define a variety of circular and oval dither shapes If Dither Width is equal 0 then dither is disabled If Dither Width is gt 0 then dither is enabled Value constrains for dither width are as follows DW lt MS SQRT 2 DW lt DF lt 2 DW where MS is Mark Size DW and DF are Dither Width and Dither Feed Dither Feed Dither Width b PM ra HH Direction of beam motion beam motion with dithering Parameter Definition Default Name qum rane m ype DitherWidth lt MarkSize 1 414 amp amp DitherWidth LSB Unsigned long DitherWidth lt DitherFeed z2 DitherWidth Related Topics Dither Feed Appendix A Adjusting Parameters P N 70M 1095 Rev E pc Genera scanning Page 58 www gs scanners com WinMCL Plus Software User s Manual FPS Enable The FPS Enable parameter enables the use of the First Pulse Suppression signal during laser control FPS is useful in the control of lasers that build up charge when not lasing such as lamp or diode pumped YAG lasers Parameter Definition Related Topics Laser Power Control FPS Delay Appendix A Adjusting Parameters gt General P N 7 1095 Rev E un WWW gs scanners com Page 59 WinMCL Pl
162. rrent Control Flag LP COUT 31 Mode Selection for the Laser HF Driver 32 Remote Flag 32 Laser Safety 32 Laser Modulation and First Pulse Suppression 33 Configuration of the opto isolator 33 Inverting the Signals 33 FPS Delays 33 BEGIN_MARK amp STOP_MARK 34 Alarm Flags 35 Alarm Flag Input from the HF Driver 35 Optional Input Flags 22 2 BLOCK DIAGRAM 36 P N 034 Rev gt General Sy Page 4 WWW gs scanners com HC 3 Controller User s Manual 1 IMPORTANT INFORMATION 1 1 ESD WARNING The OEM electronics that General Scanning manufactures including galvanometers and servo controllers are electrostatic discharge ESD sensitive Improper handling 4 f aS could therefore damage these electronics General Scanning has implemented procedures and precautions for handling these devices and we encourage our customers to do the same Upon receiving your components you should note that it is packaged in an ESD protected container with the appropriate ESD warning labels The equipment should remain sealed until the user is located at a proper static control station Note Any equipment returned to the factory must be shipped in anti static packaging A proper static control station should include 1 Asoft grounded conductive tabletop or grounded conductive mat on the tabletop A grounded wrist strap with the appropriate 1 Meg series resistor connected to the tabletop mat and ground An adequat
163. rt Inhibit laser firing on start up Short step periods 10uS therefore smaller microsteps and better quality for certain sensitive applications P N 70M 034 Rev p General Sy Page 8 Www gs scanners com HC 3 Controller User s Manual 3 INSTALLATION amp CONFIGURATION card requires adjustment of various settings to configure board for best application performance The following section outlines the installation and setup of the scan card into a computer 3 1 Minimum Computer Requirements In general as long as the selected computer can run the Windows operating system then the computer will also be capable of running the HC3 card and WinMCL Plus Processor Pentium 100MHz with a PCI bus Operating System Windows NT 2000 or XP MS DOS RAM 64MB recommended Graphic Card VGA 16 bit Monitor VGA Color Mouse Microsoft mouse or compatible Extension Slot Minimum one PCI bus slot Hard Disk Minimum 5 free Floppy Disk 3 5 1 44MB CD ROM Drive 3 2 Card Installation Be sure to set any jumper settings before installing the card Do the following to install the HC3 into the computer 1 sure to set power and laser modulation jumpers W1 W2 before installing the card See section 0 Opto Isolation and section 0 Laser Modulation Signal for more details 2 With the computer and the monitor power off remove the computer s cover 3 Select
164. s with the format MSB 15 14113112 11 10 9 8 7 6 5 4 3 2 LSB YSR 5 Where XSR 5 Xand Y servo ready signals Servo ready TRUE is 1 XT and YT are X and Y temperature out of limits Temperature OK TRUE is 0 Related Topics General Comments on Function Calls WinMCL Error Codes pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 87 WinMCL Plus Software User s Manual MC get job count Operational Description Gets the number of jobs in the job queue When to Call Use this function to check to see if there are any jobs waiting to be marked Very useful when two threads are running one to generate jobs one to monitor marking See Job Queue for details Input Parameters None Output Parameters Pointer to a memory location in the calling allocated Status function that will contain the value number of Unsigned long fen ae address jobs in the job queue g g Function Call unsigned long NumJobs MC_get_head_status amp NumJobs Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Job Queue P N 70M 1095 Rev E pc Genera D ocn Page 88 WWW gs scanners com WinMCL Plus Software User s Manual MC get num cards Opera
165. s will execute with constant power Related topics e MC reset powertable MC set powertable Power Power Delay Hardware IO P N 70M 1095 Rev E Page 210 L Gener Scanning WWwW gs scanners com Port N output WinMCL Plus Software User s Manual Port N is used to control laser power or other general purpose digital circuitry The port is 16 bits wide and it is located on the internal I O connector of the HC 3 as shown in the following diagram PORT N pins 35 50 Figure 54 Location of Port N on the pinout of See also e Hardware IO Raster Mode PAO 1 2 1 2 3 4 4 5 6 PA5 PAG 7 8 7 9 10 1 2 11 12 4 13 14 5 START MARK 17 18 FLAG OPT FLAG LER 19 20 STOP MARK MARKPROG 21 22 SHTR 1 IN FPS 23 24 SHIR 1 OUT 26 GND VINO 27 28 V5 0 EE 30 12 CLR 32 STEP LM N 221 4 4MHZ PNO PN2 37 PN3 PN4 PN5 PN6 PN7 PN8 44 PN9 PN10 PN11 PN12 48 PN13 PN14 49 504 PN15 Raster mode is used for marking a line of dots on the part The timings required by the raster marking commands involve changes to the Q switch period and laser delay parameters so it is considered a separate mode from vector Also the velocity of the focal point is not set by the mark size and Step Period as done in vector mode operations so it is important that all parameters be carefully coordinated when switching modes Please see the section on raster
166. scanners com Page 45 WinMCL Plus Software User s Manual GCX Test Program WinMCL comes with a simple test program that can be used to load and execute GCX files and it is useful for testing the hardware and software installation The application makes use of WinMCL Plus and it is an example of the ease with which functional applications can be built when using WinMCL Plus WinMCLtest32 GCX File Global Parameters Browse FPS Delay 20 24 Operations Parameter Sets Fipx an Flip Y Index 0 H Auto Repeat Loops 0 Load from Memory Timeout OnBegin bes nma 10000 Set Active Transform Matrix z Status Idle mem E dit B 0 mm c 5 Per HC 3 card commands D 1 Grid Table nec xof o vo 0 F Browse Set Reset 2 MO LSB sec Power Table 6585 Head Status Browse Set Reset Get Current Position 09 0 GetPosition lt rj Update IO status Contig About Figure 23 The main window of WinMCLTest32 program The program allows selection of GCX Grid Correction and Power Table files execution of GCX files gated by the BeginMark signal direct input of parameter set values and global parameter values and geometry transform values Typing in the file path in the box specifies GCX files Alternately you can press the Browse button to raise a file dialog box P N 70M 1095 R
167. sed by the value of the Power parameter The value of the table index by the Power parameter is sent to Port B to control the laser power If the power table is changed and the value indexed by the Power parameter is not the same as in the previous table then the Power Delay is executed The Power Table is a member of the Global Parameters it is not affected when a new parameter set is selected General P N 70M 1095 Rev E WWW gs scanners com Page 213 WinMCL Plus Software User s Manual Power Table default value The default Power Table has an equivalent correspondence between the index of the table and the members value For example pt 0 0 pt 10 10 etc In this form the power table offers no scaling or correction the value of the Power parameter is the value sent out Port B Transmission Latency The HC 3 card commands the galvos through the use of a daughter card that resides inside the marking head The two cards communicate with each other with a serial protocol consequently there is a delay between the time of execution of an instruction in the job queue and the time of generation of the command voltage inside the marking head This delay is particularly important in operations that involve the coordination of signals between the HC 3 card typically the Laser Modulation signal and the position command voltages generated in the daughter card Universal Matrix The Universal Matrix is
168. ser modulation signal is unasserted and the end of the stroke delay interval Parameter Definition LaserOffDelay 0 10000000 jo Unsigned long Related Topics Fine Tuning with Delays Appendix A Adjusting Parameters gt General P N 7 1095 Rev E un WWW gs scanners com Page 63 WinMCL Plus Software User s Manual Laser ON Delay This parameter sets the period of time in microseconds between the galvo command that begins a mark and the laser modulation signal assertion A negative value will assert the laser modulation signal before the command to move the galvo is sent Parameter Definition LaserOnDelay 0 10000000 jo Signed long Related Topics Fine Tuning with Delays Appendix A Adjusting Parameters P N 70M 1095 Rev E pc General T Page 64 WWW gs scanners com WinMCL Plus Software User s Manual Mark Size The Mark Size parameter defines the length of the microvector that is traversed in the Step Period The Mark Size and Step Period parameters define the marking velocity along the beam path The Mark Size parameter is used in the following MD commands MD_mark_ abs MD mark rel MD move abs MD move rel Parameter Definition Related Topics Mark Rate Step Period Appendix A Adjusting Parameters pc General P N 7 1095 Rev E un WWW gs scanners com Page 65 WinMCL Plus Software User s Manual Polyline D elay The Pol
169. several commands that manipulate the Laser Power Table These are e MC get powertable e MC reset powertable e MC set powertable MC get powertable allows you to retrieve a power table for a given HC 3 card This can be useful if you want to make minor adjustments to a certain power setting without affecting other power table settings MC reset powertable is a function that resets the power table to the default values 1 1 correspondence as shown in the table above MC set powertable is used to assign a previously allocated power table data structure to an HC 3 card Related Topics e MC get powertable e MC reset powertable e MC set powertable pc GNE P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 27 WinMCL Plus Software User s Manual e Port B output e Laser Power Calibration Table e Laser Power Calibration Table default value Mark on the Fly The Mark on the Fly feature allows the scan head to follow and mark an object moving with constant velocity through the scanning field such as items on a conveyor belt Before the mark job for an object is started the application informs WinMCL of the object s velocity in the X and Y directions Using this information WinMCL changes the output stream opcode to follow the object movement The following MCL function calls are related to Mark on the Fly MC get target velocity MC set target velocity MC reset tracking MC start tracking The follow
170. shoot Operational Description This command turns the laser ON for a time interval The time interval is programmed by the Shoot_Time parameter of the function When to Call This command is typically used in via hole drilling applications a step in the production of printed circuit boards When used in conjunction with the MC jump rel and MC jump abs commands it is possible to develop a via hole drilling application that avoids the use of GCX files The program consists of jump commands that set the focal point to the appropriate location and the MC shoot command that operates the laser It is not appropriate to use the shoot command in vector or raster marking operations and if the MARK IN PROGRESS signal is asserted while the shoot command is issued an error will be generated and the marking operation will be aborted Input Parameters m Value When using PWM the n parameter of the MD_shoot command defines the number of pulses to be fired In case ver shootTime of continuous PWM output PWM period 0 n defines the Unsigned long shoot time microseconds Output Parameters lt None gt Function Call unsigned long ShootTime MC shoot ShootTime Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D ocn Page 130 WWW gs scanners com WinMCL Plus So
171. ssible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note Must be called once only before any other commands are issued Related Topics General Comments on Function Calls WinMCL Error Codes Laser Power Calibration Table default value pc a P N 70M 1095 Rev E 2 Scanning WWW gs scanners com Page 101 WinMCL Plus Software User s Manual MC jump abs Operational Description Performs a controlled JUMP ABS to the given location using the current laser parameter set When to Call This command is useful when the marking jobs consist solely of relative motion commands The host program uses this command to jump to the origin of a part and then the marking routine is loaded and called This can also be a step and repeat operation where the jump command is used to slew to the beginning of the next repeat Input Parameters Name Description Type Declaration Value Range Output Parameters None Function Call Lome Wo A p MC eleg X X Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc General D ocn Page 102 WWW gs scanners com WinMCL Plus Software User s Manual jump rel Operational Description Perform a controlled JUMP REL to the given location using the current laser parameter set When to Call This command is useful
172. t unit wait interval gt Wait period in microseconds 4 294 967 295 microseconds or about 50 days Related Topics GCX file tutorial P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 169 WinMCL Plus Software User s Manual MD wait begin mark This command will cause program operation to stop until the MARK BEGIN signal is asserted Record Layout MD wait begin mark gt Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 170 WWW gs scanners com WinMCL Plus Software User s Manual Parameter handling commands WinMCL Plus allows the parameter sets or individual parameters to be adjusted within the gcx file The following section addresses commands for handling parameters MD parameter set begin Marker to indicate the beginning of a parameter set Record Layout lt MD parameter set begin gt ulong parameter set number Parameter set number Parameter set number must be between0 63 Related Topics GCX file tutorial pc General P N 7 1095 Rev E WWW gs scanners com Page 171 WinMCL Plus Software User s Manual MD parameter set end Marker to indicate the end of a parameter set Record Layout MD parameter set end gt Opcode 0x00000009 Record Size 4 bytes Parameters None Restrictions None Related Topics GCX file tutorial P N 7 1095 Rev E p Ga
173. t mark abort amp SignalStatus Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note The command should only be issued when WinMCL Plus is idle Related Topics General Comments on Function Calls WinMCL Error Codes MARK ABORT signal pc a P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 81 WinMCL Plus Software User s Manual get optional status Operational Description Gets the status of the external OPT2 signal on the Master HC 3 When to Call This command is useful if the host program needs to read the status of the external inputs on the HC 3 card Input Parameters lt None gt Output Parameters SignalStatus The current signal status Unsigned short 1 ASSERTED 0 INACTIVE Function Call unsigned short SignalStatus MC_get_optional_status amp SignalStatus Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Possible Values for Output Parameter SignalStatus 1 ASSERTED 0 INACTIVE Note The command should only be issued when WinMCL Plus is idle Related Topics General Comments on Function Calls WinMCL Error Codes OPT2 signal P N 1095 Rev E pc Genera ELLA Page 82 WWW gs scanners com WinMCL Plus Software User s Manual get corrtable Operational Description Gets the Field Distortion Correction Table for the selected HC 3 When to Call Input Parameters
174. t position must have been previously established using absolute coordinates Related Topics GCX file tutorial P N 7 1095 Rev E General Scanning RTL WWW gs scanners com Page 153 WinMCL Plus Software User s Manual MD nrepeat Use this command to repeat a list count number of times Record Layout MD nrepeat int count count number of times to repeat Related Topics GCX file tutorial P N 7 1095 Rev E p Garen Page 154 WWW gs scanners com WinMCL Plus Software User s Manual MD object transform Specify coefficients for the Object Matrix using rotation parameters The operation is performed as translate then rotate Record Layout MD object transform float ang float x float gt 4 4 amp 4 4 16 Bytes ang angle in Radians Parameters x offset in LSB y offset in LSB The following matrix operation is performed with the input parameters to generate the object matrix 0 x cos ang x sin ang 0 yx sin ang cos ang 0 0 1 0 0 1 O O oe Related Topics GCX file tutorial Marking Field Transformations MD_object_matrix P N 70M 1095 Rev E General Scanning mre ren www gs scanners com Page 155 WinMCL Plus Software User s Manual MD object matrix Specify coefficients for the Object Matrix Record Layout MD object matrix float a float b float c float d float xO
175. te response to change in direction e Sets the angle which activates break angle when exceeded Brakes one stroke in two separate strokes and inserts a stroke delay Disabled by setting Break angle 180 degrees off e The referenced angle is not the included angle but the change in direction Example Break angle set to 100 This means the stroke is broken only if the change in direction exceeds 100 LEEPER Change in Direction 90 Mector NO STROKE DELAY Pad N 130 Change in Direction 130 STROKE DELAY X P N 70M 1095 Rev E General Scanning rta onn Page 222 WWW gs scanners com WinMCL Plus Software User s Manual Stroke Delay usec Stroke Delay Description e Generated at the end of a stroke series of connected marking vectors before the next stroke or jump e Allows beam to catch up with command signal and finish one stroke before continuing the next e One stroke can be broken in two strokes if the included angle exceeds the Break Angle setting see there e Need to balance with Laser Off delay Stroke Delay and Laser Off Delay Interdependency e Optimize Stroke Delay last because it depends on the Laser On and Off Delay e Use large values for Stroke Delay initially then slowly reduce e Shortest possible Stroke Delay SD SD gt LOFF LON SP LOFF Laser Off Delay LON Laser On Delay Stroke Delay Too Short SP Step Peri
176. ters Current flag state 1 TRUE 0 Previoulsy allocated unsigned short Function Call unsigned short Flag get esweleuwge amp Flag p Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc FE P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 99 WinMCL Plus Software User s Manual MC get y flip Operational Description Get the current y flip flag value When to Call Input Parameters None Output Parameters Current flag state Unsigned short 1 TRUE 0 FALSE Function Call unsigned short Flag y clip amp Elag Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc Genera D c Page 100 WWW gs scanners com WinMCL Plus Software User s Manual init Operational Description Instantiates and initializes WinMCL to the default state It also opens the communication channel to the HC 3 device driver and sets all internal variables and tables Field Distortion Correction Table and Laser Power Calibration Table to default values When to Call Call this function first before any other processing is attempted Input Parameters lt None gt Output Parameters lt None gt Function Call Po
177. th languages like LabVIEW that have difficulty spawning their own threads When to Call This command is used once jobs are loaded in the job queue When the host software issues this command it relinquishes control of the actual start time to the hardware input BEGIN MARK signal on the HC 3 This is useful when coordinating the operation of manufacturing equipment Input Parameters Maximum time in milliseconds that the program will wait for the START_MARK signal Unsigned long 074294991233 Output Parameters lt None gt Function Call unsigned long TimeOut MC start mark on begin TimeOut Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Note Related Topics General Comments on Function Calls WinMCL Error Codes BEGIN MARK signal P N 70M 1095 Rev E pc Genera D ocn Page 134 WWW gs scanners com WinMCL Plus Software User s Manual MC start tracking Operational Description This function will enable the mark on the fly capability of WinMCL Plus When to Call Normally the part to be marked will be moving along an assembly line A position sensor along the line will trigger when the part moves into the field of view of the marking head This trigger can be input into the host program through one of the input ports of the HC 3 card perhaps and the code branches on the trigger event to execute this instruction and commence the appropriate marking job In
178. the Q switch period As previously discussed the Q switch period along with the number of pixels determine the mark rate The raster marking commands can generate a 256 level gray scale by modulating the width of the laser control pulse The laser ON and laser OFF delays determine the baseline intensity of the laser by defining the pulse width of maximum intensity i e the pulse generated by a command of 255 The other laser intensities are proportionally smaller pulse widths in relation to the baseline width For example a GSV of 128 generates a pulse width that is half the baseline width 46 Q Switch Period x Laser ON Delay Laser OFF Delay Laser ON pulse Figure 3 Close up of timings in a single Raster Pulse gt P N 1095 Rev E 2 Sanning WWW gs scanners com Page 15 WinMCL Plus Software User s Manual Equivalent definitions of raster pulse width can be defined in any number of ways when using the general form of the definition The general formula for a GSV command is RasterPu QSwitchPeriod LaserONDelay LaserOFF Delay x GS ve 6 A Q Switch Period pe Laser ON Delay Laser OFF Delay 1 Maximum laser ON pulse grey 255 Figure 4 General form of maximum pulse definition If the Laser On Delay is set to zero then the simplified form of the equation follows Raster Pulls sx QSwitchPeriod LaserOFFDelay x 2
179. time e Allows galvos to settle before a marking vector is started e Necessary because jumps are usually faster than strokes so galvos need more time to settle e Laser is off Jump Delay Too Short e Notenough time For galvos to settle properly e Will start marking during overshoot 976 Od 7 OX x SX 9 XX 5 M gt 505050 AX Jump Delay Too Long e No visible effect on mark e Will increase marking time P N 70M 1095 Rev E pc General 2 xorg WwWww gs scanners com Page 220 WinMCL Plus Software User s Manual Mark Delay usec MD Mark Delay Description e Generated within a stroke series of connected marking vectors e To maintain control of galvos when marking Typically a slight delay before changing direction e Laser not turned off Mark Delay Too Short e Not much noticeable effect at normal marking speeds e Some distortion possible at very high scanning speeds Mark Delay Too Long 4 BRN Vector Blooms e Will increase mark time pc P N 70M 1095 Rev E j Scanning www gs scanners com Page 221 WinMCL Plus Software User s Manual Break Angle degree control galvos when turning corners at high speeds e Inertia prevents immedia
180. tion Call General Comments on Function Calls WinMCL Error Codes Parameter Set Structure P N 70M 1095 Rev E pc General 90 WWW gs scanners com WinMCL Plus Software User s Manual MC get portA input Operational Description Gets the current state of the Port A input register on a given HC 3 When to Call Input Parameters CardIndex HC 3 number Unsigned short Output Parameters Previously allocated Current state of Port A Unsigned short unsigned short address Function Call unsigned short CardIndex long Value MC get portA input CardIndex amp Value Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes Port A input pc General P N 7 1095 Rev E WWW gs scanners com Page 91 WinMCL Plus Software User s Manual MC get powertable Operational Description Gets the Laser Power Calibration Table for the selected HC 3 When to Call Input Parameters CardIndex HC 3 number Unsigned short Output Parameters Previously ae allocated address of the power calibration table POWERTABLE POWERTABLE address unsigned short CardIndex POWERTABLE Table Function Call Table POWERTABLE malloc sizeof POWERTABLE MC get powertable CardIndex Table Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED
181. tional Description Gets the number of HC 3s detected by the HC 3 device driver When to Call If the marking program is supposed to support multiple HC 3s a maximum of 4 then this function is used to determine the number of cards installed in the machine Input Parameters None Output Parameters Pointer to an unsigned long memory location in the calling Properly allocated pnCards function that will contain the Unsigned long unsigned long number of HC 3 cards installed in pointer the system Function Call unsigned long NumCards MC get num cards amp NumCards Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc e P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 89 WinMCL Plus Software User s Manual MC get ParamSet Operational Description Get the values of one of the 64 parameter sets When to Call Input Parameters Parameter set index int 0 to 63 Output Parameters Address of a parameter set structure in the user Previously allocated pParamSet application that will receive the values of the PSET parameter set selected parameter set structure address Function Call Josep BSH EPEa rano eE pParamSet PSET malloc sizeof PSET MC_ GSt_ParamSet Index pPParam et Function Call WMCL OPERATION OK WMCL OPERATION FAILED Func
182. to exit the pyramid When analyzing safety you must consider all regions within this aiming pyramid the divergent beam and the effects of all focal possibilities in the zone of hazard Reflections must also be considered P N 034 Rev gt General T Page 20 Www gs scanners com HC 3 Controller User s Manual APPENDIX A ADDITIONAL RESOURCES Visit the General Scanning Component Group s website to download any of the additional manuals listed below or contact technical services with a manual request or any further questions e Lumonics supplies the following manuals for more information regarding related components Galvanometers VM500 amp VM1000 User Manual G SIL Part 70 M 028 VM2000 User Manual G SIL Part 70 M 022 Servo Control MiniSAX User Manual G SIL Part 176 25016 ISD Hardware Manual G SIL Part 7O M 031 Scan H eads HPLK Hardware Manual G SIL Part 70 M 1020 HSM15M2 Hardware Manual G SIL Part 70 M 1060 HBX10 Hardware Manual G SIL Part 70 M 1015 Software O ptions PC MARK MT PC MARK Command Reference G SIL Part 176 25008 PC MARK MT Programmer s Manual G SIL Part 176 25015 ScribeSmart User Manual GSIL Part 7OM 1117 WinMCL Plus Technical Reference GSIL Part 7 1095 Postgrid User Manual G SIL Part 176 25005 pc dinni P N 70M 034 Rev G 7 www gs scanners com Page 21 HC Controller User s Manual APPENDIX B HC 3 BLOCK DIAGRAM F our major functi
183. to the string is passed to the function Output parameters appear in the function parameter list giving the WinMCL Plus functions the ability to return multiple values These are always pointers to variables located either in the calling function or in the global scope The return value of a function in the WinMCL Plus API is always the error status of the operation either WMCL_OPERATION_OK or WMCL_OPERATION_FAILED as defined in WinMCL32 h The exceptions are as follows Functions that return a value other than an error code MC get timeout Functions that return only WMCL OPERATION The return value of the functions should be read back by the calling code and in the event of an error the calling procedure should check the WinMCL Plus global error code by calling the function _ get error A variety of data types are used as parameters but real numbers are always stored in the single precision size float P N 70M 1095 Rev E pc Genera D Page 34 www gs scanners com WinMCL Plus Software User s Manual GCX Files GCX files and GCX formatted buffers contain the motion commands that describe a marking job The format of GCX op codes in a text file mirrors the format of the binary GCX file but in terms of WinMCL functions that execute GCX files a GCX file is binary only any text versions of GCX have to be submitted to an assembler for conversion to binary GCX format The follow
184. traditionally used to establish the fundamental geometry of the marking heads to the marking field As such the GCX files need not concern themselves about the particulars of the installation but rather assume that a coordinate system has been established so there are no MD commands that manipulate the Universal Matrix The following diagram shows the row and column locations for each of the input parameters for the Universal Matrix A 0 C D YO 0 0 1 Figure 56 Matrix format of input parameters of Universal Matrix WinMCL function MC set xform matrix is an input method where the parameters of the instruction are directly mapped to the matrix locations as shown in the diagram above If you want to read back the values stored in the matrix use the MC get xform matrix MC ros ap Id 9 xO WO pp P N 1095 Rev E pc General D ocn Page 214 WWW gs scanners com WinMCL Plus Software User s Manual Traditionally the Universal Matrix is programmed by the host program perhaps from values stored in an initialization files or perhaps by values determined through a calibration process The Universal Matrix is one of the Global Parameters it is not affected when a new parameter set is selected Related topics Marking Field Transformations set xform matrix MC get xform matrix Vector Typically vectors are treated as free vectors This means that the tail of the vecto
185. trix Part matrix MD part matrix MD part transform Global matrix MD global matrix MD 9lobal transform Universal matrix MC set xform matrix get xform matrix pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 25 WinMCL Plus Software User s Manual Field Distortion Correction This section tries to clarify the HC 3 operation with respect to grid correction The HC 3 grid correction is based upon the GMAX N Point grid correction interpolating algorithm and the GMAX short manual is available as amore complete guide The NPC exe program allows fine tune adjustment of pre existing grid correction tables that were generated at General Scanning based upon the geometry of GMAX scan head products Grid correction is used to compensate for rectilinear errors caused by the nature of the optical beam path namely the projection of what is essentially a cylindrical or spherical command space onto a flat surface The primary error is known as pincushion distortion The following diagram illustrates the maximum extent of the uncorrected X Y head beam path showing discrete points and also the theoretical maximum extent in the shape of a hyperbola Inside of this diagram the red rectangle delineates the maximum the correctable region by adjustment of the commanded coordinates through the feature known as grid correction xX x x
186. ud dts 176 6 33 7 ETD SOE IERI 177 6238 MD s t polyline delay d Ps ena pd Rad va 178 535 9 MD set Jump delay 179 6 33 10 MD_set_stroke_delay carn ssriaacnasaasasesaadstengaas ERRARE REDAR E RAI MZA NEUF 180 del 181 535412 MD set 1 OF 182 6 33 13 _ _ _4 1 183 6 33 14 AMD set JOS CHONG 184 6 33 15 MD Sel qswitch ias so mic 185 6 33 16 MD gswiteh d dolio tube ee a tob dus 186 6 33 17 MD ser Pts Ru bati Medida 187 6 33 18 set dither width cccccccccccccccccsssssceccccccccccssssssecccccccsesssscsesccsccessusaueseeses 188 6 3319 MD dither JOC asas aisi Yes XO ER quc tado Ho ud A 189 P N 70M 1095 Rev E pc General D c Page 138 WWW gs scanners com WinMCL Plus Software User s Manual MD comment begin The MD comment begin record marks the start of a comment block Comments must consist of an EVEN number of arbitrary Unicode characters so that the entire record is an integer multiple of DWORDs long in oth
187. unction Adjust the values of parameters of most concern by operating with the original pointer from allocation 5 Make the value available for use by selecting the parameter set with the MC select parameter set function BI See also e List of all Parameters e Parameter Set default values pc General P N 7 1095 Rev E WWW gs scanners com Page 41 WinMCL Plus Software User s Manual WinMCL Error Codes APitunctions SY Dwucoremmovok 79 Sesiones _ _ i mamaos f f O 1 WMCL LASER PARAMETER BOUNDS 22 value was outside the legal WMCL_POWER_FILE_NOT_FOUND Power correction table file not found WMCL_WRONG_POWER_FILE_FORMAT Power table file format wrong PT INCLUDE_DATA block is missing begin or WMCL BAD INCLUDE DATA 4 block address cannot be WMCL BAD DATA POINTER GCX data block cannot be read WMCL EVENT RESET FAILED Unable to reset win32 event P N 1095 Rev E Page 42 WWW gs scanners com WinMCL Plus Software User s Manual eme ouTruT uroarro ewery 9e 22 sn e E WMCL OUTPUT UPCALL UNEXPEC
188. ure 47 Location of the parameters in the matrix for the alternate input method The Object Matrix is one of the Global Parameters it is not affected when a new parameter set is selected Related topics P N 70M 1095 Rev E pc Genera Page 204 WWW gs scanners com WinMCL Plus Software User s Manual Marking Field Transformations MD object transform MD 9object matrix Pacing Delay Pacing delays are inserted into the GCX marking instruction stream to control the rate of execution of marking commands in the computer in relation to the electrical and mechanical capabilities of the marking head and laser When you are assembling a GCX file for marking you do not need to explicitly insert the pacing delays they are side effect of certain commands or combinations of commands The delay time is typically controlled by a parameter in the parameter set The following parameters control various pacing delays Jump Delay Laser Off Delay Laser On Delay Poly Line Delay Power Delay Stroke Delay Parameter Set Parameter sets provide a convenient way to modify a number of distinct parameters all at once and also to change just one or two at a time In previous versions of WinMCL Plus the parameter set was called the Laser Parameter Set because all of the parameters were directly related to control of the laser However this version of WinMCL Plus includes parameters that control the mark on the fly feature so the emp
189. us Software User s Manual Intensity The ntensity parameter specifies the value that will be output from the HC 3 s 16 bit output port Port N Parameter Definition Intensity LSB 0 65535 lO Unsigned long Related Topics Hardware IO Port N output Appendix A Adjusting Parameters P N 1095 Rev E pc General T Page 60 WWW gs scanners com WinMCL Plus Software User s Manual Jump D elay The Jump Delay parameter defines the interval of time that the motion trajectory pauses after a jump This delay is useful for clarity tuning of marks because it defines a time interval where the mirror can settle down after an abrupt motion Parameter Definition JumpDelay 0 10000000 Unsigned long Related Topics Fine Tuning with Delays Appendix A Adjusting Parameters gt General P N 70M 1095 Rev E un WWW gs scanners com Page 61 WinMCL Plus Software User s Manual Jump Size The Jump Size parameter defines the length of the microvector that is traversed in the Step Period The Jump Size and Step Period parameters define the jump velocity along the beam path Parameter Definition Related Topics Jump Rate Step Period Appendix A Adjusting Parameters P N 1095 Rev E pc General T Page 62 WWW gs scanners com WinMCL Plus Software User s Manual Laser O FF D elay This parameter sets the period of time between the time the la
190. waiting for the BEGIN_MARK signal to become asserted Once BEGIN_MARK signal asserts the job will commence gt General P N 7 1095 Rev E ELA WWW gs scanners com Page 47 WinMCL Plus Software User s Manual Figure 25 GCX file execution options The program also provides a mechanism to move the focal point with a jump command When the Jump button is pressed the jump dialog box appears This contains input fields for the X Y and Z coordinates of the jump destination and a configuration checkbox that allows you to declare the coordinates to be absolute or relative Once the coordinates have been entered press OK to execute the jump command The focal point will move at the jump rate as defined by the StepPeriod and JumpSize parameters of the selected parameter set If you decide not to jump simply press the Cancel button to return to the main window P N 70M 1095 Rev E Page 48 WWwW gs scanners com WinMCL Plus Software User s Manual Figure 26 The Jump dialog box Parameter sets can be selected and edited To select a parameter set use the Index control to set the index of the desired parameter set then press the Set Active button To edit any parameter set use the Index control to point to the desired one then press the Edit button The parameter dialog will appear and display the current parameter values in the set When the program is first started parameter set 0 will be selected by
191. wer supply to reach a new setting before starting a mark e Activated when changing between pens with different power settings e Power changes are not recommended within a mark because of the amount of time added to the mark Power changes can also affect the laser life and power stability Lamp Current Delay Too Short e Laser power will be changing at the beginning of the mark with a new pen e If changing from higher power to lower power the mark will dig too deep at the beginning of the mark e If changing from lower power to higher power the mark will start off weak of non existent and fade into spec pc FE P N 70M 1095 Rev E 2 Sanning WWW gs scanners com Page 225 WinMCL Plus Software User s Manual Optimizing delays Follow the steps described below for a quick way to optimized parameters Use the pattern a similar pattern to the one below or generate your own test pattern Mark the pattern at a size that is typical for your application abcdefghijklmneboars NXYZ General Scanning Test Pattern DELAYS mcl Define Process Scan Velocity Determine the scan velocity required for the particular process material laser dependent For this we should use e Jump Size small Mark Delay 0 Break Angle 90 Stroke Delay large gt 10000 Jump Delay large 210000 Mark straight lines and ignore the start points and end points of vectors Optimize Timing Between Laser and Galvos For t
192. yline Delay parameter is used to program a pacing delay that is executed at each internal vertex in a stroke Please see the tutorial Fine Tuning with Delays Parameter Definition PolyLineDelay 0 10000000 Unsigned long Related Topics Fine Tuning with Delays Appendix A Adjusting Parameters P N 1095 Rev E pc General T Page 66 WWW gs scanners com WinMCL Plus Software User s Manual Power The Power parameter is used to set the laser power Parameter Definition Name uns Range mw jue Related Topics PortB Appendix A Adjusting Parameters pc General P N 7 1095 Rev E un WWW gs scanners com Page 67 WinMCL Plus Software User s Manual Power D elay The Power Delay parameter defines a delay that allows the laser to stabilize when the power is changed It is executed after any of the following events A change in the power table due to either MC_set_powertable or MC_reset_powertable MCL commands A Parameter Set change that alters the Power parameter The Power Delay is not used in raster mode marking Parameter Definition PowerDelay 0 10000000 1500 Unsigned long Related Topics Power Appendix A Adjusting Parameters P N 70M 1095 Rev E pc General T Page 68 WWW gs scanners com WinMCL Plus Software User s Manual Q Switch Period The Q Switch Period parameter is used to set the peri
193. ystem Also if there is a risk of running older GCX files that contain obsolete commands this function may allow you to produce a warning Input Parameters Indicator for which part of the version to be inserted into the buffer 0 Unsigned long 0 1 1 DLL Output Parameters Previously Version Buffer to hold version string allocated buffer 256 bytes long Function Call unsigned long Part char Version Version char 256 MC_get_version Version Part Possible Return Values WMCL_OPERATION OK WMCL OPERATION FAILED Note For the driver version Part WMCLVI DRIVER and for the DLL Part WMCLVI DLL Related Topics General Comments on Function Calls WinMCL Error Codes P N 70M 1095 Rev E pc General D oc Page 96 WWW gs scanners com WinMCL Plus Software User s Manual MC get x flip Operational Description Get the current x flip flag value When to Call Input Parameters None rcm Parameters Flag Current flag state 1 TRUE 0 FALSE Unsigned short previous unsigned short buffer Function Call unsigned short Flag MC get x flip amp Flag Possible Return Values WMCL OPERATION OK WMCL OPERATION FAILED Related Topics General Comments on Function Calls WinMCL Error Codes pc E P N 70M 1095 Rev E 7 Scanning WWW gs scanners com Page 97 WinMCL Plus Software User s Manual get xfor
194. zdauioasveaqauanengatanaceundoaaedentond as uM visu Pis 163 6 20 SET MARK ERROR e a 164 6 27 MID SEI REMOTE EXBCUTE iua Uude dixi 165 6 28 SET OUTPUT OPPSETT 166 6 229 MD E io err 167 START IRACEINGO tivi eu 168 inMCL Plus includes a subset of MD commands used to write marking scripts typically called from GCX files Click on any of the commands below to jump to the topic page L General Scanning WWW gs scanners com P N 70M 1095 Rev E Page 137 WinMCL Plus Software User s Manual 6L MD MERE 169 6 32 MIB WAIT IN COM ABE 170 6 33 PARAMETER HANDLING COMMANDS cscciasesusesdeasiurudseatueassecuntuarpnuiedsnarieradpiavieennecnned 171 6 33 1 _ _ _ 171 6 33 2 MD_parameter_set_end an 172 6 33 3 DOHOG 173 692 MD Set MarkiZ 174 6 333 et Jump Ru rM 175 6 33 6 MD SOR uv VS Casi R
Download Pdf Manuals
Related Search
Related Contents
IstruzIonI per l`uso - JG ANSCHÜTZ GmbH & Co. KG Hypertec TAR3506HY User's Manual manual, GeneTitan Instrument User Guide for Expression Array Plates FCAD108SPCI-16MW 取扱説明書 D取扱説明書 Ikelite 6241.10 underwater camera housing FT 292 SEXTA UNIDAD - Pagina cienciaenelhogarpr.org NI PXIe-6674T User Manual Funzioni dell`unità Icone usate nel presente manuale Copyright © All rights reserved.
Failed to retrieve file