Omron Sysmac NY-series Instruction & Reference Manual page 186

Industrial pc platform, motion control
Hide thumbs Also See for Sysmac NY-series:
Table of Contents

Advertisement

3 Axis Command Instructions
The MC_SetOverride (Set Override Factors) instruction is executed during execution of the
MC_MoveVelocity (Velocity Control) instruction.
Vel_Act
When the stop command (StopTrig) changes to TRUE, the MC_Stop instruction is executed.
StopTrig
Contents of Inline ST
IF (Sensor2=FALSE) AND (Sensor3=FALSE) THEN
Set_Ov_Velfct := LREAL#100.0;
ELSIF (Sensor2=TRUE) AND (Sensor3=FALSE) THEN
Set_Ov_Velfct := LREAL#500.0;
ELSIF (Sensor2=FALSE) AND (Sensor3=TRUE) THEN
Set_Ov_Velfct := LREAL#200.0;
ELSE
Set_Ov_Velfct := LREAL#200.0;
END_IF;
Structured Text (ST)
 Main Variables
Name
MC_Axis000
MC_Axis000.MFaultLvl.Active
MC_Axis000.Details.Homed
Pwr_Status
StartPg
3-98
MC_SetOverride
MC_Axis000
Axis
Enable
Set_Ov_Velfct
VelFactor
AccFactor
JerkFactor
MC_Axis000
Axis
Execute
LREAL#524288.0
Deceleration
Jerk
BufferMode
Data type
Default
_sAXIS_REF
---
Axis Variable for axis 1.
BOOL
FALSE
TRUE while there is a minor fault level error for
axis 1.
BOOL
FALSE
TRUE when home is defined for axis 1.
BOOL
FALSE
This variable is assigned to the Status output
variable from the PWR instance of the
MC_Power instruction. This variable changes to
TRUE when the Servo is turned ON.
BOOL
FALSE
The Servo is turned ON if this variable is TRUE
and EtherCAT process data communications
are established.
NY-series Motion Control Instructions Reference Manual (W561)
SET_OV
Axis
Enabled
Busy
Set_Ov_Bsy
Error
Set_Ov_Err
ErrorID
Set_Ov_ErrID
STP
MC_Stop
Axis
Done
Busy
Stp_Bsy
Active
Stp_Act
CommandAborted
Stp_Ca
Error
Stp_Err
ErrorID
Stp_ErrID
Comment
Set_Ov_End
Stp_D

Advertisement

Table of Contents
loading

Table of Contents