
RZ/T2M Group, RZ/T2L Group, RZ/N2L Group Startup Guide (for EtherCAT)
R12AN0124EJ0400 Rev.4.00 Page 2 of 65
Feb.28, 2023
Contents
1. Operating Environment............................................................................................................4
2. Preparation of CN032 AC Servo Solution Kit ...........................................................................5
2.1 Connecting the Logic and Motor Power .................................................................................................. 5
2.2 Connecting the Motor Windings .............................................................................................................. 5
2.3 Connecting the Encoder .......................................................................................................................... 6
2.4 Connecting the UART communication cable .......................................................................................... 6
2.4.1 RS232 to USB ....................................................................................................................................... 6
2.4.2 RS485 to USB ....................................................................................................................................... 7
2.4.3 Selection for RS232 and RS485 ........................................................................................................... 7
2.5 Connecting the JTAG interface ............................................................................................................... 7
2.6 Connecting the Ethernet Interface........................................................................................................... 8
2.7 Overall connection configuration ............................................................................................................. 8
2.8 Power supply to the board....................................................................................................................... 9
3. Preparing EtherCAT Communication.....................................................................................10
3.1 TwinCAT®3 Installation.......................................................................................................................... 10
3.2 Copying the ESI File.............................................................................................................................. 14
4. Confirm Communication with TwinCAT®3 ..............................................................................15
4.1 Starting TwinCAT®3............................................................................................................................... 15
4.2 Checking the Communication Status .................................................................................................... 19
4.3 CiA402 Drive Profile Operation ............................................................................................................. 21
4.3.1 Operation mode setting ....................................................................................................................... 21
4.3.2 Profile Position Mode (pp) ................................................................................................................... 22
4.3.3 Cyclic Synchronous Position Mode (csp)............................................................................................ 25
4.3.4 Cyclic Synchronous Velocity Mode (csv) ............................................................................................ 27
5. CiA402 Drive Profile ..............................................................................................................30
5.1 Operation Modes ................................................................................................................................... 30
5.2 State Transition ..................................................................................................................................... 31
5.3 Object Dictionary ................................................................................................................................... 31
5.4 Implementing the Motor Control Program ............................................................................................. 33
6. Appendix ...............................................................................................................................40
6.1 Preparation in advance ......................................................................................................................... 40
6.1.1 Power Supply ...................................................................................................................................... 40
6.1.2 Generating the Slave Stack Code ....................................................................................................... 41
6.2 Development Environments Install........................................................................................................ 44
6.3 Program Writing Procedure................................................................................................................... 45
6.3.1 Program writing by IAR EWARM......................................................................................................... 45