Omron NY532-1500 User Manual page 211

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

Cam Tables
The MC Function Module defines a single element of data consisting of the phase of the master axis
and the displacement of the slave axis as one cam data. A cam table is defined as the combination of
multiple sets of cam data. The cam table is created with the Cam Editor in the Sysmac Studio. You can
modify cam data in the cam table from the user program.
The phases and displacements in the cam data that makes up the cam table are represented as rela-
tive distances from the start point 0.0. During cam operation, the command position sent to the slave
axis is the displacement determined by interpolating linearly between the two cam data elements adja-
cent to the phase of the master axis. The more cam data there is in the cam table, the more accurate
the trajectory and the smoother the cam profile curve will be.
Cam table
Phase Displacement
Cam start point
0
Cam data
60
120
180
240
300
Cam end point
360
Precautions for Correct Use
Precautions for Correct Use
• Make sure that the cam data is arranged in the cam table so that the phases are in ascending
order. An instruction error occurs if a cam operation instruction is executed when the phases
are not in ascending order.
• 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 in a task that does not control the
variable. An Incorrect Cam Table Specification (event code: 54390000 hex) will occur.
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
Cam data index
0
0
1
200
100
2
Displacement
3
300
4
100
5
200
6
0
9 Motion Control Functions
Command position during
1 cycle
cam operation
350
300
250
200
150
100
50
0
0
60
120
180
Phase
Cam data (black dots on the line).
The phase is calculated from the master
axis position each cycle. The linear
interpolation of cam data is used to
calculate the displacement from the phase.
(These are the red dots on the line.)
240
300
360
9-17
9

Advertisement

Table of Contents
loading

Table of Contents