Function - Omron NY532-1500 Reference Manual

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

Advertisement

Output Variable Update Timing
Name
Done
When overwriting cam table data is completed. • When Execute is TRUE and changes to FALSE.
Busy
When Execute changes to TRUE.
CommandAborted
When there is a reason to abort this instruction. • When Execute is TRUE and changes to FALSE.
Error
When there is an error in the execution condi-
tions or input parameters for the instruction.
In-Out Variables
Name
Meaning
CamTable
Cam Table
* N in the array variable is set automatically by the Sysmac Studio. Specify a cam data variable that was created on Cam Edi-
tor of the Sysmac Studio.

Function

• The MC_SetCamTableProperty instruction changes the end point index of the cam table that is spec-
ified in an in-out parameter.
• The end point is the data located one cam data before the first cam data with a phase of 0 after the
start point in the cam table.
• The array number of the end point is output to EndPointIndex.
• Any data that is detected after the 0 phase is detected is treated as invalid cam data, and the
phase/displacement values are ignored.
• The maximum number of cam data is the value that was specified when the structure array is
declared with the Sysmac Studio.
• When the user program changes the cam data end point index, the end point must be updated. Use
this instruction to update the number of valid cam data.
For details on cam tables, refer to 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).
NY-series Motion Control Instructions Reference Manual (W561)
Timing for changing to TRUE
Data type
Valid range
ARRAY[0..N] OF
---
_sMC_CAM_REF
5 Common Command Instructions
Timing for changing to FALSE
• After one period when Execute is FALSE.
• When Done changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
• After one period when Execute is FALSE.
When the error is cleared.
Description
Specify the cam data structure _sMC_CAM_REF
array variable as the cam table.
*
5
5-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents