Saitek M40T Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Myszy Saitek M40T. Mach2_6.11_Custom Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 2

Communication Routes Mach2 Customisation Guide Rev 6.11-A6 2-2really just some switches and an emulator in a standard box, probably with some neat w

Strona 3

Communication Routes Rev 6.11-A6 Mach2 Customisation Guide 2-32.2.2 Keystrokes and Shortcuts (Hotkeys) A keystroke generates a Scancode which is p

Strona 4

Communication Routes Mach2 Customisation Guide Rev 6.11-A6 2-42.4 VB Script connections A part program is written using G and M codes. It is, howeve

Strona 5 - Contents

Communication Routes Rev 6.11-A6 Mach2 Customisation Guide 2-52.5 Windows' control The final elements shown in figure 2.1 are the standard devic

Strona 6

Communication Routes Mach2 Customisation Guide Rev 6.11-A6 2-6

Strona 7 - 1. Preface

Screen Designer Rev 6.11-A6 Mach2 Customisation Guide 3-13. Screen Designer His chapter describes the features of Mach2 Screen Designer. This program

Strona 8 - Preface

Screen Designer Mach2 Customisation Guide Rev 6.11-A6 3-2By default you will be putting controls on Screen #1. Use the numbered buttons on the toolb

Strona 9 - 2. Communication routes

Screen Designer Rev 6.11-A6 Mach2 Customisation Guide 3-3 Thus Shift-A would be 1,089 (65 + 1,024), Alt-/ would be 2,095 (47 + 2,048) and Shift-Ctrl

Strona 10

Screen Designer Mach2 Customisation Guide Rev 6.11-A6 3-4currently displayed screen. A useful trick for VB Script or G-code buttons, that you want t

Strona 11 - 6 Mach2 Customisation Guide

Screen Designer Rev 6.11-A6 Mach2 Customisation Guide 3-5 Figure 3.3 - Ragged DROs as drawn 3.4.1 Alignment icons The first four icons on the bar

Strona 13 - 2.6 Other customisation

Screen Designer Mach2 Customisation Guide Rev 6.11-A6 3-63.5 Properties of other types of control Now work your way through the different types of c

Strona 14

Screen Designer Rev 6.11-A6 Mach2 Customisation Guide 3-73.5.4 Use of Bitmaps The location of the file containing a Windows bitmap is given in the

Strona 15 - 3. Screen Designer

Screen Designer Mach2 Customisation Guide Rev 6.11-A6 3-8Figure 3.10 illustrates a prototype of such a screen (courtesy of Ken Bell). In such a desi

Strona 16 - 3.3 Making the controls work

Screen Designer Rev 6.11-A6 Mach2 Customisation Guide 3-9up buttons. Similar features exist on the dialogs for other controls. Positioning: The posit

Strona 17

Screen Designer Mach2 Customisation Guide Rev 6.11-A6 3-10

Strona 18

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-14. Coding VB Script programs This chapter aims to help you write button or

Strona 19 - 3.4.2 Sizing icons

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-2Rem Geometric 20% increase of Feedrate Dim val val = GetDro(18) ' Fe

Strona 20 - 3.5.3 DRO groups

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-3 TxtChoice = "G20G61" Case 10 TxtChoice = "G

Strona 21 - 3.5.4 Use of Bitmaps

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-4A function can be called and have its result thrown away as in this examp

Strona 22 - 3.6 Advanced features for

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-5JoyStickLEDFn = 14 : : bJoy = GetLed (JoyStickLEDFn) LEDs Function GetLED

Strona 23 - 3.7 Colors

Mach2 Customisation Guide All queries, comments and suggestions welcomed via [email protected] Mach Developers Network (MachDN) is currently h

Strona 24

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-6Very many "buttons" are toggles or cycle through a range of pos

Strona 25 - 4. Coding VB Script programs

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-7Function GetVar (PVarNumber as Integer) as Double Sub SetVar (PVarNumber a

Strona 26 - 4.2 Sample macros

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-8User defined DROs This technique is mainly applicable to wizards and scri

Strona 27

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-9Sub CloseTeachFile () Closes the currently open Teach or wizard file and s

Strona 28

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-104.4.10 Serial port You can send bytes of raw data to a serial port. T

Strona 29

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-114.4.13 A more complicated macro example The next example is used to sh

Strona 30

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-12 Wend code "G0Z" & StartZ code "G0X"

Strona 31

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-134.5.3 Stuck in a rut? As you have some very powerful control structure

Strona 32

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-144.6 Legacy/System VB Script Functions The following functions are still

Strona 33

Mach2 defined VB Script functions Rev 6.11-A6 Mach2 Customisation Guide 4-15Sub RefCombination(Axes as Integer) Performs simultaneous referencing on

Strona 34

Contents Mach2 Customisation Guide Rev 6.11-A6 iiContents 1. Preface...

Strona 35

Mach2 defined VB Script functions Mach2 Customisation Guide Rev 6.11-A6 4-16Function tZStart() as Double Function tEndX() as Double Function tEndZ()

Strona 36

Designing Wizards Rev 6.11-A6 Mach2 Customisation Guide 5-15. Designing wizards The techniques of VB Script and custom screens can be combined to imp

Strona 37 - 4.5.3 Stuck in a rut?

Designing Wizards Mach2 Customisation Guide Rev 6.11-A6 5-2detail the use of user DRO’s, teaching files, and restoring the system screens after the

Strona 38

Designing Wizards Rev 6.11-A6 Mach2 Customisation Guide 5-3Next we add the rest of the controls required for the user to define what the wizard is to

Strona 39

Designing Wizards Mach2 Customisation Guide Rev 6.11-A6 5-4It begins by getting the values of all the User DROs on the screen and assigning their va

Strona 40

Designing Wizards Rev 6.11-A6 Mach2 Customisation Guide 5-5Rem set the current location to 0,0,0 and open the file code "M40" code "G9

Strona 41 - 5. Designing wizards

Designing Wizards Mach2 Customisation Guide Rev 6.11-A6 5-65.3.4 A wizard that runs its own code Now let us take a look at a bit of script which

Strona 42 - 5.3.1 The first step

Designing Wizards Rev 6.11-A6 Mach2 Customisation Guide 5-7after the code G31Z-10 statement. This will make your macro wait until the probe is done b

Strona 43

Designing Wizards Mach2 Customisation Guide Rev 6.11-A6 5-85.4.4 Error checking The example below shows a simple wizard that checks its data befo

Strona 44

Designing Wizards Rev 6.11-A6 Mach2 Customisation Guide 5-95.4.5 Documenting the wizard There are 3 major pieces required to properly document the

Strona 45 - Designing Wizards

Contents Rev 6.11-A6 Mach2 Customisation Guide iii4.3 A common confusion with VB Script and a hint...

Strona 46 - 5.3.5 Other precautions

Designing Wizards Mach2 Customisation Guide Rev 6.11-A6 5-10

Strona 47 - 5.4 Wizard design hints

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-16. Appendix 1 – Reference tables for Codes 6.1 Keyboard shortcut codes HotKey DRO/Butto

Strona 48 - 5.4.4 Error checking

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-2 6.2 Button, LED and DRO codes Type Function FCode IsOEM OEMCode 1 X DRO 0 No 1 Y DRO

Strona 49 - 5.4.6 Troubleshooting

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-3Type Function FCode IsOEM OEMCode 1 Z axis Ref Sw DRO 12 Yes 35 1 A axis Ref Sw DRO 12 Y

Strona 50

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-4Type Function FCode IsOEM OEMCode 1 A Machine Coord DRO 12 Yes 86 1 B Machine Coord DRO

Strona 51 - 6.1 Keyboard shortcut codes

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-5Type Function FCode IsOEM OEMCode 4 Zero Y 9 No 4 Zero Z 10 No 4 Zero A 11 No 4 Zero

Strona 52

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-6Type Function FCode IsOEM OEMCode 4 Software limits 32 Yes 119 4 Touch button for Tool l

Strona 53 - Reference Tables

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-7Type Function FCode IsOEM OEMCode 4 Jog increment cycle 32 Yes 171 4 Clear error label 3

Strona 54

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-8Type Function FCode IsOEM OEMCode 4 Flood ON 32 Yes 224 4 Flood OFF 32 Yes 225 4 Mist O

Strona 55

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-9Type Function FCode IsOEM OEMCode 4 Set Jog mode CONT 32 Yes 276 4 Code for OEMTriggers r

Strona 56

Contents Mach2 Customisation Guide Rev 6.11-A6 iv7.2.5 Manipulate selected screen...

Strona 57

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-10Type Function FCode IsOEM OEMCode 6 Enable 2 LED 47 No 6 Enable 3 LED 48 No 6 Enable

Strona 58

Reference Tables Rev 6.11-A6 Mach2 Customisation Guide 6-11Type Function FCode IsOEM OEMCode 6 CV Mode ON LED 56 Yes 54 6 M30 Repeats Enabled LED

Strona 59

Reference Tables Mach2 Customisation Guide Rev 6.11-A6 6-126.3 Signal codes SigName SigInput SigCode XLimitPlus Yes 0 XLimitMinus Yes 1

Strona 60

Screen layout file format Rev 6.11-A6 Mach2 Customisation Guide 7-17. Appendix 2 - Screen Layout files (.SET & .SSET) 7.1 Roles of Screen Designe

Strona 61

Screen layout file format Mach2 Customisation Guide Rev 6.11-A6 7-2The .ZIP also includes a sample layout (TweakSamp.set) that contains 1024 resolut

Strona 62 - 6.3 Signal codes

Screen layout file format Rev 6.11-A6 Mach2 Customisation Guide 7-37.2.4 Manipulate all screens in layout 7.2.4.1 Open .SET This prompts for a Lay

Strona 63 - 7.2 Using Mach2ScreenTweak

Screen layout file format Mach2 Customisation Guide Rev 6.11-A6 7-4button(s) that display them (typically on the Persistent screen) and as a last re

Strona 64

Screen layout file format Rev 6.11-A6 Mach2 Customisation Guide 7-5they are not appended with all the other controls. This "disappearance"

Strona 65 - 7.2.4.5 Edit Undo

Screen layout file format Mach2 Customisation Guide Rev 6.11-A6 7-67.2.7.2 Re-order DROs In Mach2 the arrow keys can be used to cycle through a grou

Strona 66 - 7.2.5.3 Update Buttons

Screen layout file format Rev 6.11-A6 Mach2 Customisation Guide 7-7the file with the least significant byte first. The structure of ControlRec and Co

Strona 67 - 7.2.7.1 Re-scale controls

Preface Rev 6.11-A6 Mach2 Customisation Guide 1-11. Preface Any machine tool is potentially dangerous. Computer controlled machines are potentially m

Strona 68 - 7.3 Layout file format

Screen layout file format Mach2 Customisation Guide Rev 6.11-A6 7-8 7 Label 8 Bitmap Button 9 Manual Data Entry (MDI) 10 G-code window 11 Toolpa

Strona 69 - 7.3.2 ControlRec

Screen layout file format Rev 6.11-A6 Mach2 Customisation Guide 7-97.3.2.12 Flash Flag LED will flash if this flag is non-zero 7.3.2.13 RedGreen Flag

Strona 70

Screen layout file format Mach2 Customisation Guide Rev 6.11-A6 7-10

Strona 71 - 7.3.3 ColorsRec

General utility programs Rev 6.11-A6 Mach2 Customisation Guide 8-18. Appendix 3 – General utility programs 8.1 KeyGrabber 8.1.1 Overview Chapter 8

Strona 72

General utility programs Mach2 Customisation Guide Rev 6.11-A6 8-28.1.2 Installation 8.1.2.1 The files The KeyGrabber software is automatically i

Strona 73 - 8.1 KeyGrabber

General utility programs Rev 6.11-A6 Mach2 Customisation Guide 8-3The KeyGrabber window has a tab for each. Additional tabs are displayed when HID de

Strona 74 - 8.1.2 Installation

General utility programs Mach2 Customisation Guide Rev 6.11-A6 8-4to a key on the keyboard then you will be shown the character on the key (e.g. Q)

Strona 75

General utility programs Rev 6.11-A6 Mach2 Customisation Guide 8-5Note: If you have a keyboard emulator which provides hardware key repeat (typematic

Strona 76

General utility programs Mach2 Customisation Guide Rev 6.11-A6 8-68.1.6 Configuring HIDs 8.1.6.1 Preparation for HIDs Human Interface Devices (HI

Strona 77

General utility programs Rev 6.11-A6 Mach2 Customisation Guide 8-7Now press a button on the HID. Its line is selected. By double-clicking or right-cl

Strona 78

Preface Mach2 Customisation Guide Rev 6.11-A6 1-2Windows XP and Windows 2000 are registered trademarks of Microsoft Corporation. If other trademarks

Strona 79 - 8.1.6.5 Misc Settings

General utility programs Mach2 Customisation Guide Rev 6.11-A6 8-8and "low" gain can be chosen dynamically for all axes using a HID key. W

Strona 80 - 8.1.7 Axes as joysticks

General utility programs Rev 6.11-A6 Mach2 Customisation Guide 8-9which specifies the Mach2 profile to use. Thus for example if the original shortcut

Strona 81

General utility programs Mach2 Customisation Guide Rev 6.11-A6 8-10shared with three input terminals. These effectively cannot be used, because they

Strona 82

Record of configuration used Rev 6.11-A6 Mach2 Customisation Guide 1 9. Revision history Rev 6.11-A6 13 November 2004 Detailed correction of typos a

Strona 83 - 9. Revision history

Mach2 Customisation Guide Rev 6.11-A6 2 10. Index Hint: Where there is a choice, most index entries are made using the name of a thing (e.g. Axis dr

Strona 84 - 10. Index

Rev 6.11-A6 Mach2 Customisation Guide 3 Greyed out text - meaning...1-1 H HID as source of keycodes...

Strona 85

Mach2 Customisation Guide Rev 6.11-A6 4 Screen Designer Controls...See Controls - Screen Designer ScreenTweak Additional layout...

Strona 86

Communication Routes Rev 6.11-A6 Mach2 Customisation Guide 2-12. Communication routes In this chapter we will look how the hardware of the machine to

Komentarze do niniejszej Instrukcji

Brak uwag