国产女av I 一区二区小说 I 在线播放妃光莉妃ひかり I 帅主玩帅奴30分钟视频 I 五月婷婷激情综合网 I 国产精彩视频 I 在线视频观看一区二区 I 久草香蕉视频 I 淫语视频 I 手机看片99 I 久久精品韩国 I 不卡av一区 I 大奶子在线播放 I 国产乱码精品一区二区三区不卡 I 91麻豆视频网站 I chinese东北胖熊gay I 最新最近中文字幕 I 伊人免费在线 I 成人免费高清在线播放 I 日韩性生活电影 I 国产成人久久精品 I 美女自卫慰免费视频www免费 I 国产精品1区2区在线观看 I 欧美搞黄网站 I 日韩1区在线 I 18+视频网站 I 翔田千里一区二区三区av I 精品国产一区二区三区久久狼5月 I 老鸭窝毛片一区二区三区 I 国内揄拍国产精品人妻电影 I 无码国产精品一区二区免费vr I 免费啪视频在线观看视频日本 I 免费人成网站在线观看欧美 I 久久亚洲高潮流白浆av软件 I 黄色短片免费看 I 精品久久久久久久妇女 I 亚洲色欲色欲77777小说网站 I 日本午夜在线亚洲.国产 I 国产精品亚韩精品无码a在线

Motion control card application development tutorial laser galvanometer control

2020-12-30

Today, Positive Motion Technology will share with you the application of C++ to develop a motion control routine for laser galvanometer.

We mainly start with creating a new MFC project, adding a function library, and finally explain the actual project-laser galvanometer marking routines to familiarize everyone with its project development.

Before the formal study, we first understand the motion controller ZMC420SCAN of positive motion technology. This product is a 20-axis motion controller.

ZMC420SCAN bus controller supports ECAT/RTEX bus connection, supports up to 20 axis motion control, supports linear interpolation, arbitrary arc interpolation, spatial arc, spiral interpolation, electronic cam, electronic gear, synchronous follow, virtual axis setting Etc.; Real-time motion control can be realized by using optimized network communication protocol.

ZMC420SCAN bus controller supports mixed interpolation of pulse axis/bus axis/galvanometer axis.

ZMC420SCAN supports 10 channels of pulse output and encoder feedback and supports 4 channels of galvanometer axis, onboard 24 input, 12 output, 2AD, 2DA, all output ports support high-speed PWM control.

The wiring method is shown in Figure 1 below:


圖片


圖1
ZMC420SCAN uses a set of API functions, supports C, C++, C#, LabVIEW, Python, Delphi and other development languages, supports VC6.0, VB6.0, Qt, .Net and other platforms, supports Windows, Linux, WinCE, iMac and other operating systems .



圖2

圖片


The PWM output of ZMC420SCAN is controlled by the normal output function. The PWM output can only be performed when the output port is "ON", which is convenient for controlling laser energy.

The output 0-7 of ZMC420SCAN has the function of precise output. The precise output function of each output is independent of each other. Through MOVEOP_DELAY and AXIS_ZSET, you can set whether each MOVE_OP instruction uses precise output and the delay of precise output, so as to realize the laser PSO control.

The output 0-7 of ZMC420SCAN supports precise output and is independent of each other. Through commands: MOVE_OP, AXIS_ZSET, MOVEOP_DELAY to control the laser switch, precise output switch and delay, so as to realize the laser PSO control.

Galvanometer axis:

ZMC420SCAN supports XY2-100 galvanometer protocol, supports motion control and galvanometer joint interpolation movement.

The host computer is connected with the controller through the network port, and obtains the handle of the corresponding controller, controls the galvanometer axis through the XY2-100 protocol, and controls the servo or stepping axis through the bus protocol or pulse mode.


圖片

圖片


The local axis number 4/5 can be configured as the first galvanometer with ATYPE=21, and the local axis number 6/7 can be configured as the second galvanometer with ATYPE=21, and the axis number can be configured through AXIS_ADDRESS.

The following is the development process of laser galvanometer control



New MFC project Add function library


1. In the VS2017 menu "File" → "New" → "Project", start the project creation wizard.

圖片

2. Select the development language as "Visual C++" and "MFC Application" in the program type "MFC/ATL".

圖片

3. Select the type as "Dialog-based", next or finish. The next step is to continue the configuration, and just complete it directly. Select the type, and the others can be edited in the project.

圖片

4. Find the CD-ROM data provided by the manufacturer, the path is as follows (64-bit library as an example):


A. Enter the CD data to find the PC function folder.


B. Select function library 2.1.


C. Windows platform.


圖片

D. Select the corresponding function library according to your needs. Here, select the 64-bit library.


E. Decompress the C++ compressed package, which contains the C++ corresponding function library.


F. The specific path of the function library is as follows.


圖片

5. Copy the C++ library files and related header files provided by the manufacturer to the newly created project.


6. Add static libraries and related header files to the project.


Static libraries: zauxdll.lib, zmotion.lib


Related header files: zauxdll2.h, zmotion.h


A. First right-click the header file, and then select: "Add" → "Existing Item".


圖片

B. In the pop-up window, add static libraries and related header files in turn.

圖片

7. Declare the header file used and define the controller connection handle.

圖片

At this point, the new project is completed.

 




Check the PC function manual to understand its usage


1. The PC function manual is also in the CD-ROM, the specific path is as follows:

圖片

2. PC programming, generally first select the corresponding connection function to connect to the controller according to the controller connection mode, and return the controller handle. Then use the returned controller handle to control the controller.


3. For example, to connect the controller through the network port, first use ZAux_OpenEth() to link the controller to obtain the controller handle.




4. Set the laser galvanometer axis type to the controller through the acquired controller handle.

圖片

The value of the third parameter has the following mode selections. To use the galvanometer axis, you need to select the axis type 21 mode. Set the axis to the galvanometer axis type. The system cycle and refresh cycle of the galvanometer axis type are much faster than the ordinary axis.

圖片

5. Through the acquired controller handle, the galvo axis of the controller is controlled to perform multi-axis motion control, and the galvanometer axis can be matched with the ordinary axis for mixed interpolation motion.

圖片


 



主站蜘蛛池模板: 成年人av在线 | 人人操天天射 | 末发育女av片一区二区 | 欧美日韩一区二区在线视频 | 国产有码视频 | 国产午夜福利在线播放87 | 秋霞特色aa大片在线 | 国产精品女教师久久二区二区 | 国产乱码精品一区二区蜜臀 | 香蕉视频免费在线播放 | 岛国视频一区 | 天天操天天干天天爽 | 日韩欧美tⅴ一中文字暮 | 国内揄拍国内精品对白86 | 羞羞国产一区二区三区四区 | 日本欧美www视频网站 | 亚洲高清免费视频 | 亚洲 欧美 国产 日韩 精品 | 成人性生交大片免费看vr | 国产无遮无挡120秒 91福利网站 | 国产特黄aaa大片免费观看 | 天天噜噜噜在线视频 | 超碰啪啪 | 亚洲国产综合在线区尤物 | 豆花视频18 成人入口 | 午夜在线观看网站 | 一区二区三区四区中文字幕 | 亚洲一区二区三区高清在线看 | 日韩av综合网 | 久久亚洲一区二区三区四区五区 | 欧美日韩成人一区 | 日韩精品久久无码中文字幕 | 蜜臀avwww国产天堂 | 精品9999| 国产午夜精品av一区二区麻豆 | 欧洲精品一区二区三区久久 | 国产真实乱对白精彩久久老熟妇女 | 国产在线无码视频一区 | 在线播放网址 | 夜夜揉揉日日人人 | 狠狠操伊人| 中文不卡av | 亚洲色大成永久ww网站 | av片一区二区 | 丁香五月网久久综合 | 18禁超污无遮挡无码网址 | 国产精品久久久久永久免费观看 | 永久在线观看 | 久久草在线观看视频 | 女儿国3在线观看免费版高清 | 久久午夜夜伦鲁鲁片不卡 | 久久久久久a | 国产在不卡免费一区二区三 | 天天摸天天看天天做天天爽 | 免费国产又色又爽又黄的软件 | 真人性囗交69视频 | 精品国产欧美一区二区三区不卡 | 狠狠色噜噜狠狠狠狠 | 丁香六月综合激情 | 天天看天天摸天天操 | 国产 日韩 欧美 在线 | 日韩在线资源 | 久久99精品久久久久久秒播放器 | 日韩欧美一区二区三区永久免费 | 又黄又爽又猛的视频免费 | 国产乱淫av麻豆国产 | 波多野结衣久久一区二区 | 成人网站色52色在线观看 | 极品少妇粉嫩小泬v片可看 少妇一级淫片免费放正片 一级一毛片a级毛片 | 伊人成综合 | 无码日韩人妻av一区免费 | 韩国三级情欲乳 | 13小箩利洗澡无码视频网站 | 国产美女mm131爽爽爽免费 | 先锋影音中文字幕 | 国产国拍精品av在线观看按摩 | 91粉嫩萝控精品福利网站 | 久久久亚洲欧洲日产国码是av | av在线操| 亚洲免费看黄 | 午夜免费在线观看 | 三级特黄60分钟在线播放 | 成人午夜视频免费观看 | 色婷婷一区二区三区在线观看 | 台湾av一区二区三区 | 午夜美女国产毛片福利视频 | 真人抽搐一进一出视频 | 99久久99久久精品免费看蜜桃 | 色噜噜av| 91中文在线 | 午夜精品久久久久久久99 | 青春草免费视频 | 粉嫩aⅴ一区二区三区 | 最新无码a∨在线观看 | 亚洲人成电影网站色www两男一女 | 女女百合高h喷汁呻吟视频 色偷偷www.8888在线观看 | 两女女百合互慰av赤裸无遮挡 | 一区在线观看 | 国产精品国产三级国产aⅴ入口 |