7 Manual Operation
7-4
NJ/NX-series CPU Unit Motion Control Userās Manual (W507)
Set the axis parameters from the Sysmac Studio. For details, refer to 3-2-2 Setting Procedure.
3
Writing the User Program
Create the user program from the Sysmac Studio. For details, refer to 6-8 Programming Motion
Controls.
4
Downloading Axis Parameters and the User Program
Download the axis parameters and user program to the CPU Unit. Use the Synchronization
menu command of the Sysmac Studio to download the project to the CPU Unit.
For details, refer to 3-2-2 Setting Procedure.
5
Executing the User Program
Execute the user program and change the Enable input variable for MC_Power to TRUE. The
Servo Drive will change to the Servo ON state.
Only the following axis parameter settings are required if you want only to change to the Servo ON
state. The following table provides examples of the settings.
*1 If there is more than one axis, a different variable name is set for each axis.
*2 If there is more than one axis, a different value is set for each axis.
*3 Set the node address to the same value as the node address that is set on the Servo Drive. If there is more
than one axis, a different value is set for each axis.
The following sample programming turns the Servo ON and OFF for an axis named Axis1 based on the
value of bit A.
For details on the MC_Power (Power Servo) instruction, refer to the NJ/NX-series Motion Control
Instructions Reference Manual (Cat. No. W508).
7-2-2 Setting Axis Parameters
Parameter name Setting
Axis Variable Name
Axis1
*1
Axis Number
1
*2
Axis Use Used axis
Axis Type Servo axis
Input Device/Output Device
1
*3
7-2-3 Programming Example
Enable Status
ErrorID
MC_Power_instance
Error
MC_Power
Axis Axis
Busy
Axis1
A