10 Sample Programming
10-54
NJ/NX-series CPU Unit Motion Control Userās Manual (W507)
*1 The array elements ARRAY[0..N] are set with the Cam Editor in the Sysmac Studio. The range of the array is 0
to 109 in this sample.
*2 The variable is used in ST programming.
StartPg BOOL FALSE When StartPg is TRUE, the Servo is turned
ON if EtherCAT process data communica-
tions are active and normal.
Gearin_Ex BOOL FALSE This variable is used to execute the
MC_GearIn (Start Gear Operation) instruc-
tion.
*2
Camin_Ex BOOL FALSE This variable is used to execute the MC_-
CamIn (Start Cam Operation) instruction.
*2
Combine_Ex BOOL FALSE This variable is used to execute the MC_-
CombineAxes (Combine Axes) instruction.
*2
Variable name Data type Default Comment