10-2-10 Changing The Target Position By Re-Execution Of An Instruction - Omron NX701-1 User Manual

Machine automation controller nj/nx-series cpu unit
Hide thumbs Also See for NX701-1:
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
NJ/NX-series CPU Unit Motion Control User's Manual (W507)
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

This manual is also suitable for:

Nx102-1Nx102-90Nj501Nj301-1Nx1p2-1Nx1p2-90 ... Show all

Table of Contents