background image

8.

 

Mach3 program – general information 

Mach3 software of ArtSoft® Company has developed over many years and during these years, it 
gathered many users. For relatively low price (~170USD) we get complete solution for multi-axis CNC 
machining. Key benefits of the program are: 

 

Flexibility 

o

 

Ability to create own user interfaces, transparent and suited to specific machine 
applications. There is a special visual editor where you can create the Mach3 in-
terface design from the beginning or use already existing project. On the inter-
net, there are many ready solutions. Below – one of the most visually attractive 
interfaces available on 

www.machmotion.com

 

 

 

o

 

Ability to self-extend the functionality of the program through macros, written 
in simple and known by many people - VisualBasic®. It allows you to implement 
a variety of measurement  probes, automatic tool length measurement, auto-
matic storage of tools in many variants etc. 

o

 

Plug-ins support, which further extend functions of the program and allows for 
cooperation with outside motion controllers. Connection with CSMIO/IP-S con-
troller is made by that plug-in, made by our company. 

 

Easy to use 

o

 

Those, who are already little familiar with CNC machines are able to learn all the 
general functions and rules of using the Mach3 program – within one day.  

o

 

Configuration of the key parameters is transparent and intuitive, so they can be 
quickly adjusted to the requirements of a specific machine. 

 

Dynamic analysis of the trajectory 

o

 

CNC program is analyzed in advance, so it allows for optimal adjustment of mo-
tion speed at every point of trajectory. Thus, the program is done quickly, but 
with full smoothness of the motion. 
 

 

C S - L a b   s . c .   – C S M I O / I P - S   -   C N C   C o n t r o l l e r    

 

Page 45 

Summary of Contents for CSMIO IP-S

Page 1: ...6 Axis CNC Controller USER GUIDE Applies to hardware version v2 Applies to firmware version v2 020 Rev 2 Copyright 2011 CS Lab s c...

Page 2: ...ircuits construction 20 4 4 2 Signals on a Terminal Block connector 20 4 4 3 Examples of input signals connection 21 4 5 Digital inputs connector 16 31 CSMIO IP S v2 23 4 6 Analog inputs outputs conne...

Page 3: ...special functions 65 10 9 2 Spindle configuration 68 10 9 3 Override sources feed speed and spindle revs corrections source selection 69 10 9 4 Plasma additional functions for plasma cutters 70 10 9...

Page 4: ...al feed test 93 Automatic reading of HOME switches position difference 93 Geometry correction mode activation 93 Addition B CSMIO IP S firmware update 94 How to check current firmware version 94 Updat...

Page 5: ...duct works with Mach3 program because of its low price popularity and enormous ability to adapt to specific requirements As a drives control interface the choice was a popular step direction step dir...

Page 6: ...adapter 2xDB25 1xDB9 Terminal Block adapter Ethernet connection wire DB25 connection tape 4 pcs DB9 connection tape 1 pc Phoenix 3 pin power plug 1 pc CD with electronic version of the user guide and...

Page 7: ...eter Value Number of digital inputs 32 Number of digital outputs 16 Number of analog inputs 4 Number of analog outputs 2 Supply voltage 24VDC 10 Power consumption 5W Maximum voltage on in out lines 30...

Page 8: ...in controller or axis drives The best way is to use for that purpose a standard safety relay i e from PILZ Company The safety switch mushroom FAULT signals of drives and inverter and eventually other...

Page 9: ...tion and it is no longer so safe solution As a switch mushroom of emergency stop always use special switchers specially designed for that They have different construction and you can be actually 100 s...

Page 10: ...C1 and NC2 which may be e g opening sensors for a cover and a control cabinet Moreover there are drives FAULT signals con nected in series Two outputs of the safety relay were used as the E Stop signa...

Page 11: ...ics inside even if an ambient temperature reaches 40O C As for the controller there are no special precautions for ventilation and minimum distances How ever usually next to the controller in a contro...

Page 12: ...n is advised during mechanical and electrical installation Poorly tightened cable may cause many problems it is also very difficult to find such a defect while launching using the system C S L a b s c...

