Home
DSPMC Mach4 Software Integration
Contents
1. set to one of the available Digital 1 0 See image below pm imei tates ots para Sita Tent inet Name Active Lew Motor Dome Mete Hoe Mator 3 Hone Motor Home Mtr Motor 7 Home Motor 9 Home Mete 10 ome MUN KON 2014 Vital Systems Inc 7 www vitalsystem com DSPMC Mach4 Software Integration Mapping Inputs 5 Digital Input Pins The following table shows the mapping from DSPMC inputs to the actual digital input pin numbers available on the DSPMC board input 0 IP11 Input 1 IP11 Input 2 IP11 Input 3 IPL input 4 IP11 Input 5 input 6 Pi Input 7 input 8 IP11 Input 9 IP11 Input 10 IP11 Input 11 IP11 Input 12 IP11 input 13 IP11 Input 14 Input 15 IP12 input 0 IP12 Input 1 P12 Input 2 P12 Input 3 P12 Input 4 IP12 Input 5 P12 Input 6 P12 Input 7 P12 Input IP12 Input 9 P12 Input 10 IP12 Input 11 IP12 Input 12 IP12 Input 13 P12 Input 14 IP12 Input 15 2014 Vital Systems Inc 8 www vitalsystem com DSPMC Mach4 Software Integration P13 input 0 IP13 input 1 P13 Input 2 IP13 input 3 IP13 Input 4 IP13 input 5 P13 Input 6 P13 Input 7 IP13
2. with DSPMC plugin double click on the MachAGULexe software icon on the desktop or in the install folder 5 Enable the DSPMC plugin The DSPMC plugin configuration screens can be accessed by going to the main window then the Configure menu item top of the main window then Plugins which will provide you with the following screen em T CONAN mapene D coque al Decius 514 LWA Nevtong Sens xe ums edges d 6 fan X is displayed on the Enabled column click it to enable the DSPMC plugin as shown in the image above 7 You may have to restart if the DSPMC plugin was disabled 2014 Vital Systems Inc 4 www vitalsystem com DSPMC Mach4 Software Integration Starting Mach4 with DSPMC eect Maton Device If the steps in the plugin setup were followed correctly you should be provided with the dialog box to select the motion device with the ety y estra DSPMC as an option on Mach4 startup Make sure this plugin is selected 7 and click OK See image to the right TON cen VIALSST com The Select Motion Device window can also be accessed from the Configure menu item top menu in the main window then Set Motion Device Make sure the DSPMC is powered up and properly connected to the Ether
3. or GCode Files 2014 Vital Systems Inc www vitalsystem com DSPMC Mach4 Software Integration Control Input Parameters Control Input Source Control Input Source defines the input type set point for the PID filter for a particular axis This should be set to MACHxx If the axis is not used it must be disabled by selecting undefined Control input Index Defines the index of the PID input source Normally this is equal to the axis number For slave axis it should be set to the number of the master axis Control Input Gain The control input Commanded is multiplied by this number before applying to PID filter Control Output Parameters Control Output Source Control Output Type defines the output for the PID filter for a particular axis The possible values are gt DAC Use one of the analog outputs as the PID control output This setting is used to drive a Serva amplifier that takes 10volt reference inputs gt Stepper Use one of the dedicated digital output pairs for the Step and Direction signals used in stepper drives gt Undefined This setting is used to disable the axis and to ignore the control output index If the axis is not used the Control Output Source must be set to undefined Control Output Index Defines the output channel where the commanded motion will be sent to Feedback Parameters Feedback Source PID Feedback Source defines the feedback type for the PID f
4. Systems Inc 24 www vitalsystem com DSPMC Mach4 Software Integration Command Pos Displays the command position This value is either the generated position from Mach the generated position from internal mation commands such as those generated from the Macra Feature Following Error Displays the current following error This value is the difference between the Command Pos and the Feedback If this value increases beyond the configured Max Follow Error then the DSPMC immediately triggers an Estop which disarms the whole system Analog Inputs Displays the voltage reading in millivolts on an analog input The DSPMC Status window also displays the current 1 0 states This information must be consulted when diagnosing dysfunctional Mach4 signal states e g an input isn t turning on correctly or estop signal always active and to determine if an input output is turning ON OFF correctly 2014 Vital Systems Inc 25 www vitalsystem com DSPMC Macha Software Integration Additional Setup Spindle Setup Analog Voltage Spindle When using a VFD or other motor controlling device that uses 0 10V 10V control the following steps are needed 1 Set the Spindle Type to Analog Voltage 0 10V or Analog Voltage 10 2 On the Mach4 Config window go to the Spindle Tab For this example set MinRPM to 0 and MaxRPM to 100 This will give Ov output to the spindle at SO RPM a
5. e DROs 2000 2049 VDRO 2050 2099 These read only registers are general purpose numerical values that are received from the DSPMC and used in the BASIC Macro Program DROs 2050 2099 VLED 2000 2031 These writable registers are general purpose bit values that are sent to the DSPMC and used in the DSPMC BASIC Macro Program LEDs 2000 2032 VLED 2050 2081 These read only registers are general purpose bit values that are received from the DSPMC and used in the DSPMC BASIC Macro Program DROs 2050 2099 2014 Vital Systems Inc 30 www vitalsystem com
6. ensure the safety of all operators as well as anyone near or in the area of my machine 2014 Vital Systems Inc 2 www vitalsystem com DSPMC Macha Software Integration Introduction CNC Software is an off the shelf Milling and Lathe machine control software The trial version of the software can be downloaded from www machsuppart com The DSPMC board can be integrated with to form high performance machining center The DSPMC Software Tools provide the necessary drivers and configuration files to interface with software This document assumes that user is familiar with the usage of Mach4 software This chapter describes the mapping of Mach4 internal software signals to the DSPMC connector The general software operation remains mostly the same when using DSPMC plugin jeveral notes such as this be found throughout this document which list key points and comments worth remembering 2014 Vital Systems Inc 3 www vitalsystem com DSPMC Macha Software Integration Mach4 Configuration DSPMC Mach4 Plugin Setup To setup the DSPMC plugin with Mach4 please follow the steps below 1 Download the DSPMC plugin here 2 Open the zip file and the plugin file M4DSPMC m4pw can be found within 3 To use the DSPMC plugin for Mach4 extract or copy the MADSPMC m4pw file to the Plugins folder in the Mach4 install directory usually C Mach4 Plugins 4 To launch
7. input IP13 input 9 P13 input 10 P13 Input 11 IP13 Input 12 IP13 Input 13 P13 Input 14 IP13 Input 15 Pia input Pla Input 1 Pla input 2 Pia input 3 PTA input 4 P4 Input Pl input 6 Pia input 7 Pia input Pla Input 9 IP14 Input 10 P14 Input 11 P14 Input 12 P14 input 13 IP14 input 14 IP14 input 15 2014 Vital Systems Inc 9 www vitalsystem com DSPMC Mach4 Software Integration Mapping 4 Outputs to DSPMC Digital Output Pins The following table shows the mapping from DSPMC Mach4 outputs to the actual digital output pin numbers available on the DSPMC board Pit Output 0 Pid Output T Pit Output 2 TPI Output 3 Pit Output a 1 11 Output 5 1 11 Outputs Pit Output 7 TP12 Output 0 1 12 Output T 1 12 Output 2 1 12 Output 3 P12 Output 4 1 12 Output 5 1 12 Output 6 1 12 Output 7 Pas Output 0 1 1 Output P13 Output 2 IP13 Output 3 1 1 Output 4 PIA Output 5 Fi3 Output P13 Output 7 Pia Output 0 Pia Output 1 Fia Output 2 Pia Output 3 Pia Output 4 Pia Output 5 Pia Output Pia Output 7 2014 Vital Systems Inc 10 www vitalsystem com DSPMC Mach4 Software Integration Motor Parameters On the Motors tab enable the motors that will be used by checking the checkbox of the corresponding motor to the upper right of the window NOTE The Motor Backlash and Axis Direction are al
8. DSPMC 4 Software Integration Ethernet Motion Controller Data Acquisition System PID Controller Document Revision 1 0 Updated Sept 9 2014 2014 Vital Systems Inc Phoenix AZ USA DSPMC Macha Software Integration Table of Contents LICENSE AGREEMENT INTRODUCTION CONFIGURATION DSPMC Macha Plugin Setup Starting Macha with DSPMC 5 Macha Configuration 6 Digital 7 Mapping Macha Inputs to DSPMC Digital Input Pins 8 Mapping Outputs to DSPMC Digital Output Pins 10 Motor Parameters Axis Mapping 2 DSPMC SYSTEM CONFIGURATION Communication Spindle Type and Index Threading E Misc Config E Manual Pulse Generation MPG 5 Hardware Encoder Polarity 16 Encoder Debounce 16 Update DSPMC System Tab 16 DSPMC MOTOR CONFIGURATION Control Input Parameters Control Output Parameters 18 Feedback Parameters 18 PID Fiter 19 PID Tuning Stops 20 Test Motion n Homing Parameters DSPMC STATUS WINDOW ADDITIONAL SETUP Spindle Setup 26 Analog Voltage Spindle 26 Spindle Axis x MPG Setup 28 Axis Homing Setup and Soft Limits 29 DSPMC Registers 30 2014 Vital Systems Inc 1 www vitalsystem com DSPMC Macha Software Integration icense Agreement Before using the DSPMC and accompanying software tools please take a moment to go thru this License agreement Any use of this hardware and software indicate your accep
9. before clicking on Execute The Ready LED shows if the current motion command is completed and DSPMC is ready for new motion command New motion command can be launched by Execute button when the Ready LED is Green If the LED goes to Red after click on Execute but you do not observe any motion the velocity or acceleration may be too low Arm Button By clicking this button the Plugin download s PID Filter parameters and arm or disarm the PID If PID is armed the LED below this button will turn to GREEN otherwise it will be RED Home Button Executes the Homing sequence based on selected Homing settings Review section 7 12 3 Control Parameters to configure Mach4 Homing options for each axis before executing Homing Reverse Checking this option will multiply parameter in the position box with 1 and thus direction of motion will be reversed Auto Reverse Checking auto reverse option will toggle reverse option between two consecutive motion commands thus the user do not have to manually reverse the direction of motion every time Axis Position Display DRO Shows the position of the axis based on certain settings as described below Show units When this option is selected the data shown will be converted and shown in units mm inches etc otherwise data will be displayed in raw encoder counts gt Commanded position Display shows the value of the internal variable for the commanded pos
10. coder Debounce The Encoder debounce field is used to filter noise from the hardware encoder signals Lower debounce values filter less noise while higher values reduce the maximum frequency of the encoder signals While recommended setting of 10075 is normally sufficient higher values may also be used if the noise persists Update DSPMC System Tab This button downloads all system configuration parameters to the DSPMC 2014 Vital Systems Inc 16 www vitalsystem com DSPMC Mach4 Software Integration DSPMC Motor Configuration pen rte rt o Gees 2000 19661 ac Toon The Motor tabs provide configuration settings that are directly related to each motor These tabs also provide motion testing features There two sets of parameters PID parameters and the Controls parameters The Control Parameters are used to denote which command output and feedback channels are used to control the motor The PID Parameters fine tune the output signal and are only used when a DAC Output Analog voltage output is selected Motion may also be tested from this tab The Test Motion component is the recommended starting point when attempting motion as it provides better diagnostics and a more controlled environment It is preferred to start testing motion on this window before performing motion functions in Mach4 such as jogging MDI
11. e File Running no active motion sequences such as MDI homing are being performed Run pe Joona UPC ueso Inc 0 100000 2 Inc 1 000000 Ae AN Inc 1 000000 2014 Vital Systems Inc 28 www vitalsystem com DSPMC Macha Software Integration Axis Homing Setup and Soft Limits Refer to the Homing Parameters in the System Tab of the 5 Plugin Config In the Configuration Window select Homing SoftLimits MN N RUN Refer to the manual for information regarding the fields in this window General knowledge applies to this setup 2014 Vital Systems Inc 29 www vitalsystem com DSPMC Mach4 Software Integration Mach4 DSPMC Registers The DSPMC plugin defines several Mach4 registers that are primarily used in communicating information for custom user functionality These registers are included in the DSPMC plugin mostly for developer purposes Most motion control setups can skip this section VENC 0 15 These read only display the current encoder counter position for each encoder channel VADC 0 7 These read only registers display the voltage readings for each analog input channel VDRO 2000 2049 These writable registers are general purpose numerical values that are sent to the DSPMC and used in the BASIC Macro Program i
12. eversed wiring on the encoders Setting this value to zero disables the watchdog Manual Pulse Generation MPG MPG Source Type This section defines MPG Manual Pulse Generation Quadrature encoder source Both Differential and Single Ended Encoder types are supported gt Hard Encoder This type corresponds to the differential encoders hooked up to any of the six encoder channels on connectors J3 16 7 and 8 gt Soft Encoder Single Ended encoders that can be hooked up to the Digital Inputs available on Connector 5 gt Undefined This option causes DSMPC to ignore MPG Source values 2014 Vital Systems Inc 15 www vitalsystem com DSPMC 4 Software Integration MPG Source Index If Hard Encoder is selected in MPG Source Type MPG Index denotes the hardware encoder index If Soft Encoder is selected MPG Index denotes available digital input options The Soft Encoder pin assignments are as follows J4 Pin 24 on J4 Pin12 on J4 Pin 25 Soft Encoder on J4 Pin 13 on IS Pin 18 Soft Encoder 2 Hardware Encoder Polarity The Hardware Encoder Polarity field is used to reverse the direction of the encoder counters ifthe A B encoder signals are connected in reverse such that it does not match the PID Axis control direction the system will not be able to arm To fix this issue the hardware A and signals can be reversed using this parameter En
13. ilter for the selected axis The possible values gt Encoder Ise one of the differential hardware encoder 0 7 as the PID feedback gt AZD Use one of the analog inputs as the PID feedback This allows PID to be used for temperature and process control in addition to motion contro applications Feedback index Selects the index of the feedback source Max Follow Error Maximum deviation allowed between command and actual position If the controller detects a difference that exceeds this limit an emergency stop is triggered which will requires the controller to be manually re enabled 2014 Vital Systems Inc 18 www vitalsystem com DSPMC Mach4 Software Integration This field can be back calculated from the maximum velocity of the axis Below is an example that uses 600 000 counts sec for max speed The DSPMC checks the max following error every millisecond max speed of 600 000 counts sec is equivalent to 600 counts ms Therefore to allow 600K count sec speed the max following error should be 600 or more PID Filter The values in this section define the co efficient of PID filters for the selected motor The PID filter runs at 5 KHz for each motor Setting the PID parameters requires a trial and error process of test motions with the objective of getting the commanded position as close as possible to the actual position To achieve the ideal tuning do the test motions over very s
14. is Control Output Index Threading Threading RPM Synch Source This parameter defines the encoder type for Spindle speed calculation and starting the threading cycle The Index pulse from the encoder is used to launch the Z Axis at the Tight time in order to position the tool correctly for Threading in every cycle The RPM calculation is used to override the feedrate of the Z Axis during the threading cycle Two possible values for RPM Sync Source parameter are HardEncoder or Undefined gt Undefined When this option is selected DSMPC will not enable threading and value of RPM Synch Index will be ignored 2014 Vital Systems Inc www vitalsystem com DSPMC Mach4 Software Integration HardEncoder The spindle feedback encoder must be connected to one of the encoder inputs on J3 16 17 and J8 connectors The encoder s differential A and B signals are used to calculate the RPM of the spindle and Index pulse is used to trigger the threading cycle Threading RPM Synch Index This parameter defines the encoder index for Spindle speed feedback Below is the range for this index HardEncoder index range is 0 7 Threading RPM Count Rev This parameter defines the encoder resolution in terms of count revolution for Spindle speed feedback For HardEncoder type encoder the encoder resolution must is multiplied by 4 No multiplication is done when Digitallnput is selected Threading RPM Sampli
15. ition for the selected axis Load Encoder Display shows the axis position derived from backlash count and selected feedback encoder gt Motor Encoder Display shows the current value of the axis position derived only from the encoder feedback 2014 Vital Systems Inc 2 www vitalsystem com DSPMC Mach4 Software Integration Homing Parameters Homing Type Defines the homing sequence for each axis With the Home Sensor method the axis is commanded to move in the configured homing direction until the motor s home sensor is activated It then moves in reverse at 20 of initial speed until the home sensor is deactivated of the following steps is performed depending if the Use Index Pulse option is selected or not Ifthe axis is NOT set to Use Index Pulse the home position is defined at this exact point and the home offset is assigned as the current position of the axis Ifthe axisis set to Use Index Pulse the axis continues to move and only stops when the Encoder Index Pulse is triggered The home position is defined at this exact point and the home offset is assigned as the current position of the axis For IndexPulseOnly the axis moves in the configured direction to locate the Encoder Index Pulse to home the axis As soon as the index pulse is detected the home position is defined at this exact point and the home offset is assigned as the current position of the axis Slave Misalignment This
16. ki PID control PID Tuning Steps Set P to 100 Max Follow Error at 5000 low passat 5 Set all other parameters to zero Do test motion commands with very high acceleration and velocity settings but over a small position such 0 1 units Refer to the Test Motion Section 3 Ifno motion is observed start increasing P until you do see motion Check the Response graph for details on the motion 4 If the actual position moves is in the opposite direction of commanded change the encoder polarity in the system tab 5 Once you get a decent graph i e actual position follows commanded start adding 4 Max D and Velocity Feed Forward terms to fine tune the graph 6 Ideally the actual graph line should be as close to commanded as possible Do the test motions for small and large moves ie few mm to 100 of mms 2014 Vital Systems Inc 20 www vitalsystem com DSPMC Mach4 Software Integration DIL Sn Pmt tna enr ideal PID Tuning Graph Test Motion Test Motion component can be utilized to accurately tune the PID Filter Parameters and configure the Control parameters The Ready LED shows if the DSPMC is armed and ready to accept motion commands A motor can only execute motion profile at a time ACCEL gt VELOCITY gt DECCEL gt STOP however the other motors can still be commanded with test motion A motor will on
17. ly accept new motion commands once the current motion profile has completed or has been stopped Once the test motion is complete you can see how closely the axis followed the commanded motion profile on the PID Response graph The PID parameters may be tweaked and execute the test motion to verify the behavior If the AutoReverse option is enabled the axis will reverse the direction automatically at the start of the next Execute command and thus prevent the axis moving in anly one direction during testing Position Test motion final position or displacement in terms of Position Units e g 1 5 10 093 mm Inches etc 2014 Vital Systems Inc n www vitalsystem com DSPMC Macha Software Integration Acceleration Test motion acceleration value in terms of Units per second squared e g inches second mm sec etc Velocity Test motion velocity value in terms of Units per minute e g inches minute mm minute etc Relative and Absolute These check boxes indicate whether the value in the Position field is either the distance to travel relative or the final position absolute Execute Button Transmits Execute Motion command to DSPMC In addition it also downloads PID Filter parameters before starting the motion User can press Cancel button to cancel the motion execution anytime during the machine operation Make sure you have downloaded the axis controls setting by clicking Update DSPMC
18. mall distances e g 3 Smm and at the maximum velocity and acceleration that the motor will allow This way the PID values will be configured to accurately position the motor using the minimum amount of time Below is a description of the PID Parameters P Proportional Gain 1 Integral Gain D Derivative Gain Max Error 1 Maximum Integral Error for the integral gain This must be greater than O if you put non zero value in the I term Dead band a range of position around the commanded position where the PID is nat active when armed For example if the current command position is 1000 counts with a Dead band of 10 the PID will be inactive between 990 and 1010 counts 2014 Vital Systems Inc 19 www vitalsystem com DSPMC Mach4 Software Integration Offset Sets a constant bias to the PID output This is useful to cancel any offset output voltage on the DSPMC analog output channels 12 DAC 0 7 Velocity Feed Forward This value bypasses the PID filter and directly applies an increase to the Analog Voltage output Low Pass Filter This field is used to smooth the analog output so the motors run smooth and less noisy As the PID runs at 5 KHz a value of 5 will create a nice linearly increasing DAC output at 1 KHz If you put a value of 10 effective speed will become 500 More information on other PID terms and general discussion on PID control 5 available at http en wikipedia org wi
19. n config 2014 Vital Systems Inc 2 www vitalsystem com DSPMC Macha Software Integration DSPMC System Configuration Ser pn ot ot oer SS ITAL In the system tab you can set a number of configurations Clicking on the Update DSPMC will transmit these settings to the DSPMC controller Clicking OK will also transmit the data and also save this data in the selected Mach profile e g Mach4mill Mach4turn etc In the following sub sections users can find detailed information about various configuration options that are provided under the system tab Communication Serial Number This parameter allows to selectively connect to a DSPMC if multiple are present on the network with the 6 character serial number written on the DSPMC If set to zero will connect to the first DSPMC it finds value of zero is preferred if there is only one 5 connected to the PC 2014 Vital Systems Inc B www vitalsystem com DSPMC Mach4 Software Integration Max Buffer Level This parameter defines how much command position buffering will be done inside the DSPMC controller The total size of the buffer is 4096 motion vectors a motion vector is a vector of all axes positions in a millisecond resolution These vectors are consumed by the DSPMC at 1 KHZ Lower values make the motion more responsive to feedrate changes or feedholds but more prone to jerking d
20. nd a 10v at 100 max RPM cnt ets sng Lorn ctor Dap i Me Tne Dreier Revered SOOO AUN mont ette 2014 Vital Systems Inc 26 www vitalsystem com DSPMC Mach4 Software Integration After testing you can then set the MinRPM to 0 and MaxRPM to your spindle motor s max RPM This will allow you to program 5 commands for actual RPM in the G code On the Plugin Config System tab you can configure the spindle to use 10V or 0 10V by selecting the Spindle Type Spindle Axis You may configure any axis as a spindle axis by setting the Spindle Type as a GCode Index as the axis number and the Spindle Bonner T Seem vorn PS E NETT Once the spindle axis has been set you may then issue any GCode command e g 600 10 for spindle position control as well as Spindle speed commands e g 5500 M3 to control the spindle speed and direction using the closed loop axis PID control 2014 Vital Systems Inc x www vitalsystem com DSPMC Macha Software Integration MPG Setup See MPG Config in the System Tab for details In Mach4 jogging an axis with Handwheel Pendant only requires the MPG parameters in the System Tab of the DSPMC Plugin are configured MPG jogging is enabled anytime the Keyboard On screen jogging is allowed e g GCod
21. net network Mach4 will automatically search through all networks for any DSPMC and if successful will display a status message containing information for the currently connected 5 See image below fw 5 were 0 0000 2014 Vital Systems Inc 5 www vitalsystem com DSPMC Macha Software Integration Mach4 Configuration Open the Mach Configuration window by going to the Mach main window and on the main menu top of the main window click Configure and then Mach from the drop down menu You should see the following window pm uoc sipping Homing Sets put sanais Output Sanat Tool pan Deft Modes Terentia Consort Vatoci p Look Ae tnes Diaez Mode reme p ade prom 9 ont Gent p Lo lt ndude Comments pd deseen ele ops Conte ep no Enable vio To 3 uc Steal a w dane T tin From here click on the Input Signals tab or the Output Signals tab to configure the Digital Settings It is imperative to setup the necessary limit and estop switches before attempting to perform motion 2014 Vital Systems Inc 6 www vitalsystem com DSPMC Macha Software Integration Digital 1 0 To map a Mach4 signal to DSPMC Digital the selected device must be set to DSPMC and the Input Output
22. ng ms This parameter defines the timing window in milliseconds to add the encoder counts for RPM calculation For slow pulse train eg only few ticks per rev this value should be high enough to accumulate enough counts to calculate RPM consistently If the window time is too long the system reaction time regulation of Z Axis feedrate to changing RPM will be slow A higher count rev encoder will allow this window time to be very small which will allow the system to react fast regulate Z Axis feedrate if RPM changes The range of this field is from 1 thru 10000 milliseconds Misc Config Enable Debug Window Selecting this option will have open a debug window on the next startup More technical debugging messages are displayed here and can be used for assistance in debugging problems in Macht Sensor Debounce This parameter controls the debounce value in milliseconds for signals that are triggered internally on the DSPMC e g Estop Limit Home switches higher value will cancel out noise This value cannot exceed 1000ms DAC Watchdog Time Limit When a runaway axis condition is detected this condition sets how much time in milliseconds to wait before performing an emergency stop in order to prevent damage to the machine A runaway axis condition is one where the command position and actual position are not moving in the same direction This could be a result of a reversed encoder polarity config or r
23. so configured from this window Because of the flexible nature of Mach4 the number of available motors is determined by the currently selected mation control device For example the DSPMC motion controller can control a maximum of 8 motors while the HiCON motion contraller can control 6 motors NOTE These motors correspond to the motor config in the DSPMC plugin config As such these parameters utilized by the DSPMC plugin when generating mation The DSPMC will only arm a motor if it is enabled from this window pon Gone 2014 Vital Systems Inc u www vitalsystem com DSPMC Mach4 Software Integration Mach4 Axis Mapping marks a clear separation between the definition of an Axis and a Motor As such it is improper terminology to interchange the two With this in mind the available motors must be organized under the control of the Mach4 Axes This can be done with the Axis Mapping tab in the Mach4 config xe e ve se nea alc Se zm 4 Gael ws EN From this window you can quickly enable disable an axis set a master and slave motor and reassign motors to different axes without having to modify the motor configuration in the 5 plugi
24. tance to this agreement It is the nature of all machine tools that they are dangerous devices In order to be permitted to use DSPMC on any machine you must agree to the following license agree that no one other than the owner of this machine will under any circumstances be responsible for the operation safety and use of this machine agree there is no situation under which would consider Vital Systems or any of its distributors to be responsible for any losses damages or other misfortunes suffered through the use of the DSPMC board and its software understand that the DSPMC board is very complex and though the engineers make every effort to achieve bug free environment that 1 will hold no one other than myself responsible for mistakes errors material loss personal damages secondary damages faults or errors of any kind caused by any circumstance any bugs or any undesired response by the board and its software while running machine or device fully accept all responsibility for the operation of this machine while under the control of DSPMC and for its operation by others who may use the machine itis my responsibility to warn any others who may operate device under the control of DSPMC board of the limitations so imposed fully accept the above statements and wll comply at all times with standard operating procedures and safety requirements pertinent to my area or country and will endeavor to
25. ue to premature emptying of the motion buffer The ideal value is one where feedrate change responsiveness is adequate while preventing the motion buffer from going empty in the middle of motion The valid rage for this parameter is 1 5000 milliseconds Recommended is 100 500 and a polling frequency of 10092 Polling Frequency This parameter sets the update and data exchange frequency of the DSPMC plugin A higher value will speed up the plugin processes and exchange data faster with the DSPMC but it will also significantly increase network traffic and add more strain on the CPU Valid values are 2 250Hz Although Mach 3 used a Frequency of 10Hz to exchange data the recommended value for Mach4 is 100Hz Spindle Type and Index The Spindle Type configuration can be set to the following Undefined Select this if a spindle is not used Analog Voltage 0 10V Most common for spindles driven by a VFD Uses Spindle Relay outputs for direction index indicates which DAC output channel to use Analog Voltage 10V Bi directional analog voltage index indicates which DAC output channel to GCode Axis Sets Mach controlled motor to be used as a spindle Typically used for spindles that are controlled by Step Dir signals instead of Analog Voltage index determines the motor number to use NOTE For spindles using Analog Voltage make sure the selected DAC output number is not used in any other ax
26. value sets the amount of additional motion a slave motor will perform after a Master Slave Homing Sequence This comes in handy in certain applications such as squaring gantry after homing Independent Master Slave Homing This parameter enables a slave motor to home independently of the master 2014 Vital Systems Inc www vitalsystem com DSPMC Macha Software Integration DSPMC Status Window To access the DSPMC Status Window go to the Mach4 main window and on the main menu top of the main window click on Diagnostic and then DSPMC from the drop down menu You should see the following window This window contains information about the current state of the DSPMC such as Properties Displays the device information of the DSPMC and activated features Encoder Displays the current encoder position These fields are helpful for indicating if the encoders are properly connected Feedback Displays the current axis feedback The value of this field depends on the currently selected feedback for the given motor axis e g Encoder counts in closed loop or outputted step pulses in open loop StepGen Displays the counter for outputted step pulses When using encoder feedback this value should ideally be equal to the Encoder counts although factory policy dictates a maximum difference of 4 counts between the Stepper and Encoder counts is allowed 2014 Vital
Download Pdf Manuals
Related Search
Related Contents
Philips 7FF1MS 7" PhotoFrame Manuel Liebert® eXM™TXC™ - Emerson Network Power How to Use Tape Tiering Accelerator (Automatically Linked ダウンロード User Manual - Push To Talk Pro FIELD-Nav - Müller Elektronik & Co. R OWCDraft Indian Standard - Bureau of Indian Standards 3D Shutterbrille fiir 3D TVs, wiederaufladbar 3D Shutter PRODUCTINSERT SSP Minor Histocompatibility Antigen Primer Sets Copyright © All rights reserved.
Failed to retrieve file