readme.txt
来自「美国COPLEY驱动器,程序开发工具之一.」· 文本 代码 · 共 25 行
TXT
25 行
This directory contains a very simple example of using two amplifiers/motors
in a coordinated way to drive a single gantry. (A gantry is a pair of linear
stages that move in unison with some structure held between them.)
Here are the steps you will need to get it working:
- Use the CME program to setup the amps. This example doesn't set any loop
gains or other setup parameters, it assumes that has already been done.
- Make sure the node ID of the amplifiers match the ones set at the top of the
gantry.cpp file.
- Compile gantry.cpp. You will also need to compile in the various CPP files in the
main CML directory. The files you will need to compile will be:
CML/examples/gantry/gantry.cpp
CML/c/*.cpp
CML/c/can/can_copley.cpp <--- depends on which CAN card is being used.
CML/c/threads/Threads_w32.cpp <--- depends on the operating system
- If running under windows, you can use the supplied project file (gantry.dsp)
to configure the compiler.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?