Mc_Zoneswitch; Variables - Omron NY532-1500 Reference Manual

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

3 Axis Command Instructions

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
MC_ZoneSwitch
Zone Monitor

Variables

Input Variables
Name
Meaning
Enable
Enable
FirstPosition
First Position
LastPosition
Last Position
ReferenceType
Position Type
Selection
*1 Set a value that is smaller than the last position.
*2 Refer to Unit Conversion Settings in the NJ/NX-series CPU Unit Motion Control User's Manual (Cat. No. W507) or 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 if the task is the primary periodic task and the task period of the priority-5 periodic
task if the task is the priority-5 periodic task.
3-330
FB/
Graphic expression
FUN
FB
MC_ZoneSwitch_instance
MC_ZoneSwitch
Axis
Enable
FirstPosition
LastPosition
ReferenceType
Data type
BOOL
TRUE or FALSE
LREAL
Negative number,
positive number, or 0
LREAL
Negative number,
positive number, or 0
_eMC_REFERENCE
0: _mcCommand
_TYPE
1: _mcFeedback
NY-series Motion Control Instructions Reference Manual (W561)
Axis
Enabled
InZone
Busy
Error
ErrorID
Valid range
Default
FALSE
0
0
*4
0
ST expression
MC_ZoneSwitch_instance (
Axis :=parameter,
Enable :=parameter,
FirstPosition :=parameter,
LastPosition :=parameter,
ReferenceType :=parameter,
Enabled =>parameter,
InZone =>parameter,
Busy =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Description
The instruction is executed
while Enable is TRUE.
Specify the first position of the
*1
zone range.
*2
The unit is command units.
Specify the last position of the
*3
zone range.
*1
The unit is command units.
Specify the axis information to
monitor.
0: Command position (value
calculated in the previous
*5
task period
)
1: Actual position (value
obtained in the same task
*5
period
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents