X-card Installation Manual (X641, X661, X662)

Add to my manuals
66 Pages

advertisement

X-card Installation Manual (X641, X661, X662) | Manualzz

X-card Installation Manual (X641, X661, X662)

Copyright © 2010 Conqueror Design and Engineering Ltd.

X-card Installation Manual (X641, X661, X662)

Copyright © 2010 Conqueror Design and Engineering Ltd.

All rights reserved.

Any dispute about the use of this software and/or hardware or of these terms and conditions shall be resolved or arbitrated under English Law.

Manuals and accompanying documentation may not be copied or printed for the purposes of training, advertising, promotion or any other use without the permission of Conqueror Design and Engineering Limited.

Permission to copy and print manuals and documentation for personal use is granted to the owner/user of the software supplied.

All trademarks are acknowledged to be the property of their respective owners.

This manual produced on 21/03/2010.

Warranty

This software and/or hardware and accompanying documentation are provided 'as-is' and are not warranted to be fit for any specific purpose or usage.

The use of this software and/or hardware is undertaken at your own risk and Conqueror Design and Engineering

Limited will not be responsible for any loss of data, time or income resulting from the use of this software and/or hardware.

Table of Contents

Part 1 Disclaimer of liability and limitation of warranty

Part 2 Introduction to the X-cards

Contents I

1

2

Part 3 Optional accessories

Part 4 Operation without a computer

Copyright © 2010 Conqueror Design and Engineering Ltd.

26

37

I

II X-card Installation Manual (X641, X661, X662)

Part 5 Direct control via the RS232

Part 6 Customization

Part 7 Appendices

Index

48

49

51

62

Copyright © 2010 Conqueror Design and Engineering Ltd.

1

Disclaimer of liability and limitation of warranty 1

Disclaimer of liability and limitation of warranty

Where the X-card is supplied as a component and not as part of a complete control system it is assumed that the purchaser has sufficient electrical and electronic knowledge to handle the component competently.

It is further assumed that the purchaser has sufficient knowledge of safe working practices and the relevant Health & Safety regulations which apply to working with electrical and electronic systems to work safely with the component.

Conqueror Design and Engineering Limited will not accept any liability for any damage to systems or personnel that may result from the incorrect installation or usage of the hardware supplied. Nor will Conqueror Design and Engineering Limited replace or repair any supplied equipment that has been damaged as a result of such incorrect misuse or installation.

Copyright © 2010 Conqueror Design and Engineering Ltd.

2

2 X-card Installation Manual (X641, X661, X662)

Introduction to the X-cards

The X-cards have been designed to control CNC lathes, milling machines, PCB drills, routers, etc. In fact any machine which has 1, 2, 3, 4, 5 or even 6 stepper motor driven axes (or servo driven if pseudo-stepper cards are used). The stepper motors can also, optionally, be controlled in a closed-loop mode with the addition of standard quadrature-encoders in either strip or rotary form.

The card also provides for on/off and speed control of an AC or DC spindle motor and common auxiliary equipment such as coolant pumps.

A machine fitted with an X-card can be operated in full stand-alone mode without requiring a host computer. A standard VGA monitor is used as a display and a PC PS2 keyboard can be used for input and programming.

A low-cost 2-channel encoder can be connected to the quadrature-encoder connector QH to provide a hand-wheel for positioning the axes. The manual/stand-alone mode of the card is

'hand-wheel' ready.

The card is supplied with EaziCNC editing and programming software for Microsoft Windows.

Please refer to the separate EaziCNC manual for details on operating the EaziCNC software.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 3

X661 card (2 power relays fitted)

Copyright © 2010 Conqueror Design and Engineering Ltd.

4 X-card Installation Manual (X641, X661, X662)

X662 card (2 power relays fitted)

Copyright © 2010 Conqueror Design and Engineering Ltd.

2.1

Mounting details

Introduction to the X-cards 5

Copyright © 2010 Conqueror Design and Engineering Ltd.

6 X-card Installation Manual (X641, X661, X662)

Copyright © 2010 Conqueror Design and Engineering Ltd.

2.2

Components of the card - X641

Introduction to the X-cards 7

Copyright © 2010 Conqueror Design and Engineering Ltd.

8 X-card Installation Manual (X641, X661, X662)

2.3

Components of the card - X661

The X661 is similar in layout to the X641. The differences are...

There are 2 power relays

The relay plug has been changed to a 7-pin inline connector so that it cannot be confused with the 10-way connector for the stepper motor drives

The motor speed (MOTSP) and fan connectors (FAN1) have been moved

There is no separate plug for the coolant relay driver and the extra/auxiliary motor relay driver is on the relay plug

There are 2 stop connectors (STP1 & STP2) - both need to be closed/shorted for the spindle and coolant relays to be enabled

The voltage regulator layout is different

Copyright © 2010 Conqueror Design and Engineering Ltd.

2.4

Components of the card - X662

Introduction to the X-cards 9

The X662 has similar functionality to the X641 and X661. The differences are...

There are 2 power relays

The relay plug has been changed to a 8-pin inline connector so that it cannot be confused with the 10-way connector for the stepper motor drives

There are LED indicators (optional) for the MOTOR, COOLANT and auxiliary relays

The motor speed (MOTSP) and fan connectors (FAN1) have been moved

There is no separate plug for the coolant relay driver and the extra/auxiliary motor relay driver is on the relay plug

There are 2 stop connectors (STP1 & STP2) - both need to be closed/shorted for the spindle and coolant relays to be enabled

The voltage regulator layout is different

The X662 has different mounting holes than the X641 and X661.

The X662 does not require a conversion cable for the RS232 - there is a standard 9-pin serial port onboard

The X662 is designed to be mounted through a panel so the RS232, keyboard and VGA connectors are all at one end of the card

Copyright © 2010 Conqueror Design and Engineering Ltd.

10 X-card Installation Manual (X641, X661, X662)

2.5

RS232 serial interface

X641 / X661 Pin

1

2

3

4

5

Signal

Receive Data (RCD)

Transmit Data (TXD)

Ground

Factory-test - do not connect

+5V

Pin on a 9-pin D

(X662)

2

3

5

6

9

The X641 and X661 cards are supplied with a serial cable adaptor configured as a standard PC

AT 9-pin port. A standard PC-AT to PC-AT serial cable (a cross-over cable) can be used with this adaptor. The X662 has a standard 9-pin D connector.

The default protocols are 115200 baud, 8 data bits, no parity and 1 stop bit (older cards may operate at either 19200 or 38400 baud until the firmware is updated).

The board will use XON/XOFF flow controls by default.

If you are making your own cable you should wire it as follows (if you use shielded cable connect the shield to the plug casing at the PC end only!)...

PC 9-pin DB-F

2

3

5

X641 5-pin plug

2

1

3

X641-serial-cable

3

2

5

A +5V power connection is provided on pin 5 of the serial connector (and on pin 9 of the supplied 5-pin to 9-pin D cable adaptor). This will not interfere with normal operation but can be used to power wireless serial-to-BlueTooth converters such as the Roalan BT/232 ( http://www.

roalan.co.uk

).

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 11

Roalan BT/232 serial-to-BlueTooth converter

Copyright © 2010 Conqueror Design and Engineering Ltd.

12 X-card Installation Manual (X641, X661, X662)

2.6

Connector for stepper motor drives

Pin

1

2

3

4

5

6

7

8

9

10

Function

VCC (+5-volts).

Ground (0-volts).

STPX. Clock/Step-pulse for X motor.

STPY. Clock/Step-pulse for Y motor.

STPZ. Clock/Step-pulse for Z motor.

STPE. Clock/Step-pulse for E/U motor.

DIR. Motor step direction. Shared by all drives.

ENABLE. Used to idle the stepper motor drives when not in use.

STPV. Clock/Step-pulse for V motor.

STPW. Clock/Step-pulse for W motor.

Connector MOTORS on the X-card card is used to attach the separate stepper motor drive cards.

If the stepper motor drive cards STEP1, STEP2, STEPHP1 or SERVO1 are used then the connections to the cards can be made via a straight ribbon cable "bus" and the cards can be configured to identify as X, Y, Z, E/U, V or W. If other drive cards are used then it will probably be necessary to use a terminal block or Y-cables to connect the shared signals to the different cards.

The OPTOCARD

and OPTOCARD2

are available for connecting 3rd party stepper motor cards. The

X641SC

stepper converter card is also available if separate direction signals are required for 3rd party stepper motor cards.

The timing of the motor control signals from the X-card card is...

Copyright © 2010 Conqueror Design and Engineering Ltd.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 13

14 X-card Installation Manual (X641, X661, X662)

2.7

Connectors for jog-buttons, optical encoders and the safety-circuit

The connectors for the jog-buttons, limit-switches, optical encoders and the safety circuit are located along the top edge of the board...

In each case the square pad located inside each connector indicates pin1 (it is at the right of the connector in each case).

X+, X-, Y+, Y-, Z+ and Z- Axis Jog-button, BTN1 connectors

Pin Function

1

2

Button signal. Short to pin 2 to activate button (i.e., connect the switch across the 2 pins)

Ground

Pin

1

2

Pin

1

2

3

4

STP - Safety circuit connector

Function

Safety circuit +.

Safety circuit -

QH and QW feedback/encoder connectors

Function

+5V

Quadrature A signal

Quadrature B signal

Ground (0-volts).

If the jog-buttons are to be connected at a distance from the control card or electrical interference is an issue then the

OPTOCARD2 can be used.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 15

2.8

AUX connector

The AUX connector is reserved for future expansion and special functions.

5

6

3

4

Pin

1

2

7

8

VCC/+5V

GND/0V

AU3 (auxiliary output)

F15 (input)

AU4 (auxiliary output)

F16 (input)

AU5 (auxiliary output)

GND/0V

Function

Copyright © 2010 Conqueror Design and Engineering Ltd.

16 X-card Installation Manual (X641, X661, X662)

2.9

Relay driver connectors and fan

The relay connectors and spindle motor connector are located along the right edge of the X641.

For REM, REC and FAN1 pin 1 is the square pin in the connector (In p ractice the p olarity of

the connections does not matter unless solid-state relays are used).

Function Pin

1

2

+ relay drive voltage.

- relay drive voltage.

The onboard relay drives can drive relays requiring up to 500 mA but the combined current for all relays & fans should not exceed 1,250 mA.

Relay

REM

Function

To control the spindle motor run/stop.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 17

REC

FAN

To control the coolant pump if fitted.

Always on... can drive cooling fans, work-lights, etc.

Any relays connected to the drivers should be fitted with suitable snubbers to protect the loads that they are driving.

The RELS plug pin-out is...

Pin

1

2

+12

Spindle motor on off relay -

Function

5

6

3

4

+12

RE1 -

+12

RE2 -

9

10

7

8

+12

RE3 -

+12

RE4 -

Copyright © 2010 Conqueror Design and Engineering Ltd.

18 X-card Installation Manual (X641, X661, X662)

2.9.1

Relay driver connectors - X661

The relay connector on the X661 has been changed to a 7-pin inline connector. The pin-out is...

3

4

5

Pin

1

2

6

7

+12

Spindle motor on off relay (M)

Relay 1

Relay 2

Relay 3

Relay 4

0V/Gnd

Function

The pin-out is also marked on the silk-screen of the board.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 19

To control a 12-volt relay one side of the coil needs to be connected to the +12 (pin 1) and the other side of the coil to the relevant relay pin - 'M'/pin2 for the spindle motor, '1'/pin3 for auxiliary relay #1 etc. The 0V/GND supply is provided so that additional circuits - such as an electronic interlock for spindle reversing using the motor output and auxiliary relay #4 - can be powered.

The connections for the 10A/250V relays for spindle and coolant control are also marked on the

PCB using the standard conventions of...

Pin

1

2

3

Function

NO - normally open - connected to common when the relay is off

COM - common

NC - normally closed - connected to common when the relay is on

If the power relays are not fitted then they can be fitted by the user at a later date - they are

Finder series 36.11.9.012.0000

Copyright © 2010 Conqueror Design and Engineering Ltd.

20 X-card Installation Manual (X641, X661, X662)

2.9.2

Relay driver connectors - X662

The relay connector on the X661 has been changed to an 8-pin inline connector. The pin-out is...

6

7

4

5

8

Pin

1

2

3

+12

Spindle motor on off relay (M)

Relay 1

Relay 2

Relay 3

Relay 4

Coolant relay (C)

0V/Gnd

Function

The pin-out is also marked on the silk-screen of the board.

To control a 12-volt relay one side of the coil needs to be connected to the +12 (pin 1) and the other side of the coil to the relevant relay pin - 'M'/pin2 for the spindle motor, '1'/pin3 for auxiliary relay #1 etc. The 0V/GND supply is provided so that additional circuits - such as an electronic interlock for spindle reversing using the motor output and auxiliary relay #4 - can be powered.

There is a jumper (RC/R4) next to the relay connector which allows the 2nd onboard relay to be configured as coolant (C) or auxiliary relay #4. The 1st onboard relay is always dedicated to spindle on/off.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 21

2.10

Spindle speed control

The spindle speed connector MOTSP pin-out is...

MOTSP connector (pin 1 is the square pin)

Pin Function

1 Positive supply for analogue output

4

5

2

3

Analogue output

Negative supply for analogue output

Positive terminal of motor on/off optical switch

Negative terminal of motor on/off optical switch

The optical switch can sink 25mA of current - it should not be used to switch higher current loads.

To switch higher current loads use the dedicated relay driver (see Relay driver connectors and fan ).

Copyright © 2010 Conqueror Design and Engineering Ltd.

22 X-card Installation Manual (X641, X661, X662)

2.11

Encoder and limit-switch connector J1

The card has connectors for 7 quadrature-encoders... for the axes X, Y, Z, E/U, V, W and for the electronic hand-wheel.

The electronic hand-wheel (QH) and W encoder (QW) are discrete 4-pin connectors on the card (see

Connectors for Jog-buttons, Optical Encoders and the Safety Circuit)

