电子凸轮分享
十几个轴组成电子凸轮,替换机械凸轮,更加智能化调试。可曲线随时调试,实时更改,更加简单便于操作。
Axis_Control[15].Muanual_CAN:=R37002 AND R37402 AND R37802 AND R38202 AND R39002 AND R39402 ;
/JOG
Axis_Control[15].Velocity_Jog:=DM3208;
Axis_Control[15].Iuch_JOG:=DM3212;
Axis_Control[15].PositiveEnable:=MR103102;
Axis_Control[15].NegativeEnable:=MR103103;
Axis_Control[15].high_speed_JOG:=DM3210;
Axis_Control[15].High_Cut:=MR103101;
//定位
Axis_Control[15].Acc:=DM3202;
Axis_Control[15].Dec:=DM3204;
Axis_Control[15].Velocity_Rel:=DM3200.D*1000;
Axis_Control[15].Postion_Rel:=DM3220;
Axis_Control[15].Move_Rel:= LDP(LR106) OR (LR106 AND NOT InsertComplete AND NOT Axis_Control[15].Busy AND (EquipmentRunning OR System1_SingleCycle) AND CR2006 )OR LDP(LR707)OR LDP(LR907);UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103001 OR MR50602,1,40050,1,1);//轴1
UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103002 OR MR50602,1,40150,2,1);//轴2
UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103003 OR MR50602,1,40250,3,1);//轴3
UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103004 OR MR50602,1,40350,4,1);//轴4
UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103005 OR MR50602,1,40550,6,1);//轴6
UWRIT( LDF(DM80.0) OR LDP(LR105) OR LDF(MR90000) OR MR103006 OR MR50602,1,40650,7,1);//轴7