10-2-10 Changing The Target Position By Re-Execution Of An Instruction - 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 Sample Programming

10-2-10 Changing the Target Position by Re-execution of an Instruction

This sample starts absolute positioning to a target position of 1000 and then uses the same instance of
the absolute positioning instruction to change the target position to 2000.
Main Variables Used in the Programming Samples
Variable name
MC_Axis000
MC_Axis000.MFaultLvl.Active
MC_Axis000.Details.Homed
Pwr_Status
StartPg
ReExeSw
Mv_Abs_Ex
Hm_Ex
10-34
Data type
Default
_sAXIS_REF
---
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
Comment
This is the Axis Variable for axis 0.
TRUE when there is a minor fault level error for
axis 0.
TRUE when home is defined 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.
When StartPg is TRUE, the Servo is turned ON
if EtherCAT process data communications are
active and normal.
This variable is used to re-execute the instruc-
tion.
This variable is used to execute the MC_Move-
Absolute (Absolute Positioning) instruction. It is
used in ST programming.
This variable is used to execute the MC_Home
instruction. It is used in ST programming.

Advertisement

Table of Contents
loading

Table of Contents