. The other encoders, the limit-switches and FB1 & FB2 (the threading sensors) are connected to J1.

The pin-out for J1 is (a pin-out for a 25-pin D connector connected to the J1 ribbon cable is also given) ...

12

13

14

15

16

8

9

10

11

6

7

4

5

Pin

1

2

3

19

7

20

8

21

17

5

18

6

DB25 pin Function

1 +5V

14

2

X encoder channel A

X encoder channel B

15

3

16

4

0V/GND

X limit +

X limit -

FB1 - single slot encoder for threading

U encoder channel A

U encoder channel B

+5V

Y encoder channel A

Y encoder channel B

0V/GND

Y limit +

Y limit -

FB2 - multi-slot encoder for threading

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 23

23

24

25

26

17

18

19

20

21

22

9

22

10

23

11

24

12

25

13

NC

V encoder channel A

V encoder channel B

+5V

Z encoder channel A

Z encoder channel B

0V/GND

Z limit +

Z limit -

+12V

0V/GND

The X641BB break-out board can be used to easily separate and connect the signals.

Copyright © 2010 Conqueror Design and Engineering Ltd.

24 X-card Installation Manual (X641, X661, X662)

2.11.1 Quadrature-encoders

Quadrature-encoders output 2 pulse trains, A and B, which are out of phase. The 'quadrature' in the name is derived from the fact that there are 4 states for the 2 signals to be in... A-off-with-B off, A-on-with-B-off, A-on-with-B-on and A-off-with-B-on. The sequence of these states determines the direction of rotation of the encoder...

For feedback from the motors optical encoders are usually used...

...because they place no load on the drive system and can cope with the high speeds that motors

Copyright © 2010 Conqueror Design and Engineering Ltd.

Introduction to the X-cards 25

and shafts may turn at. The encoder pictured is a rotary encoder with a slotted disk... the disk determines the resolution of the encoder... in this case 400 counts/rev. Optical encoders also come in strip or linear forms and there are other types of non-contact encoders that can be used

(such as capacitance strips or magnetic proximity switches).

For the hand wheel a mechanical (cheaper!) encoder/switch can be used...

...these operate using a wafer switch but provide the same quadrature outputs as an optical encoder... they are just not suitable for high-speed or long-life applications. Another advantage of these mechanical encoders is that they often have detents (a cogging feel as they are rotated).

The encoder shown is a Bourne ECW1J-B24-AC0024 it provides 96 counts per revolution and is the encoder we use for the hand wheel on the CNC1, CNC2 and CNC3 boxed controllers.

Copyright © 2010 Conqueror Design and Engineering Ltd.

26 X-card Installation Manual (X641, X661, X662)

3 Optional accessories

3.1

Opto-isolator card, OPTOCARD

The opto-isolator card, OPTOCARD(R1), allows the external stepper drive card signals to be connected to drive cards which do not operate at 5-volt TTL signal levels. The card also splits the direction signal into 4 separate outputs to make it easier to connect drive cards which need individual directions signals. The card is suitable for interfacing to logic levels of 5-50 volts.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Optional accessories 27

The J1 connector pin out is as follows...

Pin

1 VCC (+5-volts).

2

3

4

Ground (0-volts).

Function

STPX. Clock/Step-pulse for X motor.

STPY. Clock/Step-pulse for Y motor.

5

6

7

STPZ. Clock/Step-pulse for Z motor.

STPE. Clock/Step-pulse for E/U motor.

DIR. Motor step direction. Shared by all drives.

8

9

No connection.

No connection.

10 No connection.

The J2 connector can be used to invert the signals going to the external cards. The standard signals are active-low. Connecting a shorting link across J2 will make the signals active-high. The board is supplied with a shorting link on connector J2.

The J3, J4, J5 and J6 connectors are for connecting the external drive cards for the X, Y, Z and

E/U motors respectively. The pin out of the connectors is (pin 1 is indicated by the square pad)...

Pin Function

1 Step clock -

2

3

Step clock +

Direction +

4 Direction -

...each opto-isolator can shunt 25 mA. The opto-isolated outputs are only suitable for driving logic inputs. To connect to a standard logic interface the - (negative) terminal of the isolator will be connected to the ground (0v) rail of the logic system and the + (positive) terminal of the isolator will be connected to the logic signal. When the isolator is active current will flow from the

+ (positive) terminal to the - (negative) terminal.

Copyright © 2010 Conqueror Design and Engineering Ltd.

28 X-card Installation Manual (X641, X661, X662)

3.2

Opto-isolator/relay card, OPTOCARD2

Copyright © 2010 Conqueror Design and Engineering Ltd.

Optional accessories 29

The opto-isolator card, OPTOCARD2, allows the external stepper drive card signals to be connected to drive cards which do not operate at 5-volt TTL signal levels. The card also splits the direction signal into 4 separate outputs to make it easier to connect drive cards which need individual directions signals. The card is suitable for interfacing to logic levels of 5-50 volts.

The OPTOCARD2 also includes power-relays for interfacing high-current loads to the X-card and optically-isolated jog-panel and limit-switch connectors which can operate at 12-volts.

The STEPBUS connector pin out is as follows...

Pin

1 VCC (+5-volts).

2

3

4

Ground (0-volts).

Function

STPX. Clock/Step-pulse for X motor.

STPY. Clock/Step-pulse for Y motor.

8

9

10

5

6

7

STPZ. Clock/Step-pulse for Z motor.

STPE. Clock/Step-pulse for E/U motor.

DIR. Motor step direction. Shared by all drives.

No connection.

No connection.

No connection.

The XSTP, YSTP, ZSTP and USTP connectors are for connecting the external drive cards for the X, Y, Z and E/U motors respectively. The pin out of the connectors is (pin 1 is indicated by the square pad)...

Pin Function

1 Step clock -

2

3

Step clock +

Direction +

4 Direction -

...each opto-isolator can shunt 25 mA. The opto-isolated outputs are only suitable for driving logic inputs or other opto-isolators. To connect to a standard logic interface the - (negative) terminal of the isolator will be connected to the ground (0v) rail of the logic system and the +

(positive) terminal of the isolator will be connected to the logic signal. When the isolator is active current will flow from the + (positive) terminal to the - (negative) terminal. The XD/S, YD/S,

ZD/S and UD/S jumpers select whether the direction outputs for each connector are from the shared direction signal or separate direction signals.

The X+X-, Y+Y-, Z+Z-, etc. connect to the input plugs on the X641 card. The BX+X-,

BY+Y-, etc. are the 12-volt buffered connections for the buttons and switches on the machine.

Copyright © 2010 Conqueror Design and Engineering Ltd.

30 X-card Installation Manual (X641, X661, X662)

3.3

X641BB break-out board

There is an optional X641BB break-out board.

The break-out board can be used with the X641 card using a 26-pin ribbon cable or with CNC control boxes using a 25-pin extension cable.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Optional accessories 31

X641BB connector pin-outs

In all cases the marked pin is pin #1.

XENC, YENC, ZENC and UENC connector

