Function - Omron NY532-1500 Reference Manual

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

Advertisement

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_SaveCamTable instruction saves the cam table specified with the in-out variable to non-vol-
atile memory.
• _MC_COM.Status.CamTableBusy (Cam Table File Save Busy) in the system-defined variables for
motion control is TRUE while the cam table is saved.
For information on the cam table data, refer to MC_CamIn on page 3-165.
Precautions for Correct Use
Precautions for Correct Use
• Use this instruction to save the cam data after it is overwritten before you turn OFF the Con-
troller. If you turn OFF the Controller without saving the cam data, the overwritten data will be
lost.
• If the cam table is changed while this instruction is being processed, the update process will
not be performed correctly. Do not write to the cam table while this instruction is being pro-
cessed when changing the cam table from the user program.
• This instruction has a considerably longer processing time compared with other instructions.
The processing time is greatly affected by the processing load on the CPU Unit. If the next
instruction is executed taking the completion of this instruction as a trigger, take care with the
timing of execution of the next instruction.
• Do not turn OFF the Controller while this instruction is being processed. The data is not saved
correctly if the Controller is turned OFF. The cam data in non-volatile memory may become
corrupted.
• You cannot upload cam data, download cam data, start online operation, perform online edit-
ing, or start data traces during execution of this instruction. If this instruction is executed during
a cam data upload, cam data download, or online editing, a Cannot Execute Save Cam Table
Instruction error (error code 743C hex) occurs. Perform retry processing until the cam data is
saved normally. Use the Synchronize Menu of the Sysmac Studio to upload and download the
data.
• There is a limit to the number of times that you can write non-volatile memory. The life of the
non-volatile memory will expire faster if this instruction is executed frequently. Do not execute it
any more than is necessary.
• Cam data variables are global variables. You can therefore access or change the values of
cam data variables from more than one task. If you change the values of cam data variables
from more than one task, program the changes so that there is no competition in writing the
value from more than one task.
• If you use exclusive control of global variables between tasks for a cam data variable, do not
use the cam data variable for motion control instructions while exclusive control is in effect for
the cam data variable. An Incorrect Cam Table Specification error (error code: 5439 hex) will
occur.
• Do not execute this instruction while online edits are being saved.* Otherwise the online edits
may not be saved correctly.
NY-series Motion Control Instructions Reference Manual (W561)
Data type
Valid range
ARRAY[0..N] OF
---
_sMC_CAM_REF
5 Common Command Instructions
Description
Specify the start of a cam data structure _sMC_-
CAM_REF array variable as the cam table.
*
5
5-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents