System Design Guide for Master
|
|
- Ann Franklin
- 5 years ago
- Views:
Transcription
1 System Design Guide for Master Motor Business Unit Appliances Company 2012/1/31 Rev. 2 Page 1
2 Revision History Revision Date Change Description /7/14 Initial Release /1/31 P1 Changed title from A Guide for Firmware Development. P3 Added introduction. P7 Added SH7216 example. P19 Added SH7145 example. P25 Added TMS320F28335 example. Deleted SH7065 example. Deleted TMS320VC example. P58 Added overview of profile position I/F. P72 Added internal-timer using system. Minor edits. 2012/1/31 Rev. 2 Page 2
3 Introduction To control transmit-timing, MNM1221 has two timer sources that are an external-timer and an internal-timer. This document describes examples of the external-timer using system in chapter 1, and the internal-timer using system in chapter 2. MNM1221 External Timer XTXTIM Internal Timer Sel Frame TX Timing Transmitter MII XSYNC Receiver Frame RX Completed Timing XINTRX 2012/1/31 Rev. 2 Page 3
4 Timing Signal Pins of MNM1221 For using the external-timer. If not using, tie to +3.3V. For using the internal-timer. If not using, leave unconnected. Input as a trigger to transmit (Falling edge) T = 0.5ms MNM1221 Output at transmitted (pulse width: 1.28us) XTXTIM XSYNC Pulse width: min 1us XINTRX Output at received (pulse width: 1.28us) Note: If not in RUNNING state, XTXTIM input is ignored. Init-A and Init-B frame in RING-CONFIG state are automatically transmitted with internal timer of MNM /1/31 Rev. 2 Page 4
5 Chapter 1 External-Timer Using System 2012/1/31 Rev. 2 Page 5
6 Goal of Timing Control The goal is to make the following timing: Offset to transmit after data exchange Command Update Period: 1ms Com. Period: 0.5ms Interrupt for NC calculation W R NC calculation W R NC calculation Com. Frame* TXD RXD Data exchange between CPU and MNM1221 #1 OK #2 Error #3 OK #4 OK RX interrupt M_RXMEM_HOLD register RX memory data of CPU-reading side in MNM1221 Bank switched Bank switched Bank switched #1 Data #3 Data #4 Data If a CRC error is detected in RX data, the RX bank is not switched in RX interrupt routine. In this case, previous RX data is read in the data exchange at the beginning of NC calculation. * One frame contains data of all slave nodes, and its length depends on the number of connected nodes. 2012/1/31 Rev. 2 Page 6
7 Example for SH7216 (Renesas) 2012/1/31 Rev. 2 Page 7
8 Timing Circuit 0.5ms CPU SH7216 To ensure level at reset. 3.3V ASIC MNM1221 PWM mode2 CLK: 50MHz (200MHz / 4) Timer MTU2 Ch1 TIOC1B TX timing XTXTIM Counter MTU2 Ch2 TCLKA CLK: Rising edge of TCLKA Counter clear and interrupt start at compare match of TGRA_2 Interrupt IRQ3 RX timing XINTRX - - MTU2-Ch1 MTU2-Ch1 generates generates TX TX timing timing signal. signal. For For 0.5ms, 0.5ms, TGRA_1 TGRA_1 = = 24999(0x61A7)@50MHz 24999(0x61A7)@50MHz - - MTU2-Ch2 MTU2-Ch2 divides divides this this signal, signal, and and generates generates the the start start signal signal for for NC NC calculating calculating interrupt. interrupt. For For 1ms, 1ms, TGRA_2 TGRA_2 = = IRQ3 IRQ3 by by XINTRX XINTRX of of MNM1221 MNM1221 causes causes RX RX interrupt. interrupt. 2012/1/31 Rev. 2 Page 8
9 Multiplex Interrupt Setting Source Trigger Priority Period Operation TGIA_2 Compare match of MTU2 Ch2-1ms - Communication data exchange - NC calculation /IRQ3 RX complete Higher than TGIA_2 0.5ms - Communication status check - RX memory bank switch 2012/1/31 Rev. 2 Page 9
10 Timing Chart 1 TGRA_1 = TGRA_1 Comm. period 0.5ms NC period 1ms TCNT_1 TGRB_1 TIOC1B TCLKA Adjust TGRB_1 (approx ms) TGRA_2 = 1 TGRA_2 TCNT_2 > Interrupt for NC calculation Data exchange W R NC calculation W R NC calculation 2012/1/31 Rev. 2 Page 10
11 Timing Chart 2 Adjust TGRB_2 to make After the data exchange, Low. The data exchange time must be measured by an oscilloscope. NC period: 1ms Com. Period: 0.5ms TIOC1B TCLKA TCNT_ Interrupt for NC calculation W R NC calculation W R NC calculation Com. Frame TXD RXD Data exchange Approx. RX interrupt These time are in proportion to the number of axes. 2012/1/31 Rev. 2 Page 11
12 Bus Connection ASIC MNM1221 Pullups must be installed on all CPU pins except WAIT to ensure level at reset. CPU SH7216 D31 D31 D0 D0 A10 A10 A2 A2 A1 A0 +3.3V MODE1 MODE0 BUSMODE XCS XRD XWR CSn RD WRL XWAIT WAIT 2012/1/31 Rev. 2 Page 12
13 Example for SH7206 (Renesas) 2012/1/31 Rev. 2 Page 13
14 Timing Circuit CPU SH ms ASIC MNM1221 PWM mode2 CLK: MHz ( MHz x 2) Timer MTU2 Ch2 TIOC2B TX timing XTXTIM Counter MTU2 Ch0 TCLKD CLK: Rising edge of TCLKD Counter clear and interrupt start at compare match of TGRA_0 Interrupt IRQ0 RX timing XINTRX - - MTU2-Ch2 MTU2-Ch2 generates generates TX TX timing timing signal. signal. For For 0.5ms, 0.5ms, TGRA_2 TGRA_2 = = 16666(0x411A)@ MHz 16666(0x411A)@ MHz - - MTU2-Ch0 MTU2-Ch0 divides divides this this signal, signal, and and generates generates the the start start signal signal for for NC NC calculating calculating interrupt. interrupt. For For 1ms, 1ms, TGRA_0 TGRA_0 = = IRQ2 IRQ2 by by XINTRX XINTRX of of MNM1221 MNM1221 causes causes RX RX interrupt. interrupt. 2012/1/31 Rev. 2 Page 14
15 Multiplex Interrupt Setting Source Trigger Priority Period Operation TGIA_0 Compare match of MTU2 Ch0-1ms - Communication data exchange - NC calculation /IRQ0 RX complete Higher than TGIA_0 0.5ms - Communication status check - RX memory bank switch 2012/1/31 Rev. 2 Page 15
16 Timing Chart 1 TGRA_2 = 1666 TGRA_2 Comm. period 0.5ms NC period 1ms TCNT_2 TGRB_2 TIOC2B TCLKD Adjust TGRB_2 (approx ms) TGRA_0 = 1 TGRA_0 TCNT_0 > Interrupt for NC calculation Data exchange W R NC calculation W R NC calculation 2012/1/31 Rev. 2 Page 16
17 Timing Chart 2 Adjust TGRB_2 to make After the data exchange, Low. The data exchange time must be measured by an oscilloscope. NC period: 1ms Com. Period: 0.5ms TIOC2B TCLKD TCNT_ Interrupt for NC calculation W R NC calculation W R NC calculation Data exchange Approx. TXD RXD RX interrupt These time are in proportion to the number of axes. 2012/1/31 Rev. 2 Page 17
18 Bus Connection ASIC MNM1221 CPU SH7206 D31 D31 D0 D0 A10 A10 A2 A2 A1 A0 +3.3V MODE1 MODE0 BUSMODE XCS XRD XWR CSn RD WE0 XWAIT WAIT Note: Because each pin of SH7206 has weak-keeper, it is not necessary to install external pullups on bus-interface pins. 2012/1/31 Rev. 2 Page 18
19 Example for SH7145 (Renesas) 2012/1/31 Rev. 2 Page 19
20 Timing Circuit 0.5ms PWM mode2 CLK: MHz (12.288MHz x 2) Timer CPU SH7145 To ensure level at reset. MTU Ch2 TIOC2B 3.3V TX timing ASIC MNM1221 XTXTIM Counter MTU Ch0 TCLKD CLK: Rising edge of TCLKD Counter clear and interrupt start at compare match of TGRA_0 Interrupt IRQ2 RX timing XINTRX - - MTU-Ch2 MTU-Ch2 generates generates TX TX timing timing signal. signal. For For 0.5ms, 0.5ms, TGRA_2 TGRA_2 = = 12287(0x2FFF)@24.576MHz 12287(0x2FFF)@24.576MHz - - MTU-Ch0 MTU-Ch0 divides divides this this signal, signal, and and generates generates the the start start signal signal for for NC NC calculating calculating interrupt. interrupt. For For 1ms, 1ms, TGRA_0 TGRA_0 = = IRQ2 IRQ2 by by XINTRX XINTRX of of MNM1221 MNM1221 causes causes RX RX interrupt. interrupt. 2012/1/31 Rev. 2 Page 20
21 Multiplex Interrupt Setting Source Trigger Priority Period Operation TGIA_0 Compare match of MTU Ch0-1ms - Communication data exchange - NC Calculation /IRQ2 RX complete Higher than TGIA_0 0.5ms - Communication status check - RX memory bank switch 2012/1/31 Rev. 2 Page 21
22 Timing Chart 1 TGRA_2 = TGRA_2 Comm. period 0.5ms NC period 1ms TCNT_2 TGRB_2 TIOC2B TCLKD Adjust TGRB_2 (approx ms) TGRA_0 = 1 TGRA_0 TCNT_0 > Interrupt for NC calculation Data exchange W R NC calculation W R NC calculation 2012/1/31 Rev. 2 Page 22
23 Timing Chart 2 Adjust TGRB_2 to make After the data exchange, Low. The data exchange time must be measured by an oscilloscope. NC period: 1ms Com. Period: 0.5ms TIOC2B TCLKD TCNT_ Interrupt for NC calculation W R NC calculation W R NC calculation Com. Frame TXD RXD Data exchange Approx. RX interrupt These time are in proportion to the number of axes. 2012/1/31 Rev. 2 Page 23
24 Bus Connection ASIC MNM1221 Pullups must be installed on all CPU pins except WAIT to ensure level at reset. CPU SH7145 D31 D31 D0 D0 A10 A10 A2 A2 A1 A0 +3.3V MODE1 MODE0 BUSMODE XCS XRD XWR CSn RD WRL XWAIT WAIT 2012/1/31 Rev. 2 Page 24
25 Example for TMS320F28335 (TI) 2012/1/31 Rev. 2 Page 25
26 Timing Circuit 0.5ms CPU TMS320F28335 To ensure level at reset. +3.3V ASIC MNM1221 TBCLK: e.g. 75MHz Timer epwm 1 EPWM1A TX timing XTXTIM Counter ecap 6 ECAP6 Select rising edge for capture event, and divide with event prescaler. Interrupt GPIO2 RX timing XINTRX - - epwm1 epwm1 generates generates TX TX timing timing signal. signal. For For 0.5ms, 0.5ms, TBPRD TBPRD = = 37499(0x927B)@TBCLK 37499(0x927B)@TBCLK 75MHz 75MHz - - ecap6 ecap6 divides divides this this signal, signal, and and generates generates the the start start signal signal for for NC NC calculating calculating interrupt. interrupt. For For 1ms, 1ms, PRESCALE PRESCALE = = External External interrupt interrupt by by XINTRX XINTRX through through GPIO2 GPIO2 causes causes RX RX interrupt. interrupt. 2012/1/31 Rev. 2 Page 26
27 Multiplex Interrupt Setting Source Trigger Priority Period Operation ECAP6 INT Capture event of ecap6-1ms - Communication data exchange - NC calculation XINT through GPIO2 RX complete Higher than ECAP6 0.5ms - Communication status check - RX memory bank switch 2012/1/31 Rev. 2 Page 27
28 Timing Chart 1 TBCLK TBPRD 75MHz (0x927B) NC period 1ms 37.5MHz 18.75MHz (0x493D) 9374 (0x249E) TBPRD Comm. period 0.5ms TBCTR CMPA Adjust CMPA (approx ms) EPWM1A ECAP6 Prescaler output > 0 PSout div 2 Interrupt for NC calculation Data exchange W R NC calculation W R NC calculation Interrupt by rising edge of event Enable Enable all all capture capture event event 1 1 to to 4 4 as as interrupt interrupt source, source, and set capture mode to continuous. and set capture mode to continuous. 2012/1/31 Rev. 2 Page 28
29 Timing Chart 2 Adjust CMPA to make After the data exchange, Low. The data exchange time must be measured by an oscilloscope. NC period: 1ms Com. Period: 0.5ms EPWM1A ECAP6 PSout div 2 Interrupt for NC calculation W R NC calculation W R NC calculation Com. Frame TXD RXD Data exchange Approx. RX interrupt These time are in proportion to the number of axes. 2012/1/31 Rev. 2 Page 29
30 Bus Connection ASIC MNM1221 D31 D0 XD31 XD0 CPU TMS320F28335 For data bus, internal pullups on each pin must be enabled with CPU configuration. A10 A2 A1 A0 XA9 XA1 XA0 / XWE1 +3.3V MODE1 MODE0 BUSMODE XCS XRD XWR XZCSn XRD XWE0 XWAIT XREADY Note: TMS320F28335 has 16bit-unit address bus. 2012/1/31 Rev. 2 Page 30
31 Important Notes for Address Although MNM1221 has 8bit-unit address bus, TMS320F28335 has 16bit-unit. Therefore each address connection must be shifted 1, such as A2(MNM1221) - XA1(TMS320F28335). Also in the example code, all address definitions must be modified as follows: mnm1221_m.h Change according to # of XZCS. XZCS0: 0x XZCS6: 0x XZCS7: 0x Delete this line. For each address definition, change like this: (ADDR_MNM (0x0000 >> 1)) 2012/1/31 Rev. 2 Page 31
32 Details of TMS320F28335 Configuration 2012/1/31 Rev. 2 Page 32
33 Period 0.5ms Setting for epwm Setting for 0.5ms: TBCLK 75MHz (150MHz / 2) 37.5MHz (150MHz / 4) 18.75MHz (150MHz / 8) TBPRD (0x927B) (0x493D) 9374 (0x249E) 2012/1/31 Rev. 2 Page 33
34 Interrupt by ecap Captured data is not used because of interrupt use only. Using area for interrupt 2012/1/31 Rev. 2 Page 34
35 Event Prescaler inside ecap 2012/1/31 Rev. 2 Page 35
36 ECCTL1 Register 2012/1/31 Rev. 2 Page 36
37 ECCTL2 Register 2012/1/31 Rev. 2 Page 37
38 ECEINT Register Disable Enable 2012/1/31 Rev. 2 Page 38
39 ECCLR Register At the beginning of interrupt routine, interrupt flags must be cleared to prepare the next interrupt /1/31 Rev. 2 Page 39
40 Capture Interrupt Sequence Interrupt occurring: CEVT1 CEVT2 CEVT3 CEVT4 CEVT1 2012/1/31 Rev. 2 Page 40
41 Example for CPU without Internal Timer 2012/1/31 Rev. 2 Page 41
42 Timing Circuit CPU IRQn T = 1ms ASIC MNM1221 Interrupt SN74LV4040A T = 0.5ms QL(Q12) QK(Q11) SN74LVC74A D Q TX timing XTXTIM 4.096MHz QJ(Q10) CLK Q Timing Shift Interrupt IRQm RX timing Counter XINTRX At system reset, CLR* = L and PRE* = H should be inputted to clear Q output. Priority: IRQm > IRQn At system reset, CLR = H should be inputted to clear all outputs. 2012/1/31 Rev. 2 Page 42
43 Timing Chart 1 Counter QJ (Q10) T = 250us 74LV4040 QK (Q11) T = 500us QL (Q12) T = 1ms Timing Shift 125us Q of 74LVC74 T = 500us 2012/1/31 Rev. 2 Page 43
44 Timing Chart 2 NC period: 1ms IRQn of CPU T = 1ms XTXTIM of MNM1221 T = 500us 125us Com. period: 500us It is assumed that the data exchange is done within 125us. NC Calculation Interrupt W R NC Calculation W R NC Calculation Data exchange Approx. TXD RXD IRQm of CPU T = 500us 2012/1/31 Rev. 2 Page 44
45 Location of Example Codes 2012/1/31 Rev. 2 Page 45
46 Location of Example Codes These functions have to be made by yourself. Example code Function ctrl_mnm1221_m() - Controlling MNM Exchanging communication data Reading response data from buffer rx_buf[] Generating motion profile Writing command data to buffer tx_buf[] NC calculation Interrupt T=1ms W R NC calculation Priority RX Interrupt T=0.5ms Interrupt Return Multiplex nested interrupt Higher Note: If there is timing conflict between data exchange and RX interrupt, the RX interrupt must be disabled during the data exchange. Example code Function int_rx_mnm1221() - Checking communication status - RX memory bank switch 2012/1/31 Rev. 2 Page 46
47 An Example of NC Calculation void int_nc_calc(void) { short phase; The next phase phase = ctrl_mnm1221_m(); COM LED control This function includes the data exchange between the buffer and MNM1221. The time for the exchange depends on the number of axes. if (phase!= PH_RUNNING) { } return; Reading response data from buffer rx_buf[] Generating motion profile Command operation If not in RUNNING, get away. At any timing, you can access the rx_buf[] and tx_buf[]. Also, you do not have to access at once. } Writing command data to buffer tx_buff[] 2012/1/31 Rev. 2 Page 47
48 COM-LED operation Phase of Firmware Firmware operation T = 1ms Timing Chart at Start-up TX Init frame 500us Confirm Ready State Error check of of Slave information Cyclic Start INIT WAITING PREPARE START RUNNING 1ms When error, set COM-LED to RED OFF Flashing GREEN (0.5s ON, 0.5s OFF) GREEN From here, Start NC calculation XTXTIM TX RX Init-A T = 2ms Init-B Invalid Data (NOP) Real-time Valid Data When Slave NOT established, MNM1221 repeats TX. XSYNC XINTRX State of MNM1221 INITIAL RING-CONFIG READY RUNNING 2012/1/31 Rev. 2 Page 48
49 Notes of Using Example Codes 2012/1/31 Rev. 2 Page 49
50 Data Structure (32bit) The following shows the structure of one element of tx_buf[] or rx_buf[] array when 32bit bus access. Bit 31 Bit 24 Bit 23 Bit 16 Bit 15 Bit 8 Bit 7 Bit 0 data[0] byte3 byte2 byte1 byte0 One element of tx_buf[] or rx_buf[] data[1] data[2] data[3] byte7 byte6 byte5 byte4 byteb bytea byte9 byte8 bytef bytee byted bytec byte0 to F is corresponding to contents of a data block consisting of 16bytes. 2012/1/31 Rev. 2 Page 50
51 Data Structure (16bit) The following shows the structure of one element of tx_buf[] or rx_buf[] array when 16bit bus access. One element of tx_buf[] or rx_buf[] data[0] data[1] data[2] data[3] data[4] data[5] data[6] data[7] Bit 15 byte1 byte3 byte5 byte7 byte9 byteb byted bytef Bit 8 Bit 7 byte0 byte2 byte4 byte6 byte8 bytea bytec bytee Bit 0 byte0 to F is corresponding to contents of a data block consisting of 16bytes. 2012/1/31 Rev. 2 Page 51
52 Status LEDs for Communication COM (green and red) 2 Output Port LINK (green) Input Port RJ45 RJ45 PHY MII ASIC MNM1221 CPU 25MHz 2012/1/31 Rev. 2 Page 52
53 COM LED Operation COM LED which has red and green lights should be operated as follows: Normally Return value of ctrl_mnm1221_m() PH_INIT PH_WAITING PH_PREPARE PH_START PH_RUNNING COM LED operation Disappearance Flashing Green (0.5s ON, 0.5s OFF) Solid Green Error detected Contents of error Timeout in RUNNING state Mismatch of slave information (e.g. duplicate MAC-ID) COM LED operation Flashing Red (0.5s ON, 0.5s OFF) Solid Red Notes: - Solid Red means that a system reset is necessary to release the error. - Either green or red must be lighted. 2012/1/31 Rev. 2 Page 53
54 Overview of Cyclic Position I/F 2012/1/31 Rev. 2 Page 54
55 Data Block Command (TX) Normally, set 0x20 (Position). Response (RX) bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 byte0 0 (CMD) Update Counter MAC-ID byte0 1 (RSP) Update Counter Echo Actual MAC-ID byte1 0 Command Code byte1 CMD Error Command Code Echo byte2 Servo On 0 0 Gain SW TL SW HM Ctrl 0 0 byte2 Servo Act. Servo Ready Alarm Warn. TL HM Comp. In Prog. In Pos. byte3 Hard Stop SMT Stop Pause 0 SL SW 0 EX- OUT2 EX- OUT1 byte3 SI- MO5 SI- MO4 EXT 3 EXT 2 SI- MO1 Home POT NOT byte4 byte5 byte6 byte7 Command Position Low byte Low Middle byte High Middle byte High byte byte4 byte5 byte6 byte7 Actual Position Low byte Low Middle byte High Middle byte High byte byte8 byte9 bytea byteb Command Data 2 Low byte Low Middle byte High Middle byte High byte byte8 byte9 bytea byteb Response Data 2 Low byte Low Middle byte High Middle byte High byte bytec byted bytee bytef Command Data 3 Low byte Low Middle byte High Middle byte High byte bytec byted bytee bytef Response Data 3 Low byte Low Middle byte High Middle byte High byte Note: In cyclic position I/F, at least red portions must be supported. 2012/1/31 Rev. 2 Page 55
56 Command at Start-up Time MNM1221_M_CYCL_START (Register in MNM1221) Start MAC-ID Valid data Update Counter 0 1ms Command data block Command Code 0x00 (NOP) 0x20 (Position) Command Position 0 (free) Valid data Servo On Off On Note: This time chart shows an example of cyclic position I/F. During Servo Off, Command Position should be set with Actual Position value of Response. 2012/1/31 Rev. 2 Page 56
57 Cyclic Position I/F Velocity Time Command Position [pulse] Cmd. Update Period (NC calculation period) 1 /0.5/0.166ms (Select with parameter) Time Absolute (not incremental) value must be used. Default polarity: + CCW, - CW 2012/1/31 Rev. 2 Page 57
58 Overview of Profile Position I/F 2012/1/31 Rev. 2 Page 58
59 Command Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 C/R (0) TMG CNT Servo On Hard Stop Update Counter MAC-ID (0 to 31) 0 0 Smooth Stop Gain SW 17h (Command Code) TL SW Homing Ctrl Pause 0 SL SW 0 Target Position 0 0 EX- OUT2 EX- OUT1 Byte7 Byte8 Type Code Byte9 0 Byte10 0 Mode, Inc/Abs Byte11 Byte12 Byte13 Byte14 Monitor Sel Target Speed Byte /1/31 Rev. 2 Page 59
60 Response Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Byte0 C/R (1) Update Counter Echo Actual MAC-ID (0 to 31) Byte1 CMD Error 17h (Command Code Echo) Byte2 Servo Active Servo Ready Alarm Warning Torque Limited Homing Complete In Progress In Position Byte3 SI-MON5 /E-STOP SI-MON4 /EX-SON SI-MON3 /EXT3 SI-MON2 /EXT2 SI-MON1 /EXT1 Home POT /NOT NOT /POT Byte4 Byte5 Byte6 Actual Position Byte7 Byte8 Type Code Echo Byte9 ERR WNG 0 BUSY PSL /NSL NSL /PSL NEAR Latch Compl Byte10 0 Byte11 Byte12 Byte13 Byte14 Monitor Sel Echo Monitor Data Byte /1/31 Rev. 2 Page 60
61 Start When In Progress = 0, a change of Command Code 10h to 17h makes servo start motion. Acceleration and deceleration are preset with parameter. Abs/Inc is set with Type Code at start. Target Speed Speed s1 Acceleration Pr8.01 Deceleration Pr8.04 Time Target Position p1 Position Time Command Code 10h 17h Target Position, Speed p1, s1 In Progress (Response) 2012/1/31 Rev. 2 Page 61
62 Changing T Speed in Motion When In Progress = 1, target speed can be changed. Even if changing target speed to 0 or Pause to 1, In Progress keeps 1 during stop. Speed s1 s2 Time Command Code 10h 17h Target Speed s1 s2 In Progress (Response) 2012/1/31 Rev. 2 Page 62
63 Modifying the Example Code 2012/1/31 Rev. 2 Page 63
64 Definition for Bus Access mnm1221_m.h Modify this address value in order to suit to the located address of MNM bit bus: Delete this. 16bit bus: Leave this. 2012/1/31 Rev. 2 Page 64
65 Definition of Variables mnm1221_m.c For fast access, locate this communication buffers on the internal RAM of CPU if possible. 2012/1/31 Rev. 2 Page 65
66 Slave Information Table mnm1221_m.c When test, modify these values according to actual your system. In one-axis case, make these lines comment. And change this number to /1/31 Rev. 2 Page 66
67 Slave Information Table (Cont.) Structure of Slave Information data: Bit 15 Bit 14 Bit 13 Bit 12 Bit 8 Bit 7 Bit 6 Bit 5 Bit 0 ACT MODE MAC-ID 0 0 Number of Blocks Set node address Set 1 (generic slave) Set 1 Active: 1 (present) Inactive: 0 (absent) 2012/1/31 Rev. 2 Page 67
68 Style of Initializing Variables ctrl_mnm1221_m() in mnm1221_m.c To set variable phase to 0 after reset, select this value (0 or 1) according to your initializing process. 2012/1/31 Rev. 2 Page 68
69 Checking Slave Information ctrl_mnm1221_m() in mnm1221_m.c Add the routine when an error is detected in READY state. In actual application, the phase should not be changed to PH_RESET until releasing errors. 2012/1/31 Rev. 2 Page 69
70 Starting Cyclic Transmission ctrl_mnm1221_m() in mnm1221_m.c This process is to set a initial transmit data including MACID. Since this is for initial test, your proper process is needed. If you leave this as it is, clr_mnm1221_tx_mem() should be deleted to avoid duplicate initializing. The data exchange function is used provisionally. But the reading of the exchange is unnecessary. 2012/1/31 Rev. 2 Page 70
71 In Running State ctrl_mnm1221_m() in mnm1221_m.c After test, you have to remove. Add the routine when time-out error is detected. At that time, Servo-OFF must be commanded to all servos for safety. In actual application, the phase should not be changed to PH_RESET until releasing errors. 2012/1/31 Rev. 2 Page 71
72 Chapter 2 Internal-Timer Using System 2012/1/31 Rev. 2 Page 72
73 The Point of System Set both Command Update Period and Communication Period to the same time. Start NC calculation interrupt with MNM1221 XSYNC. If not using RX interrupt, detect timeout error by software using Update Counter Echo. 2012/1/31 Rev. 2 Page 73
74 Period Setting of A5N Drive Set both command update period and communication period to the same. Default setting must be changed. Update Period Com. Period Pr7.20 Setting Name Range Description Pr ms 1.000ms ms 0.500ms ms 0.500ms ms 0.166ms ms 0.083ms 0 2 Pr7.20 Communication Period 0 to 12 Pr7.21 Ratio of Command Update Period 1 to 2 0: 0.083ms 1: 0.166ms 3: 0.5ms 6: 1.0ms Else: Do not set. (Reserved) Command Update / Communication Period 1: 1 2: 2 (Com.=0.5ms case only) 2012/1/31 Rev. 2 Page 74
75 Goal of Timing Control The goal is to make the following timing: Command Update Period = Communication Period Interrupt for NC calculation R NC calculation W R NC calculation W R Com. Frame* TXD RXD Data exchange between CPU and MNM1221 #1 OK #2 Error #3 OK RX interrupt for WDT clear Deferred due to lower priority M_RXMEM_HOLD register RX memory data of CPU-reading side in MNM1221 Bank switched During reading, set to 1 #1 OK Data Bank switched Because of error, do not read. #2 Error Data Regardless of CRC error, the RX bank is switched at RX completed. In NC calculation routine, when RX data is OK, the M_RXMEM_HOLD is set to 1 and RX data is read. * One frame contains data of all slave nodes, and its length depends on the number of connected nodes. 2012/1/31 Rev. 2 Page 75
76 Example for an Embedded CPU 2012/1/31 Rev. 2 Page 76
77 Timing Circuit When not in RUNNING state, CPU interrupt should be disabled. CPU NC Calculation Start ASIC MNM1221 IRQn Interrupt TX start timing XSYNC IRQm Interrupt RX completed timing XINTRX If not using RX interrupt, a timeout should be detected with the echo back of Update Counter in the data block. 2012/1/31 Rev. 2 Page 77
78 Recommended Timing XSYNC Com. period IRQn of CPU NC period R: Reading RX data W: Writing TX data NC Calculation Interrupt R NC Calc. W R NC Calc. W R NC Calc. W R NC Calc. W Com. Frame Data exchange Tf TX data flow TXD RXD XINTRX Tf: approx. 11us@1-axis to 300us@32-axis 2012/1/31 Rev. 2 Page 78
79 NOT Recommended Timing XSYNC IRQn of CPU Com. period If TX data writing is done at the beginning of NC calculation, it causes longer delay. NC period TX data flow R: Reading RX data W: Writing TX data NC Calculation Interrupt W R NC Calc. W R NC Calc. W R NC Calc. W R NC Calc. Note Com. Frame TXD RXD Data exchange XINTRX Note: At XSYNC falling edge, a frame has already been in transmitting, and the memory-bank switching after writing TX-data is deferred. Therefore the transmit timing is delayed for one communication period. 2012/1/31 Rev. 2 Page 79
80 Timeout Detection Example for Not Using RX Interrupt 2012/1/31 Rev. 2 Page 80
81 Update Counter Command (TX) Response (RX) bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 byte0 0 (CMD) Update Counter MAC-ID byte0 1 (RSP) Update Counter Echo Actual MAC-ID byte1 0 Command Code byte1 CMD Error Command Code Echo byte2 Servo On 0 0 Gain SW TL SW HM Ctrl 0 0 byte2 Servo Act. Servo Ready Alarm Warn. TL HM Comp. In Prog. In Pos. byte3 Hard Stop SMT Stop Pause 0 SL SW 0 EX- OUT2 EX- OUT1 byte3 SI- MO5 SI- MO4 EXT 3 EXT 2 SI- MO1 Home POT NOT byte4 byte5 byte6 byte7 Command Position Low byte Low Middle byte High Middle byte High byte byte4 byte5 byte6 byte7 Actual Position Low byte Low Middle byte High Middle byte High byte byte8 byte9 bytea byteb Command Data 2 Low byte Low Middle byte High Middle byte High byte byte8 byte9 bytea byteb Response Data 2 Low byte Low Middle byte High Middle byte High byte bytec byted bytee bytef Command Data 3 Low byte Low Middle byte High Middle byte High byte bytec byted bytee bytef Response Data 3 Low byte Low Middle byte High Middle byte High byte 2012/1/31 Rev. 2 Page 81
82 Timeout Detection If Update Counter Echo is not changed continuously for a certain time, timeout should be considered. Normal Command update period Error Detection Time Timeout Error If timeout is detected, servo-off must be commanded to all axes for safety. 2012/1/31 Rev. 2 Page 82
83 Modifying the Example Code See also corresponding clause in chapter 1. There are some abbreviations to prevent duplicate descriptions. 2012/1/31 Rev. 2 Page 83
84 COM-LED operation Phase of Firmware Firmware operation Timing at Start-up OFF Blinking GREEN (0.5s ON, 0.5s OFF) GREEN TX Init frame Confirm Ready State Error check of of Slave information Cyclic Start INIT WAITING PREPARE START RUNNING Main loop Note: In also RUNNING state, main loop operation is continued. When error, set COM-LED to RED Interrupt (NC calculation) IRQ Enable Interrupt Disable Enable Com. Frame TX RX Init-A T = 2ms Init-B Real-time During Slave NOT established, MNM1221 repeats Init-A TX. XSYNC XINTRX State of MNM1221 INITIAL RING-CONFIG READY RUNNING 2012/1/31 Rev. 2 Page 84
85 Task Assignment Task Trigger Priority Period Operation Main loop Controlling MNM1221 (including com-status check) - COM LED control XSYNC Interrupt TX start - e.g. 0.5ms - Communication data exchange - NC calculation - Timeout detection XINTRX Interrupt RX completed Lower than XSYNC Same as XSYNC - Watchdog timer clear Notes: - The interrupts must be disabled until RUNNING state. - If not using XINTRX interrupt, a timeout detection with Update Counter Echo is necessary. 2012/1/31 Rev. 2 Page 85
86 Location of Example Codes Transfer this function into main loop. Example code Function ctrl_mnm1221_m() - Controlling MNM Exchanging communication data For only data-exchanging xchg_com_data(), put it into NC calculation interrupt. Make these functions by yourself. Reading response data from buffer rx_buf[] Generating motion profile Writing command data to buffer tx_buf[] NC calculation interrupt (XSYNC interrupt) R NC calculation W Note XINTRX Deferred due to lower priority XINTRX interrupt Transfer into main loop and NC calculation interrupt. Example code Function int_rx_mnm1221() - Checking communication status - RX memory bank switch - Watchdog timer clear Note: If both RX completed and RX data reading are at the same time, it might cause a problem. When only a few axes are connected, there is this risk. To prevent it, the RX data reading should be put at the beginning of NC calculation. 2012/1/31 Rev. 2 Page 86
87 An Example of Location void int_nc_calc(void) { xchg_com_data(); Data exchanging between the buffer and MNM1221 Reading response data from buffer rx_buf[] Generating motion profile Command operation At any timing, you can access the rx_buf[] and tx_buf[]. Also, you do not have to access at once. Writing command data to buffer tx_buff[] } TX data writing Timeout detection This is transferred from xchg_com_data(). This is transferred from xchg_com_data(). 2012/1/31 Rev. 2 Page 87
88 MNM1221 initializing Replace this line. 0 MNM1221_M_TX_PERIOD = 0x30D4; /* T = 0.5ms */ MNM1221_M_TXTIM_SEL = 0; /* internal timer */ Communication Period 1ms 0.5ms 0.166ms MNM1221_M_ TX_PERIOD 0x61A8 0x30D4 0x /1/31 Rev. 2 Page 88
89 Reading State ctrl_mnm1221_m() in mnm1221_m.c Put this function into main loop. mnm1221.state = MNM1221_M_STATE; Insert this line. Here, insert an interrupt disable function provided by yourself. /* */ Delete this line. 2012/1/31 Rev. 2 Page 89
90 Starting Cyclic Transmission ctrl_mnm1221_m() in mnm1221_m.c This process is to set a initial transmit data including MACID. Since this is for initial test, your proper process is needed. If you leave this as it is, clr_mnm1221_tx_mem() should be deleted to avoid duplicate initializing. Here, insert an interrupt enable function provided by yourself. Replace with TX data writing extracted from xchg_com_data(). 2012/1/31 Rev. 2 Page 90
91 In Running State ctrl_mnm1221_m() in mnm1221_m.c Delete this. Add the routine when timeout detected in RUNNING state. At that time, Servo-OFF must be commanded to all servos for safety. In RUNNING state, since the data exchanging is transferred to the interrupt, there is nothing to be done in main loop. Transfer this timeout detection into NC calculation interrupt. 2012/1/31 Rev. 2 Page 91
92 Data Exchanging xchg_com_data() in mnm1221_m.c unsigned long ul_temp; Put this function to the beginning of NC calculation interrupt. Transfer this to the end of NC calculation interrupt. Note this is for 16-bit bus. TX data writing for 16-bit bus ul_temp = MNM1221_M_DCRC_ERR_H; ul_temp <<= 16; ul_temp = MNM1221_M_DCRC_ERR_L; mnm1221.data_crc_err = ul_temp; If (!mnm1221.data_crc_err) { MNM1221_M_RXMEM_HOLD = 1; RX data reading for 16-bit bus } MNM1221_M_RXMEM_HOLD = 0; 2012/1/31 Rev. 2 Page 92
93 Data Exchanging (Cont.) Transfer this to the end of NC calculation interrupt. Note this is for 32-bit bus. TX data writing for 32-bit bus mnm1221.data_crc_err = MNM1221_M_DCRC_ERR; If (!mnm1221.data_crc_err) { MNM1221_M_RXMEM_HOLD = 1; RX data reading for 32-bit bus } MNM1221_M_RXMEM_HOLD = 0; 2012/1/31 Rev. 2 Page 93
94 XINTRX Interrupt Delete this. 2012/1/31 Rev. 2 Page 94
95 XINTRX Interrupt (Cont.) Delete this. Leave watchdog timer clear only. 2012/1/31 Rev. 2 Page 95
96 Appendix System Consideration for 2 times communication one NC calculation This system is not recommended because of longer delay in TX data flow. 2012/1/31 Rev. 2 Page 96
97 Timing Chart XSYNC Divided by 2 Com. period Because TX data flow has longer delay of one com period than NC = com system, this system is not recommended. IRQn of CPU NC period TX data flow R: Reading RX data W: Writing TX data NC Calculation Interrupt W R NC calculation W R NC calculation Com. Frame Data exchange Approx. Note TXD RXD XINTRX Note: At XSYNC falling edge, a frame has already been in transmitting, and the memory-bank switching after writing TX-data is deferred. Therefore the transmit timing is delayed for one communication period. 2012/1/31 Rev. 2 Page 97
98 BAD Example XSYNC Divided by 2 Com. period IRQn of CPU NC period End timing is unstable! NC Calculation Interrupt R NC calculation W R NC calculation W R: Reading RX data W: Writing TX data Com. Frame Data exchange Right flow Wrong update period! Wrong flow (Earlier timing) TXD RXD XINTRX If TX data writing is done at the end of NC calculation, the transmit timing can be shorter delay. However the data update period cannot be constant because the end timing is unstable. 2012/1/31 Rev. 2 Page 98
Copley ASCII Interface Programmer s Guide
Copley ASCII Interface Programmer s Guide PN/95-00404-000 Revision 4 June 2008 Copley ASCII Interface Programmer s Guide TABLE OF CONTENTS About This Manual... 5 Overview and Scope... 5 Related Documentation...
More informationThe rangefinder can be configured using an I2C machine interface. Settings control the
Detailed Register Definitions The rangefinder can be configured using an I2C machine interface. Settings control the acquisition and processing of ranging data. The I2C interface supports a transfer rate
More informationCourse Introduction. Purpose: Objectives: Content: 24 pages 3 questions. Learning Time: 35 minutes
Course Introduction Purpose: This course provides an overview of the timer peripherals built into popular SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are members of the SuperH series
More informationASCII Programmer s Guide
ASCII Programmer s Guide PN/ 16-01196 Revision 01 April 2015 TABLE OF CONTENTS About This Manual... 3 1: Introduction... 6 1.1: The Copley ASCII Interface... 7 1.2: Communication Protocol... 7 2: Command
More informationFirmware Specification
control EPOS Positioning Controller Edition April 2005 Positioning Controller Documentation 1 Table of contents 1 Table of contents... 2 2 Table of figures... 6 3 Table of tables... 7 4 Introduction...
More informationMercury technical manual
v.1 Mercury technical manual September 2017 1 Mercury technical manual v.1 Mercury technical manual 1. Introduction 2. Connection details 2.1 Pin assignments 2.2 Connecting multiple units 2.3 Mercury Link
More informationMR-J3- A-RJ158 + MR-J3-T04 (EtherCAT Servo) Trouble Shooting Guideline (Document for oversea sales office)
MR-J3- A-RJ158 + MR-J3-T04 (EtherCAT Servo) Trouble Shooting Guideline (Document for oversea sales office) 1.EtherCAT related alarms and counteraction December 2 nd, 2012 Drive System Standard Development
More informationCourse Introduction. Content 20 pages 3 questions. Learning Time 30 minutes
Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives
More information10 Error Code List. Motion Control SW. NTI AG / LinMot User Manual Motion Control SW/ Page 87/94
Motion Control SW L i n M o t 10 List Code Description Actions to take 0000h No Error No error is pending. 0001h X4 Logic Supply Too Low The logic supply voltage has been too low. The minimal logic supply
More informationPololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation
Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation Quick Parameter List: 0x00: Device Number 0x01: Required Channels 0x02: Ignored Channels 0x03: Reversed Channels 0x04: Parabolic
More informationBLuAC5 Brushless Universal Servo Amplifier
BLuAC5 Brushless Universal Servo Amplifier Description The BLu Series servo drives provide compact, reliable solutions for a wide range of motion applications in a variety of industries. BLu Series drives
More informationCprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones
CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones 1 Announcements HW8: Due Sunday 10/29 (midnight) Exam 2: In class Thursday 11/9 This object detection lab
More information30-80V, 8.2A Peak, No Tuning, Nulls loss of Synchronization
2-phase Hybrid Servo Drive 30-80V, 8.2A Peak, No Tuning, Nulls loss of Synchronization Closed-loop, eliminates loss of synchronization Broader operating range higher torque and higher speed Reduced motor
More informationA Sequencing LSI for Stepper Motors PCD4511/4521/4541
A Sequencing LSI for Stepper Motors PCD4511/4521/4541 The PCD4511/4521/4541 are excitation control LSIs designed for 2-phase stepper motors. With just one of these LSIs and a stepper motor driver IC (e.g.
More informationHello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.
Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. 1 The purpose of this course is to provide an introduction to the RL78 timer Architecture.
More informationCopley Amplifier Parameter Dictionary
Copley Amplifier Parameter Dictionary Part Number CC95-00716-000 Revision A June 2009 TABLE OF CONTENTS About This Manual...5 1: Introduction...9 1.1: Scope and Purpose of this Book...9 1.2: Organization
More informationI-7088, I-7088D, M-7088 and M-7088D User Manual
I-7088, I-7088D, M-7088 and M-7088D User Manual I-7000 New Features 1. Internal Self Tuner 2. Multiple Baud Rates 3. Multiple Data Formats 4. Internal Dual WatchDog 5. True Distributed Control 6. High
More informationES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)
ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder) Traditional stepper motor drive systems operate open loop providing position control without feedback. However, because of this,
More informationAZ Series. Function Edition. Closed Loop Stepping Motor and Driver Package. Operation. I/O signals. Parameter
HM-6262 Closed Loop Stepping Motor and Driver Package Operation I/O signals Parameter AZ Series Function Edition Method of control via Modbus RTU (RS-485 communication) Method of control via industrial
More informationUsing the Z8 Encore! XP Timer
Application Note Using the Z8 Encore! XP Timer AN013104-1207 Abstract Zilog s Z8 Encore! XP microcontroller consists of four 16-bit reloadable timers that can be used for timing, event counting or for
More informationES86 Series Closed-loop Stepper Drive + Motor System (ES-D808 Drive+ Motor/Encoder)
ES86 Series Closed-loop Stepper Drive + Motor System (ES-D808 Drive+ Motor/Encoder) Traditional stepper motor drive systems operate open loop providing position control without feedback. However, because
More informationPulse period. Pulse low width. Pulse high width. Pulse high width. Pulse high width Pulse period
APPLICATION NOTE SH7046 Group 1. Specifications Positive-phase and negative-phase 3-phase pulse (duty pulse) output is performed that allows the pulse high width and duty to be varied, as shown in figure
More informationICS3.5 Software Manual Command Refarence
ICS3.5 Software Manual Command Refarence KONDO KAGAKU CO.,LTD Aug, 2015 1st Edition Disclaimer This command reference has been released for reference purposes only. Therefore, it is used entirely at your
More informationApplied Motion Products CANopen Manual
Applied Motion Products CANopen Manual APPLIED MOTION PRODUCTS, INC. 920-0025 Rev. F (This page intentionally left blank) 920-0025 Rev. F 2 Introduction This manual describes Applied Motion Products CANopen
More informationDMM Technology Corp. DYN AC Servo Drive Modbus RTU Specification [DYNMB1-BL A ] Document Version 1.0A Published Sept 17, 2017
DMM Technology Corp. DYN AC Servo Drive Modbus RTU Specification [DYNMB1-BL1645-10A ] Document Version 1.0A Published Sept 17, 2017 March 02, 2017 Version 1.0 1. Overview The DYN2 and DYN4 servo drive
More informationWMX2 Parameter Manual
WMX2 Parameter Manual Revision 2.0030 2016 Soft Servo Systems, Inc. Warning / Important Notice Warning The product described herein has the potential through misuse, inattention, or lack of understanding
More informationUltrasonic Multiplexer OPMUX v12.0
Przedsiębiorstwo Badawczo-Produkcyjne OPTEL Sp. z o.o. ul. Morelowskiego 30 PL-52-429 Wrocław tel.: +48 (071) 329 68 54 fax.: +48 (071) 329 68 52 e-mail: optel@optel.pl www.optel.eu Ultrasonic Multiplexer
More informationES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)
ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder) Traditional stepper motor drive systems operate open loop providing position control without feedback. However, because of this,
More informationCOMMUNICATION MODBUS PROTOCOL MFD44 NEMO-D4Le
COMMUNICATION MODBUS PROTOCOL MFD44 NEMO-D4Le PR129 20/10/2016 Pag. 1/21 CONTENTS 1.0 ABSTRACT... 2 2.0 DATA MESSAGE DESCRIPTION... 3 2.1 Parameters description... 3 2.2 Data format... 4 2.3 Description
More informationCatalog
- 1 - Catalog 1. Overview... - 3-2. Feature...- 3-3. Application... - 3-4. Block Diagram... - 3-5. Electrical Characteristics...- 4-6. Operation...- 4-1) Power on Reset... - 4-2) Sleep mode...- 4-3) Working
More informationThe Guide book for L7N Drive (Operating by XGT(PN8B) 21.Feb, 2014 SI team/wonkee Son LS Mecapion
The Guide book for L7N Drive (Operating by XGT(PN8B) 21.Feb, 2014 SI team/wonkee Son LS Mecapion 1 Contents 1. Model name 2. Wiring 3. Connect PLC and Servo 4. Operation parameters settings 5. Servo parameters
More informationBLuAC5 Brushless Universal Servo Amplifier
BLuAC5 Brushless Universal Servo Amplifier Description The BLu Series servo drives provide compact, reliable solutions for a wide range of motion applications in a variety of industries. BLu Series drives
More informationCompact Multiprotocol I/O Module for Ethernet 8 Universal Digital Channels, Configurable as PNP Inputs or 0.5A Outputs TBEN-S1-8DXP
PROFINET device, EtherNet/IP device or Modbus TCP slave Integrated Ethernet switch Supports 10 Mbps/100 Mbps 2x M8, 4-pin, Ethernet fieldbus connection Glass fiber reinforced housing Shock and vibration
More informationMTY (81)
This manual describes the option "d" of the SMT-BD1 amplifier: Master/slave electronic gearing. The general information about the digital amplifier commissioning are described in the standard SMT-BD1 manual.
More informationCL86T. 24~80VDC, 8.2A Peak, Closed-loop, No Tuning. Descriptions. Closed-loop. Stepper. Applications. Datasheet of the Closed-loop Stepper CL86T
CL86T Closed-loop Stepper 24~80VDC, 8.2A Peak, Closed-loop, No Tuning Closed-loop, eliminates loss of synchronization Broader operating range higher torque and higher speed Reduced motor heating and more
More informationPROFINET USER S GUIDE ACSI Servo
PROFINET USER S GUIDE ACSI Servo 3600-4196_06 Tolomatic reserves the right to change the design or operation of the equipment described herein and any associated motion products without notice. Information
More informationProject Final Report: Directional Remote Control
Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts
More informationTarocco Closed Loop Motor Controller
Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor
More informationDMM Technology Corp. DYN AC Servo Drive CAN Specification [DYNCAN1-BL314-12A] Document Version 1.2A Published March 20, 2018
DMM Technology Corp. DYN AC Servo Drive CAN Specification [DYNCAN1-BL314-12A] Document Version 1.2A Published March 20, 2018 March 20, 2017 Version 1.2 1. Overview The DYN servo drive follow standard CAN2.0A
More informationATmega16A Microcontroller
ATmega16A Microcontroller Timers 1 Timers Timer 0,1,2 8 bits or 16 bits Clock sources: Internal clock, Internal clock with prescaler, External clock (timer 2), Special input pin 2 Features The choice of
More informationCiA Draft Standard Proposal 402. CANopen. Device Profile Drives and Motion Control. This draft standard proposal is not recommended for implementation
CiA Draft Standard Proposal 402 CANopen Device Profile Drives and Motion Control This draft standard proposal is not recommended for implementation Version 2.0 Date: 26. July 2002 CAN in Automation e.v.
More informationmaxon document number:
maxon document number: 791272-04 1 Table of contents... 2 2 Table of figures... 3 3 Introduction... 4 4 How to use this guide... 4 5 Safety Instructions... 5 6 Performance Data... 6 6.1 Motor data... 6
More informationCANopen Programmer s Manual
CANopen Programmer s Manual Part Number 95-00271-000 Revision 7 November 2012 CANopen Programmer s Manual Table of Contents TABLE OF CONTENTS About This Manual... 6 1: Introduction... 11 1.1: CAN and
More informationPARAMETER LIST MICROFUSION
MICROFUSION PARAMETER LIST MicroFUSION controllers contain nonvolatile EEPROMs, and writing too frequently to an individual parameter may wear out the EEPROM and cause the controller to fail. Control Concepts
More informationRB-Dev-03 Devantech CMPS03 Magnetic Compass Module
RB-Dev-03 Devantech CMPS03 Magnetic Compass Module This compass module has been specifically designed for use in robots as an aid to navigation. The aim was to produce a unique number to represent the
More informationEIE/ENE 334 Microprocessors
EIE/ENE 334 Microprocessors Lecture 13: NuMicro NUC140 (cont.) Week #13 : Dejwoot KHAWPARISUTH Adapted from http://webstaff.kmutt.ac.th/~dejwoot.kha/ NuMicro NUC140: Technical Ref. Page 2 Week #13 NuMicro
More informationLM8322 Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface
Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface 1.0 General Description The Mobile I/O Companion is a dedicated device to unburden a host processor from scanning
More informationDS1720 ECON-Digital Thermometer and Thermostat
www.maxim-ic.com FEATURES Requires no external components Supply voltage range covers from 2.7V to 5.5V Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is 67 F to +257
More informationIZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function
LCD DRIVER The IZ602 is universal LCD controller designed to drive LCD with image element up to 128 (32x4). Instruction set makes IZ602 universal and suitable for applications with different types of displays.
More informationCANopen Programmer s Manual
CANopen Programmer s Manual Part Number 95-00271-000 Revision 5 October, 2008 CANopen Programmer s Manual Table of Contents TABLE OF CONTENTS About This Manual... 7 Overview and Scope... 7 Related Documentation...
More information^3 Remote MACRO Interface. ^4 3xx xUxx. ^5 April 4, 2007
^1 USER MANUAL ^2 16-Axis MACRO CPU ^3 Remote MACRO Interface ^4 3xx-603719-xUxx ^5 April 4, 2007 Single Source Machine Control Power // Flexibility // Ease of Use 21314 Lassen Street Chatsworth, CA 91311
More informationPPMC-2104AFP Dual-Axis Programmable Stepper Motion Control LSI
PPMC-2104AFP Dual-Axis Programmable Stepper Motion Control LSI Rev 1.2 ampere The following shows the revision history of the PPMC-2104AFP Programmable Stepper Motion Control LSI Manual. If you have any
More information4I36 QUADRATURE COUNTER MANUAL
4I36 QUADRATURE COUNTER MANUAL 1.3 for Firmware Rev AA05,BB05 or > This page intentionally not blank - Table of Contents GENERAL.......................................................... 1 DESCRIPTION.................................................
More informationinstabus EIB product documentation
Page: 1 of 39 Push button interface 4-gang Sensor Product name: Push button interface 4-gang Design: UP (flush-mounting type) Item no.: 2076-4T-01 ETS search path: Input / Binary Input, 4-gang / Push button
More informationSHF Communication Technologies AG,
SHF Communication Technologies AG, Wilhelm-von-Siemens-Str. 23 D 12277 Berlin Germany Phone ++49 30 / 77 20 51 69 Fax ++49 30 / 77 02 98 48 E-Mail: automation@shf.de Web: http://www.shf.de Datasheet EC-CNT4
More informationDesigning with STM32F3x
Designing with STM32F3x Course Description Designing with STM32F3x is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing platforms based
More informationCANopen Programmer s Manual Part Number Version 1.0 October All rights reserved
Part Number 95-00271-000 Version 1.0 October 2002 2002 All rights reserved Table Of Contents TABLE OF CONTENTS About This Manual... iii Overview and Scope... iii Related Documentation... iii Document Validity
More information3V TRANSCEIVER 2.4GHz BAND
3V TRANSCEIVER 2.4GHz BAND Rev. 2 Code: 32001271 QUICK DESCRIPTION: IEEE 802.15.4 compliant transceiver operating in the 2.4 GHz ISM band with extremely compact dimensions. The module operates as an independent
More informationWidth (W): 44 mm. bus connecting and branching terminal External supply --- Inputs: Number: up to 2 (depending on parameterization: channel 1 to 2)
Product name: Design: 2-channel push button interface UP (flush-mounting type) Item no.: 1118 00 ETS search path: Gira Giersiepen / input / binary input, 2fold / Universal push putton interface 2fold Functional
More informationUSER'S MANUAL. Model : K
USER'S MANUAL Model : 2000-64K TM GINA MODEL 2000-64K Overview GINA Model 2000-64K is a stand-alone, high frequency data transceiver using spread spectrum technology. GINA 2000-64K capabilities include
More informationJaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)
Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)
More informationCopyright 2014 YASKAWA ELECTRIC CORPORATION All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
Copyright 2014 YASKAWA ELECTRIC CORPORATION All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic,
More informationRedPitaya. FPGA memory map
RedPitaya FPGA memory map Written by Revision Description Version Date Matej Oblak Initial 0.1 08/11/13 Matej Oblak Release1 update 0.2 16/12/13 Matej Oblak ASG - added burst mode ASG - buffer read pointer
More informationIowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives
Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #5 Buck Converter Embedded Code Generation Summary In this lab, you will design the control application
More informationH8238/MCM MODBUS POINT MAP
H8238/MCM MODBUS POINT MAP F O R M A T Int Float R/W NV Description 1 257/258 R/W NV Energy Consumption, kwh, Low-word integer 2 259/260 R/W NV Energy Consumption, kwh, High-word integer Both 257/258 and
More informationHigh-Speed Network Servo MINAS A6N. Motor Business Unit Automotive & Industrial Systems Company Panasonic Corporation. 2018/6/20 Rev.
High-Speed Network Servo MINAS A6N Motor Business Unit Automotive & Industrial Systems Company Panasonic Corporation 2018/6/20 Rev. 6 A6N Series NEW Communication MAX 16,000 times/s! In order from left,
More informationI2C Encoder. HW v1.2
I2C Encoder HW v1.2 Revision History Revision Date Author(s) Description 1.0 22.11.17 Simone Initial version 1 Contents 1 Device Overview 3 1.1 Electrical characteristics..........................................
More informationNI 951x C Series Modules Object Dictionary
NI 951x C Series Modules Object Dictionary Contents This document contains the NI 951x C Series drive interface modules vendor extensions to the object dictionary. Input/Output & Feedback Objects... 3
More informationUser's Manual. ServoCenter 4.1. Volume 2: Protocol Reference. Yost Engineering, Inc. 630 Second Street Portsmouth, Ohio
ServoCenter 4.1 Volume 2: Protocol Reference Yost Engineering, Inc. 630 Second Street Portsmouth, Ohio 45662 www.yostengineering.com 2002-2009 Yost Engineering, Inc. Printed in USA 1 Table of Contents
More informationHardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff
Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model
More informationM F TYPE S R-SETUP. Setup Software
M0006935F TYPE S R-SETUP Setup Software Preface This user s manual explains the use and specifications of the Setup Software for AC servo amplifier R series. Notifications on this User s Manual: To completely
More informationBMS BMU Vehicle Communications Protocol
BMS Communications Protocol 2013 Tritium Pty Ltd Brisbane, Australia http://www.tritium.com.au 1 of 11 TABLE OF CONTENTS 1 Introduction...3 2 Overview...3 3 allocations...4 4 Data Format...4 5 CAN packet
More informationCMPS09 - Tilt Compensated Compass Module
Introduction The CMPS09 module is a tilt compensated compass. Employing a 3-axis magnetometer and a 3-axis accelerometer and a powerful 16-bit processor, the CMPS09 has been designed to remove the errors
More informationEE 314 Spring 2003 Microprocessor Systems
EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in
More informationFX 3U -20SSC-H Quick Start
FX 3U -20SSC-H Quick Start A Basic Guide for Beginning Positioning Applications with the FX 3U -20SSC-H and FX Configurator-FP Software Mitsubishi Electric Corporation January 1 st, 2008 1 FX 3U -20SSC-H
More informationBrushed DC Motor Control. Module with CAN (MDL-BDC24)
Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) Ordering Information Product No. MDL-BDC24 RDK-BDC24 Description Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) for Single-Unit
More informationEasyMotion User s Manual Ver
EasyMotion User s Manual Ver. 3.01 2001 Applied Cybernetics Chapter 1. Introduction. Welcome to EasyM otion. This complete motion system setup program provides you with all the tools you need to test hardware
More informationDS1720. Econo Digital Thermometer and Thermostat PRELIMINARY FEATURES PIN ASSIGNMENT
PRELIMINARY DS1720 Econo Digital Thermometer and Thermostat FEATURES Requires no external components Supply voltage range covers from 2.7V to 5.5V Measures temperatures from 55 C to +125 C in 0.5 C increments.
More informationNuMicro N76E003 Brushless DC Motor Control User Manual
NuMicro Brushless DC Motor Control User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission
More informationnc. Function Set Configuration The 32LQD is the main function of the set. It can be used either alone, with one of the supporting functions, or with b
nc. Rev. 0, 5/2003 32-bit Linear Quadrature Decoder TPU Function Set (32LQD) By Milan Brejl, Ph.D. Functional Overview 32-bit Linear Quadrature Decoder (32LQD) TPU Function Set is useful for decoding position,
More informationMD04-24Volt 20Amp H Bridge Motor Drive
MD04-24Volt 20Amp H Bridge Motor Drive Overview The MD04 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are
More informationServo Drive MINAS A5N with Realtime Express (RTEX)
NEW Servo Drive MINAS A5N with Realtime Express (RTEX) Motor Business Unit 2011/6/14 Rev. 1 Page 1 Dimensions: W40 x H150 x D135 mm 200W 200V Frame Size A 2011/6/14 Rev. 1 Page 2 Appearance Power Supply
More informationRL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group.
RL78 Motor Control YRMCKITRL78G14 Starter Kit Renesas Electronics Europe David Parsons Application Engineering Industrial Business Group July 2012 Renesas MCU for 3-phase Motor Control Control Method Brushless
More informationConfirm entry value Set display to value from Actual value and input display Select datum P79 (P80!) (7-segment LED,
HEIDENHAIN Working with the measured value display unit ND 261 Confirm entry value Set display to value from Actual value and input display Select datum P79 (P80!) (7-segment LED, Page backward in 9 decades
More informationAPPLICATION NOTE Application Note for Custom Curve profiles using ASDA-A2
Application Note for Custom Curve profiles using ASDA-A2 1 Application Note for Custom curve profiles on the ASDA-A2 servo drive Contents Application Note for Custom curve profiles on the ASDA-A2 servo
More informationXR88C92/192 DUAL UNIVERSAL ASYNCHRONOUS RECEIVER AND TRANSMITTER DESCRIPTION FEATURES. PLCC Package ORDERING INFORMATION.
DUAL UNIVERSAL ASYNCHRONOUS RECEIVER AND TRANSMITTER DESCRIPTION August 2016 The XR88C92/192 is a Dual Universal Asynchronous Receiver and Transmitter with 8 (XR88C92) / 16 (XR88C192) bytes transmit and
More informationRV-8564 Application Manual. Application Manual. Real-Time Clock Module with I 2 C-Bus Interface. October /62 Rev. 2.1
Application Manual Application Manual Real-Time Clock Module with I 2 C-Bus Interface October 2017 1/62 Rev. 2.1 TABLE OF CONTENTS 1. OVERVIEW... 5 1.1. GENERAL DESCRIPTION... 5 1.2. APPLICATIONS... 5
More informationIntegrated Servo Motor UCS57
Integrated Servo Motor Introduction is a new generation of high performance digital integrated servo drive motor, which is a series of low voltage AC servo products integrated with AC servo motor and drive
More informationNLG5_CAN Spec CAN definitions Bitrate: 500 kbit/s standard Frame used CAN 2.0B specifications
NLG5_CAN Spec 2.1 Indroduction This specification describes the CAN Bus interface for the NLG5. The NLG5-CAN matrix 2. is valid for all NLG5 classes. BRUSA Elektronik AG reserves the right to revise this
More information10.9. Serial communication parameters Motor parameters Paramters handling Status monitor
Contents 1. Introduction... 4 1.1. About power supply for AU9290... 4 1.2. About applicable stepping motors... 4 1.3. About setting and storing of parameters... 5 1.4. About optional functions... 5 1.5.
More informationKinetix 3 Host Commands for Serial Communication
Reference Manual Kinetix 3 Host Commands for Serial Communication Catalog Numbers 2071-AP0, 2071-AP1, 2071-AP2, 2071-AP4, 2071-AP8, 2071-A10, 2071-A15 Important User Information Solid-state equipment has
More informationum-pwm1 Pulse-width Modulation Servo Coprocessor Datasheet Release V100 Introduction Features Applications
Introduction umpwm1 Pulsewidth Modulation Servo Coprocessor Datasheet Release V100 The umpwm1 chip is designed to work with pulsewidth modulated signals used for remote control servo applications. It provides
More informationMTY (81)
This manual describes the option "e" of the SMT-BD1 amplifier: Master/slave tension control application. The general information about the digital amplifier commissioning are described in the standard
More informationPSF-520 Instruction Manual
Communication software for HA-520/HA-680 Series PSF-520 Instruction Manual Thank you for implementing our AC servo driver HA-520, HA-680 series. The PSF-520 software sets various parameters and checks
More informationManual. ihss57-xx. Integrate Stepper Servo Motor.
ihss57-xx Integrate Stepper Servo Motor Manual Shenzhen Just Motion Control Electro-mechanics Co., Ltd TEL:+86-0755-26509689 FAX:+86-0755-26509289 www.jmc-motion.com Email:jmk@jmc-motion.com Address: Floor2,
More informationMotion Controller MELSEC System Q
Motion Controller MELSEC MITSUBISHI ELECTRIC EUROPE B.V. Page 1 Contents Contents Overview System Configuration Multiple CPU Configuration Connection to Servo Ampifiers Motion CPU Modules Motion SFC Performance
More informationCounter/Timers in the Mega8
Counter/Timers in the Mega8 The mega8 incorporates three counter/timer devices. These can: Be used to count the number of events that have occurred (either external or internal) Act as a clock Trigger
More informationGeneral Description. The TETRIX MAX Servo Motor Expansion Controller features the following:
General Description The TETRIX MAX Servo Motor Expansion Controller is a servo motor expansion peripheral designed to allow the addition of multiple servo motors to the PRIZM Robotics Controller. The device
More informationCatalog
Catalog 1. Description... - 3-2. Features... - 3-3. Application... - 3-4. Electrical specifications...- 4-5. Schematic... - 4-6. Pin Configuration... - 5-7. Antenna... - 6-8. Mechanical Dimension(Unit:
More informationMicrocontrollers: Lecture 3 Interrupts, Timers. Michele Magno
Microcontrollers: Lecture 3 Interrupts, Timers Michele Magno 1 Calendar 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 Serial Communications 21.04.2017 Programming STM32
More information