Pin Signal

1

2

+5 volts

A signal

3

4

B signal

GND

XLIMS, YLIMS and ZLIMS connector

Pin Signal

1

2

+ Limit switch

GND

3 - Limit switch

4 GND

(To connect a limit switch connect it across 1 & 2 or 3 & 4)

Pin

1

2

3

FB1 and FB2 connector

Signal

+5 volts

Encoder signal

GND

Copyright © 2010 Conqueror Design and Engineering Ltd.

32 X-card Installation Manual (X641, X661, X662)

3.4

X641SC stepper-motor card interface board

The X641SC card is useful for interfacing to 3rd-party stepper motor drive cards.

The X641SC separates the drive signals to discrete connectors instead of the ribbon cable bus used by our stepper motor drive cards. Each output pin can drive a 25ma load and there are also opto-isolated outputs for converting the signals for non-logic voltage levels or across power busses.

Each X641SC card can address 4 stepper motor drive cards and each card address can be set as X, Y, Z, U, V or W. The direction signal is also buffered for each motor output for use with

3rd-party cards that may not support the shared direction signal that our cards use.

Multiple X641SC cards can be connected and a system mixing our stepper motor drive cards and 3rd-party drive cards is possible.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Optional accessories 33

For easy reference the logic output connector and the opto-isolated connector are in-line with the jumper block which selects the axes. The logic connectors are 5-pins while the opto-isolated connectors are 4-pins. The enable signal is not present on the opto-isolated output.

The J1 pin-out is as follows... (this is compatible with M64x and X641 cards)

9

10

7

8

5

6

Pin

1

2

3

4

Function

VCC (+5-volts).

Ground (0-volts).

STPX. Clock/Step-pulse for X motor.

STPY. Clock/Step-pulse for Y motor.

STPZ. Clock/Step-pulse for Z motor.

STPU. Clock/Step-pulse for E/U motor.

DIR. Motor step direction. Shared by all drives.

Enable - shared by all drives

STPV. Clock/Step-pulse for V motor.

STPW. Clock/Step-pulse for W motor.

The M1, M2, M3 and M4 connector pin-outs are...

Function Pin

1

2

VCC (+5-volts).

Clock/Step-pulse

Copyright © 2010 Conqueror Design and Engineering Ltd.

34 X-card Installation Manual (X641, X661, X662)

3

4

5

DIR - direction signal (buffered)

Enable (buffered)

Ground (0-volts).

Each logic level output on the M1, M2, M3 and M4 connectors can sink or source 25 mA.

The M1I, M2I, M3I and M4I connector pin-outs are...

Pin

1

2

3

4

Function

Clock/Step-pulse -ve (emitter)

Clock/Step-pulse +ve (collector)

Direction signal +ve (collector)

Direction signal -ve (emitter)

Each opto-isolator can sink 50 mA at up to 50 volts. Total power for each opto-isolator should not exceed 200 mW.

The jumper blocks J2, J3, J4 and J5 are used to select which clock/step-signal is used for each of the motor outputs M1, M2, M3 and M4 (also the opto-coupled M1I, M2I, M3I and M4I).

Only one jumper should be placed on each block - the X, Y, Z, U, V and W markers on the board indicate the positions for the 1st, 2nd, 3rd, 4th, 5th and 6th axes.

The jumper J6 should only be fitted if the opto-isolated connections are going to be used power dissipation can be reduced if the opto-isolators are not required. Generally if a motor drive card has logic level (5-volt) inputs then the opto-isolators do not need to be used - they only need to be used if the motor drive card requires higher-voltage or is connected to a power rail that does not share a common ground with the control card.

Copyright © 2010 Conqueror Design and Engineering Ltd.

3.5

Encoder & photo-interrupter connections

3.5.1

GP1R11 quadrature-encoder

Optional accessories 35

Sharp GP1R11 Quadrature-encoder and connections

The Sharp GP1R11 quadrature-encoder connections are shown above. There is a small plus mark next to the +5V connection and a small negative next to the GND connection.

Pin

1

2

3

4

+5V

A channel of encoder

B channel of encoder

GND

Function

Copyright © 2010 Conqueror Design and Engineering Ltd.

36 X-card Installation Manual (X641, X661, X662)

3.5.2

GP1A23 photo-interrupter

Sharp GP1A23 photo-interrupter

The Sharp GP1A23LC photo-interrupter connections are shown above. Pin 1 is closest to the lettering/marking on the part.

Pin

1

2

3

Function

+5V

GND

SIGNAL - photo-interrupter output

Copyright © 2010 Conqueror Design and Engineering Ltd.

4 Operation without a computer

Operation without a computer 37

The X-card can operate without a computer.

A VGA monitor, either conventional or flat-panel TFT, can be plugged into the VID connector and a PS2 PC keyboard can be plugged into the KBD connector.

In stand-alone mode you can...

1. Operate the machine using the jog-buttons and hand-wheel

2. Operate the machine in MDI mode

3. Run programmes stored in the card RAM

4. Run programmes from a remote machine (DNC)

5. Edit tool offsets

6. Change parameters and settings

If a PC keyboard is attached the <Page-Up> and <Page-Down> keys can be used to switch modes also the <F1> key will select MDI mode, the <F2> key will select Run mode and the

<F3> key will select the Edit mode. Other function keys are used by the various modes... these will be listed along the bottom of the display.

Copyright © 2010 Conqueror Design and Engineering Ltd.

38 X-card Installation Manual (X641, X661, X662)

4.1

MDI/PC mode

X641/X661/X662 1.006

Pos Dest Status

X 0.000 X 0.000 G00 M00

Y 0.000 Y 0.000 F0250

Z 10.000 Z 10.000 S01000 ‣

U 0.000 U 0.000 T00 C1234

V 0.000 V 0.000 P 0.000

W 0.000 W 0.000 R 0.000

MDI •ABS• MM •XY/M•03FF03• Ready

G0 X0 Y0

Z10

G0 X1.2_

F4 Manual F9 Spindle F10 Coolant

MDI/PC screen

In MDI mode commands can be typed in and executed. You can also select manual mode for moving the machine using the jog-buttons and the hand-wheel.

After power-on and before any movement commands can be executed the power-on error (#3) needs to be cleared using the 'EC' command.

<F4> selects manual mode - the machine can be moved using the jog-button and the handwheel. The axis being controlled by the hand-wheel can be selected by pressing the <X>, <Y>,

<Z>, <U>, <V> or <W> key in manual mode.

<F9> Turns the spindle on or off. The same can be done using the 'M3' and 'M5' commands.

<F10> Turns the coolant on or off. The same can be done using the 'M8' or 'M9' commands.

Datum can be set using the 'G92' command. For instance to set the X datum to 10 enter the command 'G92 X10'. Several datum can be set using one 'G92' command.

MDI commands are limited to 62 characters.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Operation without a computer 39

4.2

Run mode

X641/X661/X662 1.006

Pos Dest Status

X 0.000 X 0.000 G00 M00

Y 0.000 Y 0.000 F0250

Z 10.000 Z 10.000 S01000 ‣

U 0.000 U 0.000 T00 C1234

V 0.000 V 0.000 P 0.000

W 0.000 W 0.000 R 0.000

RUN •ABS• MM •XY/M•03FF03• Ready

G0 X0 Y0

Z10

G0 X1.2_

F4 Step F5 Run F6 Reset F8 File

Run screen

Run mode allows programmes from the memory to be executed.

<F4> will execute the current line

<F5> will execute the entire programme

<F6> resets the programme to the start

If you want to run part of a programme you can scroll to the starting point in the editor and then switch to the Run mode.

Pressing <Esc> will stop the programme execution.

NB. If a p rogramme is stored with the name '9999' it will be loaded and automatically ex ecuted at startup . On startup the RDY LED will f lash 5 times in 5 seconds to indicate that a p rogramme is being auto-started and then the p rogramme will run. The p rogramme can be stop p ed by op erating the saf ety bef ore the p ower is turned on or by p ressing the

<Esc> key.

Copyright © 2010 Conqueror Design and Engineering Ltd.

40 X-card Installation Manual (X641, X661, X662)

4.3

Editor mode

X641/X661/X662 1.006

Editor [0053/6144]

M3 S1000*

G0 X10 Y10*

Z1*

G1 Z-10. F150*

G1 Z1*

G28 Z0*

F8 File F12 Clear

Editor screen

It is not possible to use the built-in editor without a PC keyboard plugged in.

The title bar shows the number of characters in the current programme and the maximum characters allowed.

<F8> will access the file menu for loading and saving programmes

<F12> will clear the programme memory

NB. Only f iles which have been saved will be kep t af ter a p ower-of f . The p rogramme memory is always emp ty on p ower on unless the 'auto run' f eature is being used.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Operation without a computer 41

4.4

Tool Offsets

X641/X661 1.002

Tool Offsets

T01 X 0.000 Z 0.000 D 0.000

T02 X 0.000 Z 0.000 D 0.000

T03 X 0.000 Z 0.000 D 0.000

T04 X 0.000 Z 0.000 D 0.000

T05 X 0.000 Z 0.000 D 0.000

T06 X 0.000 Z 0.000 D 0.000

T07 X 0.000 Z 0.000 D 0.000

T08 X 0.000 Z 0.000 D 0.000

T09 X 0.000 Z 0.000 D 0.000

T10 X 0.000 Z 0.000 D 0.000

T11 X 0.000 Z 0.000 D 0.000

T12 X 0.000 Z 0.000 D 0.000

F4 Save->Prog

Tool Offset screen

The tool offsets are used when the tool-change code M6 is used.

The values are altered from the MDI screen.

<F4> will fill the programme memory with the tool table. This programme can be saved and the tool offsets reset later by running it.

Copyright © 2010 Conqueror Design and Engineering Ltd.

42 X-card Installation Manual (X641, X661, X662)

4.5

Parameter mode

X641/X661/X662 1.006

Parameters (0-47)

00=0025612=0010024=0128236=12500

01=0024013=0010025=0207337=12500

02=0000014=0010026=0263238=12500

03=0200015=0010027=0357139=12500

04=0040016=0016028=1250040=00000

05=0060017=0006029=1250041=00000

06=0000018=0000230=1250042=00000

07=0000019=0010031=1250043=00000

08=0016020=0000032=1250044=00000

09=0010021=0103233=1250045=00000

10=0016022=3276834=1250046=00160

11=0010023=0820035=1250047=00100

F4 Save->Prog

Parameter screen #1

X641/X661/X662 1.006

Parameters (48-95)

48=0010060=0004872=0000084=00000

49=0010061=0008073=0000085=00000

50=0000062=0000074=0000086=00000

51=0000063=0000075=0000087=00000

52=0000064=0000076=0000088=00000

53=0000065=0000077=0000089=00000

54=0000066=0000078=0000090=00000

55=0000067=0000079=0000091=00000

56=0000068=0000080=0000092=00000

57=0000069=0000081=0000093=00000

58=0000070=0000082=0000094=00000

59=0000071=0000083=0000095=00000

F4 Save->Prog

Parameter screen #2

For a list of the parameters see the

appendices .

We recommend using EaziCNC 2 to set or change the parameters.

<F4> will fill the programme memory with the parameters. This programme can be saved and the parameters restored later by running it.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Operation without a computer 43

4.6

Encoder mode

X641/X661/X662 1.006

Encoder Step-pos Real-enc

EX 0 SX 0 NX 0

EY 0 SY 0 NY 0

EZ 0 SZ 10000 NZ 0

EU 0 SU 0 NU 0

EV 0 SV 0 NV 0

EW 0 SW 0 NW 0

MDI/Encoders FFFFFFFF-00

G0 X0 Y0

Z10

G0 X1.2_

Encoder screen

The encoder mode allows MDI commands to be executed while displaying the encoder counts and inputs.

The left column ('Encoder') shows the scales encoder values - these are the values after any scaling and are compared to the step-position to determine if any correction is needed when the axis is operating in closed-loop.

The middle column ('Step-pos') shows the current step-count for each axis.

The right-hand column shows the real-encoder count - this is the count of the encoder pulses before any scaling is applied.

In the middle on the right is shown the current input status - there are 32-inputs (see the table below) and the 8 hex digits show the state of all the inputs. The current status-code is shown after the inputs.

Input bit #

8

9

10

11

5

6

7

2

3

4

0

1

Input Name

X+ jog button

X- jog button

Y+ jog button

Y- jog button

Z+ jog button

Z- jog button

BTN1

Safety circuit

FB1 (spindle encoder)

FB2 (spindle encoder)

X+ limit

X- limit

P parameter for testing with

M92 or M93

0 (tests for any button active)

0 (tests for any button active)

0 (tests for any button active)

0 (tests for any button active)

0 (tests for any button active)

0 (tests for any button active) n/a n/a

3

4

1

2

Copyright © 2010 Conqueror Design and Engineering Ltd.

44 X-card Installation Manual (X641, X661, X662)

Input bit #

17

18

19

20

21

22

23

24

12

13

14

15

16

25

26

27

28

29

30

31

Input Name

Y+ limit

Y- limit

Z+ limit

Z- limit

X encoder A channel (F1)

X encoder B channel (F2)

Y encoder A channel (F3)

Y encoder B channel (F4)

Z encoder A channel (F5)

Z encoder B channel (F6)

U encoder A channel (F7)

U encoder B channel (F8)

V encoder A channel (F9)

V encoder B channel (F10)

W encoder A channel (F11)

W encoder B channel (F12)

Hand-wheel A channel (F13)

Hand-wheel B channel (F14)

F15 (on AUX connector)

F16 (on AUX connector)

P parameter for testing with

M92 or M93

10

11

12

13

14

15

16

17

5

6

7

8

9

18

19

20

21

22

23

24

Copyright © 2010 Conqueror Design and Engineering Ltd.

Operation without a computer 45

4.7

File Menu

X641/X661/X662 1.006

Files [Size 00013 Free 31744]

1 2

_

F4 Server Esc Exit

File screen when loading

X641/X661/X662 1.006

Files [Size 00013 Free 31744]

1 2

_

F4 Server F6 Delete Esc Exit

File screen when saving

The file menu displays the files in local memory. The files are sorted into numerical order. File names can range from 0-9999999. Names can be zero-padded.

The standard X-card has 32,256 bytes of storage available and space for 32 files.

You can use the left and right cursor keys to move between the files. The size of the current file will be shown in the header. The amount of free storage is also shown.

The file manager shows slightly different options when loading or saving. When saving the option to delete a file is shown.

Loading

To load a file move the selector to the correct file and then press <Enter>.

Saving

To save to a file type in the number to save under or scroll to the file to be overwritten. If

Copyright © 2010 Conqueror Design and Engineering Ltd.

46 X-card Installation Manual (X641, X661, X662)

number is typed and a file with the same number already exists it will be replaced.

<F4> Connects to a PC server

<F6> Deletes the selected file

<Esc> Exits the file menu without loading or saving a file

NB. If f or any reason the f ile storage becomes corrup ted it can be cleared and ref ormatted using the MDI command 'P9999 R9999'.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Operation without a computer 47

4.8

Monitor sync control

The sync signal can be controlled to allow use with a variety of monitors.

The standard sync timing (100) should be suitable for most monitors.

In the MDI mode...

<Alt-F10> will set the sync timing to 75

<Alt-F11> will set the timing to 100

<Alt-F12> will increase the timing by 5 units across a range from 75-125

Other values can be programmed using 'P59 Rxx'.

Copyright © 2010 Conqueror Design and Engineering Ltd.

5

48 X-card Installation Manual (X641, X661, X662)

Direct control via the RS232

It is possible to control the X-card directly from the serial port without using the EaziCNC or

EaziCNCLite programmes.

The X-card accepts a subset of the full set of G & M codes (for instance no canned cycles) that

EaziCNC supports, coordinates need to be in millimetres and only absolute positioning is supported. Also you need to deal with the handshaking from the machine to make sure that commands do not get overwritten before they can be executed.

To test this from, for instance, HyperTerminal...

1. Open a connection to the X-card at 115200 baud, 8 data bits, no-parity and 1 stop bit with Xon/Xoff handshaking.

2. Type <CTRL+E>... this will turn on the echo so that you can see the keys typed and the responses from the X-card. You should also turn on the option to add line-feeds to carriage returns (N.B. <CTRL+N> turns the echo of f ... the controller will not

send anything back via the RS232 that is not requested... this keep s the interf ace 'clean' f or very rap id communication f rom a p rogramme like

EaziCNC).

3. If you hit <Enter> you should see the '>' prompt.

4. You can now enter commands such as 'ST' to show the status, 'M3' to turn on the spindle and 'G0 X10' to move (before you do any moves you may need to send an

'EC' to clear the error-state... by default the controller will power-up with error #3 power-on).

5. To see a rolling display of the coordinate changes as a movement command is executed you need to attach a VGA monitor.

6. The controller will send status information back to a control programme if certain characters are sent... for instance sending a '@' will return X, Y, Z and E positions, the key panel code and a status byte as a packed hexadecimal string. There are other codes which will return information from the box either as text, packed hexadecimal or binary-blobs.

In the raw 'terminal' mode any axis commands (such as 'X10' or 'Y1.26') will be interpreted as millimetres using the parameters to convert them into an accurate number of steps... the coordinates shown by the status commands are also shown in millimetres. Any of the commands that return data in a packed format return the raw step values.

There are a couple of ways to go depending on how sophisticated your control of the machine needs to be... you can either write your own interface to the controller which sends commands out of the serial port direct *or* there is a DLL available which contains a 'virtual'-machine that supports all of the commands that EaziCNC does and that can be easily integrated into any programme. The DLL takes care of all the serial communication to the machine and exposes a command function and a query function to the calling programme.

Copyright © 2010 Conqueror Design and Engineering Ltd.

6

Customization 49

Customization

There are a number of ways to customize the operation of the X-series.

1. The parameters can be used to modify the operation

2. A programme can be stored in the internal memory to override the normal operation - at present this is supported for startup (9999) and for the M94 - index tool (9994)

Copyright © 2010 Conqueror Design and Engineering Ltd.

50 X-card Installation Manual (X641, X661, X662)

6.1

Control Option #1

Control option #1 can be enabled using bit 10 of parameter 0.

From firmware version 1.006 R000094 onwards this option allows the operation of the jogbuttons to be reassigned to select the axis which the jog-wheel is controlling... closing the X+ jog-buttons selects the X axis, the X- buttons the Y axis, the Y+ button the Z axis and so on. If more than one jog-button is activated the 1st corresponding axis in the order X, Y, Z, U, V, W will be selected.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Appendices 51

7 Appendices

7.1

G-Codes

G-Code

G00*

G01*

G02*

G03*

G04

G06*

G07*

Parameters

X, Y, Z, E Rapid Move

Description

X, Y, Z, E, F Feed Move

X, Y, Z, E, I, J, K, F, R Arc Clockwise Move

X, Y, Z, E, I, J, K, F, R Arc Counter-Clockwise Move

S Dwell. S=Seconds to delay.

X, Y, Z, E, A, B, C, D, P Spline functions (Cubic curve) (only available when running with the EaziCNC software)

X, Y, Z, E, A, B, C, D,

I, J,K, L, P

-

Spline functions (Bezier curve) (only available when running with the EaziCNC software)

Use XY plane for circular interpolation (Top) G17

G18

G19

G28

G40

G41

G42

G43

G44

-

-

X, Y, Z, E

-

R

R

-

-

Use XZ plane for circular interpolation (Front)

Use YZ plane for circular interpolation (Side)

Home Axis

Tool-nose compensation off (default mode)

Tool-nose compensation Left-of-Line

Tool-nose compensation Right-of-Line

Tool-length compensation (positive)

Tool-length compensation (negative - default mode)

G45

G54

G70

-

X, Y, Z, E

-

Cancel Tool-length compensation.

Set home/reset position.

Imperial coordinates (only available when running with the EaziCNC software)

Metric coordinates (default mode) G71 -

G90

G91

-

-

Absolute coordinates (default mode)

Incremental coordinates (only available when running with the EaziCNC software)

G92 X, Y, Z, E Set datum point.

N.B. The E ax is can also be p rogrammed as U.

N.B. The codes marked with * are modal. Modal codes are active on any subsequent lines that do not have a code given.

Copyright © 2010 Conqueror Design and Engineering Ltd.

52 X-card Installation Manual (X641, X661, X662)

7.1.1

Additional G-codes for lathe operations

G-Code

G33

G80

G81*

G82*

G83*

Parameters

X, Z, P, I

-

X, Z, P

X, Z, P

X, Z, I, K, R, P

Description

Threading(/synchronized) cut. P is pitch, I is end pull-out in X.

Cancel Canned Cycle

Turning cycle

Taper cycle

Arc Clockwise Cycle

G84*

G85*

G86*

X, Z, I, K, R, P

X, Z, P

X, Z, P, I, K, R

Arc Counter-Clockwise Cycle

Facing Cycle

Threading(/synchronized) cut cycle. X is pass offset

(pass depth). P is pitch, I is end pull-out, K is pass offset in Z and R is number of passes.

Feed rates in mm./in. per minute G94 -

G95

G96

-

-

Feed rates in mm./in. per spindle revolution

Constant surface speed.

Feed rate specified in mm. at 20.0 mm. diameter.

Feed rate specified in inches at 1.0 inch diameter.

N.B. The E ax is can also be p rogrammed as U.

N.B. The codes marked with * are modal. Modal codes are active on any subsequent lines that do not have a code given.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Appendices 53

7.1.2

Additional G-codes for milling operations

G-Code

G50

G51

G55

G56

G80

G81*

G82*

G83*

G84*

Parameters

-

X, Y, Z, E

-

X, Y, Z, E

-

Z

Z, K

Z, P

Z

Description

Mirror Off. Cancel any mirrored axis.

Mirror. Mirror selected axis (around coordinate given).

Offset Off. Cancel/Clear temporary origin

Offset. Set temporary origin.

Cancel/Complete Canned Cycle.

Drill, Spot-Drill

Peck Drill

Tapping

Bore

G85* Z, P Pocket cycle.

N.B. The E ax is can also be p rogrammed as U.

N.B. The codes marked with * are modal. Modal codes are active on any subsequent lines that do not have a code given.

Copyright © 2010 Conqueror Design and Engineering Ltd.

54 X-card Installation Manual (X641, X661, X662)

7.2

M-codes

M-Code

M00

M01

M02

M03

M04

M05

M06

M08

M09

M13

M14

M15

M30

M47

M90

M91

M92

M93

M94

M98

M99

P

P

P

P

-

-

-

Parameters

-

-

-

S

S

-

R, T, X, Y, Z

-

-

-

R

-

S

S

Description

Programme Stop

Optional Stop

Programme End (same as M30)

Spindle Start Clockwise

Spindle Start Counter-clockwise

Spindle Stop

Tool Change

Coolant On

Coolant Off

Spindle Start Clockwise + Coolant On

Spindle Start Counter-clockwise + Coolant On

Spindle Stop + Coolant Off

Programme End (same as M02)

Return to Programme Start. R is the repeat count (if given) and P is the label (N) to repeat from.

Relay P On

Relay P Off. A P99 will turn all outputs off.

Wait for input P to be Low

Wait for input P to be High

Index tool-post. Indexes the tool-post (if fitted) forward.

Motor Drives On

Motor Drives Off

Copyright © 2010 Conqueror Design and Engineering Ltd.

Appendices 55

7.3

Command set

Command

Ctrl-B (#2)

Ctrl-E (#5)

Ctrl-N (#14)

<ESC>

@

EC

ES

I

MA

P

SX

Parameters

-

-

-

-

-

-

n<CR>

<CR> n[ Rv]<CR> f<CR>

Description

Query. Used by the EaziCNC software.

Echo On. Echoes characters back to the terminal and enables user friendly responses (data sent to the terminal will have a tag, i.e, "P0:0" instead of just

"0").

Echo Off. Stops characters from being echoed back to the terminal and disables user friendly responses.

Escape. Stops any current moves or commands.

Clears the command buffers. This command does not need to be completed with a carriage return

(CR).

At. Returns the current position and status data in compressed hex format. This command does not need to be completed with a carriage return (CR).

Error Clear. Clears any error state on the machine.

N.B. this clears user-stop s, p ower-up errors, etc.

it will not and cannot clear errors such as 'saf ety activated'.

Error Status. Displays the error code of the machine.

Error codes...

0 - No error

1 - Stopped by user

2 - Stopped - safety activated

3 - Power interrupted

4 - X-limit triggered

5 - Y-limit triggered

6 - Z-limit triggered

7 - E-limit triggered

Info. <n> is the item of information

0 - board ID

1 - firmware version

2 - firmware date

3 - processor type

<blank> - firmware banner

Manual Mode. To exit manual mode the <ESC> command must be sent.

Parameter. Query (or set) a parameter. See control parameters

for a description. P99 will display parameters 0 to 19, P199 will display parameters

20 to 39 and P299 will display parameters 40 to

59.

Set X coordinate to <f>

Copyright © 2010 Conqueror Design and Engineering Ltd.

56 X-card Installation Manual (X641, X661, X662)

SY

SZ

SE

SH

ST

T f<CR> f<CR> f<CR>

<CR>

<CR>

X, Y, Z

Set Y coordinate to <f>

Set Z coordinate to <f>

Set E coordinate to <f>

Show Home. Displays the currently set home/ starting position (set by a G54 command).

Status. Show current status.

Set/display tool offset. If no X, Y or Z is given then the existing offset will be displayed. T99 will list all tool offsets.

Any valid ISO line will also be interpreted and executed on the machine tool. For a list of valid

ISO (G&M-codes) see G-Codes and

M-Codes

.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Appendices 57

7.4

Control parameters

Parameter

0

1

Type

Binary

Binary

Description

Configuration 1 bit 0 - X axis direction bit 1 - Y axis direction bit 2 - Z axis direction bit 3 - U axis direction bit 4 - X axis home direction bit 5 - Y axis home direction bit 6 - Z axis home direction bit 7 - U axis home direction bit 9 - turn off motors when idle bit 10 - reserved bit 11 - reserved bit 12 - reserved bit 13 - Relay 4 is reserved for motor reverse bit 14 - tool carousel on motor U bit 15 - reserved bit 16 - Enable hand-wheel to be used for feed-rate override

Configuration 2 bit 0 - reserved bit 1 - reserved bit 2 - reserved bit 3 - reserved bit 4 - X limits active bit 5 - Y limits active bit 6 - Z limits active bit 7 - U limits active bit 8 - X limit positive is NC (normally closed) bit 9 - X limit negative is NC (normally closed) bit 10 - Y limit positive is NC (normally closed) bit 11 - Y limit negative is NC (normally closed) bit 12 - Z limit positive is NC (normally closed) bit 13 - Z limit negative is NC (normally closed) bit 14 - U limit positive is NC (normally closed) bit 15 - U limit negative is NC (normally closed)

Copyright © 2010 Conqueror Design and Engineering Ltd.

58 X-card Installation Manual (X641, X661, X662)

4

5

6

2

3

Integer

Integer

Integer

Integer

Integer

11

12

13

14

9

10

7

8

15

16

17

18

19

20

21

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Binary

Integer

Minimum Spindle Speed. Default=200

RPM

Maximum Spindle Speed. Default=2000

RPM

Maximum Cutting Feed Rate. Default=400 mm./min.

Rapid Feed Rate. Default=800 mm./min.

Pulses/Revolution on Threading/

Synchronizing Encoder. Default=360

[Setting this to 0 will cause the slots to be counted]

Default Circular Interpolation Mode.

0=XY, 1=XZ, 2=YZ.

X-scale (X-step size in millimetres = (P9/

P8)/P19)

X-divisor (X-step size in millimetres = (P9/

P8)/P19)

Y-scale (Y-step size in millimetres = (P11/

P10)/P19)

Y-divisor (Y-step size in millimetres =

(P11/P10)/P19)

Z-scale (Z-step size in millimetres = (P13/

P12)/P19)

Z-divisor (Z-step size in millimetres =

(P13/P12)/P19)

E/U-scale (E-step size in millimetres =

(P15/P14)/P19)

E/U-divisor (E-step size in millimetres =

(P15/P14)/P19)

Scalar for Feed rates. Steps/ sec=625,000*P17/(Feed*P16).

Divisor for Feed rates. Steps/ sec=625,000*P17/(Feed*P16).

Decimal digits in coordinates. Default=3 digits

Divisor for coordinates. Default=1000

Low byte - Control capabilities. Do not alter!

High-byte - X, Y and Z axis mapping

Delays for carousel tool post.

Forward delay = (low byte + 1)*0.25

secs

Reverse delay = (high byte + 1)*0.25 secs

[For stepper driven carousels 32768 (high bit) + steps/100. Reverse is half of

Copyright © 2010 Conqueror Design and Engineering Ltd.

46

47

48

49

29

30

31

32

33

34

35

36

23

24

25

26

27

28

37

38

39

40

41

42

43

44

45

50

51

22 Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Integer

Appendices 59

forward steps]

Time-out for manual mode and automatic motor turn-off.

Default value is 2344 which gives a 5 minute delay.

Delay in seconds = (P22 * 32) / pull-inrate

Ramp stages (Maximum 16)

Ramp 0

Ramp 1

Ramp 2

Ramp 3

Ramp 4

Ramp 5

Ramp 6

Ramp 7

Ramp 8

Ramp 9

Ramp 10

Ramp 11

Ramp 12

Ramp 13

Ramp 14

Ramp 15

Back-lash compensation for X axis (steps)

Back-lash compensation for Y axis (steps)

Back-lash compensation for Z axis (steps)

Back-lash compensation for E/U axis

(steps)

Back-lash compensation for V axis (steps)

Back-lash compensation for W axis

(steps)

V-scale (V-step size in millimetres = (P47/

P46)/P19)

V-divisor (V-step size in millimetres =

(P47/P46)/P19)

W-scale (W-step size in millimetres =

(P49/P48)/P19)

W-divisor (W-step size in millimetres =

(P49/P48)/P19)

X-encoder scale (scale=low-byte, divisor=high-byte)

Y-encoder scale (scale=low-byte, divisor=high-byte)

Copyright © 2010 Conqueror Design and Engineering Ltd.

60 X-card Installation Manual (X641, X661, X662)

52

53

54

55

56

57

Integer

Integer

Integer

Integer

Integer

Integer

58

59

60

61

62

63

64

Integer

Integer

Binary

Integer

Integer

Integer

Binary

Z-encoder scale (scale=low-byte, divisor=high-byte)

U-encoder scale (scale=low-byte, divisor=high-byte)

V-encoder scale (scale=low-byte, divisor=high-byte)

W-encoder scale (scale=low-byte, divisor=high-byte)

Number of steps to retract from limit after a G29

Enable/disable feedback for axes. Bits...

[15-6 reserved][5 - W][4 - V][3 - U][2 -

Z][1 - Y][0 - X]

Low-byte - encoder gap (0..15)

High-byte - encoder error limit

(0=ignored/try-forever)

Sync signal control for VGA monitor (0 by default)

Control capabilities (read-only) bit 0 - uses raw-steps bits 1-3 - reserved bit 4 - supports U&V (6-axis) bit 5 - supports feedback (closed-loop) bits 6-15 - reserved

Processor clock speed in Mhz

XJOY register (nibbles) [U][Z][Y][X]

If an encoder number is used then the axis will follow that encoder.

This is different from feedback and is intended for use with the XJOY card

XJOY register (nibbles) [ ][ ][W][V]

Mask for which relays are turned off if the safety circuit is activated

[004321CS]

Normally although the spindle (S) and coolant (C) relays are turned off by the safety circuit they are not deactivated so when the safety is restored they will still be in the ON state. Settings bit in the mask turns the relay off when the safety is activated.

Copyright © 2010 Conqueror Design and Engineering Ltd.

Appendices 61

7.5

Remote programme control/updating

There are a number of special parameters that can be used to control the programme store on the X-series cards remotely (the firmware must be 1.006 or later)...

Parameter Type Description

9990 Integer

9991 Integer

Load programme - the programme number is given as the parameter value R.

Save programme - the programme number is given as the parameter R.

9992 Integer

9993

9994

Integer

Integer

Clears the programme store - the parameter must be non-zero.

Sets the programme pointer to the top of the programme - the parameter must be non-zero.

Get a line of the programme - the parameter must be non-zero.

9995

9996

9998

9999

Integer

Integer

Integer

Integer

Lists the whole programme to the serial port - parameter must be non-zero.

Erases a programme from the programme store - the programme number is given as the parameter value R.

Unlocks the programme store - parameter must be '1234'. The store will remain unlocked until the card is reset or another

'P9998' with an incorrect parameter value is received.

Format/Erase programme store - the parameter R must be 9999 for the store to be cleared.

Formatting the programme store is possible whether the store is unlocked or not.

A programme line can be preceded by a '%' to store the line into the programme memory instead of executing it.

If a programme is stored as 9999 then it will be loaded and run whenever the card is powered on.

If a programme is stored as 9994 then it will be loaded and run each time an M94 is executed.

This allows the default tool-change behaviour to be re-programmed.

Copyright © 2010 Conqueror Design and Engineering Ltd.

62 X-card Installation Manual (X641, X661, X662)

Index

- 3 -

3rd -party stepper motor drives 32

- B -

Board layout 7, 8, 9

- C -

Closed-loop 22

Command Set 55

Connector positions 7, 8, 9

Connectors

Bluetooth 10

Fan 16

Jog-button 14

Optical encoders 14

Quadrature Encoders 22

Relays 16

RS232 10

Safety circuit 14

Spindle control 16

Stepper motor drives 12

Wireless 10

- D -

Disclaimer of Liability 1

- F -

File Loading 45

File Saving 45

File storage

Formatting 45

- G -

G-codes 51

GP1A23 36

GP1R11 35

- I -

Introduction to the X-cards 2

- L -

Lathe 51, 52

Limitation of Warranty 1

- M -

M-codes 54

Mill 51, 53

Mounting details 5

- O -

OPTOCARD 12, 26

OPTOCARD2 12, 14, 28

Opto-isolator card 26

Opto-isolator/relay card 28

- P -

Parameters 57

Power relays 18

- Q -

Quadrature Encoders 22, 24

- S -

Stand-alone operation 37

Editor mode 40

MDI/PC mode 38

Parameter mode 42

Run mode 39

- T -

Threading sensors, FB1 & FB2 22

- X -

X641 7

X641BB 22, 30

X641SC 32

X661 8, 18

X662 9

Copyright © 2010 Conqueror Design and Engineering Ltd.

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

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

Related manuals