Omron NY532-1500 User Manual page 292

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

10 Sample Programming
ST Programming
// If the Servo Drive is ready when StartPg is TRUE, turn ON the Servo for axis 0.
// If the Servo Drive is not ready, turn OFF the Servo for axis 0.
IF (StartPg=TRUE)
AND (MC_Axis000.DrvStatus.Ready=TRUE) THEN
Pwr_En:=TRUE;
ELSE
Pwr_En:=FALSE;
END_IF;
IF (Pwr_Status=TRUE)
OR (Pwr_Bsy=TRUE) THEN
UpgOn := TRUE;
ELSE
UpgOn := FALSE;
END_IF;
// MC_Power
PWR(
Axis
Enable := Pwr_En,
Status
Busy
Error
ErrorID => Pwr_ErrID
);
10-16
// Further processing executed.
// Further processing not executed.
:= MC_Axis000,
=> Pwr_Status,
=> Pwr_Bsy,
=> Pwr_Err,
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)

Advertisement

Table of Contents
loading

Table of Contents