RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 80 of 85
Aug.31.2020
6.8 Using CODESY to Check Operation
The program for driving the attached motor is built from "rx72m_motor_control.project".
In the state where the network connection has been completed, the motor is controlled through the
CODESYS GUI.
(1)
Select "Visualization" from the device tree and double-click it.
(2)
This starts up the GUI screen for motor control.
Pattern select is used to change the type of motor rotation operation.
1: Each set of rotations is divided into 90°, 180°, and 360° and this sequence of rotations is
repeated.
2: One reverse rotation
3: A sequence of 10 rotations and then -10 rotations is repeated.
4: A sequence of -10 rotations and then 10 rotations is repeated.
connect: Indicates if communications have been established.
motor operation enable: Indicates the command transition state.