10 Sample Programming
10-1 Overview of Sample Programming
This section provides information that applies to all of the sample programming.
Precautions for Correct Use
Precautions for Correct Use
• The sample programming that is provided includes only programming that uses the MC Func-
tion Module.
• When programming actual applications, also program device interlocks, I/O with other
devices, and other control procedures.
• Create a user program that will produce the intended device operation.
• Check the user program for proper execution before you use it for actual operation.
• Refer to the NX-series Position Interface Units User's Manual (Cat. No. W524) for application
examples for the NX-series Position Interface Units.
10-1-1 Devices
The following devices are used in the sample programming.
Device
Industrial PC
Servo Drive
Servomotor
Encoder Input Terminal
10-1-2 Installation and Wiring
Refer to the following manual for details on installing and wiring the devices.
Device
Industrial PC
Servo Drive and Servomotor
Encoder Input Terminal
EtherCAT communications cables
10-1-3 Setup
Refer to the following manual for details on settings.
Setup
Controller Setup
Motion Control Setup
Servo parameters
10-2
Servo configuration example
NY52-100
R88D-1SN-ECT
R88M-1
GX-EC0211 (version 1.1)
NY-series Industrial Panel PC Hardware User's Manual (Cat. No. W557)
or NY-series Industrial Box PC Hardware User's Manual (Cat. No. W556)
AC Servomotors/Servo Drives 1S-series with Built-in EtherCAT Commu-
nications User's Manual (Cat. No. I586)
GX-series EtherCAT Slave Units User's Manual (Cat. No. W488)
GX-series EtherCAT Slave Units User's Manual (Cat. No. W488)
NY-series Industrial Panel PC / Industrial Box PC Software User's Manual (Cat.
No. W558)
3-2 Axis Setting Procedure, 5-2 Axis Parameters, and A-2 Connecting the G5-
series Servo Drive in this manual.
AC Servomotors/Servo Drives 1S-series with Built-in EtherCAT Communica-
tions User's Manual (Cat. No. I586)
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
Manual
Manual