Function - 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
Output Variables
Name
Meaning
Enabled
Enable
Busy
Executing
CalcPosition
Calculated
Position
Error
Error
ErrorID
Error Code
*1 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.
*2 Refer to the NY-series Troubleshooting Manual (Cat. No. W564).
Output Variable Update Timing
Name
Enabled
When Enable changes to TRUE.
Busy
When Enable changes to TRUE.
Error
When there is an error in the execution conditions
or input parameters for the instruction.
In-Out Variables
Name
Meaning
Axis
Axis
*1 Specify a user-defined Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (default:
MC_Axis***) or a system-defined axis variable name (_MC_AX[*], _MC1_AX[*], or _MC2_AX[*]).
*2 Specify the encoder axis that is assigned to the NX-series Encoder Input Unit.

Function

• The MC_TimestampToPos instruction calculates the actual current position at the time stamp that is
specified by the input variable based on the actual current position and time stamp of the axis.
• For the axis, specify an NX-series Encoder Input Unit.
• If the Count Mode is set to Linear Mode in the axis parameters and an overflow or underflow occurs
in the calculated position, the calculated value will be the underflow value or the overflow value. In
this case, no error will occur.
3-414
Data
Valid range
type
BOOL
TRUE or FALSE
BOOL
TRUE or FALSE
LREAL
Negative number,
positive number, or
0
BOOL
TRUE or FALSE
WORD
*2
Timing for changing to TRUE
Data type
_sAXIS_REF
TRUE when the axis is being controlled.
TRUE when the instruction is acknowledged.
Contains the position for the specified time stamp.
The unit is command units.
TRUE while there is an error.
Contains the error code when an error occurs. A
value of 16#0000 indicates normal execution.
Timing for changing to FALSE
• When Enable changes to FALSE.
• When Error changes to TRUE.
• When Enable changes to FALSE.
• When Error changes to TRUE.
When the error is cleared.
Valid
range
---
Specify the axis.
NY-series Motion Control Instructions Reference Manual (W561)
Description
*1
Description
*1*2

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents