background image

 

10.7

 

Configuration of the resolution, speed and acceleration of the axes 

 

Before starting the work, it is necessary to set correctly 
the resolution (called scaling) of the axis and to set their 
max. speed and accelerations -in the Mach3 program - 
„Config/Motor Tuning” menu. In the window, first select 
the axis you want to configure, next enter the parameters 
and click on „SAVE AXIS SETTINGS”. Now you can select 
and set the next axis. If we forget to click on „SAVE AXIS 
SETTINGS” all entered changes will not be saved. 
For the correct axis scaling you must know the number of steps per unit (millimeter, inch or degree).  
To understand how to calculate it, look at the example below: 

 

The servomotor powers the line axis with 10000 rpm encoder. 

 

The servo drive is configured without a  multiplier and electronic gear, so 10000 STEP pulses 
cause a 1 rev of the motor. 

 

To transfer the drive there was used a ball screw - pitch

 

10mm

.

 

 

No ratio between the motor and the screw. 

There are 10000 pulses per motor revolution and feed rate is 10mm per revolution. Dividing this value 
10000 pulses/10mm we get 1000 pulse = 1mm movement, which we enter into the  “Steps Per” box in the 
configuration window. 
In the „Velocity”, we set the axis speed. If we are using the millimeters as an unit then the speed is shown 
in mm/min, if we use degrees -  degree/min, if inch -  inch/min.  Max.  speed value is very individual it 
depends what motors, drives etc. were used. For the first tests, we recommend entering relatively small 
value such as 2000mm/min, in case something goes wrong, we would always have enough time to press 
the emergency stop E-STOP. 
In the „Acceleration” area, we define the acceleration for the axis. At the beginning, we recommend to 
enter something about 500mm/sec/sec. Later you can set this parameter experimentally by observing  the 
machine working. 

 
 
 

Remember that after finished edition for each axis you should click on „SAVE AXIS SETTINGS”. Do the 
configuration in the following order:  
Open the „Motor Tuning” window 

Select the axis („Axis Selection”) 

Enter the parameters

”SAVE 

AXIS SETTINGS”

Select the next axis

etc. Click „OK” and close the window. 

 
 
 
„Step pulse” and „dir pulse” areas do not matter for CSMIO/IP-M. They are used to control via the LPT port 
and they define the width and the STEP/DIR pulse time. The CSMIO/IP-M controller provides the signal 
with the 50% duty cycle and STEP to DIR delay (10 us), which is the most optimal variant. 

 

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

 

Page 44 

Summary of Contents for CSMIO/IP-M

Page 1: ...Applies to firmware version v1 200 First edition Rev 1 2 Copyright 2012 CS Lab s c...

Page 2: ...erter using a CSMIO IP M analog output 17 4 9 2 Simplified diagram of a XYZ plotter 18 4 9 3 Automatic control of drives power supply HV 20 4 10 LED Status lights 21 5 Recommendations and drive select...

Page 3: ...10 11 Parameters in the General Config window 49 11 First tests 51 11 1 Checking the input signals 51 11 2 Verification of axes scaling and motion directions 52 11 3 HOMING and software limit switches...

Page 4: ...less time due to its simplicity CSMIO IP M 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...

Page 5: ...the control cabinet Basic components supplied are 1xDB25 Terminal Block adapter 1xDB25 1xDB9 Terminal Block adapter 2xDB25 connection tape 1xDB9 connection tape In case of lack of any elements listed...

Page 6: ...t 1 4 Specification Parameter Value Digital inputs 12 Digital outputs 4 Relay outputs 2 Analog inputs 2 Analog outputs 2 Supply voltage 24VDC 10 Power consumption 5W Maximum I O Voltage 30VDC Maximum...

Page 7: ...er or axis drives For that purpose you can use not required a standard safety relay i e from PILZ Company The safety switch mushroom FAULT signals of the drives and inverter and eventually other alarm...

Page 8: ...may be i e opening sensors for the cover and the control cabinet Moreover there are drives FAULT signals connected in series Two outputs of the safety relay were used as an E Stop signal for the CSMIO...

Page 9: ...no special precautions for ventilation and the minimum clearance distances However usually next to the controller in the control cabinet there are also inverters power supplies motor drives these com...

Page 10: ...odules have the same pin numbers as DB connectors in CSMIO IP M device For example the 15 pins of DB25 connector match with the 15 pins on the terminal block Signals that control the drives STEP DIR a...

Page 11: ...4 DIR 0 15 STEP 0 16 DIR 1 17 STEP 1 18 DIR 2 19 STEP 2 20 DIR 3 21 STEP 3 22 0V power supply for 0 3 outputs 23 Output 1 24 Output 3 25 Common PIN for relay outputs 4 and 5 The differential outputs o...

Page 12: ...X0 G1 X5 F4000 G1 X0 G1 X5 G1 X0 M30 Run this test for several minutes then you should check if the marks line up on the motor shaft and the cover If the marks do not match it may mean improper polari...

Page 13: ...GND 14 0 Input 15 1 Input 16 2 Input 17 3 Input 18 4 Input 19 5 Input 20 6 Input 21 7 Input 22 8 Input 23 9 Input 24 10 Input 25 11 Input Pay special attention to not exceed the permissible voltage 3...

Page 14: ...CAN L 7 RS485 B 8 RS485 A 9 Pay special attention to not exceed the permissible voltage 10VDC on the inputs lines It may cause device damage 10V output has 50mA load and serves only to supply the pot...

Page 15: ...ads devices such as electromagnets solenoids electromagnetic clutches it s recommended to use a separate 24V power supply for these devices and a separate supply for the CSMIO IP M It s recommended to...

Page 16: ...d pair cables Ethernet Communication wire Standard Ethernet cable shielded FTP cat 6 See 4 7 Power Min Cross section 0 5mm2 CAN expansion modules If modules are mounted on the same DIN rail next to th...

Page 17: ...ts 12 Motor Clockwise switching 5 relay output DB25 Digital outputs 13 Motor Counter Clockwise switching Do not forget to set the configuration parameters of the inverter properly Incorrect settings m...

Page 18: ...4 9 2 Simplified diagram of a XYZ plotter C S L a b s c C N C C S M I O I P M c o n t r o l l e r Page 18...

Page 19: ...supply the CSMIO IP M controller and 80V for the stepper motors drives Switches used NC switches for axis homing HOME and limit switches LIMIT In practice it is necessary to build more comprehensives...

Page 20: ...d in the configuration window of the Mach3 program When you use large contactors for switching off the power check if the coil doesn t take more than 250mA If your contactor coil draws more than 250mA...

Page 21: ...as HOME switches LIMIT switches and safety switches E Stop etc LED light type Description OUT0 OUT5 Shows current digital outputs state OUT4 and OUT5 are relay outputs IN0 IN11 Shows current digital...

Page 22: ...e torque is almost the same pictures below but with increasing revs the torque actually the torque on the motor shaft decreases drastically It decreases to such low values that sometimes around 1000 r...

Page 23: ...drives Their disadvantages are negligible in comparison to the benefits they offer Please note that the servo drive can have much lower nominal torque than holding torque of the stepper motor When we...

Page 24: ...n INDEX Digital inputs are defined as homing HOME in the Mach3 program and are operated in the controller in special way to eliminate all delays and ensure the highest work precision and repeatability...

Page 25: ...witch the rotor should be turned about 180o to the index point because if the index would be very close to the ride off point then homing dispersion may occur If the ride off point and the index are t...

Page 26: ...te blue 8 6 green 2 7 white brown 4 8 brown 5 In the direct connection you should set on your computer static IP address 10 1 1 1 and mask 255 255 255 0 In Windows XP you perform it like this Click ri...

Page 27: ...ds request to the DHCP sever After three failed attempts without response from the server the default IP address is set 10 1 1 2 It does not last longer than 10 sec but you should remember to wait 10...

Page 28: ...e DHCP server where you can see the CSMIO IP device in the network If you connect the CSMIO IP M controller to the network with router you should use the non crossover cable so called Straight Thru or...

Page 29: ...he functionality of the program through macros written in simple and known by many users VisualBasic This allows you to implement a variety of measurement probes automatic tool length measurement auto...

Page 30: ...s biuro cs lab eu If you order the CSMIO IP M controller and you want to order the license right away please note it in your order and specify person company the license should be issued to Please not...

Page 31: ...alled any other software except Windows and the Mach3 program Designing and all other tasks should be done on another computer The computer used to control the machine may be connected to a computer n...

Page 32: ...the instructions on the screen 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 33: ...our computer when it finishes 9 3 Installation of the plug in for Mach3 The plug in installation comes down to copying a single file Open the directory or archive with CSMIO IP M software download is...

Page 34: ...Mach3 directory find the Mach3 exe file and click right mouse button In the menu select the Properties position and next in the window select the Compatibility tab Next select the Launch this program...

Page 35: ...SoftLimit function software limits Homing speed settings Customize the program design Configuration is an individual matter for each machine anyway in the next sections you find the general rules 10 1...

Page 36: ...at least 10 seconds earlier After you launch the program for the first time you will see a window of license approval You should fill in the check box and agree by clicking the button as shown in the...

Page 37: ...ange if necessary then launch the program again If at least 10 seconds have not passed since turning on the device power until Mach3 launching then quit the program and launch it again You can try to...

Page 38: ...THC Up THC Dn and Probe HotKey Keyboard shortcut for the signal emulation Detailed description of the signals are available in the documentation on the ArtSoft website www machsupport com below we pre...

Page 39: ...window from the Plugin Control CSMIO IP_plugin menu go to the Digital IO tab and in the Digital inputs area there is a preview of all controller inputs state Then while pressing the SW limit switch l...

Page 40: ...s valves switching etc Outputs configuration is almost the same as the inputs configuration Name of the column Description Enabled Green tick means we use the signal Red X means that we do not use the...

Page 41: ...are in standby mode there is no need to supply the stepper motors with full current This signal becomes active when any axis is not moving Current limit lets us reduce energy consumption and motors he...

Page 42: ...ible fog M7 and stream M8 For each mode we give the correct output signal You can also give for both modes the same signal so then it will be switched with both the M7 and M8 command from the G Code A...

Page 43: ...output Again during the startup the diagnostic window may be helpful In the Analog IO tab you can view the current voltages on the analog inputs and outputs When we configure the spindle then in the...

Page 44: ...eps Per box in the configuration window In the Velocity we set the axis speed If we are using the millimeters as an unit then the speed is shown in mm min if we use degrees degree min if inch inch min...

Page 45: ...nge of motion in positive direction Soft Min Maximum range of motion in negative direction Slow Zone In the CSMIO IP M this box is unused Using the LPT it is used to define the section for braking nea...

Page 46: ...rvo drive fault signals The CSMIO IP M controller has a possibility of autonomous reaction to the fault signals from the servo drives The drive may generate a fault e g in case of overload or when the...

Page 47: ...speed control should be done by the Mach screen or by the analog inputs If so which one Feed rate override refers to the feed rate and the Spindle speed override refers to the spindle revs Available...

Page 48: ...r issue is the RESET signal for the servo drives If as a result of overload or collision any of the drives the drives will turn off and the machine will stop if the FAULT signals were configured corre...

Page 49: ...nger should be selected Otherwise the Mach3 program will not take into account the tool length Angular Properties Checking the box we select if A B or C axis works as angular Unchecked box means that...

Page 50: ...ators is an option which switch on off slave axis and master axis homing In the CSMIO IP M slave axis support is not available it is available in more professional control system CSMIO IP S G04 Dwell...

Page 51: ...correct controls light up If the control s lights up constantly and after switching the LIMIT is off it means wrong polarization you must change the configuration in the Ports and pins window see pre...

Page 52: ...can specify homing directions For 3 axis machine XYZ most common configuration is homing of the XY axes in the negative direction and Z axis in the positive direction In the Config Home Limits for Z a...

Page 53: ...n on and check the software limit switches Click on the Jog Mode in the manual feed rate panel and set Cont Slow Jog Rate set on e g 40 It is worth to turn on the machine directions view by pressing o...

Page 54: ...nter The spindle should start turning 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 values of the revs...

Page 55: ...iles We create a new project in the ArtCam program Enter the dimension of the cube In this example the resolution is not very important so you can set it low Select the Import Vector Data command in t...

Page 56: ...iginal object At this stage our project looks like this You can now generate the trajectories for the tools First the tool path for planning the surface Select the object we create and select the Area...

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

Page 58: ...se window The parameters in this case look like this You should note that in the ArtCam program the handle size is its diameter and the dimension of the tip of the tool F is its radius Speed values in...

Page 59: ...and 25 speed Right away you can type the stepper work feeds in the Feed rate box we will use it in a moment 1000 mm min Now use the arrow keys or keys on the machines desktop reach the left edge of th...

Page 60: ...te at this point If we do not use the automatic tool length measurement setting the base at this point makes no sense You should set it if we place the right tool However we assume that such a sensor...

Page 61: ...e material Go to the main screen again and click the Cycle Start button starting the work Below photo taken during the work You can change the tool for an engraving cutter and load the previously gene...

Page 62: ...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 start the process Photos below show the work piece during the proces...

Page 63: ...parameter to 500 4 3D trajectory preview on the Mach screen can significantly burden the computer when the files are large While the machine runs do not do operations such as zooming rotation etc For...

Page 64: ...you can manually type the commands that are executed immediately 11 If you have a tool magazine and or automatic tool length measurement sensor remember that any manipulation repositioning disassembl...

Page 65: ...y In the CSMIO IP M controller specialy for G31 command used while the measurement completely autonomous movement operation and ultra fast logic were implemented to assure the measurement precision at...

Page 66: ...depends on the maximum length of the tools that will be measured You can also enter 0 as the safe Z and then the measurement starts from the top position 8 Move the XY axes to set them somewhere above...

Page 67: ...o close and restart the Mach3 program to make sure that the settings have been saved That is all Just click the Auto Tool Zero button and the tool will be automatically measured Exactly why the table...

Page 68: ...ng application uploader After you download archiwum zip with update package you should unzip the contents i e to your desktop Open the directory and start the CSMIO_PC_FW_Uploader exe After starting t...

Page 69: ...on to the file directory C Mach3 PlugIns In the update package the plugins file is called CSMIO_IP_plugin dll You should copy this file to the file directory C Mach3 PlugIns When the system asks overw...

Reviews: