6 Motion Control Programming
6-28
NJ-series CPU Unit Motion Control User’s Manual (W507)
6-7
Cam Tables and Cam Data Variables
The MC Function Module uses the cam profile curves that you create on the Cam Editor of the Sysmac
Studio as cam tables. The cam table data is handled as cam data variables in the user program in the
NJ-series Controller.
* Use the Synchronization menu command of the Sysmac Studio to upload and download the project.
z
Cam Table Data Flow
•
Use the Sysmac Studio to download the cam profile curves that you created in the Sysmac Studio
to the CPU Unit to save them as cam tables in the non-volatile memory in the CPU Unit.
•
The saved cam tables are implemented as cam data variables in the main memory after you
download them or when the power is turned ON.
•
You can use the user program to edit cam data variables in the main memory.
Refer to
for information on cam data variables.
•
The motion control instruction MC_SaveCamTable saves the cam data variables in the main
memory to non-volatile memory.
•
For details on the MC_SaveCamTable instruction, refer to the
NJ-series Motion Control Instruc-
tions Reference Manual
(Cat. No. W508).
•
You can upload and download cam tables regardless of the operating mode of the CPU Unit mode
or the status of the MC Function Module. You cannot upload cam data, download cam data, start
online operation, perform online editing, or start data traces during a cam table save operation.
The MC_SaveCamTable instruction is not executed during online editing.
•
All axes in motion will decelerate at the maximum deceleration rate and the Servo will turn OFF
when you start the download process.
Creating and Saving Cam Tables
ID211
0
1
3
2
4
5
7
6
8
9
11
10
12
13
14
15
DC24V
7mA
COM
MACH
No.
AD042
RUN
ERC
ERH
B1
A1
x101
x100
0
9
8
7
6
5
4 3 2
1
0
9
8
7
6
5
4 3 2
1
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
User program
CPU Unit
Cam Table
Downloaded.
MC_SaveCamTable
instruction
Data movement instructions
Modified.
Cam data variables
Main memory
Saved.
⋅
After cam data
is downloaded
⋅
When power is
turned ON
Non-volatile memory
Uploaded.
Sysmac Studio: Used to create cam profile curves.
Spreadsheet software: Used to edit cam tables in CSV format.
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...