EasyManua.ls Logo

Omron Sysmac NY-series - Page 697

Omron Sysmac NY-series
744 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cam Nodes
The initial values of the cam node variable are given in the following table.
Ele-
me
nt
No.
Phase
(Master
Axis
Phase)
Distance
(Slave
Axis Dis-
place-
ment)
Curve
(Curve Shape)
Connecting-
V
elEnable
(Connecting
Velocity Ena-
ble)
Connec-
tingVel
(Connect-
ing Veloc-
ity)
Connec-
tingAc-
cEnable
(Connect-
ing Accel-
eration
Enable)
Connectin-
gAcc
(Connecting
Acceleration)
Phase-
Pitch
(Phase
Pitch)
0 180.000 -100.000 _mcModifiedSine FALSE 0.000 FALSE 0.000 0.010
1 360.000 0.000 _mcPolynomic5 FALSE 0.000 FALSE 0.000 0.010
2 0.0 0.0 _mcConstantLine FALSE 0.000 FALSE 0.0 0.0
3 0.0 0.0 _mcConstantLine FALSE 0.000 FALSE 0.0 0.0
The sample programming changes the curve shape for element 0 and adds a node point to element 1.
Ele-
me
nt
No.
Phase
(Master
Axis
Phase)
Distance
(Slave
Axis Dis-
place-
ment)
Curve
(Curve Shape)
Connecting-
V
elEnable
(Connecting
Velocity Ena-
ble)
Connec-
tingVel
(Connect-
ing Veloc-
ity)
Connec-
tingAc-
cEnable
(Connect-
ing Accel-
eration
Enable)
Connectin-
gAcc
(Connecting
Acceleration)
Phase-
Pitch
(Phase
Pitch)
0 180.000 -100.000 _mcPolynomic5 FALSE 0.000 FALSE 0.000 0.010
1 200.000 -102.000 _mcStraight-
Line
FALSE 0.000 FALSE 0.000 0.010
2 360.000 0.000 _mcPolynomic5 FALSE 0.000 FALSE 0.000 0.010
3 0.0 0.0 _mcConstantLine FALSE 0.000 FALSE 0.0 0.0
Ladder Diagram
Main Variables
Name Data type Default Comment
MC_Axis000 _sAXIS_REF --- Axis Variable for the master axis,
axis 1.
MC_Axis001 _sAXIS_REF --- Axis Variable for the slave axis,
axis 2.
CamProfile0 ARRAY[0..36000] OF
_sMC_CAM_REF
--- This is the cam data variable.
The cam data variable is created
in advance on the Cam Editor of
the Sysmac Studio.
Pwr1_Status BOOL --- This variable is assigned to the
Status output variable from the
PWR1 instance of the MC_Power
instruction. This variable changes
to TRUE when the Servo is
turned ON.
5 Common Command Instructions
5-35
NY-series Motion Control Instructions Reference Manual (W561)
MC_GenerateCamTable
5
Sample Programming

Table of Contents

Related product manuals