Today, the Motion RT Assistant will share with you the installation and use of MotionRT7, as well as the preliminary preparations for developing with MotionRT7 using LabVIEW.
01
MotionRT7 Introduction
MotionRT7 is a cross-platform real-time motion control kernel launched by Shenzhen Zheng Motion Technology Co., Ltd. It is also the first domestically developed and controllable Windows motion control real-time soft kernel.
1. MotionRT7 has the following features: (1) Independent software installation, suitable for various Windows computers; green and installation-free, quick experience; hardware-bound operating license authorization (can be tried even without authorization); easy to configure, start, connect, simulate operation, etc.
(2) It is compatible with other versions of MotionRT. Once developed, it can be quickly switched to various platforms such as embedded systems and Linux.
(3) Unified function library interface, fast local LOCAL interface, motion function calls are as fast as microseconds, which is dozens of times faster than ordinary PCI cards.
(4) Integrate machine vision to quickly build various motion control + machine vision real-time applications.
(5) Powerful multi-card function, up to 240 axes linkage, supports cross-card linkage, pulse and bus linkage, galvanometer and platform linkage, and easily realizes advanced functions such as position latch/PSO.
2. MotionRT, a real-time motion control kernel that continuously iterates.
MotionRT is a real-time motion control kernel that has been continuously built and developed by positive motion technology. It has been iterated for 7 generations, from MotionRT1 to MotionRT7.
3. MotionRT7 adopts a modular software architecture.
The motion control program, vision algorithms, and MotionRT7 motion control engine interact with each other via high shared memory, significantly improving the efficiency of motion control and machine vision interaction. User-defined functions integrate algorithms such as Gmc, Gear/Cam, Frame, Robotics, and CNC to create customized control systems for individual users.
4. Unified and open API functions
A unified and comprehensive SDK library ensures that all third-party development environments use the same API interface, resulting in a cross-platform product architecture that improves efficiency and maintains compatibility.
5. Simple and easy-to-use motion control features
a. Point-to-point motion, linear interpolation, circular interpolation, helical interpolation, and continuous trajectory machining;
b. Electronic cam, electronic gear, synchronous following, position latching, virtual axis overlay;
cS curve acceleration/deceleration, SS curve acceleration/deceleration, resulting in smoother trajectory motion;
d. 1D/2D/3D high-speed position synchronous output PSO, fully meeting the needs of vision-based imaging, high-speed dispensing, and laser processing;
e. Customers can customize motion control algorithms or robot forward and inverse kinematics algorithms;
f. Facilitates collaboration with third-party visual design firms.
6. Open EtherCAT and configuration/debugging tools
ZDevelop offers open and easy-to-use tools for configuration, development, debugging, and diagnostics. ZDevelop is not only free and green software, but also includes tools for axis debugging, axis status monitoring, and oscilloscope functionality.
MotionRT7 widely supports the EtherCAT bus, including widely used and easy-to-use EtherCAT servos, EtherCAT steppers, EtherCAT IO, EtherCAT valve islands, and EtherCAT sensors.
Our company will continue to improve the EtherCAT configuration tools and strive to make the best motion control solution.
02
Installation and use of MotionRT7
Step 1: Install the driver
1. Open "Device Manager", select "Action" and then "Add legacy hardware", then select "Manual selection".
2. Click "Next".
3. Click "Install from disk".
4. Click the "Browse" button to select the path where the driver is located, open the folder "driver_signed", and select "ZMotionRt64.inf".
5. Keep clicking Next until the installation is complete.
Note: When updating drivers, you must remove the device from Device Manager and make sure to also delete the driver files.
Step 2: Run the console application
1. Open the location of the console program and run the executable file "MotionRt710.exe".
2. Click “Start”.
Step 3: Use ZDevelop software to connect to the controller and monitor parameters.
ZDevelop Link Controller, software version 3.10 and above, uses PCI/LOCAL connection method.
Step 4: Extend the network port to support EtherCAT master protocol
1. Check network connections.
2. Select the network adapter to be used for EtherCAT, right-click and select Properties, then install the protocol.
3. Click Install from disk, select the path of the drive, open the folder "driver_signed", and select "MotionRtPacket.inf".
4. After successful installation, confirm that ZMotionRT64 Packet Protocol Driver is selected.
In the RT console program, select AddEcat. You will then see the corresponding network card. Select it and start RT.
The built-in EtherCAT network card has a certain level of real-time performance. To improve EtherCAT performance, other protocols on the network port need to be removed. For further improvements in real-time performance, please use the dedicated EtherCAT motion control card XPCIE1032 from MotionRT. For more information on MotionRT7 parameter settings and related issues, please refer to the "MotionRT7 Manual".
For related information, please visit the official website of Zheng Motion Technology, www.zmotion.com.cn, or contact relevant personnel at Zheng Motion.
03
LabVIEW for the development of the MotionRT7 project
1. Create a LabVIEW project.
2. Place the zauxdll function library in the labview/user.lib folder in the LabVIEW installation path. You can obtain the zauxdll function library by contacting the relevant personnel at Zhengdong.
Introduction to relevant PC functions
3. LabVIEW single-axis jog routine development based on LOCAL interface.
In the LabVIEW front panel design interface, find the controls you need and drag them to the front panel to design the UI interface, as shown below.
Note: When connecting to MotionRT7 using IP mode, the value of the Eth num configuration item in MotionRT710 must be set to a number greater than 0 (1-12). The input IP is the local machine IP, which can be viewed directly in ZDevelop. 4. LabVIEW block diagram.
(1) IP linking is performed using the flowchart of the link button event handling method via IP linking.
(2) Linking using the LOCAL link method is done through the flowchart of the event handling of the link button in the LOCAL link method.
(3) Negative manual motion program flowchart (pressing the button moves the motion to the negative limit via absolute interpolation instructions, and releasing the button stops the motion).
(4) Forward manual motion program flowchart (pressing the button moves the movement to the positive limit through absolute interpolation instructions, and releasing the button stops the movement).
5. Performance.
Code download address
▼
This concludes our presentation on the Windows Real-Time Motion Control Soft Core (Part 7): LabVIEW Testing of the LOCAL High-Speed Interface.
For more exciting content, please follow the "Zheng Motion Assistant" WeChat official account. For related development environment and example code, please contact Zheng Motion Technology sales engineer: 400-089-8936. This article is original content from Zheng Motion Technology. We welcome everyone to reprint it for mutual learning and to improve China's intelligent manufacturing level together. Copyright of this article belongs to Zheng Motion Technology. Please indicate the source if you reprint it.