Page 13: ...TEP DIR DIGITAL OUTPUTS and DIGITAL INPUTS connectors is different for version v1 and v2 To define your version of the controller read the first 4 figures of a serial number Numbers starting with 1119...

Page 14: ...mber Details 1 DIR 0 2 STEP 0 3 DIR 1 4 STEP 1 5 DIR 2 6 STEP 2 7 DIR 3 8 STEP 3 9 DIR 4 10 STEP 4 11 DIR 5 12 STEP 5 13 GND 14 DIR 0 15 STEP 0 16 DIR 1 17 STEP 1 18 DIR 2 19 STEP 2 20 DIR 3 21 STEP 3...

Page 15: ...Pins on Motor Outputs tab do not mat ter If you want to assign other STEP DIR chan nels numbers to an axis you should do it in the plugin s configuration menu Config Config PlugIns CONFIG 4 2 2 Exampl...

Page 16: ...t 3 17 Power supply 0V for 4 7 outputs 18 Output 5 19 Output 7 20 Power supply 0V for 8 11 outputs 21 Output 9 22 Output 11 23 Power supply 0V for 12 15 outputs 24 Output 13 25 Output 15 The outputs h...

Page 17: ...isolation would have no sense Therefore we must remember to supply power to each group of outputs we use If we do not care about CSMIO IP controller and digital outputs supply potentials separation a...

Page 18: ...uts 4 7 5 Output 4 6 Output 6 7 Power 24V for outputs 8 11 8 Output 8 9 Output 10 10 Power 24V for outputs 12 15 11 Output 12 12 Output 14 13 GND not used 14 GND 0V for outputs 0 3 15 Output 1 16 Outp...

Page 19: ...ut 5 17 Input 7 18 Input 8 19 Input 9 20 Input 10 21 Input 11 22 Input 12 23 Input 13 24 Input 14 25 Input 15 Pay special attention to not exceed the permissible voltage 30VDC on the inputs lines It m...

Page 20: ...ction You can see below simplified scheme of CSMIO IP S input circuits On the scheme outputs 0 15 are signed as IN 0 15 4 4 2 Signals on a Terminal Block connector C S L a b s c C S M I O I P S C N C...

Page 21: ...pe output was connected to input no 5 In Mach3 program we give in this case port 10 pin 5 4 4 3 2 Inductive sensor NPN type In this example sensor with NPN type output was connected to input no 8 In M...

Page 22: ...nnector NC type In this example sensor with NPN type output was connected to input no 11 of CSMIO IP In this case in Mach3 program we give port 10 pin 11 C S L a b s c C S M I O I P S C N C C o n t r...

Page 23: ...Input 31 14 Input 17 15 Input 19 16 Input 21 17 Input 23 18 Input 24 19 Input 25 20 Input 26 21 Input 27 22 Input 28 23 Input 29 24 Input 30 25 Input 31 Pay special attention to not exceed the permis...

Page 24: ...inputs lines It may cause damage of the device 10V output has 50mA load and serves only to supply the potentiometers if you want to connect the potentiometers such as regulation of feed rate or spindl...

Page 25: ...heck it by analog inputs preview in diagnostic window menu PlugIn Control CSMIO_IP plugin Analog IO tab If values on analog inputs change along with potenti ometer knob position then the only thing le...

Page 26: ...scription 1 CAN H 2 RS232 RxD 3 RS232 TxD 4 5 GND 6 CAN L 7 RS485 B 8 RS485 A 9 Connector serves only for CS Lab s c expansion modules Do not plug it into any others devices PC etc C S L a b s c C S M...

Page 27: ...u use in the system such inductive loads as electromagnets solenoids elec tromagnetic clutches it is recommended to use separate 24V power supply for the mentioned receivers and separate for CSMIO IP...

Page 28: ...able Please note that pairs of signals e g STEP STEP you should always lead by twisted pair of cables Ethernet Communication wire Standard Power cable shielded FTP cat 6 Power Min Cross section 0 5mm2...

