Function - Omron NY532-1500 Reference Manual

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

Advertisement

Function

• The MC_GenerateCamTable instruction calculates cam data based on CamProperty (Cam Proper-
ties) and CamNodes (Cam Nodes) that are specified for the in-out variables when Execute changes
to TRUE.
• The calculated cam data values are written to CamTable specified for the in-out variable.
• The items in CamProperty (Cam Properties) and CamNodes correspond to the items that are set
with the Cam Editor of the Sysmac Studio.
• When writing the cam table is completed, the end point index of the cam table is updated and the
number of the last cam element is output to EndPointIndex.
It is not necessary to execute the MC_SetCamTableProperty (Set Cam Table Properties) instruction
after completion of the MC_GenerateCamTable instruction.
• While the cam table creation process is in progress, _MC_COM.Status.GenerateCamBusy (Cam
Table Creation Busy) in the MC Common variable of the motion control system variables will be
TRUE.
Cam table before instruction execution
Element No.
Phase
0
1
...
179
180
181
...
Cam table properties
Cam nodes (Curve definitions)
NY-series Motion Control Instructions Reference Manual (W561)
Displacement
The cam data is
calculated and written
0.0
0.0
to the table when the
0.0
0.0
instruction is executed.
...
...
0.0
0.0
0.0
0.0
Cam end point
0.0
0.0
...
...
MC_GenerateCamTable_instance
MC_GenerateCamTable
CamTable
CamProperty
CamNodes
Execute
5 Common Command Instructions
Cam table after instruction execution
Element No.
Phase
0
1
...
179
180
181
...
CamTable
CamProperty
CamNodes
Done
EndPointIndex
"180" is output after instruction execution.
Busy
CommandAborted
Error
ErrorID
ErrorParameterCode
ErrorNodePointIndex
Displacement
0.0
0.0
1.0
1.0
...
...
179.0
199.0
180.0
200.0
0.0
0.0
...
...
5
5-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents