EasyManua.ls Logo

Omron Sysmac NY-series User Manual

Omron Sysmac NY-series
744 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 #443 background imageLoading...
Page #443 background image
MC_ZoneSwitch
The MC_ZoneSwitch instruction determines if the command current position or actual current position
of an axis is within a specified zone.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_ZoneSwitch Zone Monitor FB
MC_ZoneSwitch_instance
Axis
Axis
Enable Enabled
FirstPosition InZone
ReferenceType Error
ErrorID
MC_ZoneSwitch
LastPosition Busy
MC_ZoneSwitch_instance (
Axis :=parameter,
Enable :=parameter,
FirstPosition :=parameter,
LastPosition :=parameter,
ReferenceT
ype :=parameter,
Enabled =>parameter,
InZone =>parameter,
Busy =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE FALSE The instruction is executed while the
value of this variable is TRUE.
FirstPosition First Position LREAL Negative number,
positive number
,
or 0
0 Specify the first position of the zone
range.
*1
The unit is command units.
*2
LastPosition Last Position LREAL Negative number,
positive number
,
or 0
0 Specify the last position of the zone
range.
*3
The unit is command units.
*2
ReferenceType Position Type
Selection
_eMC_REFER-
ENCE_TYPE
0: _mcCommand
1: _mcFeedback
0
*4
Specify the axis information to monitor.
0: Command position (value calculated
in the previous task period
*5
)
1: Actual position (value obtained in
the same task period
*5
)
*1. Set a value that is smaller than the last position.
*2. Refer to Unit Conversion Settings in the NY
-series Industrial Panel PC / Industrial Box PC Motion Control User’s
Manual (Cat. No. W559) for information on command units.
*3. Set a value that is larger than the first position.
*4. The default value for an enumeration variable is actually not the number, but the enumerator.
*5. The task period is the primary period.
3 Axis Command Instructions
3-355
NY-series Motion Control Instructions Reference Manual (W561)
MC_ZoneSwitch
3
Variables

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron Sysmac NY-series and is the answer not in the manual?

Omron Sysmac NY-series Specifications

General IconGeneral
CategoryControl Unit
Operating Temperature0 to 55 °C
Power Supply Voltage24 VDC
Power Supply24 VDC
Product SeriesNY-series
CPUIntel Atom or Intel Core i7
Programming LanguagesIEC 61131-3 (LD, FBD, ST, SFC)
Memory (Program)Up to 64 MB
Ethernet Ports2
EtherNet/IP Ports2 ports (built-in)
EtherCAT Master Ports1
EtherCATYes
Motion ControlSupported
SafetyYes
Built-in I/ONo
Relative Humidity10 to 90% (non-condensing)
Vibration Resistance5 to 8.4 Hz: 3.5 mm; 8.4 to 150 Hz: 9.8 m/s²
Shock Resistance147 m/s²
Power ConsumptionVaries by model
CertificationsCE, cULus, RCM, KC, EAC

Summary

Introduction to Motion Control Instructions

Variables and Instructions

Axis Command Instructions

MC_Power

Explains the MC_Power instruction for making a Servo Drive ready to operate.

MC_MoveJog

Explains the MC_MoveJog instruction for jogging an axis according to the specified target velocity.

MC_Home

Explains the MC_Home instruction for operating the motor to determine home.

MC_HomeWithParameter

Explains the MC_HomeWithParameter instruction for setting homing parameters and operating the motor to determine home.

MC_Move

Explains the MC_Move instruction for performing absolute positioning or relative positioning.

MC_MoveAbsolute

Explains the MC_MoveAbsolute instruction for moving the axis to a specified absolute target position.

MC_MoveRelative

Explains the MC_MoveRelative instruction for moving the axis the specified travel distance.

MC_MoveVelocity

Explains the MC_MoveVelocity instruction for performing velocity control.

MC_MoveZeroPosition

Explains the MC_MoveZeroPosition instruction for positioning to an absolute position of 0.

MC_Stop

Explains the MC_Stop instruction for decelerating an axis to a stop.

MC_ImmediateStop

Explains the MC_ImmediateStop instruction for stopping an axis immediately according to the specified stopping mode.

MC_CamIn

Explains the MC_CamIn instruction to start cam operation using a specified cam table.

MC_GearIn

Explains the MC_GearIn instruction to specify the gear ratio and start gear operation.

MC_GearInPos

Explains the MC_GearInPos instruction to perform electronic gear operation with specified gear ratio.

MC_MoveLink

Explains the MC_MoveLink instruction for positioning in sync with the specified master axis.

MC_TorqueControl

Explains the MC_TorqueControl instruction to control torque using the Torque Control Mode.

MC_SetTorqueLimit

Explains the MC_SetTorqueLimit instruction to limit torque output from the Servo Drive.

MC_TouchProbe

Explains the MC_TouchProbe instruction to record axis position when a trigger signal occurs.

MC_SyncMoveVelocity

Explains the MC_SyncMoveVelocity instruction for outputting target velocity in CSV Mode.

MC_SyncMoveAbsolute

Explains the MC_SyncMoveAbsolute instruction to cyclically output target positions.

MC_Reset

Explains the MC_Reset instruction to clear axis errors.

MC_DigitalCamSwitch

Explains the MC_DigitalCamSwitch instruction to turn a digital output ON or OFF based on axis position.

Axes Group Instructions

Common Command Instructions

Related product manuals