Page 29: ...nd CSMIO IP digital outputs Power GND DB25 Digital outputs 0 15 17 Outputs 4 and 5 power DB25 Digital outputs 0 15 4 24V output for controlling signals Digital output 4 DB25 Digital outputs 0 15 5 Rig...

Page 30: ...4 11 2 Illustrative diagram of XYZ plotter CSMIO IP S v2 C S L a b s c C S M I O I P S C N C C o n t r o l l e r Page 30...

Page 31: ...upply the CSMIO IP S controller and 80V for the stepper motors drives Switches used normally close NC switches for axis homing HOME and limit switch es LIMIT In practice it is necessary to build more...

Page 32: ...gram Error of position speed regulators inside the CSMIO IP S Here is an example of connected outputs used as HV Enable The output number is irrelevant it is defined in the configuration window of the...

Page 33: ...ion on RS485 bus RS232 diode lights up if there is a communication on RS232 port ETHERNET diode lights up if the controller communicates with a PC computer ERR0 ERR3 diodes indicate controller errors...

Page 34: ...ensor touched scanning etc Mode of an interpolated motion on a trajectory CNC program or MDI command performing Also movement commands from the script level macro of Mach3 program cause this state Eme...

Page 35: ...er on the motor shaft decreases drastically It decreases to such low value that sometimes happens that at 1000 rpm the motor has no power to work itself not say ing about propelling the machine In the...

Page 36: ...o drive can have much lower nominal torque than holding torque of the stepper motor When we compare the 3Nm stepper drive and 3Nm servo drive the price difference may be significant However if we comp...

Page 37: ...tance between home switch off activation on and index position and in situation when the distance is to small axis homing will be stopped It is very comfortable and safe solution because if index is c...

Page 38: ...es by Delta http www delta com tw 6 2 Solution no 2 Synchronization of HOME signal in servo drives To do the homing on INDEX this way we need the servo drive with a function of HOME signal and encoder...

Page 39: ...equires a temporary stop configuration parameters change and re homing You should note that at the moment you back off the HOME switch the rotor should be turned for min 15o to the index point because...

Page 40: ...lue 7 5 white blue 8 6 green 2 7 white brown 4 8 brown 5 For direct connection you should set static IP address on your computer 10 1 1 1 and mask 255 255 255 0 7 1 1 Windows XP configuration Click ri...

Page 41: ...operties In this window enter the IP address 10 1 1 1 and mask 255 255 255 0 Click OK Close the window The network is now set to work with CSMIO IP 7 1 2 Windows 7 configuration In control panel we ch...

Page 42: ...Next select Change adapter settings Click with right mouse button and select Properties of network connection C S L a b s c C S M I O I P S C N C C o n t r o l l e r Page 42...

Page 43: ...ailed attempts with no response from the server the default IP address is set to 10 1 1 2 It does not last longer than 10 sec but you should remember to wait 10 sec after switching the power on to let...

Page 44: ...le screenshot of the DHCP server where you can see the CSMIO IP device in the network When you connect the CSMIO IP S controller to a network with router you should use a non crossover cable so called...

Page 45: ...sualBasic It allows you to implement a variety of measurement probes automatic tool length measurement auto matic storage of tools in many variants etc o Plug ins support which further extend function...

Page 46: ...t away please note it in your order and specify person company the license should be issued for Please note that Mach3 program serves only to operate a machine it is not possible to design draw etc In...

Page 47: ...not be any other software except Windows and Mach3 program installed Designing and all other tasks should be performed on other computer A computer used to control the machine can be connected to a co...

Page 48: ...ollow the screen instructions Generally you should just press the Next button In the window with components to install selection uncheck the Parallel Port Driver position It is a parallel port driver...

Page 49: ...on CS Lab Company website http www cs lab eu artykul 11 CSMIOIPS_Download html For proper installation you have to be connected to the Internet The installation is automatic you should only approve n...

Page 50: ...with question if you want to launch CSMIO IP controller firmware that serves to controller updates If you are not sure if you have the latest version you can update it now Update process was described...

Page 51: ...nistrator rights Open C Mach3 directory find Mach3 exe file and click right mouse button Select Properties position from the menu and next select the Compatibility tab Next select the Launch this prog...

Page 52: ...sections you will find some general rules 10 1 Configuration profile creation If during the installation you did not create a configuration profile Chapter 9 it is worth to create it now In this prof...

Page 53: ...itch the controller power ON at least 10 seconds earlier After you launch the program for the first time you will see the window of license ap proval You should fill in the check box and agree by clic...

Page 54: ...urning the power on If it was not quit the Mach3 program and turn the CSMIO IP S power off connect the Ethernet cable wait 10 seconds and launch the Mach3 program again If CSMIO IP S is connected dire...

Page 55: ...drives slave axis o Activate the X Y Z A axes the slave axis should not be activated here In Motor Outputs tab if you use Mach3 software and CSMIO IP controller following options are unused Step Pin D...

Page 56: ...escription of the signals is available in ArtSoft documentation www machsupport com below we present short description of the most important Signal signature Description X Y Z A B C Hardware signals o...

Page 57: ...to look at a screen and see which input changed its state You can also watch the LEDs located on the controller After all input signals configuration it is worth to check whether it has been done corr...

Page 58: ...inputs configuration Columns explanation Name of the column Description Enabled Green tick means we use the signal Red X cross means that we do not use the signal and that it should not be used Port I...

Page 59: ...are in standby mode there is no need to supply the stepper motors with full current This signal becomes active when axes are not moving Current limit allow for energy consumption reducing and motors h...

Page 60: ...u want after cooling activation before machining begins Time delay for spindle switching on and off is also an important parameter In particular the high revs spindles need a little time after activat...

Page 61: ...h is not covered by warranty Pay attention if the left right revs are activated correctly machining with incorrect revs direction may cause damage of a tool or a work piece 10 6 2 Problematic PWM Cont...

Page 62: ...enter into Steps Per box in configuration window In Velocity area we set an axis speed If we are using millimeters as an unit then speed is shown in mm min if we use degrees degree min if inch inch mi...

Page 63: ...n the optocoupler in the M542 will be followed at proper edge of the CSMIO IP S STEP signal If the connection is incor rect 1 step will be lost during every direction change After a long work it may a...

Page 64: ...f we enter e g 5mm then the controller will home the axis on a HOME sensor and after that it will go off with 5mm and reset axis position You can also enter a negative value in some cases it us very u...

Page 65: ...ID Regulator Slave Axis Configuration 10 9 1 1 Servo Alarm Input an alarm input in servo drives The CSMIO IP controller has a possibility of autonomous reac tion to fault signals from servo drives A d...

Page 66: ...P S model is not active 10 9 1 5 Slave Axis configuration In large machines there are often two motors used to support single axis one on each side Even though in Mach3 program Config menu there is a...

Page 67: ...ows for e g perpendicu larity settings in gentry machines In A addition you can find slave axis configuration example described If you want to use slave axis function read the addition Slave axis conf...

Page 68: ...indle Axis axis channel spindle control Enable Spindle Axis Function enable Reversed Direction Revs direction change Channel Selection STEP DIR output channel selection for spindle operation it s impo...

Page 69: ...rough Mach3 screen ana log inputs or additional MPG encoder axes etc Feed rate override applies to feed speed and Spindle speed override to spindle revs The following options are available Mach Regula...

Page 70: ...rator to CSMIO IP controller may cause its damage 10 9 5 Misc IO Special functions related to I O 10 9 5 1 Servo drive RESET Any CSMIO IP controller output can be as signed as a RESET signal for servo...

Page 71: ...what values it will be Lower range gives better precision and safeness because in this case turning the encoder we will not speed up the machine to high speeds Higher range will be better for large si...

Page 72: ...itional connection options Default MAC Default MAC address for a connection It is useful if in our local network there are few CSMIO IP controllers and we do not want to select a controller we want to...

Page 73: ...tool changer but we use a tool measurement sensor the Auto Tool Changer should be selected Otherwise Mach3 will not take tool length into account Angular Properties Checking the box we select if A B o...

