EasyManuals Logo

Omron NX701-1 User Manual

Omron NX701-1
448 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #321 background imageLoading...
Page #321 background image
10-15
10 Sample Programming
NJ/NX-series CPU Unit Motion Control User’s Manual (W507)
10-2 Basic Programming
Samples
10
10-2-5 Monitoring for Instruction Errors
In this sample, further processing is not performed if there is an error when the MC_Power (Power
Servo) instruction is executed. Whether further processing is possible is indicated by the UpgOn vari-
able.
Samples are provided for both ladder diagram and ST programming.
10-2-5 Monitoring for Instruction Errors
Main Variables Used in the Programming Samples
Variable name Data type Default Comment
MC_Axis000 _sAXIS_REF --- This is the Axis Variable for axis 0.
Pwr_Status BOOL FALSE This variable is assigned to the Status output
variable from the PWR instance of the
MC_Power instruction. It is TRUE when the
Servo is ON.
Pwr_Bsy BOOL FALSE This variable is assigned to the Busy output
variable from the PWR instance of the
MC_Power instruction. It is TRUE when the
Servo is ON.
StartPg BOOL FALSE When StartPg is TRUE, the Servo is turned ON
if EtherCAT process data communications are
active and normal.
UpgOn BOOL FALSE TRUE if further program execution is performed.
Ladder Diagram
StartPg
Lock0
MC_Axis000.DrvStatus.Ready
PWR
Error
Axis Axis
Enable Status
Busy
MC_Power
ErrorID
Lock0
MC_Axis000
Pwr_Status
Pwr_Bsy
Pwr_Err
Pwr_ErrID
Pwr_Status
UpgOn
Pwr_Bsy
If the Servo Drive is ready, turn ON the Servo for axis 0.
A check is made to see if any errors occurred when MC_Power was executed before execution of further processing.
Check if the Servo Drive is ready when StartPg is TRUE.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX701-1 and is the answer not in the manual?

Omron NX701-1 Specifications

General IconGeneral
BrandOmron
ModelNX701-1
CategoryController
LanguageEnglish

Related product manuals