Index 1. General ............................4 Signs used in this guide ....................... 4 Contents ............................5 Standards compliance........................6 Specification ..........................6 2. Safety ............................7 Example of E-STOP signal connection ..................8 3. Recommendation for mechanical installation ...................9 4. Connectors, controls and electrical installation of the device ............10 Arrangement of the connectors on the device ................
Page 3
14.1 Automatic tool-length measurement ..................65 14.1.1 Configuration ........................66 14.2 Automatic tool change macro ....................67 15. Addition A – CSMIO/IP-M software updates ................... 68 15.1 How to check your software version ................... 68 15.2 Updating application (uploader) ....................68 15.3 Plugins file update ........................
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 was a popular step/direction (step / dir) standard.
(without condensation) The STEP outputs signal frequency is in no way limited by the „Kernel speed” settings in Mach3 program. While using the CSMIO/IP-M controller this Mach3’s configuration parameter is unused and can be set at any value. 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...
FAULT signals of the drives and inverter and eventually other alarm signals – you should connect to the input circuits. The output or outputs should be connected to the CSMIO/IP-M controller, and defined as the emergency stop. Outputs of the security module should be also connected to the axis drives, inverters, etc.
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/IP-M controller and axis drives. This combination assures the machine stops in case of failure on any axis (FAULT signals of the drives), by pressing emergency stop mushroom and opening the cabinet or cover.
3. Recommendation for mechanical installation CSMIO/IP-M controller and DB->Terminal block - connection modules were designed to be installed on standard DIN-rail. It is the quickest and best way of installation. The Controller uses a small amount of energy and creates a negligible amount of heat. The aluminum...
Detailed description of signals on individual connectors is in the following section. DB->Terminal block modules 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.
While connecting the STEP/DIR signals to the motor drive (both servo and stepper drives) pay attention to which STEP edge is active. The active edge in the CSMIO/IP-M is the leading edge – Change of the STEP+ signal from the logic “0” state (0V) to logic “1” (5V).
Page 12
During launching the machine it is worth checking to see if the step signal is polarized properly. The easiest way is to mark a reference on the axis shaft of motor and on the cover. Now prepare and run a test g-code, it should consist of short rides of the test axis.
RS485 B- RS485 A+ Connector is only to be used to connect to CS-Lab s.c. expansion modules. Do not plug it into any other devices, PC, etc. 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...
It’s recommended to use shielded FTP or STP cat.6 cable. The network interface has no Auto MDI-MDIX function. So, if connecting the CSMIO/IP-M directly to a computer you should use a crossover cable. If you connect it to the network switch or router - use a non-crossover cable.
Recommended cables Connections type Recommended cable Digital In/out Minimum cross-section 0,25mm Analog In/out Cross-section 0,25mm (Shielded twisted pair recommended) Drives controlling (STEP/DIR) Cross-section 0,25mm ; shielded–twisted. You can possibly use the FTP computer cable. Please note that for signals (STEP + / STEP-) (Dir+ / Dir-) you should always use twisted pair cables.
The simplest connection of Inverter using a CSMIO IP-M analog output. The example above shows the simplest connection of an inverter controlling the spindle in an engraving plotter. CSMIO/IP-M used outputs: CSMIO/IP-M signal Connector on CSMIO/IP-M PIN number in CSMIO/IP-...
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
The drawing presented in this section is the simplest implementation of a 3 axis plotter (XYZ). Two power supplies are used: 24V to 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 systems;...
0,0001 second. Do not forget that digital outputs of the CSMIO/IP-M are fully isolated so they need separate power supply (9 and 22 PIN on a STEP/DIR & Digital Outputs connector).
4.10 LED Status lights On the front panel of CSMIO/IP-M device, there are groups of LED lights that simplify verifying the correctness of the electrical installation and diagnostic of the components such as HOME switches, LIMIT switches and safety switches (E-Stop) etc.
5. Recommendations and drive selection (motor drives) Selection of the appropriate motors to the machine is very individual. In this chapter, we briefly describe the difference between stepper and servomotors. Designers' practice shows there is a dilemma – what solution should be chosen. Not so long ago – because of high prices of servo drives, in the simpler machines usually the stepper motors were used.
Page 23
The choice is in your hands of course, in some solutions the stepper motors are adequate and work very well. Thanks to perfectly precise STEP signal timing of the CSMIO/IP-M controller the stepper motors behave much better then when controlling from e.g. the LPT port. We can use a higher stepper division, so the motors will work quieter, smoother and they get higher revs by reducing the resonance.
HOME switch. CSMIO/IP-M is STEP/DIR type controller and does not have the encoder input. It does not mean that it is impossible to base on 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
3. Ride off of the HOME sensor HOME (before the index) •HOME switch off - inactive •HOME output of the drive - inactive ( in this momen t the CSMIO/IP-M resets 4. Ride off of the the axis position) HOME sensor (at the...
7. LAN connection and configuration PC direct connection CSMIO/IP-M controller can be connected directly to the PC computer without any switches or routers. In this connection, you should remember to use the crossover cable. This cable is attached to the controller.
Page 27
The network is now set to work with CSMIO/IP-M. • At power “On” the CSMIO/IP-M controller automatically sets the IP address (it sends request to the DHCP sever). After three failed attempts, without response from the server- the default IP address is set: 10.1.1.2.
Local network with router and DHCP If we plug in the CSMIO/IP-M controller into a computer network where a router allocates the IP addresses, the device automatically downloads the address and network mask settings. Usually there is no need to know what IP address was assigned to the device because the plug-in and the application that updates the controller software automatically searches the CSMIO/IP-M in the network.
Plug-ins support, which further extend functions of the program and allows for cooperation with outside motion controllers. Connection with the CSMIO/IP-M controller is made by a plug-in written by our company. Easy to use •...
Page 30
The CS-Lab company is an authorized distributor of the Mach3 program in Poland. If you would like to buy the license, please contact us: 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.
Recommended PC configuration The Mach3 program has no unreasonable requirements for the PC computer, unless your G-Code programs are very large – then we would recommend a faster computer. Simulation of the runtime with large paths will simulate more efficiently on faster PC computer. Minimum configuration Recommended configuration Intel Pentium IV 1GHz...
„Next” button. In the window with components to install selection – uncheck the „Parallel Port Driver” position. It is a parallel port driver that is unused with CSMIO/IP-M controller. Next, we can create a configuration profile, which we will use. You can also create the configuration profile later.
Click on the window with right mouse button and select „Paste” or press CTRL+V on your keyboard. The plug-in and the CSMIO/IP-M firmware must be the same version. Update the controller firmware if needed. The update process is described in the addition section - „CSMIO/IP-M software updating”.
Administrator rights in Windows® Vista and Windows® 7. It is recommended to launch the Mach3 program in OS Windows® Vista and 7 with an administrator rights. Open the „C:\Mach3” directory, find the Mach3.exe file and click right mouse button. In the menu select the “Properties”...
10. Mach3 program configuration After software installation, you should configure all to match the settings and the controlled machine with all its electrical system. Elements to configuration: Scale-up of each axis (e.g., how many pulses per millimeter/inch). • Speed and acceleration settings for each axis. •...
You should fill in the check box and agree by clicking the button as shown in the picture. If the plug-in that supports the CSMIO/IP-M controller was installed correctly as described in chapter 9 there should appear this window: Select the motion controller type – „CSMIO_IP/M_CS-Lab_s.c.” and fill in the check box: „Don’t ask me again”, so the Mach3 program in...
– then quit the program and launch it again. • You can try to use a different network cable. If these tips did not help and there is still no connection, you should contact your distributor or the CS-Lab company. 10.3 Configuration of axes used in the machine...
Port # Input port number – for the CSMIO/IP-M it is port no. 10. Pin Number Pin number, means the CSMIO/IP-M input number, e.g. input no. 5 of the controller we give here as the pin no. 5. Active Low Changing the polarity of the signal, it is a choice –...
Page 39
Signals that allows for the movement of each axis in the manual mode JOG A-- (movement in the negative direction). If you are not sure on which input in the CSMIO/IP-M is one of the signals connected, then you can open the diagnostic window from the „Plugin Control/CSMIO-IP_plugin” menu, go to the „Digital IO”...
In the CSMIO/IP-M controller, there are additionally implemented fault signals support (FAULT) from the servo drives. Details in the „CSMIO/IP-M special functions configuration” chapter. It is possible to give the same input PIN as LIMIT and HOME. You should turn off the „Home Sw.
Page 41
Signal sign Description ENABLE1-6 Signals for axis switching. They can be used as signals switching the ServoON in the servo drives. For used axes (section 10.3), the signals pass active state after pressing the RESET on the Mach screen. If Mach goes to stop state, the signals are turned off.
„Disable Spindle Relays” box that means no support for the spindle switching. In the CSMIO/IP-M 4,5 outputs are relay-type what usually facilitate connection to the inverter so it is worth using them, of course you can also use standard 0-3 digital outputs.
Page 43
For correct control of the revs you have to specify what range of the revs our spindle has (taking into account the inverter settings and eventually the ratio). Select the „Config/Spindle Pulleys..” menu position. If we use one ratio then enter „Min” and „Max” revs. Approve it with „OK.” Last thing related with revs controlling is the choice of analog output, which will be used.
AXIS SETTINGS”Select the next axisetc. 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.
While connecting the STEP/DIR signals to the drive (both servo and stepper drives) pay attention which STEP edge is active. The active edge in the CSMIO/IP-M is the leading edge – namely change of the STEP+ signal from the logic “0” state (0V) to logic “1” (5V).
– „Enabled” area. „Negated” specifies that the signal is active in the low status. The „Input Pin” specifies the input number on the CSMIO/IP-M controller. If the fault signal will appear the CSMIO/IP-M stops all axis within 0,0001s. It is worth to configure the servo drives dynamic brake function, which will reduce the distance that the axis moves due to inertia.
Normally this is adjusted by two sliders on the main screen. If the machine is equipped in additional desktop with the buttons etc., using the CSMIO/IP-M controller you can control the feed rate and spindle rotations by the potentiometers connected to the analog inputs. In the „Override sources”...
(if the FAULT signals were configured correctly). Mach3 program does not support the RESET signal from servo drives. For this purpose in the CSMIO/IP-M you can define the digital output as a „Servo drive RESET”. After pressing RESET in the Mach, the signal is activated for about 1 second and then goes inactive.
10.10 Selection of inch/mm units Selection of the units by which the axes in „Motor Tuning” are scaled is set in the „Config/Select Native Units” menu position. Select the unit in the window and close „OK”. 10.11 Parameters in the General Config window. In the „Config/General Config”...
Page 50
The intention of Mach’s creators is an option, which switch on/off slave axis and master master axis 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 in ms With this option selected the delay for G04 is count in milliseconds.
If everything works correctly, then press RESET on the screen and go to the next section. If there is no response for the signals, you should check if program communicates correctly with the CSMIO/IP-M controller. In the diagnostic window „PlugIn Control/CSMIO-IP_Plugin” menu you can check the connection status.
11.2 Verification of axes scaling and motion directions First control of the motion should be made at low speed. After pressing Tab key on the keyboard – the manual feed rate panel should open. In the „Slow Jog Rate” enter e.g. 10%. It means that the motion will have 10% of the maximum speed, defined in the Motor Tuning.
11.3 HOMING and software limit switches test 11.3.1 First homing When the axes are scaled correctly and the motion directions are correct – it is time to make first machine’s homing. During normal work, most comfortable is to use the button of all axes homing („Ref All Home”...
11.4 Test of spindle and cooling. At this stage, almost all major elements of the system were set and the tool machine is almost ready to work. One important issue left – spindle test. Mach should be in the active mode. The quickest way to test the spindle is MDI mode.
12. Sample processing step by step To look closer for the rules of using the machine equipped with the CSMIO/IP-M control system – here is an example of a simple work. An example includes the area planning and milling the logo in the 30.6x30.6x48mm size cube made of hard aluminum alloy.
Page 56
The newly created object coincides exactly on the position and size with the working area. Now you should add the mentioned additional enlargement, so that the milling cutter will go with its whole diameter out of the material – thus we get a better surface. We click on our object and select the „Vectors/Offset”...
Page 57
You should inform the program what kind of tool you use. Below the Tool List click the Add button. In the tool-base window, click the Add Tool, to add a new tool. Enter the parameters as the picture shows. Some parameters like description or diameter are obvious.
Page 58
Next, generate the tool trajectory for the logo. Go back to 2D preview, and in the Toolpaths tab panel, next to the last generated path – uncheck the Show In 2D|3D. Previous trajectory disappears so it will not disrupt our view. Now select our logo and again click the Area Clearance icon.
12.2 Preparation of the machine and the Mach program When files are ready, you only need to place and base the material. First launch the Mach3 program and make the reference ride of all axes pressing „Ref All Home” button on the main screen. Place the material securely, to avoid the risk of its shifting or breaking during the process.
Page 60
At this point, we can set the material base in the X-axis by clicking „Zero X” button on the Mach screen. Coordinate X on the screen will be reset. Switch the feed rate mode on continuous one, „Slow Jog Rate” speed – e.g. 2% because we are very close to the material and the same way we set the Y base on the lower edge of the cube.
12.3 We begin the work In Mach program, we select „File/Load G-Code” menu position or click the „Load G-Code” button on the main screen. Select a created earlier file: „planing.tap”. When the file is loaded, we can initially set the machine over the material and enter on the MDI screen.
Page 62
After this operation, we can start the work from the second file not forgetting about 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.
13. A few practical notes about Mach3 program and CSMIO/ IP-M Here are a few tips that can help people unfamiliar with the Mach3 program. 1. Computer keyboard. a. Do not use a wireless keyboard, sometimes this keyboard record keystroke, but does not notice releasing it, which can be very dangerous while controlling the machine.
Page 64
7. Mach3 always starts with chosen tool „0”, if you use the tools changer and some tool left in the handle while turning of, after Mach restart, you must enter this tool number (of Tool Information group on the main screen, the "Tool"). a.
Automatic tool-length measurement is one of most implemented function, e.g. because mechanically it is very easy to do. If high measurement accuracy is required, the sensor must be a good quality. 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 the highest level.
14.1.1 Configuration Before starting the script configuration, you should follow these steps: 1. Check the sensor and inputs signals working – go to Diagnostics area and while pushing the hand sensor observe the control light on the screen. The control light should light up in the moment of pushing the sensor and off after releasing it.
– there is often required a strict adjustment to a concrete machine tool. CS-Lab S.C. Company provides services for launching, configuration and adaptation of the control system for specific needs. We also offer complete solutions - the entire control box preparation, launching, configuration and preparation of the macro for specialized tasks, etc.
15. Addition A – CSMIO/IP-M software updates We invite you to visit our website: http://www.cs-lab.eu for the CSMIO/IP-M software updates in the „download” section. The controller updates includes corrections and often enrich the device with new features so it is worth to update the controller regular.
CSMIO/IP-M controller is protected if the programming will fail. There is always the possibility of re- programming the uploader application. Before updating – close the Mach3 program. 15.3 Plugins file update Last update step is to copy the new plugin version to the file directory: „C:\Mach3\PlugIns”.
Need help?
Do you have a question about the CSMIO/IP-M and is the answer not in the manual?
Questions and answers