Omron NY532-1500 Reference Manual page 665

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

Gene_Exe := TRUE;
END_IF;
If cam table creation processing is completed and the master axis (axis 1) has reached the
//
target velocity, the MC_CamIn (Start Cam Operation) instruction is executed.
//
IF (Gene_D=TRUE)
AND(_MC_COM.Status.GenerateCamBusy = FALSE)
AND (Vel_InVel=TRUE) THEN
Camin_Ex := TRUE;
END_IF;
// MC_GenerateCamTable
GENE_CAM(
CamTable
CamProperty
CamNodes
execute
Done
EndPointIndex
Busy
CommandAborted
Error
ErrorID
ErrorParameterCode
ErrorNodePointIndex
);
MC_Power for master axis (axis 1)
//
PWR1(
Axis
Enable
Status
Busy
Error
ErrorID
);
MC_Power for slave axis (axis 2)
//
PWR2(
Axis
Enable
Status
Busy
Error
ErrorID
);
MC_Home for master axis (axis 1)
//
HM1(
Axis
Execute
Done
Busy
CommandAborted => Hm1_Ca,
Error
ErrorID
);
MC_Home for slave axis (axis 2)
//
HM2(
Axis
Execute
Done
Busy
NY-series Motion Control Instructions Reference Manual (W561)
:= CamProfile0,
:= CamProperty0,
:= CamNode0,
:= Gene_Exe,
=> Gene_D,
=> Gene_EPI,
=> Gene_Bsy,
=> Gene_CA,
=> Gene_Err,
=> Gene_ErrID,
=> Gene_ErrPC,
=> Gene_ErrNPI
:= MC_Axis000,
:= Pwr1_En,
=> Pwr1_Status,
=> Pwr1_Bsy,
=> Pwr1_Err,
=> Pwr1_ErrID
:= MC_Axis001,
:= Pwr2_En,
=> Pwr2_Status,
=> Pwr2_Bsy,
=> Pwr2_Err,
=> Pwr2_ErrID
:= MC_Axis000,
:= Hm1_Ex,
=> Hm1_D,
=> Hm1_Bsy,
=> Hm1_Err,
=> Hm1_ErrID
:= MC_Axis001,
:= Hm2_Ex,
=> Hm2_D,
=> Hm2_Bsy,
5 Common Command Instructions
5
5-45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents