10-2-6 Checking To See If Errors Are Reset - Omron NY532-1500 User Manual

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

Advertisement

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.
Main Variables Used in the Programming Samples
Variable name
MC_Axis000
MC_Axis000.MFaultLvl.Active
Pwr_Status
ResetON
GetFaultFactor
RegularProcess
Ladder Diagram
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.
ResetOn
MC_Axis000.MFaultLvl.Active
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.
MC_Axis000.MFaultLvl.Active
If a minor fault level error did not occur or was reset, normal device processing (RegularProcess) is performed.
Program GetFaultFactor according to the device.
MC_Axis000.MFaultLvl.Active
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
Data type
Default
_sAXIS_REF
---
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
---
---
---
---
MC_Axis000
Axis
Execute
Reset_Fail
10 Sample Programming
Comment
This is the Axis Variable for axis 0.
TRUE when there is a minor fault level error for
axis 0.
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.
This variable gives the status of the external
button that is used to reset errors.
This is the process to read the cause of the
error. Program it according to the device.
This is the normal processing. Program it
according to the device.
RESET
MC_Reset
Axis
Done
Busy
Reset_Bsy
Failure
Reset_Fail
Error
Reset_Err
ErrorID
Reset_ErrID
GetFaultFactor
EN
GetFaultFactor
RegularProcess
EN
RegularProcess
10
Reset_D
10-17

Advertisement

Table of Contents
loading

Table of Contents