10-63
10 Sample Programming
NJ-series CPU Unit Motion Control User’s Manual (W507)
10-2 Basic Pr
o
g
ram
m
in
g
Samples
10
10-2-13 U
s
ing a C
am Profile C
ur
v
e
to
Correct the Syn
c
Star
t P
osition
InSync
=> Camin_InSync,
EndOfProfile
=> Camin_Eop,
Index
=> Camin_Index,
Busy
=> Camin_Bsy,
Active
=> Camin_Act,
CommandAborted
=> Camin_Ca,
Error
=> Camin_Err,
ErrorID
=> Camin_ErrID
);
//MC_GearIn
GEARIN(
Master
:= MC_Axis000,
Slave
:= MC_Axis001,
Execute
:= Gearin_Ex,
RatioNumerator
:= Gearin_RatN,
RatioDenominator
:= Gearin_RatD,
ReferenceType
:= Gearin_RefTyp,
Acceleration
:= Gearin_Acc,
Deceleration
:= Gearin_Dec,
InGear
=> Gearin_InGear,
Busy
=> Gearin_Bsy,
Active
=> Gearin_Act,
CommandAborted
=> Gearin_Ca,
Error
=> Gearin_Err,
ErrorID
=> Gearin_ErrID
);
//MC_CombineAxes
COMBINE(
Master
:= MC_Axis001,
Auxiliary
:= MC_Axis002,
Slave
:= MC_Axis003,
Execute
:= Combine_Ex,
CombineMode
:= Combine_CM,
ReferenceTypeMaster
:= Combine_RefMas,
ReferenceTypeAuxiliary
:= Combine_RefAux,
InCombination
=> Combine_InComb,
Busy
=> Combine_Bsy,
Active
=> Combine_Act,
CommandAborted
=> Combine_Ca,
Error
=> Combine_Err,
ErrorID
=> Combine_ErrID
);
Summary of Contents for NJ501-1300
Page 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Page 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Page 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Page 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Page 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Page 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Page 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Page 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Page 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Page 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Page 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Page 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Page 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...