![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205306.webp)
10 Sample Programming
10-52
NJ-series CPU Unit Motion Control User’s Manual (W507)
Active
=> Camin_Act,
CommandAborted
=> Camin_Ca,
Error
=> Camin_Err,
ErrorID
=> Camin_ErrID
);
END_IF;
IF CamTable1=TRUE THEN
CAMIN(
Master
:= MC_Axis000,
Slave
:= MC_Axis001,
CamTable
:= CamProfile1,
Execute
:= Camin_Ex,
Periodic
:= Camin_EM,
StartMode
:= Camin_StMode,
StartPosition
:= Camin_StPos,
MasterStartDistance
:= Camin_MStDis,
MasterScaling
:= Camin_MSc,
SlaveScaling
:= Camin_SSc,
MasterOffset
:= Camin_MO,
SlaveOffset
:= Camin_SO,
ReferenceType
:= Camin_RT,
Direction
:= Camin_Dir,
InCam
=> Camin_InCam1,
InSync
=> Camin_InSync,
EndOfProfile
=> Camin_EOP,
Index
=> Camin_Index,
Busy
=> Camin_Bsy,
Active
=> Camin_Act,
CommandAborted
=> Camin_Ca,
Error
=> Camin_Err,
ErrorID
=> Camin_ErrID
);
END_IF;
// MC_Power for axis 0
PWR1(
Axis
:= MC_Axis000,
Enable := Pwr1_En,
Status
=> Pwr1_S,
Busy
=> Pwr1_Bsy,
Error
=> Pwr1_Err,
ErrorID => Pwr1_ErrID
);
// MC_Power for axis 1
PWR2(
Axis
:= MC_Axis001,
Enable := Pwr2_En,
Status
=> Pwr2_S,
Busy
=> Pwr2_Bsy,
Error
=> Pwr2_Err,
ErrorID => Pwr2_ErrID
);
// MC_Home for axis 0
HM1(
Axis
:= MC_Axis000,
Execute
:= Hm1_Ex,
Done
=> Hm1_D,
Busy
=> Hm1_Bsy,
CommandAborted
=> Hm1_Ca,
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...