RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 4 of 85
Aug.31.2020
1. Overview
1.1 This Application Note
This application note describes a sample program for the RX72M. The program has an encoder vector
control function for a permanent magnet synchronous motor (hereinafter referred to as a PMSM) and works
with the EtherCAT communications controller of the RX72M.
The sample program is intended to run on a combination of a board with an RX72M CPU and a 24-V system
inverter board.
1.2 Operation Environment
Table 1-1 Operation Environment
Target MCU
RX72M Group
Evaluation board
Manufactured by Renesas
RX72M CPU card + 24-V system inverter board *
Integrated development
environment (IDE)
Renesas e2 studio, V.7.5.0 or later
IAR Embedded Workbench for Renesas RX 4.13.1 or later
C compiler
Renesas C/C++ compiler package for RX Family
V3.01.00 or later
GCC for Renesas RX 4.8.4.201803 or later
IAR C/C++ compiler for Renesas RX version 4.13.1 or later
Motor
Permanent magnet synchronous motor with an incremental encoder from
Leadshine Technology
BLM57050-1000
Emulator
Renesas e2 Lite
Communication protocol
EtherCAT
SSC tool
Provided by the EtherCAT Technology Group (ETG)
Slave Stack Code (SSC) tool Version 5.12
Software PLC
TwinCAT
®
3 (download this from the Beckhoff web site)
of Beckhoff Automation
CODESYS of 3S-Smart Software Solutions
Note: * The 24-V motor control system manufactured by Renesas Electronics incorporates both items.
24V Motor Control Evaluation System for RX23T (
RTK0EM0006S01212BJ)