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 #323 background imageLoading...
Page #323 background image
10-17
10 Sample Programming
NJ/NX-series CPU Unit Motion Control User’s Manual (W507)
10-2 Basic Programming
Samples
10
10-2-6 Checking to See If Errors Are Reset
In this sample, the MC_Reset (Reset Axis Error) instruction is executed if an external button turns ON
while there is a minor fault level error. Further normal processing is not executed until the Done output
variable from the MC_Reset instruction changes to TRUE.
If the Failure output variable changes to TRUE, the axis decelerated to a stop or an MC common error
has occurred. The cause that made the Failure output variable from the MC_Reset instruction turn ON
is read.
Samples are provided for both ladder diagram and ST programming.
10-2-6 Checking to See If Errors Are Reset
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.
MC_Axis000.MFaultLvl.Active BOOL FALSE TRUE when there is a minor fault level error 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.
ResetON BOOL FALSE This variable gives the status of the external
button that is used to reset errors.
GetFaultFactor --- --- This is the process to read the cause of the
error. Program it according to the device.
RegularProcess --- --- This is the normal processing. Program it
according to the device.
Ladder Diagram
RESET
Axis Axis
Execute
Error
ErrorID
Failure
MC_Reset
Done
Busy
MC_Axis000
ResetOn
Reset_D
Reset_Bsy
Reset_Fail
Reset_Err
Reset_ErrID
MC_Axis000.MFaultLvl.Active
GetFaultFactorMC_Axis000.MFaultLvl.Active
GetFaultFactorEN
Reset_Fail
RegularProcessMC_Axis000.MFaultLvl.Active
RegularProcessEN
If the Failure output variable from the MC_Reset instruction changes to TRUE, processing is performed to read
the cause of the device error with GetFaultFactor. Program GetFaultFactor according to the device.
In this sample, the MC_Reset (Reset Axis Error) instruction is executed if an external button turns ON
(i.e., if ResetOn changes to TRUE) while there is a minor fault level error.
If a minor fault level error did not occur or was reset, normal device processing (RegularProcess) is performed.
Program GetFaultFactor according to the device.

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