Home

MCX314As/AL User`s Manual

image

Contents

1. 101 9 9 BP Data Stack 101 9 10 BP Data Clear 101 9 11 Single Step Interpolation 101 9 12 Deceleration Enabling 102 9 13 Deceleration Disabling 102 9 14 Interpolation Interrupt Clear 102 10 Other Commands 103 10 1 Automatic Home Search Execution 103 10 2 Deviation Counter Clear Output 103 10 3 Synchronous Action Activation 103 10 4 NOP for Axis Switching 103 11 Connection Examples 104 11 1 Connection Example for MCX314As with 68000 CPU
2. 24 2 4 4 Constant Vector Speed 28 2 4 5 Continuous Interpolation 29 2 4 6 The Acceleration Deceleration Control in Interpolation 31 2 4 7 Single step interpolation from Command or External Signal 34 2 5 Automatic Home Search 36 2 5 1 Operation of Each Step 36 2 5 2 Deviation Counter Clearing Signal Output 38 2 5 3 Setting a Search Speed and a Mode 38 2 5 4 Execution of Automatic Home Search and the Status 39 2 5 5 Errors Occurring at Automatic Home Search 40 2 5 6 Notes on Automatic Home Search 41 2 5 7 Examples of Automatic Home Search 42 2 6 Synchronous Action 46 2 6 1 Example of Synchronous Action 49 2 6 2 Synchronous Action Delay Time
3. 104 11 2 Connection Example for MCX314As with H8 CPU 105 11 3 Connection Example for MCX314AL with SH 4 CPU 106 11 4 Connection Example 107 11 5 Pulse Output Interface 107 11 6 Connection Example for Input Signals 108 11 7 Connection Example for Encoder 108 12 Example Program 109 NOVA electronics Inc MCX314As AL vi 13 Electrical Characteristics 118 13 1 DC Characteristics for MCX314AS 118 13 2 DC Characteristics for MCX314AL 119 13 3 AC Characteristics for MCX314AsS 120 13 3 1 Clock 120 13 3 2 Read Write Cycle
4. 53 2 6 3 Notes on Synchronous ActiOn 53 2 7 Interrupt 55 2 8 Input Signal Filter 57 2 9 Other Functions 59 2 9 1 Driving By External Pulses 59 2 9 2 Pulse Output Type Selection 60 2 9 3 Pulse Input Type Selection 61 2 9 4 Hardware Limit Signals 61 2 9 5 Interface to Servo Motor DriverS 61 2 9 6 Emergency Stop 62 2 9 7 Status Output 62 2 9 8 General Purpose Output Signal 62 NOVA electronics Inc MCX314As AL iv 3 Pin Assignments and Signal Description 63 3 1 MCX314As Pin Assign
5. FC2 FC1 FCO f From the reset circuit of the system 104 2 NOVA electronics Inc MCX314As AL M105 11 2 Example of Connection for MCX314As with H8 CPU H8 3048 es Example of 16 bit Bus Mode Connection MCX314As 5 J 16MHZ 7 16MHz indicates high resistance pul up Address Assignment in Mode 5 Address Write Register Read Register 80000 WRO RRO 80002 WR1 RR1 From the reset circuit 80004 WR2 RR2 Of the System 80006 WR3 RR3 80008 WR4 RR4 8000A WR5 RR5 8000C WRG RRG lt Low order data D15 D0 8000E WR7 RR7 lt High order data D31 D16 H8 3048 Example of 8 bit Bus Mode Connection MCX314As XTAL oS EXTAL 16M 7 CLK RD RDN AWR WRN CS4 CSN A3 A3 A2 A2 A1 A1 AO AO D15 D8 K D7 DO indicates high resistance pul up D15 D8 5V IRQ4 INTN H16L8 From the reset circuit RESETN of the system 105 NOVA electronics Inc SH 4 SH7760 MCX314As AL M106 11 3 Example of Connection for MCX314AL with SH 4 CPU Example of 16 bit Bus Mode Connection MCX314AL Clock_Generato CLK RD RDN MEO cst WRN CSN SH 4 SH7760 Examples of Waiting Control INTN 3 3V H16L8 RESETN From the reset circuit of the system Vindicates high resistance pull up Bus Clock 66 664MHz Se
6. 120 13 3 3 BUSYN Signal 121 13 3 4 SCLK Output Signal Timing 121 13 3 5 Input Pulses 121 13 3 6 General Purpose Input Output Signals 122 13 4 AC Characteristics for MCX314AL 123 TSANG Re sees ek A ea A 123 13 4 2 Read Write Cycle 123 13 4 3 BUSYN Signal 124 13 4 4 SCLK Output Signal Timing 124 13 4 5 Input Pulses 124 13 4 6 General Purpose Input Output Signals 125 14 Timing of Input Output Signals 126 14 1 Power On Reseler ana an eaea 126 14 2 Fixed Pulse or Continuous Pulse Driving 126 14 3 Interpolation 127 14 4 Start Driving after
7. 97 8 5 Drive Status Holding 98 8 6 Drive Status Holding Release Finishing Status Clear 98 8 7 Decelerating StOp 98 8 8 Sudden Stop 98 9 Interpolation CommandsS 99 9 1 2 Axis Linear Interpolation 99 9 2 3 Axis Linear Interpolation 99 9 3 CW Circular Interpolation 99 9 4 CCW Circular Interpolation 100 9 5 2 Axis Bit Pattern Interpolation 100 9 6 3 Axis Bit Pattern Interpolation Drive 100 9 7 BP Register Data Writing Enabling 100 9 8 BP Register Data Writing Disabling
8. 91 6 17 Home Search Speed Setting 93 6 18 Synchronous Action Mode Setting 93 7 Commands for Reading Data 94 7 1 Logical Position Counter Reading 94 7 2 Real position Counter Reading 94 7 3 Current Drive Speed Reading 94 7 4 Current Acceleration Deceleration Reading 95 7 5 Synchronous Action Buffer Register Reading 95 NOVA electronics Inc MCX314As AL v 8 Driving CommandsS 96 8 1 Direction Fixed Pulse Driving 96 8 2 Direction Fixed Pulse Driving 97 8 3 Direction Continuous Pulse Driving 97 8 4 Direction Continuous Pulse Driving
9. 9 2 2 1 Constant Speed Driving 9 2 2 2 Trapezoidal Driving Symmetrical 9 2 2 3 Non Symmetrical Trapezoidal Acceleration 10 2 2 4 S curve Acceleration Deceleration Driving 12 2 2 5 Non symmetrical S Curve Acceleration Deceleration 14 2 2 6 Pulse Width and Speed Accuracy 16 2 3 Position Control 17 2 3 1 Logic Position Counter and Real position Counter 17 2 3 2 Compare Register and Software Limit 17 2 3 3 Position Counter Variable Ring 18 2 3 4 Clearing a Real Position Counter Using an External Signal 18 2 4 Interpolation 20 2 4 1 Linear Interpolation 20 2 4 2 Circular Interpolation 22 2 4 3 The Bit Pattern Interpolation
10. Otherwise when the continuous pulse driving is commanded from an external source driving will start if this signal is on the Low level In manual pulsar mode the encoder A phase signal is input to this pin External Operation direction drive starting signal from external source When the fixed pulse driving is commanded from an external source direction driving will start if this signal is down Otherwise when the continuous pulse driving is commanded from an external source direction driving will start if this signal is on the Low level In manual pulsar mode the encoder B phase signal is input to this pin Emergency Stop input signal to perform the emergency stop for all axes When this signal is on the Low level including the interpolation driving every axis will stop the operation immediately EMG bit of register RR2 of each axis will become 1 The low level pulse width should be more than 2CLK Note For this signal its logical levels cannot be selected Ground 0V Terminal All of the 13 pins must be connected to OV 267 NOVA electronics Inc MCX314As AL M68 Signal Name VDD MEAS 10s A MOXS TIAL Input Output Signal Description Pin No 18 54 65 7 14 34 53 l 65 80 107 Power Terminal MCX314As is 5V and MCX314AL is 3 3V 90 109 126 pra E All of the pins must be connected to each power without fail 144 125 143 3 4 Input Output Logic E MCX314As Input Output Logic
11. Acceleration 4 Deceleration acceleration the acceleration starts to decrease towards 0 The decrease ratio is the same as the increase ratio and the acceleration decreases in a linear form of the specified jerk K In this case the rate curve forms a parabola of reverse direction section b The speed reaches the specified drive speed V or the acceleration reaches 0 the speed is maintained section c MCX314AS AL M12 SpeedA Acceleration Deceleration time Fig 2 13 Symmetrical S Curve Acceleration Deceleration Driving In fixed pulse driving of S curve acceleration deceleration where acceleration and deceleration are symmetrical deceleration starts when the number of remaining output pulses becomes less than the number of pulses that were utilized At the deceleration also the speed forms an S curve by increasing decreasing the deceleration in a primary linear form sections d and e The same operation is performed in acceleration deceleration where the drive speed is changed during continuous pulse driving To perform symmetrical S curve acceleration deceleration driving set bits D2 D1 and DO of the nW3 register as follows Setting Mode setting bit Symbol Comment value WR3 D0 MANLD 0 Automatic deceleration 0 The acceleration setting value and jerk WR3 D1 DSNDE setting value are used at deceleration WR3 D2 SACC 1 S curve acceleration
12. BR LPSET Sets the values of the WR6 and WR7 registers in the logical position counter LP LP lt WR6 7 See 3 in Section 2 6 3 Notes on Synchronous Action EPSET Sets the values of the WR6 and WR7 registers in the real position counter EP EP lt WR6 7 See 3 in Section 2 6 3 Notes on Synchronous Action OPSET Sets the values of the WR6 and WR7 registers in the pulse count P P lt WR6 7 See 3 in Section 2 6 3 Notes on Synchronous Action VLSET Sets the value of the WR6 register in the drive speed V V lt WR6 See 3 in Section 2 6 3 Notes on Synchronous Action OUT Outputs synchronous pulses as external signals An external signal uses a nDCC signal DCC Enable logical setting and a pulse width must be set in advance by using the extension mode setting command 60h See Sections 2 5 2 and 6 16 INT Generates an interrupt signal INTN D15 The interrupt signal INTN becomes Low Active and the RR3 D9 SYNC bit of the axis to which the interrupt occurred indicates 1 When CPU reads the RR3 register of the axis to which the interrupt occurred the bit of the RR3 register is cleared to 0 and the interrupt output signal is reset to Hi Z s re NOVA electronics Inc MCX314As AL M48 At resetting all the activation factors and actions are set to Disable Figure 2 41 shows the flow of synchronous action of the X axis in IC If the activation factor that was set to Enable becomes active among the ten types of activati
13. E 40KPPS Non Symmetrical S curve Acceleration Deceleration 1 40K pps R 800000 Multiple 10 K 500 L 2000 A D 8000 SV 10 V 3000 A0 O0 WR3 D2 1 0 1 1 1 Manual Deceleration Mode Jerk 1 25M PPS SEC2 Deceleration Increasing Rate 0 31M PPS SEC2 Initial Speed 100PPS Drive SPeed 30K PPS 20K Output Pulse P 20 000 Manual Deceleration Point DP 10 752 0 6 1 2 sec E 40KPPS Non Symmetrical S curve Acceleration Deceleration 2 40K R 800000 Multiple 10 K 2000 L 500 A D 8000 SV 10 V 3000 A0 0 pps WR3 D2 1 0 1 1 1 Manual Deceleration Mode Jerk 0 31M PPS SEC2 Deceleration Increasing Rate 1 25M PPS SEC2 Initial Speed 100PPS Drive SPeed 30K PPS 20K Output Pulse P 20 000 Manual Deceleration Point DP 15 356 0 6 1 2 sec A2 NOVA electronics Inc MCX314As A3 E 40KPPS Non Symmetrical Trapezoid Acceleration Deceleration a Acceleration Deceleration Ratio 4 1 R 800000 Maltiple 10 A 400 D 100 SV 40 V 4000 A0 0 WR3 D2 1 0 0 1 0 Auto Deceleration Mode 60H VWVWR6 D3 1 Triangle Prevention ON Acceleration 500K PPS SEC Deceleration 125K PPS SEC Initial Speed 400 PPS Drive Speed 40K PPS P 5 000 P 10 000 P 20 000 Output Pulse P 2 000 P 30 000 0 1 2 sec b Acceleration Deceleration Ratio 1 4 R 800000 Maltiple 10 A 100 D 400 SV 40 V 4000 A0 0 WR3 D2 1 0 0 1 0 Auto Deceleration Mode 60H VVWR6 D3 1 Triangle Prevention ON 40K pps Ac
14. Initial Speed SV 1k Sv 1k i i gt 0 8 1 2 1 4 time SEC 0 2 0 6 1 4 time SEC Fig 2 11 Non Symmetrical Linear Acceleration Driving Fig 2 12 Non Symmetrical Linear Acceleration Driving acceleration lt deceleration acceleration gt deceleration 10 NOVA electronics Inc MCX314As AL M11 To perform automatic deceleration for fixed pulse driving of non symmetrical linear acceleration bits D1 to 0 of the WR3 register must be set as follows Mode setting bit Symbol Setting value Comment WR3 D0O MANLD 0 Automatic deceleration WR3 D1 DSNDE 1 The deceleration setting value is applied at deceleration WR3 D2 SACC 0 Linear acceleration The following parameters must be set Parameter name Symbol Comment Range R Acceleration A Deceleration D Initial speed SV Drive speed V Number of output pulses P Not required at continuous pulse driving Note e In the case of acceleration gt deceleration Fig 2 12 the following condition is applied to the ratio of the acceleration and the deceleration v D Deceleration rate pps sec D gt A x Ero A Acceleration rate pps sec Where CLK 16MHz 4x10 V Drive Speed pps For instance if the driving speed V 100kps deceleration D must be greater than 1 40 of acceleration A The value must not be less than 1 40 of the acceleration e Ifacceleration gt deceleration Fig 2 12 the greater the ratio of acceleration A to deceleration D becom
15. WR6 lt 0140h write WRO lt 0102h write WR6 lt 01F4h write WRO lt 0104h write WR6 lt 1388h write WRO lt 0105h write WR6 lt 3A98h write WR7 lt 0000h write WRO lt 0106h write WR6 lt 3E80h write WR7 lt 0000h write WRO lt 0206h write WR6 lt 4E20h write WR7 lt 0000h write WRO lt 0406h write WRO lt 003Bh write WRO lt 0031h write define ax1 X axis ax2 Y axis ax3 Z axis range 8 000 000 Multiple 1 accel decel speed 40 000 SEC 40 000 125 1 320 140h initial speed 500PPS drive speed 5 000PPS finish point of X axis 15 000 finish point of Y axis 16 000 finish point of Z axis 20 000 deceleration enabling zA 15000 16000 20000 20000 lt Y v 6000 o 7 X 15000 linear interpolation driving for 3 axes enabling 21 NOVA electronics Inc MCX314As AL M22 2 4 2 Circular Interpolation Any 2 axes of the 4 axes can be selected for circular interpolation The circular interpolation is starting from the current position start point After setting the center point of circular the finish position and the CW or CCW direction the user can start the circular interpolation Note The coordinates setting value is the relative value of the start point coordinates In Fig 2 27 it explains the definition of CW and CCW circular interpolations The CW circular interpolation is starting from the start ae point to the finis
16. WR7 WRO WRO 3500h 000Ch O600h 0190h 0000h 0602h 0032h 0000h 0604h OBB8h 0000h o605h C350h oo000h 0206h 2710h o0000h 0406h 3A98h o 020Bh o o 0609h 2001h 0000h 0264h 0000h 0001h 0464h 0220h Y Z Axes Range 800 000 Multiple 10 Y Z Axes Acceleration Rate 400x125x10 500KPPS SEC Y Z Axes Initial Speed 50x10 500PPS Y Z Axes Drive Speed 3000x10 30KPPS Y Axis Output Pulse Number 50 000 Z Axis Output Pulse Number 10 000 Set 15000 in Y Axis COMP Clear Y Z Axes Logical Counter LP Provocative P C Activation of Other Axes Z 7 i Action of Own Axis None Set Y Axis Synchronous Action Mode Action of Own Axis Direction Constant Drive lt Set Z Axis Synchronous Action Mode Start of Y Axis Direction Constant Drive Z axis fixed pulse driving in the direction starts when the Y axis passes through 15000 pulses after the start of Y axis driving The delay time from the rise of the 15000 pulse of the Y axis to the rise of the 1 pulse of the Z axis is 5SCLK 625nsec CLK 16MHz 2 14999 15000 Delay by 625nsec 49 NOVA electronics Inc MCX314As AL M50 E Example 2 The X axis passed through the position 320000 Stops driving of the X and Y axes Provocative P lt C Activation of Other Axes Y Z Set X Axis Synchronous Action Mode Action of Own Axis Decelerating Stop Set Y Z Axes Synchronous Action Mode WR
17. lt f aw Time Any 2 or 3 axes can be selected to perform linear interpolation The position boundary is between coordinates 2 147 483 646 and 2 147 483 646 signed 32 bit format and the positioning error is within 0 5 LSB Least Significant Bit The interpolation speed range is from 1 PPS to 4 MPPS 2 axis Linear Interpolation 0 0 E Circular Interpolation 15000 13000 5000 Z4 oe Any 2 axes can be selected to perform circular interpolation The position boundary is between coordinates 2 147 483 646 and 2 147 483 646 signed 32 bit format and the positioning error is within 1 0 LSB The interpolation speed range is from 1 PPS to 4 MPPS CCW Circular Interpolation Any circle Ya Start Point O 0 Center Point 1000 1000 2 _ x Finish Point 0 2000 CW Circular Interpolation Full circle Yt Center Point 5000 0 2 0 0 Start Point Finish Point NOVA electronics Inc MCX314As AL M3 E Bit Pattern Interpolation This interpolation driving receives for each axis in 16 bit units interpolation data that was converted to bit patterns through the operation by the upper level CPU and outputs interpolation pulses consecutively at the specified drive speed This function enables drawing of various loci created by the upper level CPU E Continuous Interpolation Different interpolation methods can be used continuously linear interpol
18. Execution State DO SLMT DO SLMT During the direction driving when logical real position counter gt COMP COMP enabled and used as software limit D1 SLMT During the direction driving when logical real position counter lt COMP COMPenabled and used as software limit D2 HLMT When external direction limit signal nLMTP is on its active level 80 NOVA electronics Inc MCX314As AL M81 D3 HLMT When external direction limit signal nLMTM is on its active level D4 ALARM When the alarm signal nALARM for servo motor is on its active level D5 EMG When emergency stop signal EMGN becomes Low level D7 HOME Error occurred at execution of automatic home search When the encoder Z phase signal nIN2 is already active at the start of Step 3 this bit is set to 1 D12 8 HMST4 0 The home search execution state indicates the contents of the automatic home search execution currently performed See Section 2 5 4 In driving when hardware software limit is active the decelerating stop or sudden stop will be executed Bit SLMT will not become 1 during the reverse direction driving 4 13 Status Register 3 RR3 Each axis is with status register 3 The axis specified by NOP command or the condition before decides which axis s register will be read This register is for reflecting the interrupt factor When interrupt happens the bit with the interrupt factor becomes 1 The user should set the in
19. NOVA electronics Inc MCX314As AL M73 D7 5 3 1 INm E The bit for setting enable disable of driving stop input signal INm 0 disable 1 enable D6 4 2 0 INm L The bit for setting enable logical levels for input signal INm 0 stop on the Low level 1 stop on the Hi level In automatic home search the logical level of the INm signal that is used is set in these bits The Enable Disable bits D5 D3 and D1 are set to Disable For the following bits the interrupt is set 1 enable 0 disable D8 PULSE Interrupt occurs when the pulse is up drive pulse is set on the positive logical level D9 P2C Interrupt occurs when the value of logical real position counter is larger than or equal to that of COMP register D10 P lt C Interrupt occurs when the value of logical real position counter is smaller than that of COMP register D11 P lt C Interrupt occurs when the value of logical real position counter is smaller than that of COMP register D12 P2C Interrupt occurs when the value of logical real position counter is larger than or equal to that of COMP register D13 C END Interrupt occurs at the end of the constant speed drive during an acceleration deceleration driving D14 C STA Interrupt occurs at the start of the constant speed drive during an acceleration deceleration driving D15 D END Interrupt occurs when the driving is finished D15 D0 will be set to 0 while resetting 4 5 Mode Register2 WR2 Each axis is with
20. amp 0x0200 0x0 111 MCX314As AL M111 NOVA electronics Inc MCX314As AL M112 bp_wait Next data setting of waiting for BP interpolation void bp_wait void while inpw adr rr0 amp 0x6000 0x6000 home search All axes home search X axis home search Step1 Near home INO signal high speed search in the direction at 20 000pps Step2 Home IN1 signal low speed search in the direction at 500pps Step3 Z phase IN2 signal low speed search in the direction at 500pps Deviation counter clear output at Z phase search Step4 3500 pulse offset high speed drive in the direction at 20 000pps Y axis home search Step1 Near home INO signal high speed search in the direction at 20 000pps Step2 Home IN1 signal low speed search in the direction at 500pps Step3 Z phase IN2 signal low speed search in the direction at 500pps Deviation counter clear output at Z phase search Step4 700 pulse offset high speed drive in the direction at 20 000pps Z axis home search Step1 High speed search None Step2 Home IN1 signal low speed search in the direction at 400pps Step3 Z phase search None Step4 20 pulse offset drive in the direction at 400pps U axis home search Step1 High s
21. startv 0x3 100 speed 0x3 4000 pulse 0x3 100000 Ip 0x3 0 ep 0x3 0 command 0xc Oxf outpw adr wr1 0x0000 outpw adr wr2 0x0000 outpw adr wr3 0x0000 expmode 0x4 0x5d08 0x01c4 MCX314As AL M114 X and Y axes operation parameter initial setting I AO 0 II R 800000 Multiple 10 K 1010 Jerk 619KPPS SEC2 L 1010 Deceleration increasing rate 619KPPS SEC2 A 100 Accleration deceleration 125KPPS SEC D 100 Deceleration 125KPPS SEC II SV 100 Initial speed 1000PPS IIV 4000 Drive speed 40000PPS P 100000 Output pulse number 100000 LP 0 Logical position counter 0 EP 0 Real logical position counter 0 Z and U axes mode setting Mode register 1 D15 8 0 Prohibit all interrupts D7 0 IN3 signal Disable D6 0 IN3 signal logic Low Active D5 0 IN2 signal Disable D4 0 IN2 signal logic Low Active D3 0 IN1 signal Disable D2 0 IN1 signal logic Low Active D1 0 INO signal Disable D0 0 INO signal logic Low Active Mode register 2 D15 0 INPOS input Disable 1D14 0 INPOS input logic Low Active D13 0 ALARM input Disable D12 0 ALARM input logic Low Active D11 0 D10 0 Encoder input division 1 1 D9 0 Encoder input mode 2 phase pulse D8 0 Driver pulse direction logic D7 0 Driver pulse logic Positive logic D6 0 Drive pulse mode 2 pluse D5 0 COMP t
22. wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x0d hsspeed axis assignment data Home Search Speed HV setting void hsspeed int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x61 expmode axis assignment data Expansion Mode EM setting void expmode int axis int em6data int em7data outpw adr wr6 em6data outpw adr wr7 em7data outpw adr wr0 axis lt lt 8 0x60 syncmode axis assignment data Synchronous Mode SM setting void syncmode int axis int sm6data int sm7data outpw adr wr6 sm data outpw adr wr7 sm7data outpw adr wr0 axis lt lt 8 0x64 readlp axis assignment For logical position counter LP reading long readlp int axis long a long d6 long d7 outpw adr wr0 axis lt lt 8 0x10 d6 inpw adr rr6 d7 inpw adr rr7 a d6 d7 lt lt 16 return a readep axis assignment For real position counter EP reading long readep int axis long a long d6 long d7 outpw adr wr0 axis lt lt 8 0x11 d6 inpw adr rr6 d7 inpw adr rr7 a d6 d7 lt lt 16 return a wait axis assignment For waiting for drive stop void wait int axis wietnpw adre amp axis next_wait Next data setting of waiting for continuous interpolation void next_wait void wile mpw adr
23. 16 bit data reading writing in IC when the setting is Low 8 bit data bus D7 D0 is active for data reading writing TESTN 31 Input A Test MCX314As terminal for internal circuit test Please open or connect it to 5V TESTIN TEST2N 31 142 Input A Test MCX314AL terminal for internal circuit test Please open or connect it to 5V BUSYN 32 32 Output B Busy reflecting the execution of the input command at this moment Once the command is written to MCX314As AL the process will take 2 CLK to 4CLK 250nsec for 16MHz on the Low level When BUSYN is on the Low level the other written commands cannot be executed INTN 33 33 Output B Interrupt outputting an interrupt signal to the host CPU If any interrupt factor occurs the interrupt the level is Low when the interrupt is released it will return to the Hi Z level SCLK 34 36 Output A System Clock SCLK CLK 2 All the signals in MCX314As AL is controlled and synchronized by internal SCLK When the output signal of each axis is latched it can be used as an external signal source Note There is no SCLK output when RESETN is on the Low level XPP PLS YPP PLS ZPP PLS UPP PLS 35 38 40 42 37 39 41 43 Output A Pulse Pulse direction dive pulse outputting When the reset is on the Low level and while the driving is starting DUTY 50 at constant speed of the plus drive pu
24. 3 3V if the input is not used The signal with F symbol has an integral filter circuit in the internal input column of this IC See Section 2 8 for the filter function Output A It is 3 3V type CMOS level output 4mA driving buffer Hi level output current IOH 4mA VOH 2 35Vmin Low level output current IOL 4mA VOL 0 4Vmax When connection to 5V type input if its TTL level it s possible to complete the connection but if it s 5V type CMOS level it s impossible 2XSee Remark 1 Output B It is open collector type output 4mA driving buffer Low level output current I OL 4mA VOL 0 4Vmax Pull up to 3 3V with high impedance if this output is used It s possible to connect to TTL level 5V type IC Bi directional Input side is 5V tolerant TTL Smith trigger Because there is no pull high resister for those signals in this IC the A user should pull up the data bus with high impedance The user should pull up to 3 3V with high impedance about 100 kQ when bits D15 D8 are not used Output side is 3 3V type CMOS level output 8mA driving buffer Hi level output current IOH 8mA VOH 2 35Vmin Low level output current OL 8mA VOL 0 4Vmax When connection to 5V type bi directional IC if it s TTL level it s possible to complete the connection but if it s 5V type CMOS level it s impossible 2XSee Remark 1 X Remark 1 Even if output signal is pull up with 5V through resister Hi level output voltage cannot raise to Hi
25. D15 8 O All the interrupt disabled D7 0 IN3 signal Disable D6 0 IN3 signal logic Low Active D5 0 IN2 signal Disable D4 0 IN2 signal logic Low Active D3 0 IN1 signal Disable D2 0 IN1 signal logic Low Active D1 0 INO signal Disable D0 0 INO signal logic Low Active Mode register 2 D15 1 INPOS input Enable D14 1 INPOS input logic High active D13 1 ALARM input Enable D12 0 ALARM input logic Low active D11 0 D10 0 Encoder input division 1 1 D9 0 Encoder input mode 2 phase pulse D8 0 Drive pulse direction logic D7 0 Drive pulse logic Positive logic D6 0 Drive pulse mode 2 pulse D5 0 COMP target Logical position counter D4 0 over run limit logic Low Active D3 0 over run limit logic Low Active D2 0 Over run limit stop mode Decelerating stop D1 0 Software over run limit Disable DO 0 Software over run limit Disable Mode register 3 D15 12 0000 D11 0 General purpose output OUT7 Low D10 0 General purpose output OUT6 Low D9 0 General purpose output OUT5 Low D8 0 General purpose output OUT4 Low D7 0 Drove state output Disable D6 0 D5 0 D4 0 External operation signal operation Disable D3 0 D2 0 Acceleration deceleration curve Linear acceleration trapezoid D1 0 Acceleration deceleration symmetry non symmetry Symmetry D0 0 Fixed pulse drive deceleration Automatic deceleration E
26. Input A More than 10 kQ hundreds of kilo impedance is for internal impedance which can pull up the VDD to the TTL level input of Smith trigger CMOS and TTL can be connected The user should open or pull up with 5V if the input is not used The signal with F symbol has an integral filter circuit in the internal input column of this IC See Section 2 8 for the filter function Output A It is CMOS level output 4mA driving buffer Hi level output current IOH 4mA VOH 2 4Vmin Low level output current IOL 4mA VOL 0 4Vmax Up to 10 LSTTL can be driven Output B It is open collector type output 4mA driving buffer Low level output current I OL 4mA VOL 0 4Vmax Pull up to 5V with high impedance if this output is used Bi directional A Input side is TTL Smith trigger Because there is no pull high resister for those signals in this IC the user should pull up the data bus with high impedance The user should pull up to 5V with high impedance about 100 kQ when bits D15 D8 are not used Output side is CMOS level output 8mA driving buffer Hi level output current IOH 8mA VOH 2 4Vmin Low level output current IOL 8mA VOL 0 4Vmax E MCX314AL Input Output Logic Input A 50 kQ is for internal impedance which can pull up the VDD to the TTL level input of Smith trigger Input is 5V tolerant 3 3V type output 5V type output CMOS and TTL can be connected The user should open or pull up with
27. Normally set 2 or 3 for FL2 to FLO ae XEXPPO O Removable f Input signal delay XEXPMo C a FL2 0 maximum noise ji ea time width EXPLSN O 532 0 1 75uSEC 2uSEC l 1 224uSEC 256uSEC ANNA 2 448uSEC 512uSEC Same tw 3 896uSEC 1 024mSEC Hon 4 1 792mSEC 2 048mSEC Constant X 5 3 584mSEC 4 096mSEC 6 7 168MSEC 8 192MSEC Fig 2 43 Concept of Input Signal Filter Circuit 7 14 336mSEC 16 384mSEC CLK 16MHz 1 Noise width Noise width TN i M _ _ IN TC Noise duty ratio FC As the condition the noise duty ratio time ratio under which noise is generated in the signal must be 1 4 or less In bits D12 to D8 FE4 to FEO of the WR6 register of an extension mode setting command 60h set whether the filter function of each input signal is enabled or signals are passed through as shown below When 1 is set in each bit the filter function of the signal is enabled Specification bit Filter Enable signal WR6 D8 FEO EMGN nLMTP nLMTM nINO nIN1 WR6 D9 FE1 nIN2 WR6 D10 FE2 nINPOS nALARM WR6 D11 FE3 nEXPP nEXPM EXPLSN WR6 D 12 FE4 nIN3 2 The EMGN signal is set using the D8 bit of the WR6 register of the X axis 3 The EXPLSN signal is set using the D11 bit of the WR6 register of the X axis a5 NOVA electronics Inc HExample of setting input signal filters Set a 512psec delay filter for EMGN and input si
28. The deceleration increasing rate WR3 D1 DSNDE 1 i setting value is used at deceleration WR3 D2 SACC 1 S curve acceleration deceleration The following parameters must also be set Parameter name Symbol Comment Range R Jerk K Deceleration increasing rate L Acceleration A The maximum value 8000 must be set Deceleration D The maximum value 8000 must be set Initial speed SV Drive speed V Number of Output pulses P Not required for continuous pulse driving Set a value produced by subtracting the number of Manual deceleration point DP pulses that were utilized at deceleration from the number of output pulses P Not required for continuous pulse driving 14 NOVA electronics Inc MCX314As AL M15 E Example of Parameter Setting Non symmetrical pps S curve Acceleration Deceleration As shown in the diagram at acceleration the drive speed v is accelerated up to 40KPPS from the initial speed sv of 100PPS in 0 2 seconds At deceleration the drive speed v is decelerated from 40KPPS to the initial speed sv of 1OOPPS in 0 4 seconds Using the symmetrical S curve acceleration deceleration parameter setting expression that is 100 AOK 0 9975 Mpps sec shown in the previous example find a jerk and a deceleration sec increasing rate 4 40000 100 Jerk k 5 3 99 Mpps sec 0 2 Deceleration _ 4 40000 100 _ 2 Increase Rate 0 42 0 9975 Mpps sec The paramet
29. Z axis synchronous action mode Own axis action direction fixed pulse drive Starts Y axis fixed pulse drive Waits for termination of Y and Z axes 117 NOVA electronics Inc MCX314As AL M118 13 Electrical Characteristics 13 1 MCX314As DC Characteristics Absolute Maximum Rated Power Voltage 0 3 7 0 Input voltage 0 3 Vpp 0 3 Input Current 10 Reservation Temperature 40 125 Power Voltage Ambient If the user wishes to operate the IC below 0 C please make Temperature ORSR contact with our R amp D engineer 4 75 5 25 E DC Characteristics Ta 0 85 C Voo 5V 5 Item Mark Condition in Typ Max Unit Remark 2 2 0 8 High level input IH V voltage V Low level input Vit voltage High level input current Low level input Vin OV 10 10 D15 D0 Input signal current Vin OV 10 Input signal besides D15 D0 lon 1pA Note 1 lon 4mA Output signal besides D15 D0 lon 8MA D15 D0 Output signal Vin Vpp 10 10 High level output voltage lot 1pA lo 4mA Output signal besides D15 D0 lo 8mMA D15 D0 Output signal Output leakage D15 DO BUSYN INTN Vout Vpp or OV Low level output voltage current Smith hysteresis voltage Consuming current Notel BUSYN and INTN output signals have no items for high level output voltage due to the open drain output lio OMA C
30. i D3 CNST It becomes 1 when in constant speed driving a D4 DSND It becomes when in deceleration ASND 1 CNST 1 DSND 1 Time Acceleration D5 AASND In S curve it becomes 1 when Deceleration Acceleration Deceleration acceleration deceleration increases D6 ACNST In S curve it becomes 1 when acceleration deceleration keeps constant AASND 1 ACNST 1 ADSND 1 a a 79 IAASND 1 ACNST 1 ADSND 1 Time a a NOVA electronics Inc MCX314As AL M80 D7 ADSND In S curve it becomes 1 when acceleration deceleration decreases D11 8 IN3 0_ Ifthe driving is stopped by one of external decelerating stop signals nIN3 0 it will become 1 D12 LMT If the driving is stopped by direction limit signal nLMTP it will become 1 D13 LMT If the driving is stopped by direction limit signal nLMTP it will become 1 D14 ALARM Ifthe driving is stopped by nALARM from servo drivers it will become 1 D15 EMG If the driving is stopped by external emergency signal EMGN it will become 1 E The Status Bits of Driving Finishing These bits are keeping the factor information of driving finishing The factors for driving finishing in fixed pulse driving and continuous driving are shown as follows when all the drive pulses are output in fixed pulse driving b when deceleration stop or sudden stop command is written when software limit is enabled and is active O d
31. next_wait pulse 0x1 0 pulse 0x2 1500 command 0 0x30 next_wait center 0x1 1500 center 0x2 0 pulse 0x1 1500 pulse 0x2 1500 command 0 0x33 next_wait pulse 0x1 4500 pulse 0x2 0 command 0 0x30 next_wait center 0x1 0 center 0x2 1500 pulse 0x1 1500 pulse 0x2 1500 command 0 0x33 next_wait pulse 0x1 0 pulse 0x2 1500 command 0 0x30 next_wait center 0x1 1500 center 0x2 0 pulse 0x1 1500 pulse 0x2 1500 command 0 0x33 wait 0x3 range 0x6 800000 acc 0x6 400 startv 0x6 50 speed 0x6 3000 pulse Ox2 50000 pulse 0x4 10000 compp 0x2 15000 Ip 0x6 0 syncmode 0x2 0x2001 0x0000 syncmode 0x4 0x0000 0x0001 command 0x2 0x20 wait 0x6 MCX314As AL M117 II Seg 3 II Seg 4 II Seg 5 II Seg 6 Il Seg 7 II Seg 8 Synchronous action Section 2 61 Example 1 Starts fixed pulse drive of the Z axis in the direction lif the Y axis passes through position 15000 R 800000 Multiple 10 IL A 400 Accleration deceleration 5010KPPS SEC II SV 50 Initial speed 500PPS 3000 Drive speed 30KPPS yP 50000 Y axis output pulse number zP 10000 Z axis output pulse number II yCP 15000 Y axis CMP LP 0 Logical position counter 0 Y axis synchronous action mode II Activation factor P2C activation of other axis Z Il Automatic activation None
32. of the IN3 input signal to the saving of the logical position counter value LP in the synchronous buffer register BR is a total of the IN3 f delay time 0 to 1SCLK and the LPSAV delay time 1SCLK The range is from 1SCLK to 2SCLK When CLK 16MHz the range is from 125nsec to 250nsec 2 6 3 Notes on Synchronous Action 1 After a required synchronous action is activated by specifying an interrupt in the action concurrently release the synchronous action specification by re issuing the synchronous action mode setting command 64h If the action is not released the action may be performed unexpectedly 2 By using the synchronous action function an endless loop can be formed as shown below i Start Driving of X Axis e Stop Start Driving of Y Axis a 2532 NOVA electronics Inc MCX314As AL M54 To stop this endless loop the activation factor that is enabled and each bit of the operation must be disabled by re issuing the synchronous action mode setting command 64h The loop will not be released simply by issuing an instant stop command or the decelerating stop command for the axis that is driving and operation continues 3 For action specification D8 LPSET D9 EPSET D10 OPSET and D11 VLSET data must be written to WR6 and WR7 before a synchronous action is activated If continuous synchronous actions coincide with activation of a synchronous action due to the delay in the writing data in WR6 and WR7 from CP
33. specified direction in Step 2 low speed home search and terminates by setting the limit of the opposite direction At termination the error limit nNRR2 D3 2 of the limit of the reverse direction is set to 1 Failure in the device of the Kept ON Operation stops due to an error in Step 3 low speed Z phase search Z phase nIN2 sensor and NRR2 D7 is set to n wiring path Kept OFF Operation stops in Step 3 low speed Z phase search by setting the limit in the specified direction The error bit of the limit in the specified direction nRR2 D3 2 is set to 1 at termination 2 5 6 Notes on Automatic Home Search E Search speed A home search speed HV must be set to a low speed to increase the home search position precision Set a value lower than the initial speed to stop the operation immediately when the input signal becomes active For encoder Z phase search of Step 3 the relationship between the Z phase signal delay and the home search speed HV becomes important For instance if a total of the photo coupler delay time of the Z phase signal path and delay time of the integral filter incorporated in the IC is the maximum 500usec the home search speed must be set so that the encoder Z phase output is ON for more than Imsec E Step 3 Z phase search starting position In Z phase search of Step 3 the function stops search driving when the Z phase signal nIN2 changes from active to inactive Therefore the Step 3 startin
34. 0 U 11 bz For ax1 master axis will have the basic pulses of starting interpolation calculation the speed parameter which is for constant acceleration deceleration driving should be set before the driving D3 2 AX21 20 ax2 assignment according to the codes shown in the table above D5 4 AX31 30 ax3 assignment for 3 axis interpolation according to the codes shown in the table above Setting any value if it is only 2 axis interpolation D9 8 LSPD1 0 Constant vector speed mode setting of interpolation driving D9 Code Binary 0 0 constant vector speed invalid 0 1 2 axis constant vector speed 1 0 setting not available 1 1 3 axis constant vector speed When 2 axis constant vector speed mode is engaged the user should set the range R of ax2 to be 1 414 times of the range R of master axis ax1 When 3 axis constant vector speed mode is engaged the user should set the range R of ax2 to be 1 414 times and the range R of ax3 to be 1 732 times of the range R of master axis ax1 D11 EXPLS When it is 1 the external EXPLSN controlled single step interpolation mode is engaged D12 CMPLS When it is 1 the command controlled single step interpolation mode is engaged D14 CIINT Interrupt enable disable setting during interpolation 0 disable 1 enable D15 BPINT Interrupt enable disable setting during bit pattern interpolation 0 disable 1 enable D15 D0 will be set to 0 while resetting 77 NOVA electronics I
35. 2 23 The Example of Pulse Output in Circular Interpolation Driving The specifiable range of coordinates of the center point and coordinates of the finish point are from 2 147 483 646 to 2 147 483 646 signed 32 bit 2LSB The position tolerance for the specified circular curve is 1 within the entire interpolation range The interpolation speed is within the range from 1PPS to 4MPPS 22 NOVA electronics Inc E The Finish Point Checking of Circular Interpolation In the circular interpolation it assumes that the current position start point is 0 0 After the coordinates of the center point is set the radium will be decided and the circular tracking will start The maximum error range of interpolation is with in 1LSB Because of the 1LSB error range the designated finish point may not on the circular track When the current point is same or over finish point of short axis this circular interpolation is finished in the quadrant where finish point is If the current point isn t able to reach finish point of short axis this circular interpolation is finished when the current point reaches the end of quadrant where finish point is Fig 2 31 shows an example of CCW interpolation with the start point 0 0 center point 200 500 and finish point 702 299 The finish point is in quadrant 4 and ax2 is the short axis in quadrant 4 So the interpolation is finished when the ax2 is 299 E The Example for
36. 3 1 2 3 1 1 3 x a 4 at so p t 1 12 total pulse output Therefore when the output pulse in acceleration of S curve is more than 1 12 of total output pulse MCX314As AL will stop increasing acceleration and start to decrease the acceleration value E The Decelerating Stop for Preventing the Triangle Driving Profile in S curve Driving When the decelerating stop is commanded or when the external Speed signals IN3 IN0O are active during the S curve acceleration deceleration driving the acceleration is decreasing then the deceleration starts when the acceleration reaches 0 time Constraints for S curve Acceleration Deceleration Ae Decrease the Acceleration value Acceleration 4 Driving Deceleration a The drive speed cannot be changed during the fixed pulse S curve acceleration deceleration driving b When the fixed pulse S curve acceleration deceleration 1 aa for Deceleration N Ime driving is performed the change of the numbers of output 3 Acc become zero Dec begins pulse during the deceleration will not result a normal S curve Fig 2 15 The rule of 1 12 of Parabolic driving profile Acceleration Deceleration c In case of executing circular interpolation bit pattern interpolation and continuous interpolation S curve acceleration deceleration cannot be executed normally d If an extremely low value is set as the initial speed for fixed pulse driving of S curve acceleration deceleration
37. 3500 WRO lt 0162h Write Starts execution of automatic home search E Example of home search using a limit signal MCX314ASs AL M44 For a simple home search a limit signal of one side is used as an alternative home signal However the following two conditions are applied a When high speed search operation is performed decelerating stop must be able to be performed sufficiently within the distance from the limit signal activation position to the mechanical limit position b The automatic home search position is not beyond the limit signal active section in the search direction In this example a limit signal in one direction is used as an alternative home signal e Connect XLMTM input to the XINO and XIN1 input pins as shown in the diagram on the left hand side Note This IC pin signal must be connected If an external signal is connected from the photo coupler of each signal an operation error may occur due to the photo coupler delay time difference e Since high speed search of Step 1 is performed set the limit stop mode to a decelerating stop mode Section 4 5 WR2 D2 bit e Set the same logical level for the XLMTM XINO and XIN1 signals Section 4 5 WR2 D4 bit and Section 4 4 WR1 D0 and D2 bits e Set WR7 D10 using limit signals bit of extension mode setting to 1 MCX314As Over Run Limit in the Search Direction INO IN1 LMTM Operation NE Active Section X direction Search 2 St
38. 4 bytes EP is the parameter setting the value of real position counter Real position counter counts Up Down according to encoder pulse input The data writing and reading of real position counter is possible anytime 89 NOVA electronics Inc MCX314As AL M90 6 12 COMP Register Setting Command Data Range Data Length COMP register setting 2 147 483 648 2 147 483 647 4 bytes CP is the parameter setting the value of COM register COMP register is used to compare with logical real position counter and the comparison result will be output to bit DO of register RR1 or nNOUT4 CMPP signal Also it can be used as the direction software limit The value of COMP register can be written anytime 6 13 COMP Register Setting Command Data Range Data Length COMP register setting 2 147 483 648 2 147 483 647 4 bytes CM is the parameter setting the value of COMP register COMP register is used to compare with logical real position counter and the comparison result will be output to bit DO of RR register or NOUTS CMPM signal Also it can be used as the direction software limit The value of COMP register can be written anytime 6 14 Acceleration Counter Offsetting Command Data Range Data Length Acceleration Counter Offsetting 32 768 32 767 4 bytes AO is the parameter executing acceleration counter offset The offset value of acceleration
39. 767 2 0E Deceleration increasing rate L 1 65 535 2 setting 60 Extension mode setting EM Bit data 4 61 Home detection speed setting HV 1 8 000 2 64 Synchronous action mode setting SM Bit data Note When those parameters are written the total data length should be completely filled Formula Calculation for Parameters 8 000 000 Multiple R 6 Jerk PPS SEC4 _62 5 x10 8 000 000 K R Multiple Acceleration PPS SEC A x 125 x Aa S l ssr a Multiple Drive Speed PPS Vx ieee Multiple Deceleration Increasing Rate _ Deceleration PPS SEC D x 125 x Initial Speed PPS SV x When CLK 16MHz 62 5 x10 8 000 000 PPS SECY L Multiple 8 000 000 R Multiple 8 000 000 R Multiple 83 NOVA electronics Inc MCX314As AL M84 E Data Reading Commands Code Command Symbol Data Range Data Length 10h Logical position counter reading LP 2 147 483 648 2 147 483 647 4 bytes 11 Real position counter reading EP 2 147 483 648 2 147 483 647 4 12 Current drive speed reading CV 1 8 000 2 13 Acceleration deceleration reading CA 1 8 000 2 Synchronous buffer register 14 SB 2 147 483 648 2 147 483 647 4 reading E Driving Commands Code Command 20h direction fixed pulse driving 21 direction fixed pulse driving 22 direction continuous driving 23 direction continuous driving 24 Drive start holding 25 Driv
40. 8 22 22 2 Maximum length in the package width direction 0 858 0 866 0 874 including pin E1 19 8 20 20 2 Width of the package main unit excluding pins 0 780 0 787 0 795 e 0 5 0 020 Pin pitch standard size L 0 45 0 6 0 75 Length of the flat section of the pins that contacts the 0 018 0 024 0 030 installation face Z 1 25 TYP Length from the center of the outer most pin to the 0 049TYP outer most pin section of the package main unit 3 0 10 Angle of the pin flat section for the installation face AN 0 08 0 003 Uniformity of the bottom of the pin permissible value in the vertical direction bbb 0 08 0 003 Permissible value of the pin center position error horizontal direction 130 NOVA electronics Inc 15 2 MCX314AL Package Dimensions NOVA elec MCX314AL Index Mark 131 Unit mm inch MCX314As AL M131 NOVA electronics Inc MCX314As AL M132 Symbol size mm iNeh Description Minimum Standard Maximum A 2 1 7 Height from the installation face to the top end of the 0 063 package main unit M 0 _ 0 25 Height from the installation face to the bottom end of 0 010 the package main unit A2 1 35 1 4 1 45 Height from the top to the bottom of the package 0 053 0 055 0 057 main unit b 0 17 0 22 0 27 Pin width 0 007 0 009 0 011 0 12 0 17 0 22 Pin thickness 0 005 0 007 0 009 D
41. 8 Input Signal Filter This IC is equipped with an integral type filter in the D15 D14 D13 D12 D11 D10 DI D8 WR6 gt EMR6 FL2 FL1 FLO FE4 FE3 FE2 FE1 FEO input stage of each input signal Figure 2 4 shows the filter configuration of each input signal of the X axis The same circuit is provided to the X Z and U axes also t The time constant of the filter is determined by the T oscillation circuit in the diagram One time constant can EMGNO Z be selected from eight time constants using the bits D15 e FET to D13 FL2 to FLO of the WR6 register of the XLMTP O ti e gt extension mode setting command 06h Using the bits SETG t g T D12 to D8 FE4 to 0 of the WE6 register it is possible l TET ee ji to set whether the filter function is enabled or the signal XINOO s i o is passed through for a number of input signals At reset l FLT O all the bits in the extension mode are cleared to 0 so that XIN1 0 T 50 x the filter function is disabled for all the input signals and o ELT e r the signals pass ane ar gt a XIN3 0 o Select a filter time constant from eight stages as shown FLT eO in the table below When a time constant is increased XINPOSO I ro 52 z the removable maximum noise width increases however 4 FLT Y the signal delay time also increases Therefore set an XALARMO i of gt appropriate value
42. 8000 we set the R 8 000 000 5 1 600 000 The Range R cannot be changed during the driving The speed will be changed discontinuously 85 NOVA electronics Inc MCX314As AL M86 6 2 Jerk Setting Command Data Range Data Length Jerk setting 2 bytes A jerk setting value is a parameter that determines the acceleration increase decrease rate per unit in S curve acceleration deceleration In S curve acceleration deceleration driving WR3 D1 0 where acceleration and deceleration are symmetrical this jerk is used at deceleration also 6 Ld Multiple K is the parameter determining the jerk The jerk calculation is shown in the following formula Because the setting range of jerk is 1 65 535 the jerk range is shown as follows When Multiple 1 954 PPS SEC 62 5 x 10 PPS SEC When Multiple 500 477 x 10 PPS SEC 31 25 10 PPS SEC 6 3 Acceleration Setting Command Data Range Data Length Acceleration setting 2 bytes In linear acceleration driving WR3 D1 0 where acceleration and deceleration are symmetrical this acceleration speed is used at deceleration For S curve acceleration deceleration driving set the maximum value of 8 000 for the parameter A is the parameter determining the acceleration The acceleration calculation is shown in the following formula 8 000 000 R a eee Multiple Acceleration PPS SEC A x 25 x For the range of A is from 1 8 000 the a
43. Address alid Address CSN RDN f WRN D15 D0 m C The figure shown above is used for 16 bit data bus accessing H16L8 Hi For 8 bit data bus H16L8 Low the address signals shown in the figure become A3 A0 and data signals become D7 DO Address Setup Time to RDN CSN Setup Time to RDN Output Data Delay Time from RDN Output Data Hold Time from RDN f CSN Hold Time from RDN f Address Hold Time from RDN Address Setup Time to WRN CSN Setup Time to WRN WRN Low Level Width Setup Time of Input Data to WRN Tf Hold Time of Input Data from WRN 7 CSN Hold Time from WRN 7 Address Hold Time from WRN Tf 123 NOVA electronics Inc MCX314As AL M124 13 4 3 BUSYN Signal ek jo NN A Nef ONS NA WRN BUSYN Hiz tOF It is low when BUSYN is active And BUSYN is low after Max 2 SCLK cycles when WRN f active During the time IC cannot accept Read Write Sp O e tDF WRN gt BUSYN Delay Time nS tWL BUSYN Low Level Width vo x 7 15 tCYC is a cycle of CLK 13 4 4 SCLK Output Signal Timing The following output single is synchronized with SCLK output signal The level at ACLK f will be changed Output signals nPP PLS nPM DIR nDRIVE nASND nDSND nCMPP and nCMPM SCLK Output Signal tD tDD SCLK t Output Signal t Delay Time Ee an ee 13 4 5 Input Pulses E Quadrature Pulses Input Mode A B
44. COMP register For instance set as follows for a rotation axis that rotates one cycle with 10 000 pulses To enable the variable ring function set 1 in the D4 bit of the WR6 register of the extension mode setting command 60h Set 9 999 270Fh in the COMP register as the maximum value of the logical position counter Set 9 999 270Fh in the COMP register when using a real position counter also The count operation will be as follows Increment in the direction 9998 9999 0 1 Decrement in the direction 1 0 9999 9998 Notes e The variable ring function enable disable is set for each axis however a logical position counter and a real position counter cannot be enabled disabled individually e Ifa variable ring function is enabled a software limit function cannot be used 2 3 4 Clearing a Real Position Counter Using an External Signal This function clears a real position counter at rising of the Z phase active MCX314As level when Z phase search is applied in n Near Home Sensor home search Normally home search is performed by iy Fome Senso assigning a near home signal a home signal and an encoder Z phase signal Drive Pulse nPP PM Motor to nINO to nIN2 signals and executing Eee Driving continuous pulse driving When the Circuit specified signal is activated driving will stop and then the logical position real position counters are i cleared
45. CW Circular Interpolation MCX314AS AL M23 n Center point 200 500 7 gt axl Finish point 702 299 Interpolation will be finished when ax2 299 in the 4th quadrant Fig 2 31 Example of The Finish Point Checking of Circular Interpolation Start point 0 0 This CW circular interpolation starts from the current point start point 0 0 to the finish point X 5000 Y 5000 the center point is X 5000 Y 0 The interpolating speed is constant at 1000PPS in a constant vector speed driving WR5 lt 0104h write constant linear speed WR6 lt 0900h write range 4 000 000 Multiple 2 WR7 lt 003Dh write WRO lt 0100h write WR6 lt 4DCOh write WR7 lt 0056h write WRO lt 0200h write 4 000 000 x 1 414 5 656 000 WRO lt 01F4h write WRO lt 0104h write initial speed 500 x 2 1000PPS WR6 lt 01F4h write WRO lt 0105h write drive speed 500 x 2 1000PPS WR6 lt 1388h write WR7 lt 0000h write WRO lt 0108h write center point of X 5 000 WR6 lt 0000h write WR7 lt 0000h write WRO lt 0208h write center point of Y 0 WR6 lt 1388h write WR7 lt 0000h write WRO lt 0106h write finish point of X 5 000 WR6 lt EC78h write WR7 lt FFFFh write WRO lt 0206h write finish point of Y 5 000 WRO lt 0032h write CW circular interpolation enabling 223 define ax1 X axis ax2 Y axis and with range of
46. Command Start Driving after Hold Command BUSYN nPP nPM a nPLS 1st Pulse 2nd Pulse nDRIVE f b a The pulses nPP nPM and nPLS of each axis will start outputting after 3 SCLK cycles when BUSYN is f b nDRIVE will become Hi level when BUSYN is for each axis 14 5 Sudden Stop The following figure illustrates the timing of sudden stop The sudden stop input signals are EMGN nLMTP M When the sudden stop mode is engaged and nALARM When sudden stop input signal becomes active or the sudden stop command is written it will stop the output of pulses immediately The width of external signals input for sudden stop must be more than 1 SCLK cycle The stop function will not be active if the width is less 1 SCLK cycle Signal Command WRN Active nPP nPM nPLS nDRIVE n Ooo SSS o An instant stop input signal requires a pulse width of CLK 2 cycles or more even if the input signal filter is disabled When the input signal filter is enabled the input signal will be delayed according to the constant value at filtering 127 NOVA electronics Inc MCX314As AL M128 14 6 Decelerating Stop The following figure illustrates the timing of decelerating stop input signal and decelerating commands The decelerating stop signal are nIN3 0 and nLMTP M When the decelerating mode is engaged When speed decelerating signals become active or the decelerating stop command is written the decelerating stop function will be per
47. D3 and D4 HLMT HLMT and D2 LMTMD of register WR2 2 9 5 Interface to Servo Motor Drivers Enable Disable and logical levels of the input signals for connecting servo motor drivers such as nINPOS in position input signal and nALARM alarm input signal can be set by D15 12 bits of register WR2 nINPOS input signal responds to the in position signal of servo motor driver When enable is set and when the driving is finished nINPOS will wait for the active Then the n DRV bit of main status register PRO will return to 0 nALARM input signal receives the alarm signal from servo motor drivers When enable is set nALARM signal will be monitored and the D4 alarm bit of RR2 register is 1 when nALARM is active The sudden stop will occur in the driving when this signal is active 261 NOVA electronics Inc MCX314As AL M62 These input signals from servo motor drivers can be read by RR4 and RR5 registers A deviation counter clear signal nDCC is available as a servo motor driver output signal See Sections 2 4 2 and 2 4 3 2 9 6 Emergency Stop Signal EMGN is able to perform the emergency stop function for all of the 4 axes during the driving Normally this signal is kept on the Hi level When it is falling to the Low level all axes will stop immediately and the D5 EMG bit of register RR2 each axis becomes 1 Please be noted that there is no way to select the logical level of EMGN signal Please
48. D3 to DO of the main status register RRO indicate the driving execution of the axis These bits also indicate execution of automatic home search When automatic home search of each axis starts these bits are set to 1 and the state is maintained from the start of Step 1 operation to the end of Step 4 operation At termination of Step 4 the bits are reset to 0 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RRO BPSC1 BPSCO ZONED ZONE1 ZONEO CNEXT 1 DRV U ERR Z ERR Y ERR X ERR U DRV Z DRV Y DRV X DRV L pd J Error of Each Axis Driving of Each Axis The D7 to D4 n ERR bits that indicate an error of each axis sometimes indicate 1 in spite of normal operation when the limit signal in the search direction is set in regular operation of Step 1 or 2 Check these error bits at termination of automatic home search instead of monitoring during execution of automatic home search 39 NOVA electronics Inc MCX314As AL M40 E Status register 2 Bits D7 to DO of status register 2 RR2 indicate error information and bits D12 to D8 indicate a home search execution state H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RR2 Ps 0 o Hms T HMST3 HMST2 HMST1 HMSTO HOME 0 EMG ALARM HLMT HLMT SLMT SLMT l Automatic Home Search Execution State IN2 Signal Error at Automatic Home Search The error infor
49. DCCW2 DCCW1 DCCWO USEC 0 0 0 10 0 0 1 20 0 1 0 100 0 1 1 200 1 0 0 1 000 1 0 1 2 000 1 1 0 10 000 Note CLK 16MHz 1 1 1 20 000 WR6 D5 HMINT Use this bit to generate an interrupt signal INTN at termination of automatic home search When this bit is set to 1 the interrupt signal INTN becomes Low Active after termination of automatic home search and the RR3 D8 HMEND bit of the axis from which the interrupt was generated indicates 1 When the CPU reads the RR3 register of the axis from which interrupt was generated the bits of the RR3 register are cleared to 0 and the interrupt output signal is reset to Hi Z At resetting all the mode setting bits of each axis are reset to 0 2 5 4 Execution of Automatic Home Search and the Status E Execution of automatic home search Automatic home search is executed by an automatic home search execution command 62h Automatic home search can be executed by writing the command code 62h with the axis assignment to WRO register after correctly setting an automatic home search mode and speed parameter for each axis This function can be executed for each axis individually or for all the axes collectively E Suspension of automatic home search To suspend automatic home search operation write a drive decelerating stop command 26h or a drive instant stop command 27h for the axis The step currently being executed is suspended and automatic home search terminates E Main status register Bits
50. Hold Command 127 14 5 Sudden StOp 127 14 6 Decelerating Stop 128 15 Package Dimensions 129 15 1 Package Dimensions of MCX314AS 129 15 2 Package Dimensions of MCX314AL 131 16 Storage and Recommended Installation Conditions 133 16 1 Storage and Recommended Installation Conditions of MCX314As 133 16 1 1 Storage of this IC 133 16 1 2 Standard Installation Conditions by Soldering Iron 133 16 1 3 Standard Installation Conditions by Solder Reflow 133 16 2 Storage and Rcommended Installation Conditions of MCX314AL 134 16 2 1 Storage of this IC 134 16 2 2 Standard Installation Conditions by Soldering Iron 134 16 2 3 Standard Installation Conditions by Solder
51. MCX314As Item No Item No 90G64EFG0011 applies to this technical information B6
52. RD6 RDS RD4 RD3 RD2 RD1 RDO RRG RD15 RD14 RD13 RD RD11 RD10 RD9 RD8 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RR7 RD31 RD30 RD29 RD28 RD27 RD26 RD25 RD24 RD23 RD22 RD21 RD20 RD19 RD18 RD17 RD16 The data is binary formatted 2 s complement is for negatives 8 NOVA electronics Inc 5 Command Lists E Write Commands MCX314As AL M83 Code Command Symbol Data Range Data Length 00h Range setting R R 8 000 000 multiple 1 4 bytes 16 000 multiple 500 04 Jerk setting K 1 65 535 2 Acceleration increasing rate 02 Acceleration setting A 1 8 000 2 03 Deceleration setting D 1 8 000 2 04 Initial speed setting SV 1 8 000 2 05 Drive speed setting V 1 8 000 2 ae Output pulse numbers 0 268 435 455 finish 06 Output pulse numbers finish point P 4 point 2 147 483 646 2 147 483 646 07 Manual deceleration point setting DP 0 4 294 967 295 4 08 Circular center point setting Cc 2 147 483 646 2 147 483 646 4 09 Logical position counter setting LP 2 147 483 648 2 147 483 647 4 0A Real position counter setting EP 2 147 483 648 2 147 483 647 4 0B COMP register setting CP 2 147 483 648 2 147 483 647 4 oc COMP register setting CM 2 147 483 648 2 147 483 647 4 OD Acceleration counter offsetting AO 32 768 32
53. WR3 0004h Mode setting of the WR3 register Range R 800000 Multiple 10 Jerk K 627 62 5x10 k xMultiple 62 5x10 997500 x10 Acceleration A 8000 Fixed to the maximum value Initial Speed SV 10 100 10 10 Drive Speed V 4000 40000 10 4000 Number of output pulse P 25000 Set when fixed pulse driving is performed Acceleration counter offset AO 0 2 2 5 Non symmetrical S Curve Acceleration Deceleration As shown in Fig 2 16 a non symmetrical S curve can be created by setting an jerk and a deceleration increasing rate individually in Drive Speed S curve acceleration deceleration driving However for fixed pulse driving a deceleration point must be specified manually since automatic deceleration is prohibited Since a triangle form prevention Speed 4 function 1 12 rule is not supported either Pe Speed gt a drive speed must be set according to the TS Acceleration 4 acceleration Deceleration Jerk K D cdl raion deceleration increasing rate and the number of output pulses To perform non symmetrical S curve acceleration deceleration driving set the D2 D1 and DO bits of the nWR3 register as Increase Rate L ld Acceleration ha a e 1 a time Fig 2 16 Non symmetrical S curve acceleration deceleration drive follows f Setting Mode setting bit Symbol Comment value WR3 D0 MANLD 1 Manual deceleration
54. WRO lt 0114h RR6 Read X Axis Buffer Read RR7 gt Read WRO 0214h RR6 gt Read Y Axis Buffer Read RR7 Read WRO lt 0414h RR6 Read Z Axis Buffer Read RR7 Read 2541 NOVA electronics Inc MCX314As AL M52 E Example 4 Continuous actions of fixed pulse driving By using the synchronous action function fixed pulse driving can be performed continuously by starting the next driving immediately following termination of driving In the following example driving of 5 000 is performed immediately after driving of 15 000 is terminated WR6 lt 3500h WR7 lt 000Ch X Axis Range 800 000 Multiple 10 WRO lt 0100h WR6 0190h WR7 0000h X Axis Acceleration Rate WRO 0102h 400x125x10 500KPPS SEC WR6 0032h WR7 0000h X Axis Initial Speed 50x10 500PPS WRO 0104h WR6 OBB8h WR7 0000h X Axis Drive Speed 3000x10 30KPPS WRO 0105h WR6 lt 0 WR7 0 Clear X Axis Logical Counter LP WRO lt 0109h WR6 lt 3A98h WR7 lt 0000h X Axis Output Pulse Number 15 000 WRO 0106h WR6 0020h WR7 8402h Provocative Termination of driving WRO 0164h Action of Own Axis P WR6 WR7 Direction Fixed Drive Set X Axis Synchronous Occurrence of interrupt Action Mode WR6 1388h WR7 0000h Output Pulse Number of he Next Drive 5 000 WRO 0120h Start of X Axis Direction i Terminate of X Axis 15 000 Direction Fixed Drive Y Star
55. counter offset AO 0 Note The above expression used for calculating the number of pulses that were utilized at deceleration is an ideal expression In the actual IC operation creep or premature termination occurs depending on the parameter values that are set 15 NOVA electronics Inc MCX314As AL M16 2 2 6 Pulse Width and Speed Accuracy E Duty Ratio of Drive Pulse The period time of direction pulse driving of each axis is decided by system clock SCLK The tolerance is within 1SCLK For CLK 16MHz the tolerance is 125nSEC Basically the duty ratio of each pulse is 50 as show in Fig 2 17 When the parameter setting is R 8 000 000 and V 1000 Multiple 1 V 1000PPS the driving pulse is SOOUSEC on its Hi level and 500uSEC on its Low level and the period is 1mSEC R 8000000 SV 1000 V 1000 Fig 2 17 High Low Level Width of Driving Pulse Output V 1000PPS However during the acceleration deceleration driving the Low level pulse length is shorter than that of Hi level pulse during the acceleration the Low level pulse is longer than that of Hi level pulse during the deceleration See Fig 2 18 Acceleration Area h Constant Speed Area ap Deceleration Area tHA tla tHC 2 tlc 4 HD tD n tHA gt tLA tHC tLC tHD lt tLD Fig 2 18 Comparison of Drive Pulse Length in Acceleration Deceleration E The Accuracy of Drive Speed The clock SCLK running in MCX314As AL is half of external i
56. data writing registers is disabled while resetting 100 NOVA electronics Inc MCX314As AL M101 9 8 BP Register Data Writing Disabling Command BP register data writing disabling This command disables the bit pattern data writing registers BP1P M BP2P M and PB3P M After this command is issued the data writing to register nWR2 nWRS becomes enabled 9 9 BP Data Stack Command BP data stacking This command stacks the data of bit pattern data writing registers BP1P M BP2P M and BP3P M After this command is issued stack counter SC will plus 1 When stack counter SC is 3 this command cannot be issued again 9 10 BP Data Clear Command BP data clearing This command clears all the bit pattern data and sets the stack counter SC to 0 9 11 Single Step Interpolation Command Single step interpolation This command performs 1 pulse each step output in interpolation driving When D12 bit of register WRS is set 1 the single step interpolation can be performed After this command is issued single step interpolation starts 101 NOVA electronics Inc MCX314As AL M102 9 12 Deceleration Enabling Command Deceleration enabling This command enables the automatic and manual decelerations In case of the individual interpolation the user can issue this command before the driving However in continuous interpolation the user should disable the dece
57. deceleration The following parameters must be set Parameter name Symbol Comment Range R Jerk K Acceleration A Always set the maximum value 8000 1 When a low acceleration is set the re acceleration deceleration does not increase Initial Speed SV above the set value A functions as a Drive Speed V limiter in acceleration increase or F fs deceleration increase in S curve Number of p Not required for continuous pulse driving acceleration and a straight line appears on Output Pulse MThe Prevention of Triangle Driving Profile For fixed pulse driving of S curve acceleration deceleration where acceleration and deceleration are symmetrical the following method is applied to maintain a smooth speed curve when the output pulses do not reach the pulses required for accelerating to the drive speed or deceleration stop is applied during acceleration If the initial speed is 0 and if the rate of acceleration is a then the speed at time t in acceleration region can be described as following v t at 12 the speed curve Speed Initial Speed Acceleration 4 Deceleration Acceleration Deceleration gt t time Fig 2 14 The rule of 1 12 of Parabolic Acceleration Deceleration NOVA electronics Inc MCX314As AL M13 Therefore the total the number of pulse p t from time 0 to t is the integrated of speed p t 1 3 x at The total output pulse is 1 3 2
58. executed D2 LMTMD The bit for controlling stop type when the hardware limits NLMTP and nLMTM input signals are active 0 sudden stop 1 decelerating stop 273 NOVA electronics Inc MCX314As AL M74 D3 D4 D5 D6 D7 D8 D9 D11 10 PIND1 0 D12 HLMT HLMT CMPSL PLSMD PLS L DIR L PINMD ALM L Setting the logical level of direction limit input signal nLMTP 0 active on the Low level 1 active on the Hi level Setting the logical level of direction limit input signal nLMTM 0 active on the Low level 1 active on the Hi level Setting if real position counter or logical position counter is going to be compared with COMP register 0 logical position counter 1 real position counter Setting output pulse type 0 independent 2 pulse type 1 1 pulse 1 direction type When independent 2 pulse type is engaged direction pulses are output through the output signal nPP PLS and direction pulses through nPM DIR When 1 pulse 1 direction type is engaged and directions pulses are output through the output signal nPP PLS and nPM DIR is for direction signals Note Please refer to Chapter 13 2 and 13 3 for the output timing of pulse signal nPLS and direction signal nDIR when 1 pulse 1 direction type is engaged Setting logical level of driving pulses 0 positive logical level 1 negative logical level SSL Ee eee Positive Logical Level Negative Logical Level Set
59. extension mode setting the up down operation of the real counter is reversed See Section 6 16 In quadrature pulses input mode the input pulses can be divided into 1 2 or 1 4 nECAVPPIN gt k i i il nECB PMIN i Extention Mode Setting WR6 D1 EPINV O Count up at the both signals 4 Count down at the both signals at reset Extention Mode Setting WR6 D1 EPINV 1 Count down at the both signals 4 Count up at the both signals 4 E Up down pulse input mode By setting the D9 PINMD bit of the WR2 register to 1 a counter up down pulse input mode can be set nECA PPIN is count up input and nECB PMIN is count down input The counter counts at the rising edge of the positive pulse NECA PPIN nECB PMIN Count up Count down Use the D9 PINMD bit of the WR2 register for selecting a pulse input mode and the D11 and D10 PIND1 0 bits to set the division ratio of encoder 2 phase pulse input Note Time specification is applied to the pulse width and pulse cycle of input pulses See Section 13 2 5 Input Pulse of Chapter 13 2 9 4 Hardware Limit Signals Hardware limit signals nNLMTP and nLMTM are used for stopping the pulse output if the limit sensors of and directions are triggered When the limit signal and also the logical level are active the command of sudden stop or decelerating stop can be set by bits
60. for MCX314As AL Set CSN to the Low level for data reading and writing WRN 26 26 Input A Write Strobe its level is Low while data is being written to MCX314As AL When WRN is Low CSN and A3 A0 must be assured When WRN is up ft the data will be latched in the write register and while WRN is up f the levels of D15 D0 should be assured RDN 27 27 Input A Read Strobe its level is Low while data is being read from MCX314As AL Only when CSN is on the low level the selected read register data from A3 A0 address signals can be output from the data bus RESETN 28 28 Input A Reset reset return to the initial setting signal for MCX314As AL Setting RESETN to Low for more than 4 CLK cycles will reset MCX314As AL The RESETN setting is necessary when the power is on Note If there is no clock input to MCX314As AL setting the RESETN to Low still cannot reset this IC EXPLSN 29 29 Input A F External Pulse pulse input signal for external pulse interpolation The normal setting is Hi level When the external pulse interpolation occurs EXPLSN is down the interpolation calculation starts and one pulse for each axis interpolation is output The width of EXPLSN on the Low level must be more than 4 CLK H16L8 30 30 Input A Hi 16 bit Low 8 bit data bus width selection for 16 bit 8 bit When the setting is Hi 16 bit data bus is selected for processing the
61. going to be accessed by writing a NOP command into WRO 4 2 Register Address by 8 bit Data Bus In case of the 8 bit data bus access the 16 bit data bus can be divided into high and low word byte As shown in the table below xxxxL is the low word byte D7 D0 of 16 bit register xxxx xxxxH is the high word byte D15 8 of 16 bit register xxxx Only for the command register WROL WROH the user must write to the high word byte WROL then to the low word byte WROH E Write Register in 8 bit Data Bus E Read Register in 8 bit Data Bus Address Write Register Address Read Register A3 A2 A1 AO A3 A2 A1 AO 000 0 WROL 0000 RROL 000 1 WROH 000 1 RROH 0010 XWR1L YWR1L ZWR1L UWR1L 0010 XRR1L YRR1L ZRR1L URR1L 0011 XWR1H YWR1H ZWR1H UWR1H 001 1 XRR1H YRR1H ZRR1H URR1H 010 0 XWR2L YWR2L ZWR2L UWR2L BP1PL 0100 XRR2L YRR2L ZRR2L URR2L 0101 XWR2H YWR2H ZWR2H UWR2H BP1PH 0101 XRR2H YRR2H ZRR2H URR2H 0110 XWR3L YWR3L ZWR3L UWR3L BP1ML 0110 XRR3L YRR3L ZRR3L URR3L 0111 XWR3H YWR3H ZWR3H UWR3H BP1MH 0111 XRR3H YRR3H ZRR3H URR3H 100 0 WR4L BP2PL 100 0 RR4L 100 1 WR4H BP2PH 100 1 RR4H 1010 WR5L BP2ML 1010 RR5L 101 1 WR5H BP2MH 1011 RR5H 1100 WR6L BP3PL 1100 RR6L 1101 WR6H BP3PH 110 1 RR6H 1110 WR7L BP3ML 1110 RR7L 1111 WR7H BP3MH eee ee P RR7H T NOVA electronics Inc MCX314As AL M72 4 3 Command Register WRO Command register is used for
62. if the value of logical real counter is larger than COMP the decelerating stop will be performed and DO SLMT of register RR2 will change to 1 If the value of logical actual counter is smaller than that of COMP the DO bit of register RR2 will change to 0 automatically Host CPU can write the COMP and COMP registers any time However when MCX314As AL is reset the register values are random 17 NOVA electronics Inc MCX314As AL M18 2 3 3 Position Counter Variable Ring A logical position counter and a real position counter are 32 bit up down 9999 O ring counters Therefore normally when the counter value is incremented ca in the direction from FFFFFFFFh which is the maximum value of the 32 bit length the value is reset to the value 0 When the counter value is decremented in the direction from the value 0 the value is reset to FFFFFFFFh The variable ring function enables the setting of any value as the maximum value This function is useful for managing the position of the axis in circular motions that return to the home position after one rotation rather than linear motions 5000 To enable the variable ring function set the D4 VRING bit of the WR6 Fig 2 22 Operation of Position Counter register of the extension mode setting command 60h to 1 and set the Ring Maximum Value 9999 maximum value of the logical position counter in the COMP register and the maximum value of the real position counter in the
63. lt 0000h Write Input signal logical setting XINO Low active XIN1 Low active See 4 4 Sets an extension mode WR6 lt 5F00h Write Writes a mode of an input signal filter in WR6 see 2 8 D15 D13 010 Filter delay 512usec D8 1 XIN1 0 signal Enables the filter WR7 lt 014Fh Write Writes an automatic home search mode in WR7 D15 D13 000 D12 0 D11 0 Deviation counter clearing output Disable D10 0 Uses a limit signal as the home signal Disable D9 0 Z phase signal AND home signal Disable D8 1 Clears logical real position counter Enable D7 0 Step 4 driving direction direction D6 1 Step 4 Enable D5 0 Step 3 search direction D4 0 Step 3 Disable D3 1 Step 2 search direction direction D2 1 Step 2 Enable D1 1 Step 1 search direction direction DO 1 Step 1 Enable WRO lt 0160h Write Writes an extension mode setting command in the X axis WR6 lt 3500h Write Range 8 000 000 multiple 10 WR7 lt 000Ch Write WRO lt 0100h Write WR6 lt 004Ch Write Acceleration speed 95 000 PPS SEC WRO lt 0102h Write 95000 125 10 76 WR6 lt 0064h Write Initial speed 1000 PPS WRO lt 0104h Write WR6 lt 07D0h Write Speed of Steps 1 and 4 20000 PPS WRO lt 0105h Write WR6 lt 0032h Write Speed of Step 2 500 PPS 43 NOVA electronics Inc WRO lt 0161h Write WR6 lt ODACh Write WR7 lt 0000h Write WRO lt 0106h Write Offset driving pulse count
64. mode register WR2 The axis specified by NOP command or the condition before decides which axis s register will be written WR2 can be used for setting 1 external limit inputs 2 driving pulse types 3 encoder signal types and 4 the feedback signals from servo drivers H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR2 JINP E NP L ALM E ALM L Pino PINDO PINMD DIR L PLS L PLSMD CMPSL HLMT HLMT LMM SLMT SLMT DO SLMT Enable disable setting for COMP register which is used as the direction software limit 1 enable 0 disable Once it is enabled during the direction driving if the value of logical real position counter is larger than that of COMP the decelerating stop will be performed The DO SLMT bit of register RR2 will become 1 Under this situation further written direction driving commends will not be executed Note When an extension mode position counter variable ring is used a software over run limit cannot be used D1 SLMT Enable disable setting for COMP register which is used as the direction software limit 1 enable 0 disable Once it is enabled during the direction driving if the value of logical real position counter is smaller than that of COMP the decelerating stop will be performed The D1 SLMT bit of register RR2 will become 1 Under this situation further written direction driving commends will not be
65. of RR3 will be cleared to 0 and the interrupt signal will return to the non active level Note For a 8 bit data bus all the bits are cleared when the RR3L register is read Therefore when using the DD8 HMEND and D9 SYNC bits read RR3H before reading the RR3L register 23 s NOVA electronics Inc MCX314As AL M82 4 14 Input Register RR4 RR5 RR4 and RRS are used for displaying the input signal status The bit is 0 if the input is on the Low level the bit is 1 if the input is on the Hi level L D7 D6 DS D4 D3 D2 D1 DO H D15 D14 D13 D12 D11 D10 D9 D8 X ALM X INP X EX x Ex x in X IN2 X IN1 X INO Y ALM Y INP Y EX Y Ex INs Y IN2 Y IN1 Y INO RR4 L D7 D6 D5 D4 D3 D2 D1 DO H D15 D14 D13 D12 D11 D10 D9 D8 Z ALM Z INP Z EX 2 x z INS Z IN2 Z IN1 Z INO U ALM U INP JU EX U EX U IN3 U IN2 U IN1 U INO RR5 Bit Name Input Signal Bit Name Input Signal n INO nINO n EX nEXPP n IN1 nIN1 n EX nEXPM n IN2 nIN2 n INP nINPOS n IN3 nIN3 n ALM nALARM 4 15 Data Read Register RR6 RR7 According to the data read command the data of internal registers will be set into registers RR6 and RR7 The low word 16 bits D15 DO is set in RR6 register and the high word 16 bits D31 D16 is set in RR7 register for data reading L D3 D2 D1 H D15 D14 D13 D12 D11 D10 RD7
66. one of I W is excuted here initial speed Figure 1 Speed profile of fixed pulse driving in S curve acceleration deceleration I When decelerating stop command 26h was given just before finishing driving I When setting stop mode of hardware limit nLMTP M signal as decelerating stop WR2 D2 1 driving is started and hardware limit of progress direction becomes active just before finishing driving M When software limit is enabled WR2 D0 1 1 driving is started and hardware limit of progress direction becomes active just before finishing driving IV When niN 2 0 signal is enabled WR1 D5 3 1 fixed pulse driving is started and those signals become active just before finishing driving This trouble won t happen when trapezoidal liner acceleration deceleration drive or constant speed drive is performed This trouble won t be happened when continuous pulse driving in S curve acceleration deceleration This trouble won t happen when any of Sudden stop command EMGN signal LMT signal of Sudden stop and ALARM signal is outputted Fixed pulse driving in S curve acceleration deceleration is performed as that driving speed and initial speed becomes equal and acceleration becomes zero 0 when driving finished which means all pulse outputted But it s impossible to make driving speed amp initial speed equal and acceleration zero 0 in all combinations of parameters because of the problem of calculation accuracy This trouble will ha
67. repeat the Low level of EXPLSN before the interpolation is finished If the user wants to stop sending single steps during the interpolation he can use the sudden stop command 27h then wait for more than 1 pulse cycle and then input pulse on EXPLSN Low level again to stop the driving the user may try software reset also After this all the following input pulses on EXPLSN Low level will not be active Note When generating Low pulses of EXPLSN at a mechanical contact point prevent the occurrence of chattering by enabling the input signal filter see Section 2 8 of the EXPLSN signal 35 NOVA electronics Inc MCX314As AL M36 2 5 Automatic Home Search This IC has a function that automatically executes a home search sequence such as high speed near home search low speed home search encoder Z phase search offset driving without CPU intervention The automatic home search function sequentially executes the steps from step 1 to step 4 that are listed below Set execution non execution and a search direction mode for each step In steps 1 and 4 search operation is performed at the high speed that is set in the drive speed In steps 2 and 3 search operation is performed at the low speed that is set in the home search speed Step number Operation Search speed Detection signal Step 1 High speed near home search Drive speed V nINO Step 2 Low speed home search Home search speed HV niN1 Step 3 Low
68. segment 2 data interpolation segment Error checking waiting for the allowance to write in the next data v Deceleration enabling command 3Bh Y Writing segment 5 data interpolation segment The manual deceleration point is related to the master axis driving pulses which comes from segment 5 For instance assumed that it needs 2000 pulses for decelerating stop and the total amount of pulse output form segment 5 is 5000 So the manual deceleration point will be 5000 2000 3000 The cycle of deceleration should be started and finished within the same segment 33 NOVA electronics Inc MCX314As AL M34 2 4 7 Single step interpolation from Command or External Signal Single step is defined as pulse by pulse outputting Either command or external signal can execute the single step interpolation When one pulse is outputting the master axis interpolation will be set in the constant speed driving The Hi level width of each axis s output pulse is 1 2 of the pulse cycle which is decided by the interpolating master axis s drive speed The Low level width is kept until next command or external signal comes Fig 2 38 is the example showing the execution of single step interpolation from an external signal The master axis s initial speed is 500PPS the drive speed is at 500PPS constant speed driving The Hi level width of output pulse is 1msec ees Coo To ooo o e T e TS o 1
69. short axis depends on the long axis and the relationship of the two axes The range for each axis is a 32 bit signed counter from 2 147 483 648 2 147 483 647 signed 32 bit 2LSB 20 NOVA electronics Inc E The example of linear interpolation for 2 axes Executing linear interpolation drives in X and Y axes from the current position to the finish position X 300 Y 200 The interpolation drive speed is constant 1000PPS WR5 lt 0004h write WR6 lt 1200h write WR7 lt 007Ah write WRO lt 0100h write WR6 lt 03E8h write WRO lt 0104h write WR6 lt 03E8h write WRO lt 0105h write WR6 lt 012Ch write WR7 lt 0000h write WRO lt 0106h write WR6 lt FF38h write WR7 lt 0000h write WRO lt 0206h write WRO lt 0030h write map ax1 to X axis ax2 to Y axis range 8 000 000 Multiple 1 initial speed 1 000PPS drive speed 1 000PPS finish point of X axis 300 finish point of Y axis 200 MCX314As AL M21 100 200 300 200 linear interpolation driving for 2 axes enabling E The example of linear interpolation for 3 axes Executing linear interpolation drive for X Y and Z axes from the current position to the finish position X 15 000 Y 16 000 Z 20 000 The initial speed 500PPS acceleration deceleration 40 000PPS SEC drive speed 5 000PPS WR5 lt 0024h write WR6 lt 1200h write WR7 lt 007Ah write WRO lt 0100h write
70. speed Z phase search Home search speed HV nIN2 Step 4 High speed offset drive Drive speed V 1 By inputting a home signal in both nINO and nIN1 high speed search is enabled by using only one home signal See Example of home search using a home signal only in Section 2 5 7 Near HOME HOME INO IN1 Active Active Section Section Encoder Z phase l l a Decelerating Stop S at Detection of Near Home Step 1 High speed Near Home Search Step 2 Low s Home Search A Instant Stop at Detection of Home Step3 Low s Z phase Search ST Instant Stop at Detection of Z phase Step 4 High speed Offset Drive Fig 2 39 Prototype of Automatic Home Search Using This IC 2 5 1 Operation of Each Step In each step it is possible to specify in mode setting execution non execution and the search direction If non execution is specified the function proceeds with the next step without executing the step MStep 1 High speed near home search Drive pulses are output in the specified direction at the speed that is set in the drive speed V until the Over Run Limit in the near home signal nINO becomes active To perform INO Search Direction BEN Normal Operation Active Active high speed search operation set a higher value for the A Irregular 3 eee drive speed V than the initial speed SV Specified Search ne Acceleration deceleration dr
71. speed at Deceleration increasing rate Shape of the DSNDE linear trapezoidal at S curve acceleration deceleration acceleration deceleration acceleration deceleration curve 0 Uses the value of the Uses the value of the jerk K Symmetry acceleration speed A 1 Uses the value of the Uses the deceleration Non symmetry deceleration speed D increase speed rate L Set this bit to 0 to perform acceleration deceleration driving where acceleration and deceleration are symmetrical and set this bit to 1 to perform acceleration deceleration where acceleration and deceleration are non symmetrical Automatic deceleration cannot be performed for non symmetrical S curve acceleration deceleration fixed pulse driving In this case the DO MANLD bit must be set to 1 and a manual deceleration point DP must be set D2 SACC Setting trapezoidal driving S curve driving 0 trapezoidal driving 1 S curve driving Before S curve driving is engaged jerk K should be set 75 2 NOVA electronics Inc MCX314As AL M76 D4 3 EXOP1 0 Setting the external input signals nEXPP nEXPM for driving D4 EXOP1 D3 EXOPO 0 0 external signals disabled 0 1 continuous driving mode 1 0 fixed pulse driving mode 1 1 external signals disabled When the continuous driving mode is engaged the direction drive pulses will be output continuously once the nEXPP signal is on the Low level the direction pulses will be output continu
72. status holding release finishing status clearing This command is to release the drive status holding 24h and start the driving Also this command can clear the finishing status bits D15 8 of register RR1 This command clears an automatic home search IN2 signal error bit D7 HOME of the RR2 register 8 7 Decelerating Stop Command Decelerating stop in driving This command performs the decelerating stop when the drive pulses are outputting If the drive speed is lower than the initial speed the driving will be suddenly stopped when this command is engaged In interpolation driving for main axis the decelerating stop and sudden stop commands can be written to stop the driving Once the driving stops this command will not work 8 8 Sudden Stop Command Sudden stop in driving This command performs the sudden stop when the drive pulses are output Also the sudden stop can be performed in acceleration deceleration driving Once the driving stops this command will not work 98 NOVA electronics Inc MCX314As AL M99 9 Interpolation Commands Interpolation commands consist of the commands for 2 3 axes linear interpolation CW CCW circular interpolation 2 3 axes bit pattern interpolation and other related commands There is no need to make the axis assignment in setting bits D11 8 of command register WRO Please set 0 in those bits Two procedures should be follow before the inte
73. type See Chapter 2 9 3 Host CPU can read or write these two counters any time The counters are signed 32 bits and the counting range is between 2 147 483 648 2 147 483 647 The negative is in 2 s complement format The counter value is random while resetting 2 3 2 Compare Register and Software Limit Each axis has as shown in Fig 2 20 two 32 bit registers which can compare the logical positions with the real positions The logical position and real position counters are selected by bit D5 CMPSL of register WR2 The main function of COMP Register is to check out the upper limit of logical real position counter When the value in the logical real position counters are larger than that of COMP Register bit DO CMP of register RR1 will become 1 On the other hand COMP Register is used for the lower limit of logical real position counter When the value of logical real position counter become smaller than hat of COMP Register bit D1 CMP of register RR1 will become 1 Fig 2 21 is an example for COMP 10000 COMP 10000 COMP and COMP registers can be used as software limit COMP registerCP 10000 a CM CP RR1 Do 0 RR1 D0 0 P RR1 DO 0 COMP registerCM 1000 RR1 D1 0 RR1 D1 0 RR1 D1 0 m p ee ete ttttgtrtttgtet t t ttptye 1000 O 10000 Fig 2 21 Example of COMP Register Setting When DO and D1bits of register WR2 are set to 1 it enables the software limit In driving
74. 0 pulse 0x1 5000 pulse 0x2 2000 command 0x0 0x30 wait 0x3 outpw adr wr5 0x0124 range 0x1 800000 range 0x2 1131371 speed 0x1 100 center 0x1 5000 center 0x2 0 pulse 0x1 0 pulse 0x2 0 command 0x0 0x33 wait 0x3 speed 0x1 1 command 0 0x36 outpw adr bp1p 0x0000 outpw adr bp1m Ox2bff outpw adr bp2p Oxffd4 outpw adr bp2m 0x0000 command 0 0x38 outpw adr bp1p Oxf6fe outpw adr bp1m 0x0000 outpw adr bp2p 0x000f outpw adr bp2m 0x3fc0 command 0 0x38 outpw adr bp1p 0x1fdb outpw adr bp1m 0x0000 outpw adr bp2p OxOOff outpw adr bp2m Oxfc00 command 0 0x38 command 0 0x34 bp_wait outpw adr bp1p 0x4000 outpw adr bp1m 0x7ff5 outpw adr bp2p 0x0000 outpw adr bp2m Ox0aff command 0 0x38 command 0 0x37 wait 0x3 speed 0x1 100 pulse 0x1 4500 pulse 0x2 0 command 0 0x30 next_wait center 0x1 0 center 0x2 1500 pulse 0x1 1500 pulse 0x2 1500 command 0 0x33 MCX314As AL M116 S curve mode K 1010 Jerk 619KPPS SEC2 ILA 200 Accleration deceleration 250KPPS SEC IIV 4000 Drive speed 40000PPS xP 50000 yP 25000 Fixed pulse drive Release of S curve acceleration deceleration Z axis constant speed drive II SV 40 Initial speed 400PPS IIV 40 Drive speed 400PPS IIP 700 fixed pulse drive Moving 700 pulses in the direc
75. 1 Hi level output D15 D0 will be set to 0 while resetting D15 12 D5 and D6 should be always set 0 4 7 Output Register WR4 This register is used for setting the general purpose output signals nNOUT3 0 This 16 bit register locates 4 output signals of each axis It can be also used as a 16 bit general purpose output It is Low level output when the bit is set 0 and Hi level output when the bit is set 1 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR4 UOUT3 UOUT2 UOUT1 uour ZOUT3 ZOUT2 ZOUT1 ZOUTO YOUT3 YOUT2 YOUT1 YOUTO XOUT3 XOUT2 XOUT1 XOUTO D15 D0 will be set to 0 while resetting and nOUT3 0 signals become Low level 76 NOVA electronics Inc MCX314As AL M77 4 8 Interpolation Mode Register WR5 This register is used for setting axis assignment constant vector speed mode 1 step interpolation mode and interrupt during the interpolation D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR5 BPINT CIINT o cvers EXPLS o SPD1 SPDO o o AX31 AX30 AX21 AX20 AX11 AX10 L J L J L J l Ji J Interrupt Step Constant Vector 3rd Axis 2nd Axis 1st Axis Speed Master Axis D1 0 AX11 10 axl master axis assignment for interpolation Axis codes are shown as follows Axis Code Binary X 0 0 1st axis X 2nd axis Y 3rd axis Z Y o 1 D5 D4 D3 D2 D1 DO Z 1 0 1 0 0 1 0
76. 21 8 22 22 2 Maximum length in the package length direction 0 858 0 866 0 874 including pins D1 19 9 20 20 1 Length of the package main unit excluding pins 0 783 0 787 0 791 E 21 8 22 22 2 Maximum length in the package width direction 0 858 0 866 0 874 including pin E1 19 9 20 20 1 Width of the package main unit excluding pins 0 783 0 787 0 791 e 0 5 0 020 Pin pitch standard size L 0 45 0 6 0 75 Length of the flat section of the pins that contacts the 0 018 0 024 0 030 installation face Z 1 25 TYP Length from the center of the outer most pin to the 0 049TYP outer most pin section of the package main unit 3 0 10 Angle of the pin flat section for the installation face AN 0 10 0 004 Uniformity of the bottom of the pin permissible value in the vertical direction bbb 0 10 0 004 Permissible value of the pin center position error horizontal direction 132 NOVA electronics Inc MCX314As AL M133 16 Storage and Recommended Installation Conditions 16 1 MCX314As Storage and Recommended Installation Conditions 16 1 1 Storage of this IC Note the following items in regard to the storage of this IC 1 Do not throw or drop the IC Otherwise the packing material could be torn damaging the confidentiality 2 Store the IC under the temperature 30 C or lower and humidity 90 RH or lower and use the IC within 12 months 3 If the IC usage date has expired remove any dampness by backing i
77. 4 Axes Motor Control IC with Interpolation Function MCX314As AL User s Manual NOVA electronics NOVA electronics Inc MCX314As AL ii Introduction Before using the MCX314As MCX314AL please read this manual thoroughly to ensure correct usage within the scope of the specification such as the signal voltage signal timing and operation parameter values In general semiconductor products sometimes malfunction or fail to function When incorporating this IC in a system make sure that a safe system is designed to avoid any injuries or property damage caused by malfunctioning of this IC This IC is designed for application in general electronic devices industrial automation devices industrial robots measuring instruments computers office equipment household electrical goods and so on This IC is not intended for the use in high performance high reliability equipment whose failure or malfunctioning may directly cause death or injuries atomic energy control equipment aerospace equipment transportation equipment medical equipment and various safety devices and the operation for such use is not guaranteed The customer shall be responsible for the use of this IC in any such high performance and high reliability equipment Installation of this IC This IC is provided in the form of a lead free package The installation conditions are different from those of the conventional lead soldered IC See Chapter 16 for the installation cond
78. 44 pins but their clearances are slightly different Please see the package dimensions carefully Others are completely same This manual mentions MCX314As MCX314AL as MCX314As AL hereafter Specifications MCX314As MCX314AL Power Voltage Single 5V 3 3V Pin Assignments 3 1 MCX314As Pin Assignments 3 2 MCX314AL Pin Assignments Input Output Logics 3 4 MCX314As Input Output Logics 3 4 MCX314AL Input Output Logics Electrical Characteristics DC 13 1 MCX314As DC Characteristics 13 2 MCX314AL DC Characteristics AC 13 3 MCX314As AC Characteristics 13 4 MCX314AL AC Characteristics Package Dimensions 15 1 MCX314As Package Dimensions 15 2 MCX314AL Package Dimensions Drive Speed and Interpolation Speed of MCX314AL can be output from 2PPS up to 8MPPS at CLK 32MHz When continuous interpolation driving is executed Maximum Drive Speed is 4MPPS E individual Control for 4 Axes MCX314As AL control motors through pulse string driving The ICs can control motors of four axes independently with a single chip Each of the four axes has identical function capabilities and is controlled by the same method of operation with constant speed trapezoidal or S curve driving Servo Step Motor Driver a x d Driver ia my Y CPU a MCX314As a Driver ees e zZ igl Driver m dany U E Speed Control The speed range of the pulse output is from 1PPS to 4MPPS for constant
79. 6E 3500h WR7 000Ch X Y Z Axes Range 800 000 Multiple 10 WRO lt 0700h WR6 lt 0190h WR o000h X Y Z Axes Acceleration Rate WRO 0702h 400 x 125 x 10 500KPPS SEC WR6 0032h WR7 0000h X Y Z Axes Initial Speed 50x10 500PPS WRO lt 0704h WR6 OBB8h WR7 lt 0000h X Y Z Axes Drive Speed 3000x10 30KPPS WRO lt 0705h WR6 A120h WR7 0007h X Axis Output Pulse Number 500 000 WRO 0106h WRG 1E00h WR7 lt FFFBh Set 320 000 in X Axis COMP WRO 010Ch WR6 0 WR7 lt 0 Clear X Axis Logical Counter LP WRO 0109h WRG 6004h WR7 0000h WRO 0164h Action of Own Axis None WRE6E 0000h WR7 0010h WRO 0664h WRO 0622h Start of Y Z Axes Direction Continuous Drive WRO lt 0121h Start of X Axis Direction Constant Drive In this example the X axis is started with fixed pulse driving in the direction after the starting of the Y and Z axes with continuous pulse driving If the X axis passes through the 320 000 pulse the X and Y axes stop by decelerating YPP ZPP 320 000 Y Z Axes s Decelerating Stop Decelerating Start When instant stop is specified for the synchronous actions of the Y and Z axes and the X axis passes through the 320 000 pulse the Y and Z axes stop actions instantly 50 NOVA electronics Inc MCX314As AL M51 E Example 3 The input signal XIN3 fell Saves position data of the X Y and Z axes
80. 6MHz The following commands must be written before this time has elapsed 10 1 Automatic Home Search Execution Command Automatic home search execution This command executes automatic home search Before execution of the command the automatic home search mode and correct parameters must be set See Section 2 5 for details of automatic home search 10 2 Deviation Counter Clear Output Command Deviation counter clear output This command outputs deviation counter clear pulses from the nDRIVE DCC output pin Before issuing this command set Output Enable a pulse logical level and a pulse width in using the extension mode setting command See Sections 2 5 2 and 2 5 3 for details 10 3 Synchronous Action Activation Command Synchronous action activation This command activates synchronous action The WR6 D9 CMD bit of the activation factor must be set to 1 in advance using the synchronous action mode setting command See Section 2 6 for details of synchronous action 10 4 NOP for Axis Switching Command NOP for axis switching No execution is performed Use this command for switching the axis for selecting the registers from WR1 to WR3 registers RR1to RR3 103 NOVA electronics Inc MCX314As AL M104 11 Connection Examples 11 1 Connection Example for MCX314As with 68000 CPU 68000 MCX314As Clock Generator 16MHz indicates high resistance pull up
81. 8 D7 D6 D5 D4 D3 D2 D1 DO WR6 SMODE o HMINT ving AVTRI POINV EPINV EPCLR FL2 FL1 FLO FE4 FE3 FE2 FE1 FEO WR7 D6 4 2 0 STm E Specify whether operation of each step is executed 0 Non execution 1 Execution Use the WR1 register for logical setting of the input signal that is detected in each step See Section 4 4 WR7 D7 5 3 1 STm D Specify search operation direction of each step 0 direction 1 direction 38 NOVA electronics Inc MCX314As AL M39 WR7 D8 PCLRWhen this bit is set to 1 the logical position counter and the real position counter are cleared at termination of Step 4 WR7 D9 SAND When this bit is set to 1 operation of Step 3 stops when the home signal nIN1 and the encoder Z phase signal nIN2 become active WR7 D10 LIMIT Set this bit to 1 when setting automatic home search using an overrun limit signal nLMTP or nLMTM WR7 D11 DCC E This bit enables disables deviation counter clearing output 0 Disable 1 Enable For deviation counter clearing output the pin is shared between the nDRIVE and DCC output signals When this bit is set to 1 the pin is set to deviation counter clearing output WR7 D12 DCC L Specify a deviation counter clearing output logical level 0 Active High 1 Active Low WR7 D15 13 DCCW2 0_ Specify an active pulse width of deviation counter clearing output D15 D14 D13 Clearing pulse width
82. Clock Pulse 16MHz standard 16MHz standard 32MHz max Input Signal Level TTL level TTL level 5V tolerant 3 3V CMOS Level only TTL b Output Signal Level 5V CMOS Level even T e connected for 5V type E Package 144 pin plastic LQFP pitch 0 5mm lead free item Dimension 20 x 20 x 1 4 mm External size including pins 22 x 22 x 1 6 mm 136 NOVA electronics Inc MCX314As A1 Appendix A Speed Profile of Acceleration Deceleration Drive The following curves are based on the test records from MCX314As AL output drive pulses and speed curve traces E 40KPPS Symmetrical S curve Acceleration Deceleration R 800000 Multiple 10 K 700 A 8000 SV 10 V 4000 A0 0 WR3 D2 1 0 1 0 0 Auto Deceleration Mode Jerk 893K PPS SEC2 Initial Speed 100 PPS Drive Speed 40K PPS 20K 0 1 6 sec E 8000PPS Symmetrical S curve Acceleration Deceleration R 8000000 Multiple 1 K 2000 A 8000 SV 10 V 8000 A0 0 WR3 D2 1 0 1 0 0 Auto Deceleration Mode Jerk 31K PPS SEC2 Initial Speed 10 PPS Drive Speed 8000 PPS 4K Output Pulse P 20 000 P 10 000 9 20 4 0 sec A1 NOVA electronics Inc MCX314As A2 E 400KPPS Symmetrical S curve Acceleration Deceleration R 80000 Multiple 100 K 2000 A 8000 SV 10 V 4000 A0 0 WR3 D2 1 0 1 0 0 Auto Deceleration Mode Jerk 3 13M PPS SEC2 400K Initial Speed 1000 PPS Drive Speed 400K PPS Output Pulse P 100 000 P 400 000 1 0 2 0 sec
83. DOWN pulse mode UP DOWN pulse mode WR6 D2 POINV Replaces output signals of drive pulse output between nPP drive pulse in the direction and nPM drive pulse in the direction When this bit is set to 1 drive pulses are output to the nPM signal during driving in the direction and in the direction drive pulses are output to the nPP signal 91 NOVA electronics Inc WR6 D3 AVTRI See Section 2 2 2 WR6 D4 VRING WR6 D5 HMINT WR6 D7 SMODE WR6 D12 8 FE4 0 MCX314As AL M92 Prevents triangle forms in linear acceleration trapezoidal of fixed pulse driving 0 Disable 1 Enable Enables the variable ring function of the logical position counter and the real position counter 0 Disable 1 Enable See Section 2 3 3 Generates an interrupt signal INTN at termination of automatic home search When this bit is set to 1 the interrupt signal INTN becomes Low Active at termination of automatic home search and the RR3 D8 HMEND bit of the axes from which the interrupt is generated indicates 1 When the CPU reads the RR3 register of the axis from which the interrupt was generated the bits of the RR3 registers are cleared to 0 and the interrupt output signal is reset to Hi Z Set this bit to 1 when giving priority to the reaching of the specified drive speed in S curve acceleration deceleration driving Set whether the IC built in filter function is set to Enable or Disable through for each of input
84. ING COMPLETION When start fixed pulse driving in S curve acceleration deceleration always read out status of progress directional hardware limit RR1 D12 D13 with timer interruption If limit signal becomes active read out bit status of ASND D2 CNST D3 and DSND D4 in RR1 resister and execute Sudden stop command 27h one time only if all those 3 bits are 0 3 Software limit Case M In fixed pulse driving the target position goal can be calculated from present position logical position counter value and number of output pulse If target position is over value of software limit don t drive to avoid the trouble B5 NOVA electronics Inc MCX314As B6 4 Deceleration stop with nIN 2 0 Case IV Normally deceleration stop with nIN 2 0 is performed during continuous pulse driving But out of necessity when deceleration stop with STOP IN signal is performed during fixed pulse driving in S curve deceleration there isn t any method to avoid it before the trouble happens like chapter 2 So the example of measure is shown below Besides the Interruption shown on chapter 2 1 is also effective C DRIVING STARTS RRO DRV bit See RR1 D8 11 IS STOP SIGNAL ACTIVE ASND CNST DSND 0 RR1 ASND CNST DSND bit SUDDEN STOP COMMAND 27h C DRIVING COMPLETION D E How to recognize Item No MCX314As Package Indicating NOVAe lec MCX314As 90G64EFGO01 JAPAN XXXXX of
85. In this example logical position counter values of the three axes are saved in the buffer registers BR of the axes individually at the falling of the XIN3 signal after the start of driving of the X Y and Z axes At the same time the function sets an interrupt output signal INTN to Low Active for the X axis and notifies the effect to the CPU The CPU reads the buffer contents of each axis after checking that the interrupt is caused by a synchronous action WR6E lt 3500h WR7 lt 000Ch X Y Z Axes Range 800 000 Multiple 10 WRO lt 0700h WR6 lt 0190h WR7 0000h X Y Z Axes Acceleration Rate WRO lt 0702h 400x125x10 500KPPS SEC WR6 lt 0032h WR7 lt 0000h X Y Z Axes Initial Speed 50x10 500PPS WRO 0704h WRG OBB8h WR7 0000h X Y Z Axes Drive Speed 300010 30KPPS WRO lt 0705h WRG o WR7 lt 0 Clear Z Y Z Axes Logical Counter LP WRO lt 0709h WR6 lt 6040h WR7 lt 8040h WRO lt 0164h WR6E 0000h WR7 lt 0040h Action of Own Axis Saving LP Set Y Z Axes Synchronous Action Mode WRO lt 0664h Provocative XIN3y Activation of Other Axes Y Z Action of Own Axis Saving LP or Occurrence of Interrupt Set X Axis Synchronous Action Mode WRO 0722h Start of Z Y Z Axes Direction Continuous Drive The XIN3 input signal fell interrupt occurred Check the interrupt by the synchronous action Read the XRR3 register and check D9 SYNC 1 M
86. LK 16MHz E Pin Capacity Input Output aaa es D15 DO capacity Ta 25 C f 1MHz Input capacity Other input pins 118 NOVA electronics Inc MCX314As AL M119 13 2 MCX314AL DC Characteristics E Absolute Maximum Rated Item Symbol Condition Value Unit P R Vov 0 3 4 6 v Voltage Voo 3 0 3 6V 0 3 6 0 Input voltage Vi pe V Von lt 3 0V 0 3 Vbp 0 3 Output y Vop 3 0 3 6V 0 3 6 0 y voltage 9 Vbo lt 3 0V 0 3 Vppt0 3 Input Current l 6 mA D15 D0 signal 16 alice Other signal mA Current 2 ies denen 8 except D15 D0 Reservation Taek 65 150 C Temperature E Recommend Operation Environment Power Voltage Ambient Temperature E DC Characteristics Ta 40 85 C Vbo 3 3v 10 Condition in 4 A Remark High level input voltage Low level input voltage High level input current Low level input current Vin OV D15 D0 Input signal High level output Input signal besides D15 D0 Vin OV voltage lon 1004A Note 1 Low level output lon 4mA Output signal besides D15 D0 voltage lon 8mA D15 D0 Output signal lor 1004A Output leakage lo 4mA Output signal besides D15 D0 current lo 8mA i D15 D0 Output signal Smith hysteresis D15 DO BUSYN INTN Vout Vpp or OV voltage Consuming current High level input l i o
87. OVA electronics Inc MCX314As AL M35 E External Signal Controlled Single step Interpolation The EXPLSN pin 29 is used for the single step interpolation from the external signal The user can set D11 of register WRS to 1 to enable the external signal controlled single step interpolation Normally the EXPLSN input signal is on the Hi level When it changes to Low the interpolation step will be output The operating procedure is shown as follows a Set D11 of register WRS to 1 It will enable the external signal controlled single step interpolation b Set the initial and drive speeds of the master axis in the interpolation process to be the same value and the driving becomes constant speed which should be higher than the Low pulse cycle of EXPLSN This is necessary for this controlled mode And it will set the MCX314As AL into a constant speed mode c Set interpolation data start point center point d Write interpolation command Although the interpolation segment is enabled there is no pulse output because the single step is command controlled e EXPLSN input on Low level The interpolation pulse will be output from each axis after 2 5 CLK the pulse falling down when the filer is invalid The Low level pulse width of EXPLSN has to be longer than 4CLK when the filter is invalid See Section 2 8 for filters Furthermore the pulse cycle of EXPLSN has to be longer than the setting speed cycle of master axis The user may
88. OmA CLK 16MHz voltage l i o 0mA CLK 32MHz Notel BUSYN and INTN output signals have no items for high level output voltage due to the open drain output E Pin Capacity Input Output Og et D15 DO capacity Input capacity Other input pins 119 NOVA electronics Inc MCX314As AL M120 13 3 MCX314As AC Characteristics Ta 0 85 VDD 5V 5 Output load condition 85 pF 1 TTL 13 3 1 Clock CLK Input Signal SCLK Output Signal CLK ak f NANS NaS NS nA tWH tWL SCLK tCYC DR _ _tDF SCLK will not be output during reset CLK Cycle CLK Hi Level Width CLK Low Level Width CLK t SCLKt Delay Time 21 nS CLK f SCLK Delay Time 23 nS 13 3 2 Read Write Cycle Read Cycle Write Cycle A2 AO Valid Address Ge Valid Address CSN RDN ve aru D15 DO Data Input _tCR_ RD tw a tAR a The figure shown above is used for 16 bit data bus accessing H16L8 Hi For 8 bit data bus H16L8 Low the address signals shown in the figure become A3 A0 and data signals become D7 D0 b At a read cycle the data signal D15 D0 becomes an output state as soon as both RDN and CSN become low and stays in the output state during tDF even if RDN is reset to High Avoid the occurrence of bus conflict collision Address Setup Time to RDN CSN Setup Time to RDN Output Data Delay Time from RDN Outpu
89. PP PLS ZPM DIR ZPP PLS YPM DIR YPP PLS GND INTN SCLK XPP PLS XPM DIR lt See Chapter 15 1 for the 144 pin LQFP package 20x20mm external package 22x22mm pin pitch 0 5mm pin coating Sn Bi Tin bismuth Remark This drawing shows the pin assignments of MCX314As VDD SV from those of MCX3 14AL VDD 3 3V 263 Please note these pin assignments are different NOVA electronics Inc MCX314As AL M64 3 2 MCX314AL Pin Assignments VDD 3 3V ZOUT4 CMPP ZOUT5 CMPM ZOUT6 ASND ZOUT7 DSND ZDRIVE DCC YOUT4 CMPP YOUT5 CMPM YOUT6 ASND YOUT7 DSND YDRI VE DCC X INO XINI GND VDD GND VDD ZOUT3 XIN2 ZOUT2 XIN3 ZOUTI XLMTM ZOUTO XLMTP UINPOS XALARM UALARM XINPOS ULMTP GND uh 1b UIN2 XOUT1 UINI XOUT2 i OUTS opp UDRIVE DCC OUT4 C UOUT7 DSND XOUT5 CMPM ae RAER r ee OUT5 C wp MICX314AL monn ee vouta cr ck UOUT2 UECB PMIN UOUT1 UECA PP IN UOUTO ZECB PMIN GND ZECA PP IN XEXPP YECB PMIN XEXPM YECA PP IN YEXPP XECB PMIN YEXPM XECA PP IN ZEXPP s UPM DIR ZEXPM Pin 1 Mark UPP PLS ra oan oni zw EMGN YPM DIR TEST2N YPP PLS VDD XPM DIR GND XPP PLS See Chapter 15 2 for the 144 pin LQFP package 20x20mm external package 22x22mm pin pitch 0 5mm pin coating Sn Bi Tin bismuth Remark This drawing shows the pin assignments of MCX314AL VDD 3 3V Please note these pin assignments are different from those of MCX314As VDD SV 64 NOVA electronics Inc 3 3 Signal Descri
90. PPS SEC II SV 50 Initial speed 500PPS IIN 40 Drive speed 400PPS P 10 Output pulse number 10 II LP 0 Logical position counter 0 General purpose output register initialization 00000000 00000000 Interpolation mode register initialization 00000001 00100100 Il ax1 x ax2 y ax3 z Constant vector speed X and Y axes linear acceleration driving ILA 200 Accleration deceleration 250KPPS SEC IIV 4000 Drive speed 40000PPS xP 80000 yP 40000 fixed pulse drive Waits for termination of driving X axis non symmetrical linear acceleration driving Acceleration deceleration individual non symmetrical mode II xA 200 Accleration deceleration 250KPPS SEC II xD 50 Deceleration 62 5KPPS SEC II xV 4000 Drive speed 40000PPS xP 80000 fixed pulse drive Waits for termination of driving II Release of acceleration deceleration individual mode X and Y axes S curve acceleration deceleration driving 115 NOVA electronics Inc wreg3 0x3 0x0004 acac 0x3 1010 acc 0x3 200 speed 0x3 4000 pulse 0x1 50000 pulse 0x2 25000 command 0x3 0x21 wait 0x3 wreg3 0x3 0x0000 startv 0x4 40 speed 0x4 40 pulse 0x4 700 command 0x4 0x20 wait 0x4 pulse 0x4 350 command 0x4 0x21 wait 0x4 outpw adrt wr5 0x0124 range 0x1 800000 range 0x2 1131371 speed 0x1 10
91. Reflow 134 17 Specifications 135 Appendix A Speed Profile of Acceleration Deceleration Drive A1 mM 40KPPS Symmetrical S curve Acceleration Deceleration Drive A1 8000PPS Symmetrical S curve Acceleration Deceleration Drive Al mM 400KPPS Symmetrical S curve Acceleration Deceleration Drive A2 mM 40KPPS Non Symmetrical S curve Acceleration Deceleration Drive A2 mM 40KPPS Non Symmetrical Trapezoid Acceleration Deceleration Drive A3 Appendix B Technical Information B1 NOVA electronics Inc MCX314As AL M1 1 OUTLINE MCX314As MCX314AL are 4 axis motion control ICs which can control 4 axes of either stepper motor drivers or pulse type servo drivers for position speed and interpolation controls All of the MCX314As MCX314AL s functions are controlled by specific registers There are command registers data registers status registers and mode registers The power voltage of MCX314As is 5V DC and that of MCX314AL is 3 3V DC Please note there are the differences of the pin assignments and the electrical characteristics between MCX314As and MCX314AL Regarding the packages both of them have 0 5mm lead pitch and 1
92. Step 2 search direction direction D2 1 Step 2 Enable D1 1 Step 1 search direction direction DO 1 Step 1 Enable WRO lt 0160h Write Writes an extension mode setting command in the x axis WR6 3500h Write Range 8 000 000 Scaling factor 10 WR7 lt 000Ch Write WRO lt 0100h Write WR6 lt 004Ch Write Acceleration speed 95 000 PPS SEC WRO lt 0102h Write 95000 125 10 76 WR6 lt 0064h Write Initial speed 1000 PPS WRO lt 0104h Write WR6 lt 07D0Oh Write Speed of Steps 1 and 4 20000 PPS WRO lt 0105h Write WR6 lt 0032h Write Speed of Steps 2 and 3 500 PPS WRO lt 0161h Write WR6 ODACh Write Offset driving pulse count 3500 WR7 lt 0000h Write WRO lt 0106h Write WRO lt 0162h Write Starts execution of automatic home search 42 NOVA electronics Inc MCX314As AL M43 After start of the execution the function monitors the RRO D0 X DRV bit and terminates automatic home search if the bit is reset to 0 from 1 If automatic home search did not terminate normally due to an error the RRO D4 X ERR bit is set to 1 after termination Analyze the error based on the contents of the XRR2 D7 bits D5 to DO and bits XRR1 D15 to D12 E Example of home search using a home search signal only In this example high speed home search is triggered by one home signal that is input to both the INO and IN1 pins of this IC Operation MCX314As Input signal and logica
93. U undefined data may be fetched Write data to WR6 and WR7 when non activation of synchronous actions is guaranteed 4 When a driving activation action occurs during driving the action is ignored When a decelerating stop action or an instant stop action occurs while the axis is inactive the action is ignored 54 NOVA electronics Inc MCX314As AL M55 2 7 Interrupt The interrupt is generated from X Y Z or U axis bit pattern interpolation or continuous interpolation There is only one interrupt signal INTN 33 to the host CPU So the signal will be OR calculated then output as shown in Fig 2 42 Control Unit INT INT INT INT Control Unit INT D INTN 33 Every interrupt can be enabled or disabled individually When resetting all interrupt signals are disabled Fig 2 42 Interrupt Signal Path in IC E Interrupt of X Y Z and U Axes The following table shows the interrupt factors generated by X Y Z and U axes Enable Disable Status nRR3 The Factors of Interrupt Happening nWR1 Register Register when one pulse outputs The interrupt will be generated at the rising edge of D8 PULSE DO PULSE AN _ pulse output for direction driving once the value of logical real position counter is larger than or equal to the D9 P2C D1 P2C value of COMP register CM once the value of logical real position counter is smaller than the value of D10 P lt C D2 P lt C COMP regist
94. USYN WLLL g INTN VL H lt b nPP PLS m sud pd Low nOUT O a The reset signal input to pin RESETN will keep on the Low level for at least 4 CLK cycles b When RESETN is on the Low level for 4 CLK cycles maximum the output signals of MCX314As AL is decided c SCLK will be output after 2 CLK cycles when RESTN return to the Hi level d BUSYN keeps on the Low level for 8 CLK cycles when RESTN is on the Hi level 14 2 Fixed Pulse or Continuous Pulse Driving SCLK ecccccccce ane BUSYN nPP nPM a n nPLS m 1st Pulse 2nd Pulse cecoocoooo Final Pulse nDIR Pre state b Valid Level S A nASND af a This first driving pulses nPP nPM and nPLS will be output after 3 SCLK cycles when BUSYN is f b The nDIR direction signal is valid after 1 SCLK cycle when BUSYN is f c The dDRIVE becomes Hi level when BUSYN is f d The nASND and nDSND are on invalid level after 3 SCLK cycles when BUSYN is 126 NOVA electronics Inc MCX314As AL M127 14 3 Interpolation lt annann a a ar E BUSYN ef Te wl nDIR __ Invalid Valid Level J Invalid Valid Level Invalid nDRIVE a The first pulses nPP nPM and nPLS of interpolation driving will be output after 4 SCLK cycles when BUSYN is f b nDRIVE will become Hi level after 1 SCLK cycle when BUSYN is f c DIR signal keeps the active level in 1 SCLK cycle before and after the Hi level pulse outputting 14 4 Start Driving after Hold Command SCLK WRN Drive
95. Y axis WR6 lt O03E8h write finish point of X constant vector speed WR7 lt 0000h write WRO lt 0106h write WR6 lt 0900h write setting parameter of the master axis WR7 003Dh write range 4 000 000 multiple 2 WR6 lt 0190h write finish point of Y WRO lt 0100h write WR7 lt 0000h write WRO lt 0206h write WR6 lt 4DCOh write range of 2 axis constant vector speed WR7 0056h write 4 000 000x1 414 5 656 000 WRO lt 0030h write 2 axis linear WRO 0200h write interpolation starting WR6 lt 01F4h write initial speed 500x2 1000PPS WRO lt 0104h write WR6 lt 01F4h write drive speed 500x2 1000PPS WRO lt 0105h write continue A 1 000 MS l 1 414 ms 1 000 ms Temen xp T LS LNS LON L NT LON XPM YPP YPM Fig 2 35 Example of 2 Axis Interpolation at A Constant Vector Speed Speed 1000PPS Caution In the process of constant vector speed the pulse width of high level of output waveform will not be changed yet kept in the same width The pulse cycle will be changed to 1 414 or 1 732 times 28 NOVA electronics Inc 1 000 ms 1 414 ms m 1 000 mst MCX314AS AL M29 1 732 ms a 1 414 ms Fig 2 36 Example of 3 Axis Interpolation at A Constant Vector Speed speed 1000PPS 2 4 5 Continuous Interpolation The continuous interpolation is executing a series of interpolation processes such as linear interpolation circular interpolation li
96. ZONEO CNEXT DRV JU ERR Z ERR Y ERR X ERR U DRVI Z DRV Y DRV X DRV J Error Status of Each Axis Driving Status of Each Axis D3 0 n DRV Displaying driving status of each axis When the bit is 1 the axis is an outputting drive pulse when the bit is 0 the driving of the axis is finished Once the in position input signal nINPOS for servomotor is active nINPOS will return to 0 after the drive pulse output is finished During execution of automatic home search this bit is set to 1 D7 4 n ERR Displaying error status of each axis If any of the error bits D5 D0 of each axis s RR2 register and any of the error finish bits D15 D12 of each axis s RR1 register becomes 1 this bit will become 1 D8 I DRV Displaying interpolation driving status While the interpolation drive pulses are outputting the bit is 1 D9 CNEXT Displaying the possibility of continuous interpolation data writing When the bit is 1 it is ready for inputting parameters for next node and also ready for writing interpolation command data 78 NOVA electronics Inc D12 10 ZONEm Displaying the quadrant of the current position in circular interpolation D12 D11 D10 Quadrant 0 0 0 0 0 0 1 1 0 1 0 2 0 1 1 3 1 0 0 4 1 0 1 5 1 1 0 6 1 1 1 7 MCX314As AL M79 D14 13 BPSC1 0 In bit pattern interpolation driving it displays the value of the stack counter SC D14 Stack Coun
97. able IW6 D11 1 EXPP EXPM and EXPLS filters Enable WW6 D10 1 INPOS and ALARM signal fiters Enable IV6 D9 0 IN2 signal filter Disable IW6 D8 1 EMGN LMTPIM IN1 0 and filters Enable IW6 D7 0 IW6 D6 0 WW6 D5 0 Automatic home search termination interrupt Prohibit W6 D4 0 LP EP variable range function Disable W6 D3 1 Prevention of triangle forms at linear acceleration Enable IWW6 D2 0 Replacement of pulse output Disable W6 D1 0 EP Increase decrease inversion Disable W6 DO0 0 EP clearing by the IN2 signal Disable Automatic home search mode IW7 D15 D13 000 Deviation counter clear pulse width INN7TID12 0 Deviation counter clear output logical level IW7 D11 0 Deviation counter clear output Disable INNTID10 0 Use of an over run limit signal as a home signal Disable INTID9 0 Z phase signal AND home signal Disable INTID8 1 Logical real position counter clear Enable IINTID7 0 Step 4 drive direction IW7ID6 0 Step 4 Disable IW7ID5 0 Step 3 search direction IW7ID4 0 Step 3 Disable IINTID3 1 Step 2 search direction direction IIW7ID2 1 Step 2 Enable IW7 D1 0 Step 1 search direction IW7 DO 0 Step 1 Disable Z and U axes operation parameter initialization IlAO 0 R 800000 Multiple 10 K 1010 Jerk 619KPPS SEC2 L 1010 Deceleration increasing rate 619KPPS SEC2 A 100 Accleration deceleration 125KPPS SEC D 100 Deceleration 125K
98. adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x07 center axis assignment data For circular center point C setting void center int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x08 p axis assignment data For logical position counter LP setting void Ip int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x09 ep axis assignment data For real position counter EP setting void ep int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 Ox0a 110 MCX314As AL M110 NOVA electronics Inc compp axis assignment data For COMP CP setting void compp int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x0b compm axis assignment data For COMP CM setting void compm int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 Ox0c accofst axis assignment data For acceleration counter shift AO setting void accofst int axis long wdata outpw adr wr7
99. ailures caused by noise around the cable path loose cable or unstable operation of the device is difficult and such failures are not applicable to this case These symptoms may occur due to a logical setting error or signal wiring error at the development of a customer system 270 2 NOVA electronics Inc MCX314As AL M41 Failure cause Symptom Failure in the device of the Kept ON The axis does not advance to the direction and the limit error bit limit sensor and wiring path nRR2 D3 2 is set to 1 at termination Kept OFF The axis runs into the mechanical terminal point and the home search operation does not terminate Failure in the device of the Kept ON Although Step 1 is enabled and automatic home search is started from the near home nINO sensor signal OFF position the axis advances to Step 2 without executing Step 1 and wiring path high speed near home search Kept OFF Operation stops in Step 1 high speed near home search by setting the limit and proceeds with irregular operation of Step 2 The home search result is correct however the operation is not normal Failure in the device of the Kept ON The axis moves in the opposite direction in Step 2 low speed home search home nIN1 sensor and and stops by setting the limit At termination the error bit nNRR2 D3 2 of the wiring path limit of the opposite direction is set to 1 Kept OFF The axis moves in the opposite direction after setting the limit in the
100. and will share the CPU load E Servo Motor Feedback Signals Each axis includes input pins for servo feedback signals such as in positioning An output signal for clearing a deviation counter is also available E Interrupt Signals Interrupt signals can be generated when 1 the start finish of a constant speed drive during the acceleration deceleration driving 2 the end of driving and 3 the compare result once higher lower the border lines of the position counter range An interrupt signal can be also generated during the interpolation driving E Real Time Monitoring During the driving the present status such as logical position real position drive speed acceleration deceleration status of accelerating decelerating and constant driving can be read NOVA electronics Inc MCX314As AL M5 M 8 or 16 Bits Data Bus Selectable MCX314As AL can be connected to either 8 bit or 16 bit CPU Fig 1 1 is the IC functional block diagram It consists of same functioned X Y Z and U axes control sections and interpolation counting sections Fig 1 2 is the functional block diagram of each axis control section Command Data Interpretation AX1P Process Section Leaner Interpolation Circle Interpolation LAXZP al 2Zaxes 3axes APS YP YP a AX1 P AXP Pulse Circle Interpolation Counting Section axes Separate Interpolation Control Section Bit Interpolation Counting Section 2axes 3axes q
101. ands fixed pulse driving output and continuous pulse driving output 2 1 1 Fixed Pulse Driving Output When host CPU writes a pulse numbers into MCX314As AL for fixed pulse driving and configures the performance such as acceleration deceleration and speed MCX314As AL will generate the pulses and output them automatically Fixed pulse driving operation is performed at acceleration deceleration where the acceleration and deceleration are equal As shown in Fig 2 1 automatic deceleration starts when the number of pulses becomes less than the number of pulses that were utilized at acceleration and driving terminates at completion of the output of the specified output pulses For fixed pulse driving in linear acceleration the following parameters must be set Speed Driving Speed Stop Specific Initial Speed Output Pulse Fig 2 1 Fixed Pulse Driving Parameter name Symbol Range R Comment Acceleration Deceleration A D When acceleration and deceleration are equal the setting of deceleration is not required Initial Speed SV Drive Speed V Number of Output Pulse P E Changing the Number of Output Pulse in Driving The number of output pulse can be changed in the fixed pulse driving If the command is for increasing the output pulse the pulse output profile is shown as Fig 2 2 or 2 3 If the command is for decreasing the output pulses the output pulse will be stopped immedia
102. appropriate time constant FL 2 3 mO 12 24V MCX314As AL 5V 3 3V Disable n 10K 3 3K To the internal lt 1 WW circuit Enable jx 7 ae OX Axis Over Rut Limit ue TLP121 11 7 Connection Example for Encoder The following diagram is the example for the encoder signal which is differential line drive output Then this signal can be received through the high speed photo coupler IC which can direct it to MCX314As AL MCX314As AL 5V 3 3V 9 220 ANV O XECA x ik re TLP115A 108 Motor Drivers o ECA o ECA zda n NOVA electronics Inc MCX314As AL M109 12 Example Program The example of C program for MCX314As AL is shown in this section This is a 16 bit bus configuration program This program can be downloaded from our home page http www novaelec co jp File name MCX314AML C include lt stdio h gt include lt conio h gt define adr 0x2a0 Basic address define wro 0x0 Command register define wr 0x2 Mode register 1 define wr2 0x4 Mode register 2 define wr3 0x6 Mode register 3 define wr4 0x8 Output register define wr5 Oxa nterpolation mode register define wr6 Oxc Low word bits data writing register define wr7 Oxe High word bits data writing register define rrO 0x0 Main status register define rr 0x2 Status register 1 define rr2 0x4 Status register 2 define rr3 0x6 Status reg
103. ar Interpolation Interpolation Range Each axis Interpolation Speed Interpolation Accuracy E Circular Interpolation Interpolation Range Each axis Interpolation Speed Interpolation Accuracy MCX314As AL M135 2 147 483 646 2 147 483 646 1 PPS 4MPPS_ Note 1 0 5 LSB Within the range of whole interpolation 2 147 483 646 2 147 483 646 1 PPS 4 MPPS 1 LSB Within the range of whole interpolation E 2 axes 3 axes Bit Pattern Interpolation Interpolation Speed 1PPS 4 MPPS Dependent on CPU data writing time Can select any axis Constant vector speed Continuous interpolation Single step interpolation Command external signals E Related Functions of Interpolation Common Specifications of Each Axis E Drive Pulses Output When CLK 16 MHz Pulse Output Speed Range Pulse Output Accuracy within S curve Jerk 1PPS 4MPPS 0 1 according to the setting speed 954 62 5 x 10 PPS S Multiple 1 477 x 10 31 25 x 10 PPS S Multiple 500 Accelerating Decelerating Speed 125 1x 10 PPS S Multiple 1 62 5x10 500 x 10 PPS S Multiple 500 Initial Speed 1 8 000PPS Multiple 1 500PPS 4x10 PPS Multiple 500 Drive Speed 1 8 000PPS Multiple 1 500PPS 4x10 PPS 0 4 294 967 295 unlimited Constant speed symmetrical non symmetrical linear acceleration symmetrical non symmetrical parabola S curve acceleration deceleration drive Index Pu
104. arget Logical position counter D4 0 over run limit logic Low Active D3 0 over run limit logic Low Active D2 0 Over run limit stop mode Decelerating stop D1 0 Software limit Disable DO 0 Software limit Disable Mode register 3 D15 12 0000 D11 0 General purpose output OUT7 Low D10 0 General purpose output OUT6 Low D9 0 General purpose output OUT5 Low D8 0 General purpose output OUT4 Low D7 0 Drive state output Disable D6 0 D5 0 D4 0 External operation signal operation Disable D3 0 D2 0 Accleration deceleration curve Linear acceleration trapezoid D1 0 Accleration deceleration symmetry non symmetry Symmetry D0 0 Deceleration of fixed pulse driving Automatic deceleration Since the automatic home search is different between the Z axis and U axis set the following extension modes individually IIZ axis extension mode Input signal filter and others W6 D15 13 010 Input signal filter delay 512u IW6 D12 1 IN3 signal filter Enable W6 D11 1 EXPP EXPM and EXPLS filters Enable W6 D10 1 INPOS and ALARM signal filters Enable IW6 D9 0 IN2 signal filter Disable IW6 D8 1 EMGN LMTP M IN1 and 0 filters Enable IW6 D7 0 IW6 D6 0 WW6 D5 0 Automatic home search termination interrupt Prohibit IWW6 D4 0 LP EP variable link function Disable WW6 D3 1 Triangle form prevention at linear acceleration Enable IW6 D2 0 Switching pulse output Di
105. ation circular interpolation linear interpolation The maximum drive speed of performing continuous interpolation is 2 MHz E Constant Vector Speed Control This function performs a constant vector speed During the interpolation driving MCX314As AL can set a 1 414 times pulse cycle for 2 axis simultaneous pulse output and a 1 732 time pulse cycle for 3 axis simultaneous pulse output 1 000ms 1 414 1 000ms 1 414ms oe E Ams oom LIT e LET LT LUT Le XPM YPP m m YPM Example of Pulse Output of 2 Axis Interpolation Constant Vector Speed Vector speed 1000pps E Position Control Each axis has a 32 bit logic position counter and a 32 bits real position counter The logic position counter counts the number of output pulse and the real position counter counts the feedback number of pulse from the external encoder or linear scale E Compare Register and Software Limit Each axis has two 32 bit compare registers for logical position counter and real position counter The comparison result can be read from the status registers The comparison result can be notified by an interrupt signal These registers can be also functioned as software limits E Automatic home search This IC is equipped with a function that automatically executes a home search sequence without CPU intervention The sequence comprises high speed near home search low speed home search encoder Z phase search offset drive This func
106. be applied The extension mode setting bit WR7 D9 SAND must be set to 0 245 NOVA electronics Inc MCX314As AL M46 2 6 Synchronous Action Synchronous action of this IC performs actions such as starting and stopping of driving within each axis and between axes in IC and between IC and an external device For instance the following actions can be performed Example 1 Starts driving of the Z axis after the Y axis passes the position 15 000 Action a Starting of Z Axis Driving Provocative x Y axis is passing through the position 15 000 ZA Fig 2 40 Example of a synchronous action Example 2 Stops driving of Y and Z axes after the X axes passes the position 320000 Example 3 Saves position data of the X Y and Z axes when an input signal is set Normally such synchronous actions can be performed by coding a program on the CPU side However this function is useful when no delay by CPU software execution time is allowed The synchronous action of this IC is a function that executes a specified action immediately when a specified activation factor occurs This linked action is performed without CPU intervention achieving high precision synchronization To perform a synchronous action set a specified activation factor and a specified action in the synchronous mode registers in the IC Specify an activation factor Provocative register and other axis activation in the WR6
107. by the CPU This function is Fig 2 23 Example of Signal Connection for Clearing The Real Position Counter by The IN2 Signal useful for solving the problem of Z phase detection position slippage that occurs due to a delay of the servo system or the mechanical system even if a low Z phase search drive speed is set To clear a real position counter with a Z phase signal in encoder Z phase search assign the Z phase signal to nIN2 signal as shown Fig 2 23 See below for the procedure for setting a mode or a command for Z phase search accompanied by clearing of the real position counter O Set a range and an initial speed Set a Z phase search drive speed If the value set for the drive speed is lower than the initial speed acceleration deceleration driving is not performed If a Z phase is detected the driving pulse stops immediately 18 NOVA electronics Inc MCX314As AL M19 Validate the IN2 signal and set an active level WR1 DS IN2 E 1 D4 IN2 L O Low active 1 Hi active Enable the clearing of the real position counter using the IN2 signal Set WR6 D0 EPCLR to 1 and issue an extension mode setting command 60h Note Other bits of the extension mode command are also set Issue the direction or direction continuous pulse driving command As a result of the operations described above driving starts in the specified direction as shown in Fig 2 24 When the Z phase signal reaches an active level the
108. c N o oP Main axis pulse X Axis Control Section Main axis pulse Y Axis Control Section Main axis pulse Z Axis Control Section INT Main axis pulse U Axis Control Section INT Interrupt INTN lt Generator Fig 1 1 MCX314As AL Functional Block Diagram NOVA electronics Inc MCX314As AL M6 P Command Command Operatin Data lt gt peraing P m gt Main Axis ga Jerk Generator Pulse Section Acceleration Deceleration Action Generator Managing Section External C Speed Generator Signal eee External Operation EXPM Section lt gt Generator Compare Register COMP Automatic Home Search Section General Output OUTS3 O Synchronous General Output Action Section OUT7 4 Logical Position Counter 32bit povwn Internal Real Position Counter YP DOWN Pulse Generator Section P UP Integrated Input Signal Filter Compare Register Management COMP EN az Wave ECA PPIN Change ECB PMIN To Interpolation Section External Signal PP PLS gt PWDIR LMTP LMTM INPOS Note1 EMGN N3 0 OUT3 O OUT 4 Note 1 EMGN is for all axes use Fig 1 2 Block Diagram of the X Y Z and U axis Control Section for One Axis Only NOVA electronics Inc 2 The Descriptions of Functions 2 1 Pulse Output Command MCX314As AL M7 There are two kinds of pulse output comm
109. celeration 125K PPS SEC Deceleration 500K PPS SEC Initial Speed 400 PPS Drive Speed 40K PPS Output Pulse P 30 000 1 2 sec c Acceleration Deceleration Ratio 10 1 R 800000 Maltiple 10 A 400 D 40 SV 50 V 4000 A0 0 WR3 D2 1 0 0 1 0 Auto Deceleration Mode 60H VWWR6 D3 1 Triangle Prevention ON Acceleration 500K PPS SEC Deceleration 50K PPS SEC Initial Speed 500 PPS Drive Speed 40K PPS Output Pulse P 20 000 P 40 000 J 1 6 sec d Acceleration Deceleration Ratio 1 10 R 800000 Maltiple 10 A 40 D 400 SV 50 V 4000 A0 0 WR3 D2 1 0 0 1 0 Auto Deceleration Mode 60H VWWR6 D3 1 Triangle Prevention ON Acceleration 50K PPS SEC Deceleration 500K PPS SEC Initial Speed 500 PPS Drive Speed 40K PPS Output Pulse P 40 000 P 10 000 1 6 sec A3 NOVA electronics Inc MCX314As B1 Appendix B Technical Information Item No 90G64FEG0011 of MCX314As applies to this technical information Please see page B6 to know how to recognize the item number Item No 90G64FEB0012 of MCX314As and MCX314AL do not apply to it E Notice for S curve acceleration deceleration with fixed pulse drive Symptom When using fixed pulse driving in S curve acceleration deceleration if one of the following occasions I to IV is taken just before finishing driving pulse may be continuously outputted depending on setting value of parameters speed drive speed lt t time
110. check the following methods to perform the emergency stop function from the host CPU a Execute the sudden stop commend for all of the 4 axes at the same time Appoint all of the 4 axes then write the sudden stop command 27h to register WRO b Reset software limit Write 800h to register WRO to reset software limit 2 9 7 Status Output nDRIVE output signals and bits D3 0 n DRV of register RRO Speed A Constant can be used for drive stop status output of each axis Stop Acceleration Speed Deceleration Stop oat a The driving status of acceleration constant speed deceleration will be output to bits D2 ASND D3 CNST and D4 DSDD and also the signals nOUT6 ASND and nOUT7 DSND will show the levels However these output signals and general purpose output signals share the same terminal D7 OUTSL bit of register WR3 should be set 1 for drive status output time Status Register Output Signal Drive Status RRO n DRV nRR1 ASND nRR1 CNST nRR1 DSND nDRIVE DCC nOUT6 ASND nOUT7 DSND Stop 0 0 0 0 Low Low Low Acceleration 1 1 0 0 Hi Hi Low Constant F 1 0 1 0 Hi Low Low Speed Deceleration 1 0 0 1 Hi Low Hi Moreover in S curve accelerating decelerating driving the state of acceleration constant speed deceleration will be also shown to bits D5 AASND D6 ACNST and D7 ADSND of register RR1 2 9 8 General Purpose Output Signal In MCX314As AL there a
111. constant vector speed for 2 axes Center point 5000 0 Start point 0 0 Finish point 6000 5000 NOVA electronics Inc MCX314As AL M24 2 4 3 The Bit Pattern Interpolation This interpolation driving receives interpolation data that is created by upper level CPU and transformed to bit patterns in a block of a predetermined size and outputs interpolation pulses consecutively at the specified drive speed Every axis has 2 bit data buffers for host CPU one for direction and the other for direction When performing the bit pattern interpolation the host CPU will write the designated interpolation data for 2 or 3 axes into MCX314As AL If a bit in the bit pattern data from CPU is 1 MCX314As AL will output a pulse at the time unit if it is 0 MCX314As AL will not output any pulse at the time unit x gt For example if the user want to generate the a profile see Fig Fig 2 32 Example for Bit Pattern Interpolation 2 32 the host CPU must write a set of pattern into those specific registers XPP the direction register for X axis XPM the direction register for X axis YPP and YPM the and directions registers With in the time unit MCX314As AL will check the registers once and decide to output a pulse or not depending on the bit pattern lt 56 lt 48 lt 40 lt 32 lt 24 a 16 lt 8 o 01000000 OO000000 00011111 11011011 11110110 11111110 00000000 00000000 XPP X
112. counter will be set 8 while resetting Set this parameter value to 0 when performing acceleration fixed pulse driving by setting a low initial speed 6 15 Deceleration Increasing Rate Setting Command Data range Data length Deceleration Increasing Rate Setting 1 65 535 2 bytes This deceleration increasing rate value is a parameter used to determine a deceleration speed increase decrease rate per unit time in S curve acceleration deceleration driving where acceleration and deceleration are non symmetrical The deceleration increasing rate is calculated as follows where the deceleration increasing rate setting value is L 90 NOVA electronics Inc MCX314As AL M91 Deceleration Increasing Rate _ 62 5x10 x _8 000 000 PPS SEC L R Multiple Since the deceleration increasing rate setting value L range is from 1 to 65 535 the deceleration increasing rate range will be as follows Where multiple 1 954 PPS SEC 62 5 x 10 PPS SEC Where multiple 500 477 x 10 PPS SEC 31 25 x 10 PPS SEC 6 16 Extension Mode Setting Command Data range Data length Extension mode setting 4 bytes For extension mode setting set an appropriate value in each bit of the WR6 and WR7 registers that are shown below and write a command code 60h as well as specification of the axis in the WRO register As a result the contents of the WR6 and WR7 registers are set in the extension mode regist
113. ctual acceleration range is shown as follows When Multiple 1 125 PPS SEC 1 x 10 PPS SEC When Multiple 500 62 5 x 10 PPS SEC 500 x 10 PPS SEC 86 NOVA electronics Inc MCX314As AL M87 6 4 Deceleration Setting Command Data Range Data Length Deceleration setting 2 bytes This parameter is used to set a deceleration speed at deceleration in non symmetrical linear acceleration driving WR3 D1 1 In non symmetrical S curve acceleration driving set the maximum value of 8000 in this parameter D is the parameter determining the deceleration The deceleration calculation is shown in the following formula 8 000 000 R L Multiple Deceleration PPS SEC D x 125 x 6 5 Initial Speed Setting Code Command Symbol Data Range Data Length 04h Initial speed setting SV 1 8 000 2 bytes SV is the parameter determining the speed of initial speed The initial speed calculation is shown in the following formula Initial Speed PPS Sv x 8 000 000 eae i Multiple For stepper motors the user should set the initial speed smaller than the self starting frequency of stepper motors For a servo motor also if the value that is set is too low creep or premature termination may occur at decelerating termination of fixed pulse driving In this case take the following measures a Linear acceleration driving with symmetrical acceleration deceleration e Set 0 in the acceleration cou
114. d by setting LP save or EP save in the action of the own another axis A synchronous action activation command 65h was written D15 13 AXIS3 1 Specify another axis to be driven by the activation factor of the own axis 1 Enable WR7 DO D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D14 MCX314As AL M47 Own axis D15 AXIS3 D14 AXIS2 D13 AXIS1 x U axis activation Z axis activation Y axis activation Y X axis activation U axis activation Z axis activation Z Y axis activation X axis activation U axis activation U Z axis activation Y axis activation X axis activation H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO INT OUT o o viser OPSET EPSET LPSET EPSAV LPSAV ISTOP SSTOP CDRV CDRV FDRV FDRV J Action Each bit for specification of an action is enabled by setting to 1 and disabled by setting to 0 FDRV Activates fixed pulse driving in the direction FDRV Activates fixed pulse driving in the direction CDRV Activates continuous pulse driving in the direction CDRV Activates continuous pulse driving in the direction SSTOP Stops driving in deceleration ISTOP Stops driving immediately LPSAV Saves the current logical position counter value LP in the synchronous buffer register BR LP BR EPSA Saves the current real position counter value EP in the synchronous buffer register BR EP
115. d real position counter can be cleared after moving If the drive direction limit signal becomes active before the start or during execution of Step 4 the operation stops due to an error and 1 is set in the search direction limit error bit D2 or D3 of the nRR2 register 2372 NOVA electronics Inc MCX314As AL M38 2 5 2 Deviation Counter Clearing Signal Output This function outputs a deviation counter clearing nDCC signal by setting a mode at the activation of the encoder Z phase signal nIN2 in Step 3 operation For deviation counter clearing output the pin is shared between nDRIVE and DCC output signals For the clearing pulse the logical level and the pulse width within the range from 10sec to 20msec can be specified Active Encoder Z phase IN2 f Step 3 low speed Z phase Search l Stop Deviation Counter Clear DCC F 10u 20msec Deviation counter clearing output becomes active at termination of Z phase search operation in Step 3 and Step 4 starts after completion of clearing pulse output Deviation counter clearing pulses can also be output by a single command deviation counter clear command 63h instead of an automatic home search sequence However the mode following the deviation counter clearing output must be set in advance using an extension mode setting command 60h WR7 D11 DCC E Disable enable 1 enable WR7 D12 DCC L Logical level O or 1 WR7 D15 D13 DCCW2 0 Pulse width 0 7 2 5 3 S
116. decelerating stop or YLMTM 88 89 Input A sudden stop will be performed once this signal is active The active SpE pulse width should be more than 2CLK Decelerating stop sudden ZLMTM 98 97 stop and logical levels can be set during the mode selection When ULMTM 117 116 it is enable and when this signal is in its active level the HLMT of RR2 register becomes 1 XIN3 0O YIN3 0O ZIN3 0 UIN3 0O XEXPP YEXPP ZEXPP UEXPP XEXPM YEXPM ZEXPM UEXPM EMGN GND 71 74 89 92 94 99 102 118 121 134 136 138 140 135 137 139 141 142 9 19 20 37 52 55 66 75 91 103 127 133 143 71 74 90 93 98 101 117 120 133 135 137 139 134 136 138 140 141 8 15 35 55 66 81 108 126 132 144 Input A F Input A F Input A F Input A F Input 3 0 input signal to perform decelerating sudden stop for each axis These signals can be used for HOME searching The active pulse width should be more than 2CLK Enable disable and logical levels can be set for IN3 INO In automatic home search INO IN1 and IN2 are assigned to a near home search signal a home signal and an encoder Z phase signal respectively The signal status can be read from register RR4 RR5 External Operation direction drive starting signal from external source When the fixed pulse driving is commanded from an external source direction driving will start if this signal is down
117. direction 01111111 11110101 00000000 00000000 00000000 00000000 00101011 11111111 XPM X direction O0000000 00000000 00000000 11111111 OOO000000 00001111 11111111 11010100 YPP Y direction 00001010 11111111 11111100 O0000000 00111111 11000000 00000000 00000000 YPM Y direction Fig 2 33 shows the register configuration of the 1st axis and movements of bit data of bit pattern interpolation in this IC BP 1P register and BP1M register are 16 bit data buffers for bit pattern data form the host CPU IF the system uses 8 bit data bus the host CPU has to write the data by low byte and high byte The direction data should be written into PB1P and the direction data into PB1M Once starting the bit pattern interpolation the pulse outputting is in the order from DO REG2 0000100000000100 BP1P 1 REG1 N Host CPU 0100000000100001 gt 0001001000010000 o D15 DO 1110101 1001101001110101 gt eee ax1 PP The data will be written SREG R by stacking command SC 2 REG2 40100000100001010 BP1M REG1 x 1 Host CPU 0000011100001010 j1000010000100000 o D15 gt SC 2 0001010 7 DO 0000000000001010 gt eee ax1 PM SREG e SC SC Stacking counter RRO D14 13 0 3 BP1P Data register ax1 direction BP1M Data register ax1 direction SREG 16 bit shift register REG1 16 bit buffer register 1 REG2 16 bit buffer register 2 Fig 2 33 Register Configuration and Movements of Bit Pattern
118. driving pulses stop and the real position counter is cleared at the rising of the Z phase signal active level ZPhase Search she Stop Driving Pulse EC A EC B IN EC 2 _ lt o lt lt OE Real Position Counter N N 1 N 2 N 3 N 4 N 5 N 6 N 7 0 Fig 2 24 Example of Operation of Clearing The Real Position Counter Using The IN2 Signal Notes e Only the nIN2 signal can clear the real position counter The nIN3 nIN1 and nINO signals cannot clear the counter e When the input signal filter is invalid an active level width of more than 4CLK cycles is necessary When the input signal filter is valid a time more than double the input signal delay time is necessary e It is recommended to perform Z phase search from the one direction to enhance the position detection precision e When the nIN2 signal is already set to an active level at the issuing of the extension mode setting command by setting WR6 D0 EPCLR to 1 the real position counter is cleared even if the extension mode setting command is issued 19 NOVA electronics Inc MCX314As AL M20 2 4 Interpolation This 4 axis motion control IC can perform any 2 3 axes linear interpolation any 2 axes circular interpolation and any 2 3 axes bit pattern interpolation Bits DO D1 ax 1 D2 D3 ax 2 and D4 D5 ax 3 of register WR5 can be pointed for performing the interpolation In the process of interpolation driving all the calculations will follow t
119. e 0036h write 0000h write 2BFFh write FFD4h write 0000h write 0038h write F6FEhwrite 0000h write OOOFh write 3FCOh write 0038h write 1FDBh write 0000h write OOFFh write FCOOh write 0038h write 0034h write J1 RRO D14 13 read If D14 D13 1 Jump to J1 BP1P BP1M BP2P BP2M WRO lt WRO lt 4000h write 7FF5h write 0000h write OAFFh write 0038h write 0037h write J2 RRO D8 read If D8 1 Jump to J2 E Executing bit pattern interpolation by interrupt Define ax1 X ax2 Y MCX314AS AL M27 setting the master axis speed parameter range 4 000 000 multiple rate 2 range of constant line speed 4 000 000x1 414 5 656 000 Initial speed 500x2 1000PPS drive speed 500x2 1000PPS clear BP data enable to write into BP register command of bit 0 15 X axis direction X axis direction Y axis direction Y axis direction BP data stacking SC 1 command of bit 16 31 X axis direction X axis direction Y axis direction Y axis direction BP data stacking SC 2 command of bit 32 47 X axis direction X axis direction Y axis direction Y axis direction BP data stacking SC 3 enable 2 axis bit pattern interpolation because SC 3 command of bit 48 62 until the SC is 2 or less X axis direction X axis direction Y axis direction Y axis direction BP data stackin
120. e accelerated to 20KPPS after 0 3 SEC the acceleration will be 20000 500 0 3 65000PPS SEC And the output pulses during acceleration will be 500 20000 x 0 3 2 3075 Thus if we set the deceleration as same as the Output Pulse During acceleration the manual decelerating point will be 56568 3075 53493 A Acceleration Note this formula cannot be used in the constant vector speed driving 500 0 3 Time SEC WRO lt 010Fh write select X axis WR3 0001h write manual deceleration enabling WR5 0004h write define ax1 X ax2 Y WR6 lt 8480hwrite range 2 000 000 multiple 4 WR7 lt 001Eh write WRO lt 0100h write WR6 lt 0082h write acceleration WRO lt 0102h write 130x125x4 65000 PPS SEC WR6 lt 007Dh write Initial speed 125x4 500PPS WRO lt 0104h write WR6 lt 1388h write drive speed 5000x4 20000PPS WRO lt 0105h write WR6 D8FOh write center point X 10000 WR7 lt FFFFh write WRO lt 0108h write WR6 lt 0000h write center point Y 0 WR7 lt 0000h write WRO lt 0208h write WR6 lt 0000h write finish point X 0 WR7 lt 0000h write WRO lt 0106h write WR6 lt 0000h write finish point Y 0 WR7 lt 0000h write WRO lt 0206h write WR6 lt DOF5h write manual deceleration point setting 53493 WR7 lt 0000h write WRO lt 0107h write WRO lt 003Bh write deceleration enabling WRO lt 0033hwrite CCW circular interpola
121. e and falling edge of the nEXPP signal If the output pulse number is set to P the P number of drive pulses is output Normal rotation Reverse rotation XEXPP A phase eM es a a E B phase SS SSS Sooo XPM TLO STL Fig 2 46 Example Output Pulse 1Driving by A Manual Pulsar Normal rotation Reverse rotation D a e a a cee eee A phase Fig 2 47 Example of Output Pulse 2 Driving by A Manual Pulsar Set the speed parameter in the following conditions to complete output of all the P number of drive pulses with a period from the rising edge falling edge of the nEXPP signal to the next rising edge falling edge V gt FxPx2 V Drive speed pps P Output pulses F Frequency Hz at the maximum speed of the manual pulsar encoder For instance under the condition where the maximum frequency of the manual pulsar is F 500Hz and the output pulse is P 1 the drive speed must be V 1000pps or greater Since acceleration deceleration driving is not applied set the initial speed SV to the same value as the drive speed However when a stepping motor is used for driving the drive speed must not exceed the automatic activation frequency of the motor 2 9 2 Pulse Output Type Selection There are two types of pulse output independent 2 pulse type when the driving is in direction the pulse output is from nPP PLS when the driving is in direction the pulse output is from nPM DIR 1 pulse 1 direction type nPP PLS is for pulse outp
122. e search speed setting value is HV 8 000 000 R Ld Multiple Home Detection Speed PPS HV x Set a value lower than the initial speed SV to stop driving immediately when the search signal becomes active See Section 2 5 for details of automatic home search 6 18 Synchronous Action Mode Setting Command Data range Data length Synchronous action mode setting 4 bytes For synchronous action mode setting set an appropriate value in each bit of the WR6 and WR7 registers that are shown below and write a command code 64h as well as specification of the axis in the WRO register As a result the contents of the WR6 and WR7 registers are set in the synchronous action mode registers SM6 and SM7 in the IC At resetting all the bits of the synchronous action mode registers SM6 and SM7 in the IC are cleared to 0 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR6 AXIS3 AXIS2 AXIS1 o o o CMD LPRD IN3 IN3 D END D STA P C P lt C P lt C P C L J L J Activation of Other Axes Provocative H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR7 INT OUT o o VLSET OPSET EPSET LPSET EPSAV LPSAV ISTOP SSTOP CDRV CDRV FDRV FDRV L J Action See Section 2 6 for details of each bit and synchronous action 93 NOVA electronics Inc MCX314As AL M94 7 Commands fo
123. e start holding release stop status clear 26 Decelerating stop 27 Sudden stop E Interpolation Commands Code Command 30h 2 axis leaner interpolation 31 3 axis leaner interpolation 32 CW circular interpolation 33 CCW circular interpolation 34 2 axis bit pattern interpolation 35 3 axis bit pattern interpolation 36 BP register writing enabled 37 BP register writing disabled 38 BP data stack 39 BP data clear 3A 1 step interpolation 3B Deceleration valid 3C Deceleration invalid 3D Interpolation interrupt clear BP bit pattern E Other commands Code Command 62 Automatic home search execution 63 Deviation counter clear output 65 Synchronous action activation OF NOP for axis switching Note Please do not write the codes not mentioned above The unknown situation could happen due to IC internal circuit test 84 NOVA electronics Inc MCX314As AL M85 6 Commands for Data Writing Data writing is used for setting driving parameters such as acceleration drive speed output pulse numbers It is possible to write the same data for more than one axis simultaneously if more those axes are assigned If the data length is two bytes WR6 register can be used If the data is 4 bytes the high word data can be written into register WR7 and the low word into register WR6 Then the axis assignment and command code will be written into register WRO for execution Writing da
124. eed HV until the home signal nIN1 becomes inactive When the home signal nIN1 becomes inactive the function executes Step 2 from the beginning 2 The limit signal in the search direction is active before Step 2 starts The motor drives the axis in the direction opposite to the specified search direction at the home search speed HV until the home signal nIN1 becomes active When the home signal nIN1 becomes active the motor drives in the direction opposite to the specified search direction at the home search speed HV until the home signal nIN1 becomes inactive When the home signal nIN1 becomes inactive the function executes Step 2 from the beginning 3 The limit signal in the search direction becomes active during execution Driving stops and the same operation as for 2 is performed MStep 3 Low speed Z phase search Drive pulses are output in the specified Over Bain Gikiihe direction at the speed that is set as the IN2 Search Direction home search speed HV until the encoder Active Active Z phase signal nIN2 becomes active To Normal Operation iam Error 3 Section perform low speed search operation seta Specified Searc Direction gt l gt l lower value for the home search speed e e HV than the initial speed SV A fixed aye T Error 1 Error 2 speed driving mode is applied and driving stops instantly when the encoder Z phase signal nIN2 becomes active As the search condition for stopp
125. ep 1 a m Over Run Limit ep Direction JUL Step 2 Le A E e As shown in the diagram on the right hand side the function moves the axis to the limit at high speed in the direction in Step 2 When the limit signal becomes active the function stops operation by decelerating and advances to Step 2 The function exits control from the limit in the opposite direction by irregular operation of Step 2 and stops operation when Limit Signal Active is detected at low speed in the search direction When the automatic home search starting position is within the limit point A in the diagram on the right hand side operation starts from Step 2 without execution of Step 1 Parameter and mode setting WRO lt 010Fh Write WR1 lt 0000h Write WR2 0004h Write Selects X axis D4 0 Limit signal logic Low active see 4 5 D2 1 Limit stop mode Decelerating stop Sets an extension mode Writes an input signal filter mode in WR6 See 2 8 D15 D13 010 Filter delay 512usec WR6 lt 5F00h Write Input signal logical setting XINO Low active XIN1 Low active See 4 4 D8 1 XLMTM XIN1 0 signals Enables the filter WR7 lt 054Fh Write Writes an automatic home search mode in WR7 D15 D13 000 D12 0 D11 0 Deviation counter clearing output Disable D10 1 Using a limit signal as a home signal Enable D9 0 Z phase signal AND home signal Disable D8 1 Clearing the logical real position co
126. er CM once the value of logical real position counter is larger than the value of D11 P lt C D3 P lt C COMP register CM once the value of logical real position counter is smaller than or equal to the D12 P2C D4 P2C value of COMP register CM in the acceleration deceleration driving when the driving changes from the D13 C END D5 C END ene i constant speed region into the decelerating region in the acceleration deceleration driving when the driving changes from the D14 C STA D6 C STA An accelerating region into the constant speed region D15 D END D7 D END when the driving is finished Each factor of interrupt can be masked by setting levels in nWR1 register bits 1 enable and 0 disable When interrupt is generated during the driving and if the interrupt is generated each bit in nRR3 will be set to 1 INTN will be on the Low level After the nRR3 status has been read from the host CPU nRR3 will be cleared from 1 to 0 and INTN will return to the High Z level Note Since the entire contents of the 8 bit data bus are cleared by reading the RR3L register read RR3H before reading RR3L register when using end of automatic home search D8 HMEND or synchronous action activation D9 SYNC 55 NOVA electronics Inc MCX314As AL M56 The following automatic home search end and synchronous action activation interrupts are added See the related section fo
127. er point finish point for each segment b The maximum speed for the continuous interpolation is 2MHz c The following interpolation segment must be loaded before the previous interpolation segment is finished d It is not allowed to set finish points of all axes which perform linear interpolation as 0 like 0 0 for 2 axis amp 0 0 0 for 3 axis nor center point as 0 0 when circular interpolation is performed e The segment driving time should be longer than the time for error checking and the command setting of next segment during the interpolation f It is impossible to operate 2 axis and 3 axis continuous interpolations at the same time It is not allowed to change the axis assignment during the process of continuous interpolation 5 Q In continuous interpolation if one of 2 3 axes is 0 interpolation is performed correctly otherwise 0 cannot be set to the finish point of all axes in 2 3 axes linear interpolation or to the center point of both axes in circular interpolation any axis cannot set the data that drive pulse is not output If suchlike data it set interpolation cannot be performed correctly E The Example of Continuous Interpolation Fig 2 37 shows an example of executing continuous interpolation beginning at point 0 0 from segment 1 2 3 to the segment 8 In segment 1 3 5 and 7 the linear interpolation will be executed in segment 2 4 6 and 8 the circular interpolation will be executed and the t
128. er values that are set in the IC are as follows 6 6 62 5 x10 62 5 10 Jerk K x Multiple W z 10 157 k E 3 99 x10 Deceleration _ _ 62 5 x10 n 62 5 x10 Increase Rate L Multiple 0 9975 10 10 627 Since automatic deceleration of non symmetric S curve acceleration deceleration is not supported set a deceleration point DP manually Since a value produced by subtracting the number of pulses that were utilized Pd at deceleration from the number of output pulses P is set as the manual deceleration point initially find the number of pulses that were utilized Pd at deceleration Pulses Utilized at Deceleration Pd v sv Y SY 40000 100 40000 100 __ _ 8020 l 0 9975 x 10 If the number of output pulses is 20000 the manual deceleration point DP will be as follows Manual deceleration point DP P Pd 20000 8020 11980 Therefore the parameter settings for this IC will be as follows WR3 0007h Mode setting of the WR3 register Range R 800000 Multiple 10 Jerk K 157 62 5x10 k x Multiple 62 5x10 3 99x10 x10 Deceleration increasing rate L 627 62 5x10 L x Multiple 62 5x10 0 9975x10 x10 Acceleration A 8000 Fixed to the maximum value Deceleration D 8000 Fixed to the maximum value Initial Speed SV 10 100 10 10 Drive Speed V 4000 40000 10 4000 Number of Output Pulse P 20000 Manual deceleration point DP 11980 Acceleration
129. ers EM6 and EM7 in the IC At resetting all the bits of the extension mode registers EM6 and EM7 in the IC are cleared to 0 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WPG FL2 FL1 FLO FE4 FE3 FE2 FE1 FEO SMODE o HMINT vrinc AVTRI POINV EPINV EPCLR H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR7 DCCW2 DCCW1 DCCWO DCC LIDCC E LIMIT SAND PCLR ST4 D ST4 E ST3 D st3 e ST D ST2 E ST1 D ST1 E L J L J l J l J l J Deviation Counter Clear Output Step 4 Step 3 Step 2 Step1 WR6 DO EPCLR When driving stops triggered by the nIN2 signal the real position counter is cleared When the nIN2 signal is changed to the Active level while this bit is set to 1 the driving stops and the real position counter EP is cleared The WR1 D5 IN2 E bit must be set to 1 and the Enable level must be set in the WRI1 D4 IN2 L bit See Section 4 4 WR6 D1 EPINV Inverses increase decrease of the real position counter WR6 D1 EPINV Input pulse mode Increase decrease of the real position counter EP A Count UP when the A phase is advancing A B phase mode Count DOWN when the B phase is 0 advancing Count UP at PPIN pulse input Count DOWN at PMIN pulse input Count UP when the B phase is advancing A B phase mode Count DOWN when the A phase is 1 advancing Count UP at PMIN pulse input Count DONW at PPIN pulse input UP
130. es should be set by relative numbers in 32 bit data length 88 NOVA electronics Inc MCX314As AL M89 6 8 Manual Decelerating Point Setting Command Data Range Data Length Manual decelerating point setting 0 4 294 967 295 4 bytes DP is the parameter setting the manual deceleration point in fixed pulse acceleration deceleration driving when the manual deceleration mode is engaged In manual deceleration mode the user can set the bit DO of WR3 register to 1 The decelerating point can be set Manual Decelerating Point Output Pulse Number Pulse Number for Deceleration 6 9 Circular Center Point Setting Command Data Range Data Length Circular center point setting 2 147 483 646 2 147 483 646 4 bytes C is the parameter setting the center point in circular interpolation The coordinates of center point should be set the relative number related to the current position 6 10 Logical Position Counter Setting Command Data Range Data Length Logical position counter setting 2 147 483 648 2 147 483 647 4 bytes LP is the parameter setting the value of logic position counter Logical position counter counts Up Down according to the direction pulse output The data writing and reading of logical position counter is possible anytime 6 11 Real position Counter Setting Command Data Range Data Length Real position counter setting 2 147 483 648 2 147 483 647
131. es the greater the number of creep pulses becomes about maximum of 10 pulse when A D 10 times When creep pulses cause a problem solve the problem by increasing the initial speed or setting a minus value to the acceleration counter offset E Example of setting parameters See below for the parameter setting of fixed pulse driving in non symmetrical linear acceleration acceleration lt deceleration WR3 lt 0002h Mode setting of the WR3 register Range R 800000 Multiple 10 Acceleration A 29 30000 1000 0 8 36250PPS SEC 36250 125 10 29 Deceleration D 116 30000 1000 0 2 145000PPS SEC 145000 125 10 116 Initial speed SV 100 1000 10 100 Drive speed V 3000 30000 10 3000 Number of output pulses P 27500 11 NOVA electronics Inc 2 2 4 S curve Acceleration Deceleration Driving This IC creates an S curve by increasing reducing acceleration decelerations in a primary line at acceleration and deceleration of drive speed Figure 2 13 shows the operation of S curve acceleration deceleration driving where the acceleration Drive Speed and the deceleration are symmetrical When driving starts the acceleration increases on a straight line at the specified jerk K In this case the speed data forms a secondary parabolic curve section a If the difference between the specified drive speed V and the current speed becomes less than the speed that was utilized at the increase of Initial Speed
132. etting a Search Speed and a Mode To perform automatic home search the following speed parameters and mode must be set E Setting speed parameters Speed parameter Command code Description High speed search speed that is applied in Steps 1 and 4 The range R acceleration A and initial speed SV must also be set to appropriate values to perform acceleration deceleration driving See Section 2 2 2 Drive speed V 05 Low speed search speed that is applied in Steps 2 and 3 Home search speed HV 61 Set a value lower than the initial speed SV to stop operation instantly when the search signal becomes active See Section 2 2 1 Setting an automatic home search mode Use an extension mode setting command 60h to set an automatic search mode Set each bit of the WR7 register as shown below To generate an interrupt at termination of automatic home search set D5 HMINT of the WR6 register to 1 Since bit data of the WR6 and WR7 of an extension mode setting command 60h is written to the internal registers simultaneously the appropriate values must be set for other bits of the WR6 register L H D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR7 DCCW2DCCW1DCCWO poc t bcc e LIMIT SAND PCLR ST4 D ST4 E ST3 D sT3 E ST D ST2 E ST1 D ST1 E L J L J l J l J l J Deviation Counter Clear Output Step 4 Step 3 Step 2 Step1 H L D15 D14 D13 D12 D11 D10 D9 D
133. f each driving axis is active and also when the interpolation is finished the INPOS signal of the axis is stand by at its active level and D8 I DRV of RRO register returns to 0 2 4 1 Linear Interpolation Any 2 or 3 axes of the 4 axes can be set for linear interpolation To execute the linear Y 20 9 Short axis interpolation the user can according to the present point coordinates set the finish point coordinates and the interpolation segment s for 2 or 3 axes Sr Fig 2 25 shows an example of axis interpolation where linear interpolation is performed from the current coordinates to the finish point coordinates For individual axis control the command 0 5 10 15 20 x Long axis pulse number is unsigned and it is 7 f controlled by direction command or Fig 2 25 The Position Accuracy for Linear Interpolation direction command For interpolation control the command pulse number is signed The resolution of linear interpolation is within 0 5 LSB as shown in Fig 2 25 As shown in Fig 2 26 it is an example for pulse output of the linear interpolation XPP Long axis driving We define the longest distance XPM movement in interpolation is the long axis YPP _ JL JTL JL JL TL TL TITL TL TL Short axis And the other is short axis The long axis YPM outputs an average pulse train The driving Fig 2 26 The Example for Pulse Output at Finish Point X 20 Y 9 pulse of the
134. f output pulses low See the section of triangle prevention of fixed pulse driving NOVA electronics Inc MCX314As AL M10 To perform symmetrical linear acceleration driving bits D2 to 0 of the WR3 register must be set as follows F Setting Mode setting bit Symbol value WR3 DO MANLD 0 WR3 D1 DSNDE 0 WR3 D2 SACC 0 See 4 6 for details of the WR3 register The following parameters must be set Parameter name Symbol Comment Range R Acceleration A This value is applied to deceleration also Initial Speed SV Drive Speed V Number of p Not required for continuous pulse driving Output Pulse E The example of setting Trapezoidal Driving Shown in the figure right hand side acceleration is form the initial speed 500 PPS to 15 000 PPS in 0 3 sec Range R 4 000 000 Multiple 2 Acceleration A 193 15 000 500 0 3 48 333 48 333 125 M 193 Initial Speed SV 250 500 M 250 Drive Speed V 7 500 15 000 M 7 500 a Please refer Chapter 6 0 3 time SEC E Triangle Prevention of Fixed Pulse Driving The triangle prevention function prevents a triangle form in linear A acceleration fixed pulse driving even if the number of output pulses Accelerating i P 2x Pa Pd is low When the number of pulses that were utilized at acceleration Stop P Output Pulse Number Pa Number of pulses and deceleration exceeds 1 2 of the total number of output pulses a utilized at aia durin
135. f the start of delay Delay time SCLK factor Min Standard Max P2C P LP From of the driving pulse when the LP value satisfies P lt C the comparison condition with the CMP register 1 P lt C value P2C P EP Fromt of the nECA B input signal when the EP value A B phase satisfies the comparison condition with the CMP 3 4 input register value D STA From of the WRN signal at writing of a driving command 1 2 D END From Low level termination of the last driving pulse 1 IN3t Form of the nIN3 signal when the built in filter is disabled 0 1 IN3 From of the nIN3 signal with the built in filter is disabled 0 1 LPRD From of the WRN signal at writing of the LP read command 10h 0 1 CMD From of the WRN signal at the writing of the synchronous action 0 4 activation command 65h E Delay up to an action 1SCLK 125nsec CLK 16MHz Action Definition of the end of delay Delay time SCLk FDRV Up to of the 1st driving pulse FDRV 4 CDRV CDRV SSTOP Up to the start of deceleration 4 ISTOP Up to the stopping of driving sd LPSAV Up to the saving of the LP and EP values in the BR buffer 1 EPSAV LPSET Up to the saving of the values of WR6 and WR7 in LP EP P and V EPSET 1 OPSET VLSET OUT Up to of the nDCC output signal positive logic 1 INT Up to of the INTN signal 1 1 Time spent up to termination of one driving pulse that is currently output For instance the delay time from
136. formed If the input signal filter is disabled the input signal is delayed according to the value of the time constant of the filter 128 NOVA electronics Inc MCX314As AL M129 15 Package Dimensions 15 1 MCX314As Package Dimensions D1 108 73 ry ry 72 Unit mm inch NOVA elec E MCX314As mi 144 37 N fr i 4 025 Standard Size j 6 T 9 i 36 poe oe ee a le ares J b bab Details of Section A A2 Installation 7 ry ro AMMO A ty Section A 7 aaa A1 A 129 NOVA electronics Inc MCX314As AL M130 Symbol Size iniinen Description Minimum Standard Maximum A 2 ou 1 6 Height from the installation face to the top end of the 0 063 package main unit A1 0 05 0 1 0 15 Height from the installation face to the bottom end of 0 002 0 004 0 006 the package main unit A2 1 35 1 4 1 45 Height from the top to the bottom of the package 0 053 0 055 0 057 main unit b 0 17 0 22 0 27 Pin width 0 007 0 009 0 011 0 09 0 145 0 2 Pin thickness 0 004 0 006 0 008 D 21 8 22 22 2 Maximum length in the package length direction 0 858 0 866 0 874 including pins D1 19 8 20 20 2 Length of the package main unit excluding pins 0 780 0 787 0 795 E 21
137. g SC 3 disable to write into BP register until ending interpolation drive Note 1 If there is more BP data coming then repeat this process During the bit pattern interpolation MCX314As AL will generate an interrupt request signal to the host CPU while SC changes the value from 2 to 1 To enable the interrupt the host CPU must set D15 of register WR5 to 1 Then INTN of MCX314As AL will go low once SC changes the value from 2 to 1 The host CPU will check the SC value and write bit pattern command into the register The interrupt signal will be released if the host CPU writes the SC stacking command 38h into MCX314As AL The interrupt signal will be released when the clear command 3dh is written into the command register If the interrupt status is keeping on the Low level it will return to high Z level after MCX314As AL finishes the bit pattern interpolation 27 NOVA electronics Inc MCX314As AL M28 2 4 4 Constant Vector Speed MCX314As AL is with the constant vector speed control function which can control the resultant speed of two axes to keep the speed in constant Fig 2 34 shows the profile of 2 axes interpolation driving The vector speed reflects 1 414 times of the individual axis drive speed So we have to set the speed of 1 414 times to keep the vector speed for 2 axis driving E Constant Vector Speed Set up The user should first set the values of D9 and D8 of register WR5 to 0 and 1 Then se
138. g acceleration this IC stops acceleration and enters a constant Pd Number of pulses utilized at deceleration speed mode Pa Pa Pd Pd The triangle prevention function is disabled at resetting The function time can be enabled by setting the WR6 D3 AVTRI bit of the extension Fig 2 10 Triangle Prevention of mode setting command 60h to 1 See Section 6 16 for details of the Linear Acceleration Driving extension mode setting command 2 2 3 Non Symmetrical Trapezoidal Acceleration When an object is to be moved using stacking equipment the acceleration and the deceleration of vertical transfer need to be changed since a gravity acceleration is applied to the object This IC can perform automatic deceleration in fixed pulse driving in non symmetrical linear acceleration where the acceleration and the deceleration are different It is not necessary to set a manual deceleration point by calculation in advance Fig 2 11 shows the case where the deceleration is greater than the acceleration and Fig 2 12 shows the case where the acceleration is greater than the deceleration In such non symmetrical linear acceleration also the deceleration start point is calculated within the IC based on the number of output pulses P and each rate parameter Speed pps Drive speed V 30k en Acceleration Rate A V 30k Deceleration Rate D 36kpps sec Deceleration Rate D 145kpps sec Acceleration Rate A 145kpps sec
139. g command or a continuous pulse driving command of the direction or direction These types of driving can be performed with a speed curve of constant speed linear acceleration non symmetrical linear acceleration S curve acceleration deceleration or non symmetrical S curve acceleration deceleration according to the mode that is set or the operation parameter value 2 2 1 Constant Speed Driving When the drive speed set in MCX314As AL is lower than the initial speed or a speed higher than the drive speed is set as the initial speed the acceleration deceleration will not be performed instead a constant speed driving starts If the user wants to perform the sudden stop when the home sensor or encoder Z phase signal is active it is better not to perform the acceleration deceleration driving but the low speed constant driving from the beginning For processing constant speed driving the following parameters will be preset accordingly Parameter name Symbol Comment Speed Range R Set a value higher than the Initial Speed Initial Speed sv i 2 drive speed V Drive Speed v Drive Speed Not required for continuous pulse driving Number of Output Pulse P Fig 2 8 Constant Speed Driving E Example for Parameter Setting of Constant Speed The constant speed is set 980 PPS as shown in the right Figure Speed pps Range R 8 000 000 Multiple M 1 Initial Speed SV 980 Initial Speed 2 Drive Speed Sh
140. g position that is Step 2 stop position must be stable and must be different from this change point Normally adjust mechanically so that the Step 3 starting position becomes the 180 opposite side to the encoder Z phase position E Software limit Disable the software limit during execution of automatic home search If software limit is enabled automatic home search is not performed correctly Set a software limit after setting a real position counter following normal completion of automatic home search E Logical setting of each input signal Use the bits WR1 D2 D4 and D7 of the WR1 register for input signal nINO 1 2 of active logical setting that is used by automatic home search At automatic home search the contents set in the bits WR1 D1 D3 and D5 that enable disable each signal are ignored 41 NOVA electronics Inc MCX314As AL M42 2 5 7 Examples of Automatic Home Search E Example of home search using a near home home or a Z phase signal Operation MCX314As Input signal and logical Search Search X Near Home X Home level direction speed n J n N Near home signal INO Step 1 f 7 20 000pps signal Low active Home IN1 signal Step 2 500pps Low active Z phase IN2 signal X Z Phase Step 3 i 500pps High active 3500 pulse offset Motor Driver Output Step 4 20 000pps driving in the direction e For high speed search in Step 1 and offset driving i
141. gnals LMTP LMTM INO IN1 EXPP and EXPM of the X and Y axes and specify through for other input signals of the X and Y axes Set a 2msec delay filter for input signals LMTP LMTM INO IN1 EXPP and EXPM of the Z and U axes and specify through for other input signals of the Z and U axes WR6 lt 4900h Write WR7 lt 0000h Write WRO lt 0360h Write WR6 lt 8900h Write WR7 lt 0000h Write WRO lt OC60h Write MCX314As AL M58 Set an extension mode for the X and Y axes Writes an input signal filter mode in WR6 D15 D13 010 D12 D11 00 0 Filter delay 512usec IN3 signal Disables the filter through EXPP EXPM and EXPLS signals Enable filter INPOS and ALARM signals Disable the filter through IN2 signal Disables the filter through EMGN LMTP LMTM IN1 and 0 signals Enables filter Mode other than the built in filter function Set an appropriate value See Section 6 16 Set an appropriate value when performing automatic home search See Section 2 5 Writes an extension mode setting command in the X and Y axes Sets an extension mode for the X and Y axes Writes an input signal filter mode in WR6 D15 D13 100 D12 D11 D10 D9 D8 D7 DO 00 0 Filter delay 2msec IN3 signal Disables the filter through EXPP and EXPM signals Enables the filter INPOS and ALARM signal Disables the filter through IN2 signal Disables the filter
142. gure 3 if deceleration stop command is executed In d DSND status bit is 0 and CNST status bit is 1 Therefore the following two 2 solutions will be proposed B2 NOVA electronics Inc MCX314As B3 1 When interruption from IC can be used When deceleration starts interruption will be occurred to prohibit execution of deceleration stop command 26h until driving completion Flag of prohibition against deceleration stop command is prepared and it will be clear before driving starts Enable constant speed area completion interruption WR1 D13 C END 1 Fixed pulse driving starts and if interruption is occurred read RR3 D5 C END within interruption process routine and status bit is 1 constant speed area is completed which is same as deceleration starts So make flag of prohibition against deceleration stop command 1 Besides it is possible that CNST constant speed area will occur just before driving completion Then return WR1 D13 status bit from 1 to 0 in order to prevent interruption On the other hand within task see flag and if it s 1 don t execute deceleration stop command 2 When interruption can t be used Terms when deceleration stop command should be executed in accelerating and constant speed driving such as a and b on Figure 3 Status of deceleration for both d timing when the trouble happens and b constant speed driving is same as constant speed driving as shown on Figure 3 But there
143. h position with a clockwise direction the CCW CONSE interpolation circular interpolation is with a counter clockwise direction When the finish point is set to 0 0 a circle will come out Finish point Start point Center point s In Fig 2 28 it explains the long axis and the short axis First we define f Finish point p Start point 8 quadrants in the X Y plane and put the numbers 0 7 to each quadrant We find the absolute value of ax1 is always larger than that of ax2 in quadrants 0 3 4 and 7 so we call ax1 is the long axis ax2 is the short axis in these quadrants in quadrants 1 2 5 and 6 ax2 is the long axis OW circular interpolation ax1 is the short axis The short axis will output pulses regularly and Fig 2 27 CW CCW Circular Interpolation the long axis will output pulses depending on the interpolation calculation In Fig 2 29 it is an example to generate a circle with the center point 11 0 and the finish point 0 0 Its radium is 11 In Fig 2 30 shows the pulse output ax2 Y A 4 ax1 ax1 J 1 SS 5 Ea t 1 ax1 ax2 J ey a2 3 N o l gt ax1 J gt xX ax 4 a 7 es t 5 EN i fA Wy I start point finish point ax1 axi wee ii e track of interpolation solid line circle with radium 11 dash line circle with radium 11 1 Fig 2 28 The 0 7 Quadrants And Short Fig 2 29 The Example of Circular Interpolation YPM Quadrant p O 1 gt 2 gt 3 nj 2 gt ja 5 rja 6 gt ja T y Fig
144. he main axis ax1 So the user has to set the parameters such as initial speed and drive speed of the main axis before performing the interpolation During the linear interpolation it is not necessary to set the main axis as long axis After setting all of the parameters for interpolations and writing the interpolation driving commands to command register WRO the user can start the interpolation driving During the interpolation driving D8 IDRV of main status register RRO will become 1 during the interpolation and it will become 0 when the interpolation is finished Also during the interpolation driving the bit n DRV of the interpolating axis will become 1 The maximum drive speed is 4MPPS for linear circular or bit pattern interpolation For continuous interpolation the maximum drive speed is 2MPPS Over Limit Error of Interpolation When the hardware limit or the software limit of each axis is active during the interpolation driving the interpolation will stop It the stop is occurred by errors RRO main status register will confirm the error bit of the designated interpolating axis PRO will become 1 and RR2 error register of this axis will be read out Note In case of circular or bit patter interpolation the active of hardware or software limit in either or direction will stop the interpolation driving In position Signal for Servo Motor During the interpolation driving when the in position signal nINPOS o
145. hout RRO D7 4 1 nRR2 D4 1 the Steps 1 to 4 executing the following steps nRR1 D14 1 The EMGN signal was activated in any of The search driving stops instantly without RRO D7 4 1 nRR2 D5 1 the Steps 1 to 4 executing the following steps nRR1 D15 1 The limit signal in the positive direction LMTP M is activated in Step 3 The search driving stops instantly by decelerating without executing the following steps RRO D7 4 1 nRR2 D3 2 1 nRR1 D13 12 1 The limit signal in the positive direction LMTP M is activated in Step 4 The offset action stops instantly by decelerating and the operation stops RRO D7 4 1 nRR2 D3 2 1 nRR1 D13 12 1 The IN2 signal is already active at the start of Step 3 Operation stops without executing the following steps RRO D7 4 1 nRR2 D7 1 Always check the error bits RRO D7 to D4 of each axis after termination of automatic home search When automatic home search is not performed correctly the error bit is set to 1 It is not recommended to monitor the error bit of each axis during execution of automatic home search This is because the error bit indicates 1 in spite of normal operation when the limit signal in the search direction is set in irregular operation of Step 1 or 2 E Symptom at sensor failure This section describes the symptoms when a failure occurs regularly in the sensor circuit such as a home search signal or a limit signal Analysis of intermittent f
146. igh Z level from the Low level During the ending of the interpolation it is forced to be interrupt disable and the INTN signal will return to the high Z level E Errors Occurring in the Process of Continuous Interpolation If an error such as over traveling occurs in the process of continuous interpolation the drive will stop at the present interpolation segment The following interpolation segment is still in the command register but will not be executed The host CPU has to reload the next command again and enable it The 1st Interpolation Segment Data Setting Start continuous interpolations Allow to write in the next data RRO D9 1 Interpolation Command Setting The 2nd Interpolation Segment Data Setting Interpolation Command Setting es Eros oar m Allow to write in the next data M Finish continuous interpolations Handle error The 3rd Interpolation Segment Data Setting Interpolation Command Setting As shown in the flow chart above the host CPU has to check the error message before loading the following command If not this command will not be executed and will be jumped So the user should assure and check if any error status will occur before the following interpolation segment is loaded 29 NOVA electronics Inc MCX314As AL M30 E Attentions for Continuous Interpolation a Before setting the interpolation segment the user should first set other data such as cent
147. ing driving the AND condition of the encoder Z phase signal nIN2 and the home signal nIN1 can be applied A deviation counter clear signal can be output for a servomotor when the encoder Z phase signal nIN2 rises to active See Section 2 5 2 The real position counter EP can be cleared when an encoder Z phase signal nIN2 rises to active See Section 2 3 4 Notes 1 If the encoder Z phase signal nIN2 is already active at the start of Step 3 an error occurs and 1 is set in bit D7 of the nRR2 register Automatic home search ends Adjust the mechanical system so that Step 3 always starts from an inactive state with a stable encoder Z phase signal nIN2 2 If the limit signal in the search direction is already active before the start of Step 3 an error occurs and 1 is set in the search direction limit error bit D2 or D3 of the nRR2 register Automatic home search ends 3 If the limit signal in the search direction becomes active during execution search operation is interrupted and 1 is set in the search direction limit error bit D2 or D3 of the nRR2 register Automatic home search ends MStep 4 High speed offset drive The function outputs as many driving pulses as the output pulse numbers P that is set in the specified direction at the speed that is set in the drive speed V Use this step to move the axis from the mechanical home position to the operation home position Through mode setting the logical position counter an
148. ing goes into c area from b area on Figure 3 If it s RR1 D4 DSND 0 move it to processing because driving has gone out d area Check if driving has finished or not If it s finished make it finished as it goes because driving has finished normally But if it s not finished yet surely trouble have happened because status is shown as it s still driving even though driving has gone out d area Check if hard limit is ON or OFF Since RR1 D12 bit becomes 1 if limit is ON and RR1 D13 bit becomes 1 if limit is ON if its D12 1 or D13 1 judge forward limit is ON If trouble has happened it becomes ASND CNST DSND 0 Check them all Execute sudden stop command 27h 2 When interruption can t be used d area on Figure 3 if forward limit is active the trouble will happen more exactly saying it will seldom happen There isn t any method to avoid it before it happens So immediately after the trouble happens take means to stop driving If the trouble happens e area on Figure 3 status keeps driving RRO nDRV 1 status of acceleration deceleration is 0 in ASND CNST DSND This is completely abnormal state So the example of measure is shown as follows B4 NOVA electronics Inc MCX314As B5 q DRIVING STARTS D RRO DRV bit FORWARD LIMIT ON RR1 D12 13 RR1 ASND CNST DSND bit ASND CNST DSND 0 SUDDEN STOP COMMAND 27h yes no C DRIV
149. int Y 1500 WR7 lt 0000h write WRO lt 0206h write WRO 0033h write CCW circular interpolation Procedure A WR6 lt 0000h write finish point X 0 WR7 lt 0000h write WRO lt 0106h write WR6 lt 05DCh write finish point Y 1500 Seg3 WR7 lt 0000h write WRO lt 0206h write WRO 0030h write 2 axis linear interpolation Procedure A same procedure for segments 4 8 2 4 6 The Acceleration Deceleration Control in Interpolation Different from other IC chips only allowing constant speed for executing the interpolations MCX314As AL support the user to use trapezoidal and S curve driving for linear interpolation only In the process of interpolation for executing acceleration deceleration in continuous interpolation process the user can enable the deceleration by command 3Bh or disable deceleration by command 3Ch The purpose for the deceleration command is to enable the automatic deceleration or manual deceleration function the purpose of the disable deceleration command is to disable both of them It will be disable while power on reset During the driving the deceleration enable command cannot be executed E The Acceleration Deceleration for 2 axis 3 axis Interpolation It is possible to perform trapezoidal and S curve acceleration deceleration driving during the execution of 2 axis 3 axis linear interpolation Either automatic or manual deceleration can be used for dece
150. is difference of driving speed between two Driving speed in b is near that of setting driving speed Driving speed in d is near that of initial speed Therefore before driving starts prepare judgmental speed which is middle one between initial speed and setting speed Driving speed initial speed 2 initial speed When execute deceleration stop command during driving make sure status is accelerating ASND 1 or constant speed driving CNST 1 and driving speed is same or faster than judgmental speed 2 Hardware limit nLMTP M signal at deceleration stop mode Case II Basically use hardware limit nLMTP M signal at Sudden stop mode when fixed pulse driving in S curve acceleration deceleration Out of necessity when use hardware limit at deceleration stop mode prepare the following measures If multi axes are controlled in the same time 1 When interruption from IC can be used is effective 1 When interruption from IC can be used Constant speed area b area on Figure 3 is set as occurrence factor of interruption But this interruption is also happened when there is d area just before driving stops on Figure 3 such as when driving speed reaches initial speed or when acceleration becomes O zero There should occur d area definitely if the trouble is happened just before driving stops driving speed hasn t reached initial speed yet acceleration becomes 0 and decelerating stop requirement is executed The measu
151. is raising to the Hi level the direction fixed pulse driving will start The width of Low level signal must be larger than 4 CLK cycle Before this driving is finished a new Hi to Low level falling down of the signal is invalid i XEXPM es XPP M XPM Fig 2 44 Example of The Constant Pulse Driving by External Signal E Continuous Pulse Driving Mode Set bits D4 and D3 of WR3 register to be 0 and 1 respectively and set all the parameters of continuous driving Once nEXPP is falling down to the Low level the direction continuous driving will start once nEXPM is raising to the Low level the direction continuous driving will start When nEXPP and nEXPM returns to the Hi level from the Low level the decelerating stop will be performed in trapezoidal driving and the sudden stop in constant speed driving XEXPP Lew penod M Low period xee MUUL S XPM Fig 2 45 Example of Continuous Driving by External Signal 59 NOVA electronics Inc MCX314As AL M60 E Manual pulsar mode Set the bits D4 and D3 of the WR3 register to 1 and set the necessary speed parameter for driving and the output pulse number Connect the A phase signal of the encoder to nEXPP input and the B phase signal to nEXPM input The fixed pulse driving is activated when the nEXPM signal is at a Low level and the nEXPP signal is at the rising edge When the output pulse number is set to 1 one drive pulse is output at each of the rising edg
152. is the table below when 16 bit data bus is used the access address of read write register is 8 bit E Write Register in 16 bit Data Bus All registers are 16 bit length Address Symbol Register Name Contents A2 A1 AO 0 0 0 WRO Command Register for setting axis assignment and command XWR1 X axis mode register 1 for setting the logical levels of external decelerating stop enable YWR1 Y axis mode register 1 disable and the valid invalid of interrupt for each axis for each axis eee i ZWR1 Z axis mode register 1 UWR1 U axis mode register 1 XWR2 X axis mode register 2 for setting the limit signal mode driving pulse mode encoder input YWR2 Y axis mode register 2 signal mode and the logical levels and enable disable of servo jetid ZWR2 Z axis mode register 2 motor signal for each axis UWR2 U axis mode register 2 BP1P BP1P register for setting the direction bit data of the first axis in bit pattern interpolation XWR3 X axis mode register 3 for setting the manual deceleration individually decelerating and YWR3 Y axis mode register 3 S curve acceleration deceleration mode for each axis external 011 ZWR3 Z axis mode register 3 operation mode and general purpose output OUT7 4 UWR3 U axis mode register 3 BP1M BP1M register for setting the direction bit data of the first axis in bit pattern interpolation WR4 Output register for setting the general output OUT3 0 100 BP2P BP2P register for
153. ister 3 define rr4 0x8 Input register 1 define rr5 Oxa Input register 2 define rr6 Oxc Low word bits data reading register define rr7 Oxe High word bits data reading register define bpip 0x4 BP direction data register for the first axis control define bp1m 0x6 BP direction data register for the first axis control define bp2p 0x8 BP direction data register for the second axis control define bp2m Oxa BP direction data register for the second axis control define bp3p Oxc BP direction data register for the third axis control define bp3m Oxe BP direction data register for the third axis control wreg 1 axis assignment data Write register 1 setting void wreg1 int axis int wdata outpw adr wr0 axis lt lt 8 Oxf axis assignment outpw adr wr1 wdata wreg 2 axis assignment data Write register 2 setting void wreg2 int axis int wdata outpw adr wr0 axis lt lt 8 Oxf axis assignment outpw adr wr2 wdata wreg 3 axis assignment data Write register 3 setting void wreg3 int axis int wdata outpw adr wr0 axis lt lt 8 Oxf axis assignment outpw adr wr3 wdata command axis assignment data For writing commands void command int axis int cmd outpw adr wr0 axis lt lt 8 cmd range axis assignment data For range R setting void range int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr w
154. itions of this IC Notes on S curve acceleration deceleration driving This IC is equipped with a function that performs decelerating stop for a fixed pulse drive with S curve deceleration of the symmetrical acceleration deceleration However when the initial speed is set to an extremely low speed 10 or less slight premature termination or creep may occur Before using a S curve deceleration drive make sure that your system allows premature termination or creep Technical Information Before using the MCX314As MCX314AL please read Appendix B Technical Information on the last pages of this manual without fail because there are some important information The descriptions of this manual may change without notice because of the progress of the technologies etc Please download the up date data from our web sight http www novaelec co jp and or ask us to supply you directly NOVA electronics Inc MCX314As AL iii Si SU TL WIN ca ct a le ee 1 2 The Descriptions of Functions 7 2 1 Pulse Output Command 7 2 1 1 Fixed Pulse Driving Output 7 2 1 2 Continuous Pulse Driving Output 8 2 2 Acceleration and Deceleration
155. ive accuracy when the drive speed is high Actually the accuracy of driving pulse is still within 0 1 Using oscilloscope for observing the driving pulse we can find the jitter about 1SCLK 125nSEC This is no matter when putting the driving to a motor because the jitter will be absorbed by the inertia of motor system 246 NOVA electronics Inc MCX314As AL M17 2 3 Position Control Fig 2 20 is 1 axis position control block diagram For each axis there are two 32 bit up and down counters for counting present positions and two comparison registers for comparing the present positions o PP direction pulse 3 gt PM direction pulse Logical Position Counter YP 32bit DOWN Real Position Counter UP 32bit DOWN Selector Wavefor m ECAYPPIN Encoder input pulse Transformation ECB PMIN WR2 Register D5 w COMP Register 32bit COMP Register 32bit Fig 2 20 Position Control Block Diagram RR1 Register DO gt RR1 Register D1 2 3 1 Logic Position Counter and Real position Counter As shown in Fig 2 20 the logic position counter is counting the driving pulses in MCX314As AL When one direction plus is outputting the counter will count up 1 when one direction pulse is outputting the counter will count down 1 The real position counter will count input pulse numbers from external encoder The type of input pulse can be either quadrature pulses type or Up Down pulse CW CCW
156. iving is performed and Direction f when the near home signal nINO becomes active the operation stops by decelerating 2 e 1 Irregular 1 Irregular 2 Irregular operation 1 The near home signal nINO is already active before Step 1 starts Proceeds with Step 2 2 The limit signal in the detection direction is already active before Step 1 starts Proceeds with Step 2 3 The limit signal in the detection direction is activated during execution Stops driving and proceeds with Step 2 36 NOVA electronics Inc MCX314As AL M37 MStep 2 Low speed home search Drive pulses are output in the specified ier Run lir tin ike direction at the speed that is set as the IN1 Search Direction home detection speed HV until the Active Irregular 1 Active home signal nIN1 becomes active To Normal Operation Section Irregular 3 Beeld perform low search operation set a Specified a Direction gt l lower value for the home search speed l fe P To Normal Operation Ko ear O sa HV than the initial speed SV A we lt Exit STOP1 Search in the l e constant speed driving mode is applied I Opposite Direction and the operation stops instantly when Irregular 2 the home signal nIN1 becomes active Irregular operation 1 The home signal nIN1 is already active before Step 2 starts The motor drives the axis in the direction opposite to the specified search direction at the home search sp
157. l Output 6 Ascend general purpose output signals XOUT6 ASND 58 58 A the operation is as same as nOUT7 YOUT6 ASND 78 77 i et Output A When the drive status output mode is engaged this signal can be panies ceed ye 193 193 dfi flecting the stat f leration While the drivi UOUT6 ASND 124 123 used for reflecting the status of acceleration ile the driving command is executed and during the acceleration it becomes Hi General Output 5 Compare general purpose output signals XOUT5 CMPM 59 59 the operation is as same as nOUT7 YOUT5 CMPM 79 78 Output A When the drive status output mode is engaged it becomes Hi if the ZOUT5 CMPM 107 105 value of logical real position counter is smaller than that of UOUT5 CMPM 125 124 COMP it becomes Low if the value of logical real position counter is larger than that of COMP General Output 4 Compare general purpose output signals XOUT4 CMPP 60 60 the operation is as same as nOUT7 YOUT4 CMPP 80 79 Output A When the drive status output mode is engaged it becomes Hi if the ZOUT4 CMPP 108 106 value of logical real position counter is larger than that of COMP UOUT4 CMPP 128 127 it becomes Low if the value of logical real position counter is smaller than that of COMP 66 NOVA electronics Inc MCX314As AL M67 p MCX314As MCX314AL Sat Signal Name r Input Output Signal Description Pin No Pin No General Output 3 0 4 general output signals for each a
158. l Search Search X Home level direction speed JUL Step 1 Near home INO Signal 20 000pps Low active Step 2 Home IN1 signal 500pps Low active Step 3 Not executed Step 4 3500 pulse offset 20 000pps driving in the direction As shown in the table the same search direction is specified for the signal logical levels of Step 1 and Step 2 An opposite logical level may also be set High speed home search is performed in Step 1 and operation stops by decelerating when the home signal becomes active If the stop position is within the home signal active section controls escapes in the opposite direction by the irregular operation of Step 2 and searches a home in operation of Step 2 If the Step 1 stop position passed through the home signal Over Run Limit in the active section the limit in the search direction is set in Step INO IN1 Searc Direction Active Active 2 In this case irregular operation is performed m Section Section Search When the automatic home search starting position is in Step 1 Direction point A as shown in the diagram the function performs irregular operation of Step 2 without executing Step 1 L When the starting position is in point B in the diagram the function performs irregular operation in Step 2 after Step 2 al A B setting the limit in search direction in Step 1 e e Parameter and mode setting WRO lt 010Fh Write Selects X axis WR1
159. l level of nINPOS input signal 0 active on the Low level 1 active on the Hi level D15 INP E Setting enable disable of in position input signal nINPOS from servo driver 0 disable 1 enable When it is enabled bit n DRV of RRO main status register does not return to 0 until nINPOS signal is active after the driving is finished D15 D0 will be set to 0 while resetting 4 6 Mode Register3 WR3 Each axis is with mode register WR3 The axis specified by NOP command or the condition before decides which axis s register will be written WR3 can be used for manual deceleration individual deceleration S curve acceleration deceleration the setting of external operation mode and the setting of general purpose output OUT7 4 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR3 o o o o OUT7 OUT6 OUTS OUT4 OUTSL 0 o EXOP1 EXOP0 SACC DSNDE MANLD DO MANLD Setting manual automatic deceleration for the fixed pulse acceleration deceleration riving 0 automatic deceleration 1 manual deceleration The decelerating point should be set if the manual deceleration mode is engaged D1 DSNDE Setting decelerating rate which is in accordance with the rate of the acceleration or an individual decelerating rate Set whether jerk or an individual deceleration increasing rate is used as a deceleration increasing rate at S curve acceleration deceleration driving Value of D1 Deceleration
160. lerating When the manual deceleration is executed the user can set the maximum absolute value of the axes to be the setting value of master axis decelerating point For instance while executing 3 axis linear interpolation of master axis axl X ax2 Y and ax3 Z the finish point X 20000 Y 30000 Z 50000 and the assumed pulse numbers needed for deceleration are 5000 In such situation the absolute value of Z axis is the largest so we can set up 50000 5000 45000 to be the manual deceleration point of the master axis X Please refer to the example of 3 axis linear interpolation in 2 4 1 234 NOVA electronics Inc MCX314As AL M32 E The Acceleration Deceleration for Circular Interpolation and Bit Pattern Interpolation In circular interpolation and bit pattern interpolation only manual deceleration in trapezoidal driving is available the automatic deceleration in S curve driving is not available The Figure on the right side shows the circular interpolation of a real circle with radius 1000 in a trapezoidal driving The user should calculate the decelerating point before driving because the automatic deceleration will not be active In the figure the circle tracks through all the 8 quadrants 0 7 In quadrant 0 Y axis is the short axis and it s displace is about 10000 2 7071 The total output pulses numbers of the short axis are 7010x8 56568 Furthermore if the initial speed is 500PPS and will b
161. leration than start the driving This command should be put in the final node and written before the interpolation command of the final node is written If each axis has to decelerate individually execute this command before driving But for continuous interpolation disable the deceleration first and enable it until the last node The deceleration is disabled while resetting When the deceleration enabling command is issued the enabling status is kept until the deceleration disabling command 3C is written or the reset happens Deceleration enabling disabling is active in interpolation automatic and manual decelerations are always active when individual axis is in driving 9 13 Deceleration Disabling Command Deceleration disabling This command disables the automatic or manual deceleration in interpolation 9 14 Interpolation Interrupt Clear Command Interpolation interrupt clear This command clears the interrupt in bit pattern or continuous interpolation After the bit D15 of WRS is set to 1 in bit pattern interpolation the stack counter SC is changed from 2 to 1 and the interrupt will be generated In continuous interpolation when the bit D14 of WRS is set to 1 the interrupt will be generated when it is ready to write the interpolation data for next node 102 NOVA electronics Inc MCX314As AL M103 10 Other Commands Notes The maximum time required for command processing is 250nsec CLK 1
162. level input voltage of 5V type CMOS Please don t design the logic like this 68 NOVA electronics Inc MCX314As AL M69 3 5 Remarks of Logic Design a De coupling Capacitor Please connect VDD and GND with two or four De coupling capacitors about 0 1 uF b Noise Generated by Terminal Induction The noise will exist because the inductance is in these pins The user can add a capacitor 10 100pF to pins to reduce the noise c Reflection on Transfer Path The load capacity for outputting types A B and bi directional A is 20 50pf So the reflection will happen if the PCB wiring is more than 60cm Please shorten the PCB wiring length as shorter as you can d Example of Connection between MCX314AL and 5V type IC The input output logic of MCX314AL is 5V tolerant But its output logic can connect with TTL level input only It cannot connect with CMOS level input MCX314AL 5V Type IC CMOS Level or TTL Level Output Input A Output A TTL Level Input 5V 10K Output B TTL Level Input Bi directional A TTL Level Bi direction 69 NOVA electronics Inc 4 Register MCX314As AL M70 This chapter indicates the user how to access all the registers in MCX314As AL and what are the mapping addresses of these registers Please refer to Chapter 2 4 3 for the registers BP1P M BP2P M BP3P M of bit pattern interpolation 4 1 Register Address by 16 bit Data Bus As shown
163. lse Drive Deceleration Mode auto non symmetrical linear acceleration is also allowed manual Output pulse numbers and drive speeds changeable during the driving Triangle form prevention of linear acceleration fixed pulse drive and S curve acceleration deceleration fixed pulse drive Independent 2 pulse system or 1 pulse 1 direction system selectable Logical levels of drive pulse selectable output pin switchable Multiple 500 Output pulse Number Speed Curve E Encoder Input Quadrature pulses style or Up Down pulse style selectable Pulse of 1 2 and 4 divisions selectable quadrature pulses style E Position Counter Logic Position Counter for output pulse t range 2 147 483 648 2 147 483 647 Real Position Counter for feedback pulse range 2 147 483 648 2 147 483 647 Variable ring counter function real position counter increase decrease inversion function and real position counter clear function by the IN2 signal Data read and write possible E Comparison Register COMP Register Position comparison range 2 147 483 648 2 147 483 647 COMP Register Position comparison range 2 147 483 648 2 147 483 647 Status and signal outputs for the comparisons of position counters Software limit functioned E Automatic home search Automatic execution of Step 1 high speed near home search Step 2 low speed home search Step 3 low speed encoder Z phase search Step 4 high speed offset d
164. lses are outputting or pulse mode is selectable When the 1 pulse 1 direction mode is selected this terminal is for drive output 65 NOVA electronics Inc MCX314As AL M66 MCX314As MCX314AL at Signal Name bin N Pin N Input Output Signal Description in No in No XPM DIR 36 38 Pulse Pulse direction dive pulse outputting 39 40 When the reset is on the Low level and while the driving is starting YPM DIR Guieaen DUTY 50 at constant speed of the plus drive pulses are ZPM DIR 41 42 P outputting or pulse mode is selectable UPM DIR 43 44 When the 1 pulse 1 direction mode is selected this terminal is direction signal 44 45 Encoder A Pulse in signal for encoder phase A input XECA PPIN This input signal together with phase B signal will make the Up 46 47 i ae YECA PPIN Down pulse transformation to be the input count of real position 48 49 Input A counter ZECA PPIN 50 51 When the Up Down pulse input mode is selected this terminal is UECA PPIN for UP pulses input Once the input pulse is up f the real position counter is counting up 45 46 Encoder B Pulse in signal for encoder phase B input XECB PMIN 47 48 This input signal together with phase A signal will make the Up 49 50 Down pulse transformation to be the input count of real position YECB PMIN tA counter npu ZECB PMIN i 52 When the Up Down pulse input mode is selected this terminal is UECB PMIN for DOWN pulses inpu
165. mSEC YPM Fig 2 38 Example of Single Step Interpolation 500PPS by External Signal EXPLSN E Command Controlled Single step Interpolation The command 3Ah is for single step interpolation The user can set D12 of register WR5 to 1 to enable the command controlled single step interpolation The operating procedure is shown as follow a Set D12 of register WR5 to 1 It will enable the command controlled single step interpolation b Set the initial and drive speeds of the master axis in the interpolation process with the same value and the driving becomes constant speed If the host CPU writes single step command into MCX314As AL at most 1 mSEC the user should set the drive speed more than 1000PPS c Set interpolation data finish point center point d Write interpolation command Although the interpolation segment is enabled there is no pulse output because the single step is command controlled e Write the single step interpolation command 3Ah The driving pulses according to the interpolation calculation will be output for each axis The user may use command 3Ah for single step until the interpolation driving is finished If the user wants to stop sending single steps during the interpolation he can use the sudden stop command 27h then wait for more than 1 pulse cycle and then write the command 3Ah again to stop the driving After this all the following 3Ah commands will not be active 34 N
166. mation bit D7 HOME is set to 1 when the encoder Z phase signal nIN2 is already active at the start of Step 3 during execution of automatic home search This bit is cleared when the next drive command or an automatic home search command is written The bit can also be cleared by a termination status clearing command 25h An automatic home search execution state indicates the details of the operation that is currently being executed in automatic home search Execution state Execution step Operation details 0 Waits for an automatic home search execution command 3 Step 1 Waits for activation of the INO signal in the specified search direction 3 Waits for activation of the IN1 signal in the direction opposite to the specified search direction irregular operation 42 Step 2 Waits for deactivation of the IN1 signal in the direction opposite to the specified search direction irregular operation 15 Waits for activation of the IN1 signal in the specified search direction 20 Step 3 Waits for activation of the IN2 signal in the specified search direction 25 Step 4 Offset driving in the specified search direction 2 5 5 Errors Occurring at Automatic Home Search The following table lists the errors that may occur during execution of automatic home search Cause of the error Operation of IC at the occurrence of error Display at termination The ALARM signal was activated in any of The search driving stops instantly wit
167. ments 63 3 2 MCX314AL Pin Assignments 64 3 3 Signal Description 65 3 4 Input Output Logic 68 3 5 Remarks of Logic Design 69 4 Register 70 4 1 Register Address by 16 bit Data Bus 70 4 2 Register Address by 8 bit Data Bus 71 4 3 Command Register WRO 72 4 4 Mode Register1 WR1 72 4 5 Mode Register2 WR2 73 4 6 Mode Register3 WR8 75 4 7 Output Register WR4 76 4 8 Interp
168. mmand CCW circulator interpolation This command performs 2 axis counterclockwise circular interpolation based on center point from present point to finish point Before driving the finish point of the 2 corresponding axes should be set by incremental value A full circle will come out If the finish position is set 0 0 9 5 2 Axis Bit Pattern Interpolation Command 2 axis bit pattern interpolation This command performs 2 axis bit pattern interpolation Before driving the direction bit data of the two interpolating axes should be set and the setting bit data of each axis each direction is at most 16 x 3 48 bit Once the data is over than 48 bit those remaining data can be filled during the driving 9 6 3 Axis Bit Pattern Interpolation Drive Command 3 axis bit pattern interpolation This command performs 3 axis bit pattern interpolation Before driving the direction bit data of the two interpolating axes should be set and the setting bit data of each axis each direction is at most 16 x 3 48 bit Once the data is over than 48 bit those remaining data can be filled during the driving 9 7 BP Register Data Writing Enabling Command BP register data writing enabling This command enables the bit pattern data writing registers BP1P M BP2P M and PB3P M After this command is issued the data writing to register nWR1 nWRS becomes disabled The data written to the bit pattern
169. n Step 4 acceleration deceleration driving is performed where linear acceleration is applied at the speed within the range from the initial speed 1 000pps to 30 000pps in 0 2 seconds acceleration speed 19 000 0 2 95 000 pps sec e When Z phase of Step 3 is High active deviation counter pulses of 100psec are output from the XDRIVE DCC output signal pin The logical level is High active e At completion of Step 4 the logical position counter value and the real position counter value are cleared Parameter and mode setting WRO lt 010Fh Write X axis selection WR1 lt 0010h Write Input signal logical setting XINO and XIN1 Low active XIN2 High active See 4 4 Sets an extension mode WR6 lt 5D00h Write Writes an input signal filer mode in WR6 See 2 8 D15 D13 010 filter delay 512usec D9 0 XIN2 signal Disables the filter through D8 1 XIN1 0 signal Enables the filer WR7 495Fh Write Writes an automatic home search mode in WR7 D15 D13 010 Deviation counter clearing pulse width 100yusec D12 0 Deviation counter clearing output logical level Active High D11 1 Deviation counter clearing output Enable output from the XDCC pin D10 0 Uses a limit signal as the home signal Disable D9 0 Z phase AND home signal Disable D8 1 Logical real position counter area Enable D7 0 Step 4 driving direction direction D6 1 Step 4 Enable D5 0 Step 3 search direction direction D4 1 Step 3 Enable D3 1
170. nWR4 and nWRS will be cleared to 0 after the resetting It will be unknown for other registers 70 NOVA electronics Inc E Read Register in 16 bit Data Bus MCX314As AL M71 All registers are 16 bit length Address Symbol Register Name Contents A2 A1 AO anoa RRO Main status register error status driving status ready for interpolation quadrant for circle interpolation and the stack of BP XRR1 X axis status register 1 comparison result acceleration deceleration state and YRR1 Y axis status register 1 acceleration deceleration speed increase decrease state E ZRR1 Z axis status register 1 finishing status URR1 U axis status register 1 XRR2 X axis status register 2 error message YRR2 Y axis status register 2 automatic home search execution state ee ZRR2 Z axis status register 2 URR2 U axis status register 2 XRR3 X axis status register 3 interrupt message 011 YRR3 Y axis status register 3 ZRR3 Z axis status register 3 URR3 U axis status register 3 4 000 RR4 Input register 1 I O input for X and Y axes 9844 RR5 Input register 2 I O input for Z and U axes 1 1 0 RR6 Data reading register 1 low word of data register D15 DO 1 1 RR7 Data reading register 2 high word of data register D31 D16 Each axis is with WR1 WR2 and WR3 mode registers Each register is for 4 axis data writing at the same address Before those registers have been accessed the host CPU should specify which axis is
171. nc MCX314As AL M78 4 9 Data Register WR6 WR7 Data registers are used for setting the written command data The low word data writing 16 bit WD15 WDb0 is for register RR6 setting and the high word data writing 16 bit WD31 WD16 is for register RR7 setting H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WRG WD15 WD14 WD13 wor2 WwbD11 WD10 WbD9 WD8 WD7 WD6 WD5 WD4 Wb3 WD2 WD1 WDO H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR7 WD31 WD30 WD29 wo2s WD27 WD26 WD25 WD24 WD23 WD22 WD21 WD20 WD19 WD18 WD17 WD16 The user can write command data with a designated data length into the write register It does not matter to write WR6 or WR7 first when 8 bit data bus is used the registers are WR6L WR6H WR7L and WR7H The written data is binary formatted 2 s complement is for negatives For command data the user should use designated data length The contents of WR6 and WR7 are unknown while resetting 4 10 Main Status Register RRO This register is used for displaying the driving and error status of each axis It also displays interpolation driving ready signal for continuous interpolation quadrant of circular interpolation and stack counter of bit pattern interpolation H L D15 D14 D13 D12 D11 D10 Dg D8 D7 D6 DS D4 D3 D2 D1 DO RRO BPSC1 BPSCO ZONED ZONE1
172. nd Direction Continuous Pulse Driving Before the stop command or external signal is active the pulse numbers will be continuously output through the output signal nPP In driving logical position counter will count up 1 when one pulse is output Before writing the driving command the user should set the parameters for the outputting speed curve and the correct output pulse numbers 8 4 Direction Continuous Pulse Driving Command Direction Continuous Pulse Driving Before the stop command or external signal is active the pulse numbers will be continuously output through the output signal nPM In driving logical position counter will count down 1 when one pulse is output Before writing the driving command the user should set the parameters for the outputting speed curve and the correct output pulse numbers 97 NOVA electronics Inc MCX314As AL M98 8 5 Drive Status Holding Command Holding for driving starting This command is to hold on the start of driving When this command is used for starting multi axis driving simultaneously the user may write other commands after the drive status holding command is registered The drive start holding release command 25h can be written to start the driving In driving even this command is written the driving will not be stopped The next command will be held 8 6 Drive Status Holding Release Finishing Status Clear Command Drive
173. near interpolation gt During the continuous interpolation the driving will not stop contrarily the pulses are output continuously When executing the continuous interpolation the host CPU has to write the next interpolation segment into MCX314As AL before the previous interpolation segment is finished E Continuous Interpolation in Using D9 of RRO If D9 CNEXT of register RRO is 1 MCX314As AL is ready to accept the next interpolation segment If D9 is 0 the host CPU is not able to write the next interpolation segment into MCX314As AL The D9 will become 1 only when the present command is executed MCX314As AL will not accept the next command and the D9 is 0 if the present command has not been executed So the standard procedure of continuous interpolation is first to write and enable the interpolation data and command then check if D9 of RRO is 1 or 0 And then repeat writing commands and checking D9 The flow chart is shown at the right side E Interrupt D14 of register WRS is used for enable or disable the interrupt during the continuous interpolation After setting D14 of register WRS to 1 the interrupt occurs Pin INTN of MCX314As AL will be on the Low level to interrupt the host CPU when D9 of register RRO become 1 The INTN will be on the Hi level if the host CPU writes the next interpolation segment to MCX314As AL If the interrupt clear command 3Dh is written to command register the INTN signal will return to h
174. new setting drive speed then a constant speed driving starts In automatic home search this drive speed is used for high speed search speed of Step 1 and high speed drive speed of Step 4 Note a In fixed pulse S curve acceleration deceleration driving there is no way to change the drive speed during the driving In continuous S curve acceleration deceleration driving the S curve profile cannot be exactly tracked if the speed alterations during the acceleration deceleration it is better to change the drive speed in the constant speed period b In fixed pulse trapezoidal driving the frequent changes of drive speed may occur residual pulses in the ending of deceleration 6 7 Output Pulse Number Interpolation Finish Point Setting Command Data Range Data Length Output pulse number Output pulse numbers 0 4 294 967 295 interpolation finish point setting Finish point 2 147 483 646 2 147 483 646 4 bytes The number of output pulses indicates the total number of pulses that are output in fixed pulse driving An unsigned 32 bit value is set Output pulse number setting The parameter P is setting total output pulse numbers in fixed pulse driving The value is absolute unsigned number The output pulse numbers can be changed during the driving Interpolation finish point setting This parameter is also setting the finish point of each axis in linear and circular interpolations The finish points of these ax
175. nput clock CLK If CLK input is standard 16MHz SCLK will be 8MHz Therefore the user had better driving the pulse speed in an exact multiple of SCLK period 125nSEC Otherwise the driving pulse will not very stable The frequency speed of driving pulse of MCX314As AL can be there are all exact the multiple of 125nSEC For instance the only frequencies that can be output are double 4 000 MHz triple 2 667 MHz quadruple 2 000 MHz five times 1 600 MHz six times 1 333 MHz seven times 1 143 MHz eight times 1 000 MHz nine times 889 KHz 10 times 800 KHz Any fractional frequencies cannot be output It is not very stable to set any desired drive speed However MCX314As AL can make any drive speed in using the following method For instance in the case of the range setting value R 80 000 magnification 100 and drive speed setting value V 4900 the speed of driving pulses of 4900x100 490 KPPS is output Since this period is not a multiple integer of the SCLK period pulses of 490KPPS cannot be output under a uniform frequency Therefore as shown in Fig 2 19 MCX314As AL combines 16 times and 17 times of SCLK period in a rate of 674 326 to generate an average 490KPPS Fig 2 19 The Driving Pulse of 490KPPS According to this method MCX314As AL can generate a constant speed driving pulse in a very high accuracy In general the higher of the drive speed the lower of the accuracy But for MCX314As AL it still can maintain relat
176. nter offset A0 e Enable the triangle form prevention function extension command 60h WR6 D3 AVTRD 1 b Linear acceleration driving with symmetrical deceleration deceleration e Set 0 in the acceleration offset counter offset A0 e Enable the triangle form prevention function extension command 60h WR6 D3 AVTRI 1 However in a case where acceleration gt deceleration the number of creep pulses increases as the ratio of acceleration A and deceleration D increases In this case increase the initial speed 87 NOVA electronics Inc MCX314As AL M88 6 6 Drive Speed Setting Command Data Range Data Length Drive speed setting 2 bytes V is the parameter determining the speed of constant speed period in trapezoidal driving In constant speed driving the drive speed is the initial speed The drive speed calculation is shown in the following formula Drive Speed PPS V x 000 000 EER Multiple If the setting drive speed is lower than the initial speed the acceleration deceleration will not be performed and the driving is constant speed During the encoder Z phase searching at a low peed driving if the user want to perform the sudden stop once the Z phase is detected the drive speed should be set lower than the initial speed Drive speed can be altered during the driving When the drive speed of next constant speed period is set the acceleration deceleration will be performed to reach the
177. olation Mode Register WR5 77 4 9 Data Register WR6 WR7 78 4 10 Main Status Register RRO 78 4 11 Status Register 1 RR1 79 4 12 Status Register 2 RR2 80 4 13 Status Register 3 RRB 81 4 14 Input Register RR4 RR5 82 4 15 Data Read Register RR6 RR7 82 5 Command Lists 83 6 Commands for Data Writing 85 6 1 Range Setting 85 6 2 Jerk Setting 86 6 3 Acceleration Setting 86 6 4 Decele
178. olation is commanded the bits of the assigned axis axes should be set 0 D15 RESET IC command resetting When this bit is set to 1 but others are 0 the IC will be reset after command writing After command writing the BUSYN signal will be on the Low level within 875 nSEC When CLK 16 MHz maximum When 8 bit data bus is used the reset is activated when the command 80h is written to register WROH RESET bit should be set to 0 when the other commands are written 4 4 Mode Register1 WR1 Each axis is with mode register WR1 The axis specified by NOP command or the condition before decides which axis s register will be written The register consists of the bit for setting enable disable and enable logical levels of input signal IN3 INO decelerating stop sudden stop during the driving and bit for occurring the interrupt enable disable Once IN3 IN1 are active when the fixed pulse continuous pulse driving starts and also when IN signal becomes the setting logical level the decelerating stop will be performed during the acceleration deceleration driving and the sudden stop will be performed during the constant speed driving H D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR1 D END C STAIC END P C P lt C P lt C P C PULSE IN3 E IN3 L IN2 E IN2 L IN1 E IN1 L INO E INO L l ja Interrupt Enable Disable Driving Stop Input Signal Enable Disable 72
179. on factors of the X axis the action that is set to Enable starts immediately When other axis activation is enabled the actions of the other axis that are enabled are also executed simultaneously by the X axis activation factor From Z Axis From Y Axis gt Activation from Other Axes From U Axis Provocative Action Poet FDRV Enable1 DisableO Enable1 Disable O gt P lt Ct FDRV Enable1 Disable0 J gt Enablet Disable o gt P lt C CDRV a p e e a P C CDRV e D STA gt N SSTOP 2 D END gt n A ISTOP ee INSh E LPSAV 2 IN3y EPSAV a e e a LPRD LPLOD e e CMD 65h EPLOD 2 Enable1 DisableO OPLOD e a Activation of Another Axes i VLLOD gt To Y Axis AXIS1 Enable1 DisableO To Z Axis OUT AXIS2 Enable1 DisableO g Enable1 Disable O To U Axis INT AXIS3 Enable1 DisableO Enable1 Disable O gt Fig 2 41 Flow of Synchronous Action X axis 48 NOVA electronics Inc MCX314As AL M49 2 6 1 Example of Synchronous Action E Example 1 The Y axis is passing through the position 15 000 Starts Z direction fixed pulse drive Set the parameters and commands for this IC as follows WRE WR7 WPO WRS WR7 WRO WRS WR7 WRO WRG WR7 WRO WRS WR WPO WRE WR7 WRO WRG WR7 WRO WRS6 WR7 WRO WRG WR7 lt WRO lt WRG
180. ost CPU if the bit pattern data are more than 48bits For example of the X and Y axes bit pattern interpolation if the host CPU needs 100usec to update new 16 bit data for X and Y axes The maximum speed is 16 100H SEC 160KPPS E The ending of bit pattern interpolation There are 2 ways can terminate the bit pattern interpolation Write a ending code into buffer register of ax1 The bit pattern interpolation mode will be finished and stopped if the host CPU write 1 into both and directions buffer registers D15 DO BP1P 0000011110100000 BP1M 0000010000001111 4 The Interpolation Stops Once The And Direction Are 1 When the ending code is executed the SC will become 0 automatically The host CPU stops writing any command into MCX314As AL When SC 0 and when no other data is updated MCX314As AL will stop outputting pulse Then the bit pattern interpolation is finished E Utilizing the stop command to pause the interpolation The interpolation driving will be paused if a sudden stop or decelerating stop command is written into the master axis ax1 which is executing the bit pattern interpolation MCX314As AL will continue the bit pattern interpolation if the host CPU enables the bit pattern interpolation again If the host CPU wants to finish the interpolation after writing stop command all of the interpolation bit data in MCX314As AL must be cleared in using BP register 3Dh Utilizing hardware limit to inte
181. ould be less than initial speed 980 Drive Speed V 980 Number of output pulses P 2 450 o 25 time SEC Please refer each parameter in Chapter 6 2 2 2 Trapezoidal Driving Symmetrical In linear acceleration driving the drive speed accelerates in a Speedi Deceleration Acceleration primary linear form with the specified acceleration slope from Drive speed the initial speed at the start of driving When the acceleration and the deceleration are the same symmetrical trapezoid in Acceleration slope Output pulse is too low not sutable for the fixed pulse driving the pulses utilized at acceleration are a me requirement of drive speed counted When the remaining number of output pulses becomes Initial Speedf less than the number of acceleration pulses deceleration starts time Deceleration continues in the primary line with the same slope Fig 2 9 Trapezoidal Driving Symmetrical as that of acceleration until the speed reaches the initial speed and driving stops at completion of the output of all the pulses automatic deceleration When the decelerating stop command is performed during the acceleration or when the pulse numbers of the fixed pulse drive do not reach the designated drive speed the driving will be decelerating during acceleration as show in Fig 2 9 By setting a triangle prevention mode such triangle form can be transformed to a trapezoid form even if the number o
182. ously once the nEXPM signal is on the Low level When the fixed pulse driving mode is engaged the direction fixed pulse driving starts once the nEXPP signal is falling to the Low level from the Hi level the direction pulse driving starts once the nEXPM signal is falling to the Low level from the Hi level In manual pulsar mode fixed pulse driving in the direction is activated at f the nEXPP signal when the nEXPM signal is at the Low level The fixed pulse driving is activated at of the nEXPP signal when the nEXPM signal is at the Low level D7 OUTSL Driving status outputting or used as general purpose output signals nNOUT7 4 0 nOUT7 4 general purpose output The levels of D11 8 will be output through nOUT7 4 1 nOUT4 7 driving status output see the table below Signal Name Output Description Hi if logical real position counter gt COMP register nOUT4 CMPP p sa Low if logical real position counter lt COMP register Hi if logical real position counter lt COMP register nOUT5 CMPM i ae Low if logical real position counter 2 gt COMP register When the driving command is engaged the level becomes Hi once the driving status nOUT6 ASND is in acceleration When the driving command is engaged the level becomes Hi once the driving status nOUT7 DSND is in deceleration D11 8 OUTm Level setting for output signals OUT7 4 as general purpose output signals 0 Low level output
183. ove 16 2 2 Standard Installation Conditions by Soldering Iron The standard installation conditions for the IC by soldering iron are as follows 1 Installation method Soldering iron heating the lead section only 2 Installation conditions a 380 C for 5 seconds or less b 260 C for 10 seconds or less 16 2 3 Standard Installation Conditions by Solder Reflow The standard installation conditions for the IC by solder reflow are as follows 1 Installation method Far middle infrared solder reflow 2 Preheating conditions 150 190 C for 60 80 seconds 3 Solder reflow conditions a 255 260 C for 10 seconds or less b 220 C or higher for 60 seconds or less 4 Solder reflow count Up to twice within the maximum temperature of the heat proof profile The temperatures in the installation conditions are based on the package surface temperature The temperature profile indicates the upper limit of the heat proof temperature Install the IC within the following profile A 260 G 255 a 1 4 C seconds o 5 220 Z 190 2 Max10 150 seconds Main Preheating Heating a 60 80seconds gt Max60seconds Y 1 4 C seconds at time second MCX314AL Standard Soldering Reflow Heat Proof Profile 134 NOVA electronics Inc 17 Specifications E Control Axis 4 axes E Data Bus 16 8 bits selectable Interpolation Functions E 2 axes 3 axes Line
184. peed search None Step2 Home IN1 signal low speed search in the direction at 300pps Step3 Z phase search None Step4 Offset drive None void homesrch void X and Y axes home search parameter setting See the initial setting of main for mode setting speed 0x3 2000 Step1 and 4 High speed 20000pps hsspeed 0x3 50 Step2 and 3 Low speed 500pps pulse 0x1 3500 X axis offset 3500 pulse pulse 0x2 700 Y axis offset 700 pulse Z axis home search parameter setting speed 0x4 40 II Step4 drive speed 400pps hsspeed 0x4 40 II Step2 search speed 400pps pulse 0x4 20 Offset 20 pulses U axis home search parameter setting hsspeed 0x8 30 Step2 search speed 300pps command Oxf 0x62 Execution of automatic home search for all the axes wait Oxf Waits for termination of all the axes if inpw adr rr0 amp 0x0010 Error display printf X axis Home Search Error n iiinowiearers amp 0x0020 printf Y axis Home Search Error n iinow adr rr0 amp 0x0040 printf Z axis Home Search Error n ANNA rO amp 0x0080 printf U axis Home Search Error n 112 NOVA electronics Inc void main void int count outpw adr wr0 0x8000 for count 0 count lt 2 count command 0x3 0xf outpw adr wr1 0x0000 outpw adr wr2 Oxe000 outpw adr wr3 0x0000 expmode 0x3 0x5d08 0x497f MCX314As AL M113 Software reset Mode register 1
185. phases Count up Count down nECA nECB nPPIN nPMIN a In quadrature pulses input mode when nECA and nECB input pulses are changed the value of real position counter will be changed to the value of those input pulses changed after the period of longest SCLK4 is passed b In UP DOWN pulse input mode the real position counter will become the value of those input pulses changed after the period between the beginning of nPPIN nPMIN f and the time of SCLK 4 cycle is passed nECA and nECB Phase Difference Time tCYCx2 20 nPPIN and nPMIN Hi Level Width tCYCx2 20 nPPIN and nPMIN Low Level Width tCYCx2 20 nPPIN and nPMIN Cycle tCYCx4 20 nPPIN t lt nPMIN between Time tCYCx4 20 tCYC is a cycle of CLK 124 NOVA electronics Inc MCX314As AL M125 13 4 6 General Purpose Input Output Signals The figure shown at the lower left hand side illustrates the delay time when input signals nIN3 0 nEXPP nEXPM nINPOS and nALARM are read through RR4 and RRS registers The figure shown at the lower right hand side illustrates the delay time when writing general output signal data into nWR3 and nWR4 Input Signal D15 0 D15 0 nOUT7 O iii tDl Input Signal Data Delay Time ns tDO WRN ft nOUT7 0 Setup Time i nS 125 NOVA electronics Inc MCX314As AL M126 14 Timing of Input Output Signals 14 1 Power On Reset 0S CLK Eo RESETN i 2 SCLK SS a B
186. ppen if it is in the above mentioned occasion I II Il or IV as the factors of deceleration stop accidentally and driving speed hasn t reached initial speed yet but acceleration has become zero 0 showing on Figure 2 B1 NOVA electronics Inc MCX314As B2 speed driving speed hasn t reached initial initial speed accel eration Figure 2 Driving speed and acceleration just before driving completion Deceleration status of accelerating ASND constant speed driving CNST and decelerating DSND can be read out according to RR1 resister of IC The status is shown as Figure 3 as below speed driving speed F initial speed acceleration RR1 D2 ASND RR1 D3 CNST RR1 D4 DSND RRO DO 3 nDRV Figure 3 Status of deceleration shown by RR1 resister The timing when the trouble may possibly happen is shown as d on Figure 3 At this time status of deceleration is constant speed driving CNST 1 Besides in case the trouble such as outputting pulse continuously happens all of ASND CNST and DSND will become 0 even though it s driving RRO nDRV 1 Workaround 1 When deceleration stop command 26h is executed Case I Basically once deceleration starts it isn t necessary to execute deceleration stop command Therefore deceleration stop command should be prohibit See nRR1 D4 DSND normally to know it s decelerating or not Timing when the trouble happens is in d as shown on Fi
187. premature termination output of the specified driving pulses is completed and terminated before the speed reaches the initial speed or creep output of specified driving pulses is not completed even if the speed reaches the initial speed and the remaining driving pulses are output at the initial speed may occur E Example of Parameter Setting Symmetrical S Curve Acceleration Deceleration As shown in the diagram in this example S curve acceleration is applied to reach the drive speed to 40KPPS from the initial speed of 100PPS in 0 4 seconds 2 Speed4 At acceleration increase the speed in a straight line according to the specified jerk k The integral value area indicated by diagonal lines is the speed increase a Find the jerk k to produce the result where the speed reaches a half leration k PE ue Accel slope v sv 2 of the drive speed v from the initial speed sv within a half 5 2 of the acceleration time t 0 4sec Use the following expression to find a value of K since the area indicated by diagonal lines which uses k in the left hand member is equal to the right hand member t 0 4sec time x t yS Unit 2 2 2 Jerk k pps sec Drive Speed v pps 4 v sv Initial Speed sv pps t2 Acceleration time t sec k 4 40000 100 5 997 500 pps sec 0 4 k Therefore the following parameters must be set in this IC ei NOVA electronics Inc MCX314As AL M14
188. ption MCX314As AL M65 Signals KOOO YOOO ZOOO and UOOO are input output signals for X Y Z and U axes where n stands for X Y Z and U If the signals are named OOON they are negative active or low active See the end of this chapter for description of input output logic An integral filter circuit is available in the internal input column of this IC for the input signals with F symbol See Section 2 8 for the filter function Signal Name CLK MCX314As Pin No 53 MCX314AL Pin No 54 Input Output Input A Signal Description Clock clock signal for internal synchronous loop of MCX314As AL The standard frequency is 16 MHz This signal is for drive speed acceleration deceleration and jerk If the frequency setting is not 16 MHz the setting values of speed and acceleration deceleration are different D15 D0 1 8 10 17 1 6 9 13 16 20 Bi directional A DATA BUS 3 state bi direction 16 bit data bus When CSN Low and RDN Low these signals are for outputting Otherwise they are high impedance inputs If 8 bit data bus is used D15 D8 can not be used and D15 D8 should be pull up to 5V through high impedance about 100 kQ A3 A0 21 22 23 24 21 22 23 24 Input A Address address signal for host CPU to access the write read registers A3 is used only when the 8 bit data bus is used CSN 25 25 Input A Chip Select input signal for selecting I O device
189. r Reading Data Data reading commands are used to read the register contents of each axis After a data reading command is written into register WRO this data will be set in registers RR6 and RR7 The host CPU can reach the data through reading registers RR6 and RR7 Reading data for registers WR6 and WR7 is binary and 2 s complement for negatives Note a It requires 250 nSEC maximum to access the command code of data reading where CLK 16MHz After the command is written and passed that time read registers RR6 and 7 b The axis assignment is for one axis If more than one axes are assigned the data reading priority is X gt Y gt Z gt U 7 1 Logical Position Counter Reading Command Symbol Data length Logical position counter reading 2 147 483 648 2 147 483 647 4 bytes The current value of logical position counter will be set in read registers RR6 and RR7 7 2 Real position Counter Reading Command Data range Data length Real position counter reading 2 147 483 648 2 147 483 647 4 bytes The current value of real position counter will be set in read registers RR6 and RR7 7 3 Current Drive Speed Reading Command Data range Data length Current drive speed reading 2 bytes The value of current drive speed will be set in read registers RR6 and RR7 When the driving stops the value becomes 0 The data unit is as same as the setting value of drive speed V 94 NOVA electronic
190. r the details hes ra Occurrence confirmation Setting permission prohibition i Interrupt factor nRR3 register Setting the extension mode command 60h D8 H END Automatic home search is terminated WR6 D5 HMINT f CS Tay Occurrence confirmation Setting permission prohibition Interrupt factor nRR3 register Synchronous action specification command 64h D9 SYNC WR7 D15 INT A synchronous action is activated due to the specified activation factor E Interrupt from Interpolations Enable Disable Status Check RRO The Factors of Interrupt Happening WR5 Register Register Interrupt Clearing D14 CIINT D9 CNEXT in continuous interpolation when MCX314As AL is available for the interpolation data of next node after next interpolation command is written the interrupt will be cleared D15 BPINT D14 13 BPS1 0 In bit pattern interpolation when the value of stack counter SC is changed from 2 to 1 and the stack is available for next BP command writing after a BP command for the stack is written the interrupt will be cleared When an interrupt is generated during interpolations this interrupt can be cleared by writing the interrupt clear command 3Dh INTN will return to the High Z level automatically once the interpolation is finished See Bit pattern Continuous Interpolation section for executing interpolation by interrupt 56 NOVA electronics Inc MCX314As AL M57 2
191. r6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x00 acac axis assignment data For S curve Deceleration increasing rate L setting void acac int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x01 109 NOVA electronics Inc dcac axis assignment data For jerk L setting void dcac int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 Ox0e acc axis assignment data For acceleration deceleration A setting void acc int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x02 dec axis assignment data For deceleration D setting void dec int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x03 startv axis assignment data For initial speed SV setting void startv int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x04 speed axis assignment data For drive speed V setting void speed int axis int wdata outpw adr wr6 wdata outpw adr wr0 axis lt lt 8 0x05 pulse axis assignment data For output pulse output finish point P setting void pulse int axis long wdata outpw adr wr7 wdata gt gt 16 amp Oxffff outpw adr wr6 wdata amp Oxffff outpw adr wr0 axis lt lt 8 0x06 decp axis assignment data For manual deceleration DP setting void decp int axis long wdata outpw
192. rack is a quadrant circle with radius 1500 The interpolation driving is at a constant vector speed 1000PPS WR5 0104h write define ax1 X axis ax2 Y axis constant vector speed Y44500 a WR6 lt 0900h write setting the parameter of master axis WR7 lt 003Dh write range 4 000 000 multiple 2 WRO lt 0100h write WR6 lt 4DCOh write 2 axis constant vector speed WR7 lt 0056h write 4 000 000x1 414 5 656 000 WRO lt 0200h write o 1500 0 0 4500 6000 WR6 01F4h write Initial speed 500x2 1000PPS Fig 2 37 The Example of Continuous Interpolation Axis WRO lt 0104h write WR6 lt 01F4h write drive speed 500x2 1000PPS WRO lt 0105h write WR6 lt 1194h write finish point X 4500 o WR7 lt 0000h write WRO lt 0106h write WR6 lt 0000h write finish point Y 0 Seg1 WR7 lt 0000h write WRO lt 0206h write WRO lt 0030h write 2 axis linear interpolation o J1 RRO D4 D5 read if error occurs Procedure A If D4 or D5 1 jump to handle error Jump to Error RRO D9 read waiting for next segment s enable signal If D9 0 Jump to J1 30 NOVA electronics Inc MCX314As AL M31 WR6 lt 0000h write center X 0 WR7 lt 0000h write WRO lt 0108h write WR6 05DCh write center Y 1500 WR7 lt 0000h write WRO lt 0208h write WR6 05DCh write finish point X 1500 Seg2 WR7 lt 0000h write WRO lt 0106h write WR6 lt 05DCh write finish po
193. ration Setting 87 6 5 Initial Speed Setting 87 6 6 Drive Speed Setting 88 6 7 Output Pulse Number Interpolation Finish Point Setting 88 6 8 Manual Decelerating Point Setting 89 6 9 Circular Center Setting 89 6 10 Logical Position Counter Setting 89 6 11 Real position Counter Setting 89 6 12 COMP Register Setting 90 6 13 COMP Register Setting 90 6 14 Acceleration Counter Offsetting 90 6 15 Deceleration Increase Rate Setting 90 6 16 Extension Mode Setting
194. rature profile indicates the upper limit of the heat proof temperature Install the IC within the following profile 260 230 Temperature c 190 180 Main Preheating Heating 30 to 50 60 to 120 seconds seconds ma a mi kag Laai Time seconds Standard Solder Reflow Heat Proof Profile 133 NOVA electronics Inc MCX314As AL M134 16 2 MCX314AL Storage and Recommended Installation Conditions 16 2 1 Storage of this IC Note the following items in regard to the storage of this IC 1 Do not throw or drop the IC Otherwise the packing material could be torn damaging the confidentiality 2 Store the IC under the temperature 40 C or lower and humidity 85 RH or lower with damp proof package and use the IC within 12 months 3 If the IC usage date has expired remove any dampness by backing it under the temperature 125 C 5 C for 24 hours The backing counts are up to five times If damp proofing is damaged before expiration apply damp removal processing also 4 Apply device corruption prevention using static electricity before applying dampness removal processing 5 After opening the damp proof package store the IC under 5 30 C and aver 30 60 RH per day and install it within seven days Make sure that backing processing is applied before installation of the IC that is left in the storage for a time that exceeds the expiration period as indicated ab
195. re 8 general purpose output pins NOUT3 0 amp nOUT7 4 for each axis However during the outputting NOUT7 4 cannot be used cause they share the same terminals with the position comparison output and drive status output NOUT3 0 can be output when the output levels of register WR4 have been set If the user wants to use nOUT7 4 signals D7 OUTSL of register WR3 should be set in the general purpose output mode then the output levels of D11 8 OUT7 4 of register WR3 can be set for outputting It is possible to use the general purpose output signal for motor driver current OFF deviation counting clear and alarm reset When resetting each bit of WR4 and nWR3 registers will be cleared then their output levels will be kept 62 NOVA electronics Inc 3 Pin Assignments and Signal Description 3 1 MCX314As Pin Assignments OOAYMMNIHPWNH CO UINO UDRIVE DCC UOUT7 DSND UOUT6 ASND UOUTS CMPM lt VDD GND UOUT4 CMPP UOUT3 UOUT2 UOUT1 NOVA elec NMICX314As Pin 1 Mark MCX314As AL M63 VDD 5V RESS8 RESS8 SSARS SSADS SSLAS SS5SLAS SKLE n n SSS FOSS a 9 a onnon See ea eS Se Sp a ee SS 552085 S800 5 28S gg SS SS SSB TSS EHSSSSSSSSSZ S So NN ND a a A a A O O a a y A A A XOUT3 gt XOUT4 CMPP gt XOUT5 CMPM gt XOUT6 ASND gt XOUT7 DSND gt XDRIVE DCC UECB PMIN UECA PP IN ZECB PMIN ZECA PP IN YECB PMIN YECA PP IN XECB PMIN XECA PPIN UPM DIR gt U
196. re is to judge if the trouble happens or not in the timing of interruption when d area ends Make constant speed area finishing interruption of IC active WR1 D13 C END 1 Start fixed pulse driving in S curve acceleration deceleration and when interruption is happened interruption processing is executed as follows B3 NOVA electronics Inc MCX314As B4 GOES OUT CONSTANT SPEED AREA DECELERATING AREA DRIVING FINISHES FORWARD LIMIT IS ON ASND CNST DSND 0 JUDGED AS TROUBLE HAPPENS SUDDEN STOP COMMAND 27h In q INTERRUPTION PROCESSING D NO OTHER INTERRUPTION FACTORS nRR3 D5 C END 1 This shows the interruption when driving goes into decelerating area c from constant speed area b is normal Make driving finished as it goes nRR1 D4 DSND 1 This shows the interruption when driving has finished normally in area d Make driving finished as it goes RRO DO X AXIS 0 During driving backward limit never be on So RR1 D12 D13 won t be 1 due to backward limit nRR1 D120rD13 1 nRR1 D2 D3 D4 0 C PROCESSING FINISHED gt Check if driving goes out constant speed area or not If RR3 D5 C END bit of driving axis is 0 there are other interruption factors Execute those interruption processing Check if driving goes into decelerating area or not If its RR1 D4 DSND 1 make it finished as it goes because driv
197. register specify an action in the WR7 register and write a synchronous action mode setting command 64h in the following WR6 register together with axis specification Ten activation factors are available as options for the WR6 register and fourteen actions are available as options for the WR7 register H L D15 D4 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO WR6 AXS3 AXIS2 AXIS1 0 o O CMD LPRD IN3 IN3 D END D STA P C P lt C P lt C P C l l j Activation of Other Axes Provocative The active factor and other axis activation bits can be enabled by setting them to 1 and disabled by setting them to 0 DO P2C The logical real position counter value exceeded the value of COMP register value Use the WR2 D5 CMPSL bit for selection of a logical position real real position counter D1 P lt C The logical real position counter value became less than the COMP register value D2 P lt C The logical real position counter value became less than the COMP register value D3 P2C The logical real position counter exceeded the COMP register value D4 D STA Driving started D5 D END Driving terminated D6 IN3t The nIN3 signal rose from the Low to the High level D7 IN3 The nIN3 signal fell from the High to Low level 46 NOVA electronics Inc D8 D9 LPRD CMD A logical position counter read command 10h was written Simultaneous read processing is enable
198. riod of time 8 1 Direction Fixed Pulse Driving Command Direction Fixed Pulse Driving The setting pulse numbers will be output through the output signal nPP In driving logical position counter will count up 1 when one pulse is output Before writing the driving command the user should set the parameters for the outputting speed curve and the correct output pulse numbers see the table below O Required Speed curve to be output Parameter Fixed Symmetrical linear Non symmetrical linear Symmetrical S curve Non symmetrical speed acceleration acceleration deceleration acceleration deceleration S curve deceleration deceleration acceleration deceleration Range R O O O O O Jerk K O O Deceleration O increasing rate L Acceleration O O O 8000 O 8000 A Deceleration O O 8000 D Initial speed O O O O O SV Drive speed O O Q O O v Output O O O O O pulse number P Manual O deceleration point DP 96 NOVA electronics Inc MCX314As AL M97 8 2 Direction Fixed Pulse Driving Command Direction Fixed Pulse Driving The setting pulse numbers will be output through the output signal nPM In driving logical position counter will count down 1 when one pulse is output Before writing the driving command the user should set the parameters for the outputting speed curve and the correct output pulse numbers 8 3 Direction Continuous Pulse Driving Comma
199. rive Enable Disable of each step and search direction selectable Deviation counter clear output Clear pulse width within the range of 10u 20msec and logical level selectable Note1 Interpolation Speed of MCX314AL becomes 2 8Mpps when CLK 32MHz 135 NOVA electronics Inc MCX314As AL M136 E Synchronous Action Activation factor Position counter gt COMP variation position counter lt COMP variation position counter lt COMP variation position counter gt COMP variation start of driving termination of driving IN3 signalt IN3 signal LP read command activation command Action Start of fixed pulse drive start of continuous pulse drive drive decelerating stop drive instant stop saving position counter values setting position counter values setting an output pulse number setting a drive speed external signal output DCC and interrupt Any action of other axes can be activated from the factor of the own axis E Interrupt Interpolations Excluded The factors of occurring interrupt the drive pulse outputting the start finish of a constant speed drive during the acceleration deceleration driving the end of the driving the volume of position counter 2 the volume of COMP the volume of position counter lt the volume of COMP the volume of position counter 2 the volume of COMP the volume of position counter lt the volume of COMP terminating of automatic home search
200. rpolation command is executed a interpolation accessing axes assignment set in bits D5 DO of register WR5 b speed parameter setting for master axis In interpolation driving bit D8 I DRV of main status register RRO becomes 1 and will return to 0 when the driving is finished In interpolation the n DRV bit of interpolating axis becomes 1 Note It requires 250 nSEC maximum to access the command code when CLK 16MHz Please write the next command within this period of time 9 1 2 Axis Linear Interpolation Command 2 axis linear interpolation This command performs 2 axis interpolation from present point to finish point Before driving the finish point of the 2 corresponding axes should be set by incremental value 9 2 3 Axis Linear Interpolation Command 3 axis linear interpolation This command performs 3 axis interpolation from present point to finish point Before driving the finish point of the 3 corresponding axes should be set by incremental value 9 3 CW Circular Interpolation Command CW circular interpolation This command performs 2 axis clockwise circular interpolation based on center point from present point to finish point Before driving the finish point of the 2 corresponding axes should be set by incremental value A full circle will come out if the finish position is set 0 0 99 NOVA electronics Inc MCX314As AL M100 9 4 CCW Circular Interpolation Co
201. rrupt the interpolation The interpolation driving will be terminated when any hardware limit of any axis is active And if host CPU wants to finish the interpolation all of the interpolation data in MCX314As AL must be cleared 2952 NOVA electronics Inc E Writing the bit pattern data into the register in MCX314As AL MCX314ASs AL M26 Either by 16 bit data bus or by 8 bit data bus the address map of the command buffer for bit pattern interpolation data is show as follows The addresses map of register for 16 bit data bus in bit pattern interpolation Address r The register with Name of register Content A2 A1 AO the same address 0 0 0 WRO 0 0 1 nWR1 0 1 0 BP1P ax1 direction data nWR2 0 1 1 BP1M ax1 direction data nWR3 1 0 0 BP2P ax2 direction data WR4 1 0 1 BP2M ax2 direction data WR5 1 1 0 BP3P Note ax3 direction data WR6 1 1 1 BP3M Note ax3 direction data WR7 Note BP3P and BP3M share the same registers WR6 and 7 The addresses map of register for 8 bit data bus in bit pattern interpolation Address gt Address Name of register Name of register A3 A2 A1 AO A3 A2 A1 AO 0 0 0 0 1 0 0 0 BP2PL 0 0 0 1 1 0 0 1 BP2PH 0 0 1 0 1 0 1 0 BP2ML 0 0 1 1 1 0 1 1 BP2MH 0 1 0 0 BP1PL 1 1 0 0 BP3PL 0 1 0 1 BP1PH 1 1 0 1 BP3PH 0 1 1 0 BP1ML 1 1 1 0 BP3ML 0 1 1 1 BP1MH 1 1 1 1 BP3MH Note BPmPL BPmPH BPmML BPmMH represen
202. s decelerating stop and the other is sudden stop Four input pins IN3 INO of each axis can be connected for external decelerating and sudden stop signals Enable disable active levels and mode setting are possible WStop Condition for External Input IN2 to INO in Continuous Pulse Driving Assign an encoder Z phase signal a home signal and a near home signal in nIN2 to nINO Assign an encoder Z phase signal in nIN2 Enable disable and logical levels can be set at WR1 of each axis For the application of high speed searching the user can set MCX314As AL in the acceleration deceleration continuous pulse driving mode and enable IN2 1 0 in WR1 And then MCX314As AL will perform the decelerating stop when the external signal IN2 1 0 is active NOVA electronics Inc MCX314As AL M9 For the application of low speed searching the user can set MCX314As AL in the constant speed continuous driving and enable IN2 1 0 Then MCX314As AL will perform the sudden stop when IN1 is active When the automatic home search function of this IC is used the Z phase signal home signal and near home signal are assigned to nIN2 nIN1 and nINO respectively Except the parameter of the number of output pulse the other four parameters for the fixed pulse drive must be set to execute the acceleration deceleration continuous pulse driving 2 2 Acceleration and Deceleration Basically driving pulses of each axis are output by a fixed pulse drivin
203. s Inc MCX314As AL M95 7 4 Current Acceleration Deceleration Reading Command Data range Data length Current acceleration deceleration 2 bytes reading The value of current acceleration deceleration will be set in read registers RR6 and RR7 When the driving stops the read data is random number The data unit is as same as the setting value of acceleration A 7 5 Synchronous Action Buffer Register Reading Command Data range Data length Synchronous action buffer register 2 147 483 648 2 147 483 647 4 bytes reading The value of the synchronous action buffer register is set in the RR6 and RR7 read data registers 95 NOVA electronics Inc MCX314As AL M96 8 Driving Commands Driving commands include the commands for each axis s drive pulse output and other related commands After the command code and axis assignment are written in command register WRO the command will be executed immediately It is possible to assign more than one axis with same command at the same time In driving bit n DRV of each axis s main status register RRO becomes 1 When the driving is finished the bit n DRV will return to 0 If nINPOS input signal for servo drivers is enabled bit n DRV of main status register RRO will not return to 0 until nINPOS signal is on its active level Note It requires 250 nSEC maximum to access the command code when CLK 16MHz Please write the next command after this pe
204. s changed after the period between the beginning of nPPIN nPMIN f and the time of SCLK 4 cycle is passed nECA and nECB Phase Difference Time tCYCx2 20 nPPIN and nPMIN Hi Level Width tCYCx2 20 nPPIN and nPMIN Low Level Width tCYCx2 20 nPPIN and nPMIN Cycle tCYCx4 20 nPPIN t lt gt nPMIN between Time tCYCx4 20 tCYC is a cycle of CLK 121 NOVA electronics Inc MCX314As AL M122 13 3 6 General Purpose Input Output Signals The figure shown at the lower left hand side illustrates the delay time when input signals nIN3 0 nEXPP nEXPM nINPOS and nALARM are read through RR4 and RRS registers The figure shown at the lower right hand side illustrates the delay time when writing general output signal data into nWR3 and nWR4 Input Signal D15 0 D15 0 nOUT7 O a iin e tDl Input Signal Data Delay Time ns tDO WRN f gt nOUT7 0 Setup Time 32 ns 122 NOVA electronics Inc MCX314As AL M123 13 4 MCX314AL AC Characteristics Ta 40 85 C V 3 3V 10 Output load condition D15 D0 85pF Other 50pF 13 4 1 Clock E CLK Input Signal E SCLK Output Signal CLK CLK w L sok tCYC tDR tDF SCLK will not be output while RESETN is Low CLK Cycle CLK Hi Level Width CLK Low Level Width CLK t gt SCLK Delay Time 21 nS CLK t gt SCLK Delay Time 23 nS 13 4 2 CPU Read Write Cycle Read Cycle Write Cycle V A2 A0 Valid
205. s of Bit Pattern Interpolation for ax1 Stacking counter SC is a 2 bit counter Its value is between 0 and 3 which can be read from D14 13 of register RRO SC will decide which register for the data from the host CPU The initial value of SC is 0 So when host CPU writes bit pattern data into BP1P or BPIM the data will be stored in SREG and then SC will count up to 1 and the next data from the host CPU will be written into REG1 By this way the REG2 becomes the register when SC 2 The host CPU is not able to write any bit pattern data into MCX314As AL when SC 3 When the bit pattern interpolation pulse is outputting DO in SREG will be shifted output first and then in the order of D1 D 24 NOVA electronics Inc MCX314As AL M25 When all of SREGs have been shifted output the data in REG1 will be shifted to SREG the data in REG2 will be shifted to REGI1 and the SC will count down to 2 Then the host CPU is able to write a new data into MCX314As AL again In order to make MCX314As AL output the bit pattern data continuously the host CPU should write the data into MCX314As AL before SC counts down to 0 MCX314As AL will output a interrupt requirement signal to host CPU when SC counts down from 2 to 1 E The limitation for the speed of bit pattern interpolation driving The maximum pulse output speed of MCX314As AL is 4MHz in bit pattern interpolation mode However the maximum speed will depend on the data update rate of h
206. sable IW6 D1 0 EP increase decrease inversion Disable W6 DO 0 EP clear by the IN2 signal Disable 114 NOVA electronics Inc Il expmode 0x8 0x5d08 0x010c accofst 0xc 0 range 0xc 800000 acac 0xc 1010 dcac 0xc 1010 acc 0xc 100 dec 0xc 100 startv 0xc 50 speed 0xc 40 pulse 0xc 10 lp 0xc 0 outpw adr wr4 0x0000 outpw adr wr5 0x0124 homesrch acc 0x3 200 speed 0x3 4000 pulse 0x1 80000 pulse 0x2 40000 command 0x3 0x20 wait 0x3 wreg3 0x1 0x0002 acc 0x1 200 dec 0x1 50 speed 0x1 4000 pulse 0x1 80000 command 0x1 0x20 wait 0x1 wreg3 0x1 0x0000 MCX314As AL M115 Automatic home search mode IW7 D15 D13 000 Deviation counter clear pulse width IINTID12 0 Deviation counter clear output logical level IW7 D11 0 Deviation counter clear output Disable INNTID10 0 Using an over run limit signal as a home signal Disable INNTID9 0 Z phase signal AND home signal Disable INNTID8 1 Logical Real position counter clear Enable IIWTID7 1 Step 4 drive direction direction IW7 D6 1 Step 4 Enable IWTID5 0 Step 3 search direction IW7ID4 0 Step 3 Disable IINTID3 0 Step 2 search direction direction IIW7ID2 1 Step 2 Enable IW7 D1 0 Step 1 search direction IW7 DO 0 Step 1 Disable U axis extension mode Input signal filter and others W6 D15 13 010 Input signal filter delay 512u IW6 D12 1 IN3 signal filter En
207. setting the direction bit data of the second axis in bit pattern interpolation WR5 Interpolation mode for setting axis assignment and the constant vector speed mode step Paar register output mode and interrupt BP2M BP2M register for setting the direction bit data of the second axis in bit pattern interpolation WR6 Data writing register 1 for setting the low word 16 bit D15 D0O for data writing 1 1 0 BP3P BP3P register for setting the direction bit data of the third axis in bit pattern interpolation WR7 Data writing register 2 for setting the high word 16 bit D31 D16 for data writing 11 1 BP3M BP3M register for setting the direction bit data of the third axis in bit pattern interpolation a Each axis is with WR1 WR2 and WR3 mode registers Each register is for 4 axis data writing at the same address Before those registers have been accessed the host CPU should specify which axis is going to be accessed by writing a NOP command into WRO The register for bit pattern interpolation are BP1P 3P and BP1M 3M After the resetting the data writing cannot be performed until the enable command 36h is engaged by BP register After the command 36h is enabled the data writing cannot be performed in nWR1 3 So the disable command 37h should be engaged after the bit pattern interpolation data is written Please be noted that registers WR6 and BP3P WR7 and BP3M share the same register hardware The bits of nWR1 nWR2 nWR3
208. signals 0 Disable through 1 Enable Specification bit Fitter Enable signal WR6 D8 FEO EMGN nLMTP nLMTM nINO nIN1 WR6 D9 FE1 nIN2 WR6 D10 FE2 nINPOS nALARM WR6 D11 FE3 nEXPP nEXPM EXPLS WR6 D12 FE4 nIN3 1 Set the EMGN signal in the D8 bit of the WR6 register of the X axis 2 Set the EXPLS signal in the D11 bit of the WR6 register of the X axis WR6 D15 13 FL2 0 Seta time constant of the filter See Section 2 8 for the details of the input signal filter function WR6 D15 13 Removable maximum A Input signal delay time FL2 0 noise width 0 1 75uSEC 2uSEC 1 224uSEC 256uSEC 2 448uSEC 512uSEC 3 896uSEC 1 024mSEC 4 1 792MmMSEC 2 048mSEC 5 3 584mSEC 4 096mSEC 6 7 168mSEC 8 192mMSEC 7 14 336mMSEC 16 384mSEC Each bit of the WR7 register is used to set an automatic home search mode See Automatic home search mode setting in Section 2 5 3 for details of each bit Note For an extension mode setting command set appropriate values in both the WR6 and WR7 registers since the contents of both WR6 and WR7 registers are set in the extension mode registers EM6 and EM7 in the IC 92 NOVA electronics Inc MCX314As AL M93 6 17 Home Search Speed Setting Command Data range Data length Home search speed setting 2 bytes Set a low speed home search speed of Steps 2 and 3 The home search speed can be calculated as follows where the hom
209. speed trapezoidal or S curve acceleration deceleration driving Speed accuracy of the pulse output is less than 0 1 at CLK 16MHz The speed of driving pulse output can be freely changed during the driving E Acceleration deceleration driving The IC can control each axis for acceleration deceleration of constant speed driving trapezoidal acceleration deceleration driving symmetry non symmetry and S curve acceleration deceleration Automatic acceleration deceleration of linear acceleration fixed speed pulse driving is available Since a primary linear increase decrease method is applied for S curve acceleration deceleration the speed curve forms a secondary parabola acceleration deceleration curve In S curve acceleration and deceleration fixed pulse driving automatic deceleration is available for symmetrical S curve only and triangle waveforms during S curve acceleration deceleration are prevented by a special method NOVA electronics Inc Trapezoidal Acceleration Deceleration Driving Symmetry Vv Time Parabola S curve Acceleration Deceleration Driving Symmetry V Automatic Deceleration P 100000 P 200000 P 400000 P 50000 E Linear Interpolation MCX314As AL M2 Trapezoidal Acceleration Deceleration Driving Non Symmetry Sudden Deceleration Parabola S curve Acceleration Deceleration Driving Non symmetry V fi O j f EN lt Manual deceleration Q Sudden Acceleration
210. synchronous action Enable disable for these factors selectable E External Signal for Driving EXPP and EXPM signals for fixed pulse continuous drive Driving in manual pulsar mode encoder input E External Deceleration Sudden Stop Signal INO 3 4 points for each axis Enable disable and logical levels selectable E Servo Motor Input Signal ALARM Alarm INPOS In Position Check DCC Pin shared between deviation counter clear output and DRIVE Enable disable and logical levels selectable E General Output Signal OUT0 7 8 points for each axis wherein 4 points use with drive status output signal pin E Driving Status Signal Output ASND speed accelerating DSND speed decelerating CMPP position gt COMP CMPM position lt COMP Drive status and status registers readable E Limit Signals Input 2 points for each and side Logical levels and decelerating sudden stop selectable E Emergency Stop Signal Input EMG 1 point for 4 axes Contents of integral type filters Equipped with integral filters in the input column of each input signal One time constant can be selected from eight types E Electrical Characters Specifications MCX314As MCX3 14AL Temperature Range for Driving 0 85 C 32 F 185 F 40 85 C 40 F 185 F Power Voltage for Driving 5V 5 3V 10 21mA typ 30mA max Consumption current 70mA typ 112mA max at CLK 16MHz Input
211. t Once the input pulse is up 1 the real position counter is counting down Drive Deviation Counter Clear Drive status output NDRIVE and deviation counter clear output DCC share the same pin Drive status display output nDRIVE is set to a High level while drive pulses are output At execution of automatic home search this signal is set to a High level The axis with interpolation drive XDRIVE DCC 56 56 specified is set to a High level while the interpolation driving is YDRIVE DCC 76 75 Output A executed The DRIVE signal is set to a High level until nINPOS ZDRIVE DCC 104 102 becomes active while the nINPOS signal for the serve motor is UDRIVE DCC 122 121 enabled by mode selection A deviation counter clear output DCC signal is output for a server motor driver The signal can be output by setting the mode in automatic home search See Sections 2 5 2 and 2 5 3 At resetting the drive status display output is set General Output 7 Descend general purpose output signals After the axis is appointed by WRO register NOUT7 4 can output XOUT7 DSND 57 57 the 1 0 data of D11 8 in WR3 register to Hi Low They become YOUT7 DSND 77 76 Output A Low when the IC is reset ZOUT7 DSND 105 103 When hatn T ieutigeast daksina b UOUT7 DSND 123 122 en the drive status output mode is engaged this signal can be used for reflecting the status of deceleration While the driving command is executed and during the deceleration it becomes Hi Genera
212. t Data Hold Time from RDN f CSN Hold Time from RDN f Address Hold Time from RDN Address Setup Time to WRN CSN Setup Time to WRN WRN Low Level Width Setup Time of Input Data to WRN Tf Hold Time of Input Data from WRN f CSN Hold Time from WRN 1 Address Hold Time from WRN f 120 NOVA electronics Inc MCX314As AL M121 13 3 3 BUSYN Signal sik NNS Nf AN NA A S WRN BUSYN Hiz DF It is low when BUSYN is active And BUSYN is low after Max 2 SCLK cycles when WRN f active During the time IC cannot accept Read Write se i tDF WRN t gt BUSYN Delay Time tWL BUSYN Low Level Width tCYCx4 30 ns tCYC is a cycle of CLK 13 3 4 SCLK Output Signal Timing The following output single is synchronized with SCLK output signal The level at ACLK f will be changed Output signals nPP PLS nPM DIR nDRIVE nASND nDSND nCMPP and nCMPM SCLK Output Signal tD tDD SCLK t Output Signal t Delay Time o 2 n 13 3 5 Input Pulses E Quadrature Pulses Input Mode A B phases nECA nECB nPPIN nPMIN a In quadrature pulses input mode when nECA and nECB input pulses are changed the value of real position counter will be changed to the value of those input pulses changed after the period of longest SCLK4 is passed b In UP DOWN pulse input mode the real position counter will become the value of those input pulse
213. t of 5 000 Direction Fixed Drive Occurrence of interrupt Check the Interrupt by the Synchronous Action Check D9 SYNC 1 XRR3 lt Read Processing in the WR6 lt 0000h Interrupt Routine WR7 0000h Release of Synchronous Action Mode WRO lt 0164h The delay time from termination of driving of 15 000 to the start of driving of 5 000 is 5SCLK 625nsec CLK 16MHz LP 14 998 14 999 15 000 Final Pulse Low Level Period XPP 14 998 XPM Delay time 5SCLK 625nsec CLK 16MHz In the above example an interrupt is generated as soon as driving of 5 000 starts canceling the synchronous action mode within the interrupt processing Without this cancellation fixed pulse driving in the direction is performed endlessly Even if driving is suspended during driving of the first 15 000 due to the limit in the direction LMTP or emergency stop EMGN driving of the next 5 000 is executed When this becomes a problem in the system operation the synchronous action function cannot be used 52s NOVA electronics Inc MCX314As AL M53 2 6 2 Synchronous Action Delay Time A synchronous action delay is a total of a delay from the occurrence of an activation factor and a delay up to the action as shown in the following tables E Delay from the occurrence of an activation factor 1SCLK 125nsec CLK 16MHz Activation Definition o
214. t the following bit groups m is 3 BPmPL the low byte of BPmP D7 DO BPmPH the high byte of BPmP D15 D8 BPmML the low byte of BPmM D7 DO BPmMH the high byte of BPmM D15 D8 For some addresses of bit pattern data registers are as same as nWR2 nWR7 the host CPU can not write any data into the bit pattern data register since MCX314As AL has been reset To write the bit pattern command the host CPU should be with the following sequence Write bit pattern BP enable command 36h into command register Write bit pattern data Write BP disable command 37h into command register Note If the host CPU doesn t disable the BP data register the data in nWR2 nWRS registers cannot be assessed 26 NOVA electronics Inc E The example of bit pattern interpolation The bit interpolation example is shown in Fig 2 24 We set X axis as axl Y axis as ax2 and a constant speed 1000PPS ina constant vector speed interpolation driving WRS lt WR6 WR7 WRO TTT WR6 WR7 WRO Pile WRE lt WRO lt WRE lt WRO lt WRO lt WRO lt BP1P BP1M BP2P BP2M WRO lt BP1P BP1M BP2P BP2M WRO lt BP1P BP1M BP2P BP2M WRO lt WRO lt 0104h write 0900h write 003Dh write 0100h write 4DCOh write 0056h write 0200h write 01F4h write 0104h write 01F4h write 0105h write 0039h writ
215. t the range R of salve axis ax2 to be 1 414 times of the value of the master axis axl Therefore MCX314As AL will use the range parameter of master axis if only 1 axis outputs pulses However X when 2 axes output pulses simultaneously MCX314As AL will use the f i Fig 2 34 Example of 2 Axis Interpolation range parameter of slave axis to implement the pulse period to 1 414 times E Setting Constant Vector Speed for 3 Axes As same as the setting process of 3 axes the user should first set the values of D9 and D8 of register WR5 to 0 and 1 Then set the range R of ax2 to 1 414 times of the value of the master axis ax1 then set the range R of ax3 to 1 732 times of the value of the master axis After setting the range of constant vector speed for 3 axes MCX314As AL will use the range parameter of ax1 if only 1 axis outputs pulses However when 2 or 3 axes output pulses simultaneously MCX314As AL will use the range parameter of ax2 or ax3 to implement the pulse period See Fig 2 36 User may set the values of D9 and D8 of register WRS to 0 and 1 for 2 axis constant vector speed driving even in the 3 axis interpolation E The Example of Constant Vector Speed Interpolation for 2 Axes As shown below the master axis axl X axis the slave axis ax2 Y axis and the interpolation is at a constant vector speed 1000PPS The result of driving pulse output is shown in Fig 2 35 WR5 lt 0104h write define ax1 X axis ax2
216. t under the temperature 125 C for 20 hours If damp proofing is damaged before expiration apply damp removal processing also 4 Apply device corruption prevention using static electricity before applying dampness removal processing 5 After opening the damp proof package store the IC under 30 C 60 RH or lower and install it within seven days Make sure that backing processing is applied before installation of the IC that is left in the storage for a time that exceeds the expiration period as indicated above 16 1 2 Standard Installation Conditions by Soldering Iron The standard installation conditions for the IC by soldering iron are as follows 1 Installation method Soldering iron heating the lead section only 2 Installation conditions a 350 C for 3 seconds or less b 260 C for 10 seconds or less 16 1 3 Standard Installation Conditions by Solder Reflow The standard installation conditions for the IC by solder reflow are as follows 1 Installation method a Hot air solder reflow including the far middle infrared solder reflow concurrent use b Far middle infrared solder reflow 2 Preheating conditions 180 190 C for 60 120 seconds 3 Solder reflow conditions a Maximum 260 C b 230 C or higher for 30 50 seconds or less 4 Solder reflow count Up to twice within the permissible storage period The temperatures in the installation conditions are based on the package surface temperature The tempe
217. ta for registers WR6 and WR7 is binary and 2 s complement for negatives Each data should be set within the permitted data range If the setting data out of range the driving can not be done Note a It requires 250 nSEC maximum to access the command code when CLK 16MHz Please don t write the next command or data into WRO when the present command is written b Except acceleration offset OA the other parameters are unknown while resetting So please per set proper values for those driving related parameters before the driving starts 6 1 Range Setting Command Data Range Data Length 8 000 000 multiple 1 16 000 Range setting 4 bytes multiple 500 R is the parameter determining the multiple of drive speed acceleration deceleration and jerk The multiple can be calculated as follows where the range setting value is R Multiple 8 000 000 For the parameter setting range of drive speed acceleration deceleration is 1 8000 if the higher value is needed the user should have a larger multiple In case of increasing the multiple although the high speed driving is possible the speed resolution will be decreased So the user can set the multiple as small as possible if the setting speed has covered the desired speed For example the maximum value of parameter for setting the drive speed V is 8000 and the drive speed is set 40KPPS The user can set V 8000 and R 1 600 000 Because 40K is 5 times of
218. tely as shown in Fig 2 4 Furthermore when in the S curve acceleration deceleration driving mode the output pulse number change will occur to an incomplete deceleration S curve Speed A o Change of Output Pulse Lasi time Fig 2 3 Changing The Number of Output Pulse During Deceleration Speed Change of Output Pulse time Fig 2 2 Change of Output Pulse Number in Driving Speed Change of ri Output Pulse z time Fig 2 4 Changing The Pulse Number Less Than Output Pulse Number E Manual Setting Deceleration for fixed pulse Acceleration Deceleration Driving As shown in Fig 2 1 generally the deceleration of fixed pulse acceleration deceleration driving is controlled automatically by MCX314As AL However in the following situations it should be preset the deceleration point by the users The change of speed is too often in the trapezoidal fixed pulse acceleration deceleration driving Set an acceleration a deceleration an jerk acceleration increasing rate and deceleration increasing rate individually for S curve deceleration fixed pulse driving e When use circular interpolation bit pattern interpolation and continuous interpolation for acceleration and deceleration NOVA electronics Inc MCX314As AL M8 In case of manual deceleration please set DO bit of register WR3 to 1 and use command 07h for presetting deceleration point As to the other operation the se
219. ter SC Value 0 0 0 1 1 2 1 3 In bit pattern interpolation driving when SC 3 it shows the stack is full When SC 2 there is one word 16 bit space for each axis When SC 1 there is a 2 word 16 bit x 2 for each axis When SC 0 it shows all the stacks are empty and the bit pattern interpolation is finished 4 11 Status Register 1 RR1 Each axis is with status register 1 The axis specified by NOP command or the condition before decides which axis s register will be read The register can display the comparison result between logical real position counter and COMP the acceleration status of acceleration deceleration driving jerk of S curve acceleration deceleration and the status of driving finishing H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RR1 EMG ALARM LMT LMT IN3 IN2 IN1_ INO ADSND ACNST AASND DSND CNST ASND CMP CMP L ll Status of Driving Finishing DO CMP Displaying the comparison result between logical real position counter and COMP register 1 logical real position counter gt COMP register 0 logical real position counter lt COMP register D1 CMP Displaying the comparison result between logical real position counter and COMP register 1 logical real position counter gt COMP register 0 logical real position counter gt COMP register Speed D2 ASND It becomes 1 when in acceleration
220. terrupt factor through register WRI to perform the interrupt To generate an interrupt from DO to D7 interrupt Enable must be set for each factor in the WR1 register H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RR3 SYNC HMENDJD END C STA C END P C P lt C P lt C P C PULSE Interrupt Factor DO PULSE When the drive pulse is up drive pulse is set on the positive logical level D1 P2 C Once the value of logical real position counter is larger than that of COMP register D2 P lt C Once the value of logical real position counter is smaller than that of COMP register D3 P lt C Once the value of logical real position counter is smaller than that of COMP register D4 P2C Once the value of logical real position counter is larger than that of COMP register D5 C END When the pulse output is finished in the constant speed drive during an acceleration deceleration driving D6 C STA When the pulse output is started in the constant speed drive during an acceleration deceleration driving D7 D END When the driving is finished D8 HMEND Automatic home search terminated See Section 2 5 D9 SYNC Synchronous action was activated See Section 2 6 When one of the interrupt factors occurs an interrupt the bit of the register becomes 1 and the interrupt output signal INTN will become the Low level The host CPU will read register RR3 of the interrupted axis the bit
221. the axis assignment and command registration for each axis in MCX314As AL The register consists of the bit for axis assignment bit for setting command code and bit for command resetting After the axis assignment and command code have been written to the register this command will be executed immediately The data such as drive speed setting and data writing command must be written to registers WR6 and WR7 first Otherwise when the reading command is engaged the data will be written and set through IC internal circuit to registers RR6 and RR7 When using the 8 bit data bus the user should write data into the high word byte H then low word byte L It requires 250 nSEC maximum to access the command code when CLK 16MHz The input signal BUSYN is on the Low level at this moment Please don t write the next command into WRO before BUSYN return to the Hi level H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 DS D4 D3 D2 D1 DO WRO JRESET o o o U Z Y X o L J J Axis Assignment Command Code D6 0 Command code setting Please refer to chapter 5 and the chapters following for further description of command codes D11 8 Axis assignment When the bits of the axis are set to 1 the axis is assigned The assignment is not limited only for one axis but for multi axes simultaneously It is possible to write the same parameters also However the data reading is only for one assigned axis Whenever the interp
222. the offset for deceleration MCX314As AL will start deceleration early for the offset The greater is the positive value set for the offset the closer the automatic declaration point becomes increasing the creep pulses at the initial speed at deceleration termination If a negative value is set for the offset value output may stop prematurely before the speed reaches the initial speed see Fig 2 6 The default value for offset is 8 when MCX314As AL power on reset It is not necessary to change the shift pulse value in the case of acceleration deceleration fixed pulse driving As for fixed driving in non symmetrical trapezoidal acceleration deceleration or S curve acceleration deceleration if creep pulses or premature termination occurs at termination of driving due to the low initial speed setting correct the speed by setting the acceleration counter offset to an appropriate value 2 1 2 Continuous Pulse Driving Output When the Continuous Pulse Driving is performed MCX314As AL will drive pulse output in a specific speed Speed until stop command or external stop signal is happened The Drive Speed p mnam ee main application of continuous pulse driving is home Stop Command or searching teaching or speed control The drive speed can be External Stop Signal changed freely during continuous pulse driving Initial Speed time Two stop commands are for stopping the continuous driving Fig 2 7 Continuous Pulse Driving One i
223. through LMTP LMTM IN1 and 0 signals Enables the filter Mode other than the built in filter function set an appropriate value See Section 6 16 Set an appropriate value when performing automatic home search See Section 2 5 Writes an extension mode setting command in the Z and U axes 58 NOVA electronics Inc MCX314As AL M59 2 9 Other Functions 2 9 1 Driving By External Pulses Fixed pulse driving and continuous pulse driving can be controlled by either commands or external signals which can reduce the load of host CPU By inputting an encoder 2 phase signal of a manual pulsar jog feed of each axis is enabled Each axis has two input signals nEXPP and nEXPM In fixed pulse drive mode and a continuous pulse drive mode the nEXPP signal triggers driving in the direction and the nEXPM signal in the direction nEXPP controls direction pulse output and nEXPM controls direction command D3 and D4 bits of register WR3 are for the setting in driving The user should preset the parameters and commands The default level of nEXPP and nEXPM is normally set on Hi In manual pulsar mode the A phase signal is connected to nEXPP input and the B phase signal to nEXPM input E Fixed Pulse Driving Mode Set bits D4 and D3 of register WR3 to 1 and 0 respectively and set all the parameters of fixed pulse driving Once nEXPP is falling down to the Low level the direction fixed pulse driving will start once nEXPM
224. ting logical level of the direction nPM DIR output signal for 1 pulse mode DIR L D8 DIR L direction 0 Low Hi 1 Hi Low Setting the type of encoder input signals NECA PPIN and nECB PMIN 0 quadrature pulse input type 1 Up Down pulse input type Real position counter will count up or down when encoder input signal is triggered When quadrature pulse input type is engaged the count up will happen if the positive logical level pulses are input to phase A the count down will happen if the positive logical level pulses are input to phase B So it will count up and down when these 2 signals go up 1 and down J nECA I nECB I Count Up Count Down When Up Down pulse input type is engaged nECA PPIN is for count up input and nECB PMIN is for count down input So it will count up when the positive pulses go up f The division setting for quadrature encoder input D11 D10 Division 0 0 1 1 0 1 1 2 Up down pulse input is not 1 0 1 4 available 1 1 Invalid Setting active level of input signal nALARM 0 active on the Low level 1 active on the Hi level 74 NOVA electronics Inc MCX314As AL M75 D13 ALM E Setting enable disable of servo alarm input signal nALARM 0 disable 1 enable When it is enabled MCX314As AL will check the input signal If it is active D14 ALARM bit of RR2 register will become 1 The driving stops D14 INP L Setting logica
225. tion reduces the CPU load NOVA electronics Inc MCX314As AL M4 E Synchronous action The synchronous action is a function that performs a specified action such as starting or stopping of driving when an activation factor provocative occurs within each axis between two axes or with a device outside of IC by linking with a provocative Ten types of provocatives are available including the passing of the specified position the starting stopping of driving and rising falling of an input signal Four types of actions are available including starting stopping of driving saving a position counter value writing of a drive speed and so on Action lt i Starting of Z Axis Driving Provocative r Y axis is passing through the position 15 000 E a E Input signal filter The IC is equipped with an integral type filter in the input step of each input signal It is possible to set for each input signal whether the filter function is enabled or the signal is passed through A filter time constant can be selected from eight types 5V 3 3V MCX314As AL 24V we i nLMTP Ww Z ax a t LIMIT e WD Bui it in Filter E Driving by External Signal It is possible to control each axis by external signals The direction fixed pulse driving and continuous pulse driving can be also performed through the external signals This function is used for JOG or teaching modes
226. tion at 400pp II P 350 Fixed pulse drive Moves 350 pulses in the direction at 400pps X and Y axes linear interpolation driving I ax1 x ax2 y ax3 z Constant vector speed II ax1 R 800000 Multiple 10 II ax2 R 800000 1 414 Il ax1 V 100 Drive speed 1000PPS constant speed II xP 5000 Finish point X 5000 Il yP 2000 Finish point Y 2000 2 axes linear interpolation X and Y axes circular interpolation driving I ax1 x ax2 y ax3 z Constant vector speed II ax1 R 800000 Multiple 10 II ax2 R 800000 1 414 ax1 V 100 Drive speed 1000PPS constant speed xC 5000 Center point X 5000 I1lyC 0 Center point Y 0 xP 0 Finish point X 0 full circle lyP 0 Finish point Y 0 CCW circular interpolation X and Y axes bit pattern interpolation Figure 2 32 Example Il ax1 V 1 Drive speed 10PPS constant speed Enables bit pattern data write 0 15 Writes bit patter data Stack 16 31 Writes bit data 32 47 Writes bit data Starts 2 axes BP interpolation driving II Waits for data write 48 63 Writes bit data Disables bit pattern data write Waits for termination of driving X and Y axes continuous interpolation Figure 2 37 Example ax1 V 100 Drive speed 1000PPS constant speed Il Seg 1 Waits for next data set II Seg 2 116 NOVA electronics Inc
227. tion starting E The Acceleration Deceleration for Continuous Interpolation In continuous interpolation same as in circular and bit pattern interpolations only manual deceleration in the trapezoidal driving is available The automatic deceleration in S curve driving is not available Before performing the continuous interpolation it is necessary to preset the manual decelerating point however this setting point is related to the master axis executing the deceleration in the last segment The user should disable the deceleration then start the interpolation driving Before writing the interpolation command to the final segment which will execute the deceleration the user should enable the deceleration at first The deceleration will start if the output pulses are larger than the master axis based pulses in the final segment 230 NOVA electronics Inc MCX314As AL M33 For instance there are 5 interpolation segments in the process of continuous interpolation In case the manual deceleration has to be executed in the last segment segment 5 the procedure is shown as follows Setting mode acceleration deceleration for master axis y Writing manual deceleration point y Deceleration disabling command 3Ch y Writing segment 1 data interpolation segment Starting continuous y Error checking waiting for the allowance to write the next data interpolation driving y Writing
228. tting is as same as that of fixed pulse driving E Changing a Drive speed During Driving s In fixed pulse driving under linear acceleration at a pps 4 Range R 800000 Multiple 10 constant speed a drive speed V can be changed SOK See eee Sa Se ee during driving However if a speed of fixed pulse 30k 4 Ege 25k 34 i driving is changed at linear acceleration some Vpere Setting premature termination may occur Therefore V 4000 setting V 1500 setting caution is necessary when using the IC by setting a low initial speed time Fig 2 5 Example of Drive Speed Change During Driving A drive speed V cannot be changed during fixed pulse driving in S curve acceleration deceleration driving E Offset Setting for Acceleration Deceleration Driving The offset function can be used for compensating the 5 n pulses when the decelerating speed does not reach the setting initial speed during the S curve fixed pulse driving MCX314As AL will calculate the acceleration deceleration point automatically and will arrange the Offset Pulse pulse numbers in acceleration equal to that in intial Speed Cos Haaa deceleration The method is calculating the output time acceleration pulses and comparing them with the Fig 2 6 Offset for Deceleration remaining pulses When the remaining pulses are equal to or less the pulses in acceleration it starts the deceleration When setting
229. tup Waiting 1 cycle insert Resister set WCR3 A1S0 1 Access Waiting 2 cycles insert Resister set WCR2 A1W2 A1W1 A1W0 010 Hold Waiting 1 cycle insert Resister set WCR3 A1H1 A1HO 01 106 NOVA electronics Inc MCX314As AL M107 11 4 Connection Example The figure shown below illustrates the example of 1 axis driving system 4 axes can be assigned in the same way Encoder Stepping Servo Motor WLLL Limit Home Near Home OCCA CW Pulse CCW Pulse Motor Driver MCX314As AL 1 4 Manual Op ration EC A B Z Alarm EC A B Z XECA B XIN2 11 5 Pulse Output Interface Output to Motor Drivers in Differential Circuit Motor Drivers MCX314As AL Ce ci 3 Am26LS31 Am26LS32 CCW coN Twisted Pair Sshield Cable GND o E Open Collector TTL Output MCX314As AL Motor Drivers s Vw o Cl We xz XK c 7 XPP gt o o o i W oww o o nwe z yf con p2 XPM 0 e O 74LS06 Twisted Pair Sshield Cable GND Z For drive pulse output signals we recommend the user to use twisted pair shield cable due to the concern of EMC 107 NOVA electronics Inc 11 6 Connection Example for Input Signals MCX314As AL M108 Limit signals often pick up some noise since complicated cabling is normally involved A photo coupler alone may not be able to absorb this noise Enable the filter function in the IC and set an
230. unter Enable D7 0 Step 4 driving direction direction D6 1 Step 4 Enable D5 0 Step 3 search direction D4 0 Step 3 Disable D3 1 Step 2 search direction direction D2 1 Step 2 Enable D1 1 Step 1 search direction direction DO 1 Step 1 Enable WRO lt 0160h Write Writes an extension mode setting command in the X axis 44 NOVA electronics Inc MCX314As AL M45 WR6 lt 3500h Write Range 8 000 000 Multiple 10 WR7 lt 000Ch Write WRO lt 0100h Write WR6 lt 004Ch Write Acceleration speed 95 000 PPS SEC WRO 0102h Write 95000 125 10 76 WR6 lt 0064h Write Initial speed 1000 PPS WRO 0104h Write WR6 lt 07D0h Write Speed of Steps 1 and 4 20000 PPS WRO lt 0105h Write WR6 lt 0032h Write Speed of Step 2 500 PPS WRO lt 0161h Write WR6 ODACh Write Offset driving pulse count 3500 WR7 lt 0000h Write WRO lt 0106h Write WRO lt 0162h Write Starts execution of automatic home search Notes on using limit signals e The same search direction must be applied for Steps 1 and 2 For Step 3 Z phase search apply a direction opposite to the direction of Steps 1 and 2 For Step 4 also offset driving apply a direction opposite to Steps 1 and 2 and make sure that automatic home search operation stops at the position beyond the limit active section e When Step 3 operation is performed the AND condition between a Z phase signal and a home signal IN1 cannot
231. utting and nPM DIR is for direction signal outputting pulse direction is set on the positive logical level gt ESRD Pulse Output Waveform Pulse Output Type Drive Direction nPP PLS Signal nPM DIR Signal Direction cee Lowlevel Independent 2 pulse Low level Direction EEEE Direction cone Low level 1 pulse 1 direction Direction ones Hi level Bit D6 PLSMD of register WR2 is used for the selection of pulse output type 60 NOVA electronics Inc MCX314As AL M61 Additionally bits D7 PLS L and D8 DIR L of register WR2 can be used for pulse outputting direction and logical level setting Note Please refer to Chapter 14 2 and 14 3 for the pulse signal nPLS and direction signal nDIR in 1 pulse 1 direction pulse outputting 2 9 3 Pulse Input Type Selection For real position counter quadrature pulses type and Up Down pulse type can be selected for pulse input E Quadrature pulses input mode A quadrature pulses input mode can be set by setting the D9 PINMD bit of the WR2 register to 0 In this mode when A phase is advancing with positive logical pulses the count is incremented and when the B phase is advancing the count is decremented The count is incremented and decremented at the rising edge and falling edge of both signals When the real position counter up down reverse bit WR6 D1 is set to 1 in
232. when external deceleration signal is enabled and active e when external limit switch signals nLMTP nLMTM become active f when nALARM signal is enabled and active and g when EMGN signal is on the Low level 66 9 Above factors a and b can be controlled by the host CPU and factor c can be confirmed by register RR2 even the driving is finished As for factors d g the error status is latched in RR2 until next driving command or a clear command 25h is written After the driving is finished if the error factor bits D15 D12 become 1 n ERR bit of main status register RRO will become 1 Status bit of driving finishing can be cleared when next driving command is written or when the finishing status clear command 25h is used 4 12 Status Register 2 RR2 Each axis is with status register 2 The axis specified by NOP command or the condition before decides which axis s register will be read This register is for reflecting the error information and automatic home search When an error occurs the error information bit one of D7 to DO is set to 1 When one or more of D7 to DO bits of RR2 register are 1 n ERR bits of main status register RRO become 1 H L D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO RR2 o o Hust HMST3 HMST2 HMST1 HMSTO HOME o EMG ALARM HLMT HLMT SLMT SLMT L J l J Automatic Home Search Error Information
233. xis OUT3 0 XOUT3 O 61 64 61 64 i can output the 1 0 data of D15 0 in WR4 register to Hi Low They YOUT3 0 81 84 82 85 Output A become Low when the IC is reset Compared with the setting of ZOUT3 0 110 113 109 112 OUT 4 iti i ani aie th nee UOUT3 0 429 132 128 131 n itis easier cause there is no need to have the appointe axis XINPOS 67 67 In position input signal for servo driver in position YINPOS 85 86 Input A Enable disable and logical levels can be set as commands When ZINPOS 95 94 ZRS enable is set and after the driving is finished this signal is active UINPOS 114 113 and standby n DVR bit of main status register returns to 0 XALARM 68 68 Servo Alarm input signal for servo driver alarm YALARM 86 87 Input A Enable disable and logical levels can be set as commands When ZALARM 96 95 aE it is enable and when this signal is in its active level the ALARM bit UALARM 115 114 of RR2 register becomes 1 OVER Limit signal of direction over limit XLMTP 69 69 During the direction drive pulse outputting decelerating stop or YLMTP 87 88 Input A sudden stop will be performed once this signal is active When the ZLMTP 97 96 Ee filter function is disabled the active pulse width must be 2CLK or ULMTP 116 115 more When it is enable and when this signal is in its active level the HLMT of RR2 register becomes 1 OVER Limit signal of direction over limit XLMTM 70 70 During the direction drive pulse outputting
234. xtension mode Input signal filter and others IW6 D15 13 010 Input signal filter delay 512u IW6 D12 1 IN3 signal filter Enable W6 D11 1 EXPP EXPM and EXPLS filter Enable IW6 D10 1 INPOS and ALARM signal filter Enable IW6 D9 0 IN2 signal filter Disable IW6 D8 1 EMGN LMTP M IN1 and 0 filter Enable IW6 D7 0 IW6 D6 0 WW6 D5 0 Automatic home search termination interrupt Prohibit W6 D4 0 LP EP variable ring function Disable WW6 D3 1 Triangle form prevention at linear acceleration Enable WW6 D2 0 Pulse output switching Disable IW6 D1 0 EP increase decrease inversion Disable W6 DO 0 EP clear by IN2 signal Disable Automatic home search mode W7 D15 D13 010 Deviation counter clear pulse width 100usec IINTID12 0 Deviation counter clear output logical level Hi IW7 D11 1 Deviation counter clear output Enable INN7ID10 0 Use of limit signal as a home signal Disable IWTID9 0 Z phase signal AND home signal Disable INTID8 1 Logical real position counter clear Enable INN7ID7 0 Step 4 driving direction direction IW7 D6 1 Step 4 Enable IWTID5 1 Step 3 search direction direction IW7 D4 1 Step 3 Enable IINTID3 1 Step 2 search direction direction IW7 D2 1 Step 2 Enable IW7 ID1 1 Step 1 search direction direction IW7 DO 1 Step 1 Enable 113 NOVA electronics Inc accofst 0x3 0 range 0x3 800000 acac 0x3 1010 dcac 0x3 1010 acc 0x3 100 dec 0x3 100

Download Pdf Manuals

image

Related Search

Related Contents

Jasco RM24918 User's Manual  種 類 性質による分類 個 別 仕 様 書  O P H T A L M O L O G I E Hygiène & Soin  DELUXE TISCHRADIO - CONRAD Produktinfo.  Suunto Observer - Pocket User's Manual  User Manual - Truck Utilities Inc  Télécharger (168 ko)      

Copyright © All rights reserved.
Failed to retrieve file