Page 74: ...delay parameter for G04 is counted in milliseconds It is useful when you need precise short time delay e g in plasma cutters Use watchdogs Do not use this function should theoretically watch various...

Page 75: ...ators light up If the light indi cators or indicator light up constantly and they turn off after manual LIMIT switch deactivation it means wrong polarization you must change configuration in Ports and...

Page 76: ...specify homing directions sides For 3 axis machine XYZ most common configuration is homing of XY axes in negative direc tion and Z axis in positive direction In Config Home Limits for Z axis there sh...

Page 77: ...rate panel and set Cont Slow Jog Rate set on e g 40 It is worth to turn on preview of machine directions by pressing on the Mach s main screen Then in manual mode go e g with X axis on 5mm before har...

Page 78: ...ove with enter The spindle should start rotate left with requested speed Stop with M5 command Turn on cooling with M7 turn off M30 Turn on cooling M8 turn off M30 It is good to check various revs valu...

Page 79: ...preparing We create a new project in ArtCam program Enter dimension of the cube In this example the resolution is not very im portant so you can set it low Select Import Vector Data command in Art Cam...

Page 80: ...eed to save the original object At this stage our project looks like this You can now generate trajectories for tools First a tool path for planning the surface Select the object we have created and s...

Page 81: ...displayed after shape type selection is helpful In the end press OK choose our tool from list and click Select In Tool List box in the Area Clearance configuration panel there should our tool appear...

Page 82: ...ase window The parameters in this case look like this You should note that in ArtCam program a handle size is given as di ameter and a dimension of tip of the tool F is as radius Speed values in here...

Page 83: ...in a Feed rate box you can enter stepper work feeds which we will use in a moment 1000 mm min Now use arrow keys or keys on a machine desktop reach left edge of the material Z axis is a little below...

Page 84: ...this point makes no sense You should set it only if we place the right tool However I assume that such a sensor is installed in the machine For Z axis we set the base much like XY raising the axis a...

Page 85: ...nt of the material Go to the main screen again and click Cycle Start button the treatment start Below a photo taken during the work You can change the tool for an engraving cutter and load the second...

Page 86: ...the measurement after tool change Auto Tool Zero button When the file is loaded and the tool is measured we can set the axes again over the material with the MDI like before Press Cycle Start and sta...

Page 87: ...e spond to 0 5mm corner tolerance 5 Mach3 program as a decimal separator to separate the fractional part uses a dot Keep it in mind entering the values 6 3D trajectory preview on Mach screen can signi...

Page 88: ...ere you can manually type the commands that are executed immediately is a very useful tool 13 If you have a tool magazine and or automatic tool length measurement sensor remem ber that any manipulatio...

Page 89: ...G0 at XY sensor position Quick exit G0 by Z axis to so called safe Z Going down in the measurement mode G31 at 1 speed until signal receiving from the sensor Raising Z axis with small value preparing...

Page 90: ...e absolute coordinates mode by clicking icon When you have noted all necessary data open the downloaded toollenght m1s file in any text editor e g notepad Then select all using mouse or by pressing CT...

Page 91: ...Auto Tool Zero button and the tool will be automatically measured Why the table level was checked It is because adding data the way we showed above after correct measurement zero of Z axis is set on...

Page 92: ...SMIO IP S controller supports slave axis autonomously and activating it as a normal axis may cause conflicts Axis scaling and configuration We assume that the machine is properly configured as it was...

Page 93: ...oming with geometry correction is about that master axis always finishes homing at the moment it goes back off its HOME switch and slave axis goes to HOME switch back off position correction If we gav...

Page 94: ...The current version is shown on the bottom bar Update application uploader After installer file download setup_CSMIO IP S x xxx zip double click and start setup_CSMIO IP S x xxx file x xxx is a firmwa...

Page 95: ...ected if update fails There is always a possibility to try again Before update close Mach3 program If you install new firmware version but you do not update with uploader application then Mach3 progra...

Reviews: