Motion Control Is In Your Reach

Home / News / Learn and Share

Learn and Share

How To New Build Project Through Program Software | ZDevelop

Release time :2024-05-09 10:39 Author:Zmotion Number of hits :280


ZDevelop is a PC-side program development debugging and diagnosis software for ZMoiton series motion controllers. Through it, users can easily edit and configure the controller program, quickly develop applications, monitor the axis running parameters in real time, and real-time debug the running program of controller. And it supports Chinese and English bilingual environment.

image 1.png

ZDevelop programming software supports ZBasic, ZPLC ladder diagram, ZHMI configuration programming. ZBasic is the Basic programming language used by ZMotion motion controller, and provides all standard program grammar, variables, arrays, conditional judgments, loops and mathematical operations. This extended Basic instruction and function provides a wide range of motion control functions, such as single-axis motion, multi-axis synchronization and interpolation motions, as well as digital, analog and IO control.

ZBasic supports below functions:

1.         Self-define the SUB procedure, some general functions can be written as a self-defined SUB procedure, which is convenient for program writing and modification.

2.         SUB procedure with G code form, which supports G00, G01, G02, G03, G04, G90, G92 and other common instructions.

3.         Support global variables (GLOBAL), array and SUB procedure. Support file module variables, array and SUB procedure. Support local variables (LOCAL).

4.         Interruption procedure (power-off interruption, external interruption, timer interruption), such as, power-off interruption, save data through power off interruption, which can recover the power-off status.

ZBasic has the real-time multi-task property, multi ZBasic procedures can build at the same time and multi-task real-time operation, which makes the complex application simpler.

PC online send Basic commands also can realize the same effect, the inner Basic program of controller and PC online Basic commands can multi-task run simultaneously.







How To Build New Project

Please build a new folder to save the project that is to be built. Open ZDevelop programming software, here shows ZDevelop V3.10. Please visit ZMOTION website (www.zmotionglobal.com) to update software version.

1. New build item: “File” in “Menu” → “New Project”.

image 2.png


2. Click “New Project”, then “Save as…” will be jumped, select one folder and open it. Input folder’s name and save the project, pay attention to the suffix should be “.zpj”.

image 3.png


3. New build a file: “File” → “New File”.

image 4.png


After clicking “New Project”, below jumping window will appear, which supports Basic/PLC/Hmi hybrid programming. Here selects the “Basic” file type and click “OK”.

image 5.png


4. Set file as automatic operation: please see the below picture, double click the right position “AutoRun” of “File”, and input task number is “0”.

image 6.png



5. Program the procedure: when procedure is programmed, click “save” the file. New built Basic file will be saved automatically into the file in Project zpj.

6. Connect to Controller: program the procedure well in the input window, click “Controller” - “Connect”.

If there is no “Controller”, select connect to simulation, click “Connect” – “Connect to Simulator”. In this way, it can be connected to simulator, and there is hint showing simulator is connected successfully.

image 7.png


Click “Connect”, then “Connect to Controller” window will jump. And select serial port parameters or net port IP address, click “Connect”. When it is connected well, print information in Command and Output window: Connect to Controller: ZMC432 Version: 4.64-20170623.

image 8.png


For the detailed method of serial port connection and network port connection, please refer to the "Help" → "ZDevelop Help" document in the menu bar of ZDevelop software.

7. Download Program: click “Download RAM” or “Download ROM”. When it is downloaded successfully, Command and Output window will give a hint. Program is downloaded into controller and will run automatically.

--Download RAM
--Download ROM

The program will not be saved after the RAM download is powered off, but the program will be saved after the ROM download is powered off. After the program downloaded to the ROM is connected to the controller next time, the program will automatically run according to the task number.




Precautions:

Ø   When open the project item, select the item zpj file. If only the Bas file is opened, program can’t be downloaded into controller.

Ø   ZMC00x series controller don’t support Download RAM.

Ø   When project is not built, only Bas file can’t be downloaded into controller.

Ø   AutoRun 0 means the task number, task number 0 runs the procedure. Task number doesn’t have priority.

Ø   If all files of whole project are not set the task number, when downloading into controller, system will give the indication: WARN: no program set autorun.

image 11.png








That's all, thank you for your reading -- Learn & Share (1) | How To New Build Project Thrugh ZDevelop.

For more information, please pay close attention to    "Support"   and    "Download"    , and there are other platforms about ZMOTION --    Youtube   &    LinkedIn   &    Twitter   &    Tiktok   &    Facebook  including technical information (development environment, routine code), product showing, company development, etc.

Hope to meet you, talk with you and be friends with you.
   Welcome!

This article is edited by ZMOTION, here, share with you, let's learn together. ZMOTION: DO THE BEST TO USE MOTION CONTROL.

Note: Copyright belongs to ZMotion Technology, if there is reproduction, please indicate article source. Thank you
 .

ZMOTION Technology   has attracted experienced talents from famous companies or institutions, such as Huawei, ZET, Huazhong University of Science and Technology etc. ZMOTION insists self- innovating and collaborating with comprehensive universities, to research basic knowledge of motion control. Due to its concentration and hard work in motion control technology, ZMOTION already become one of the fastest growing industrial motion control companies in China, and is also the rare company who has managed core technologies of motion control and real time industrial control software completely.

ZMotion Technology   provides motion control card, motion controller  , vision motion controller, expansion module and HMI. (  more keywords   for ZMOTION: EtherCAT motion control card, EtherCAT motion controller, motion control system, vision controller, motion control PLC, robot controller, vision positioning...)


Copyright © 2013-2024 Shenzhen Zmotion Technology Co.,Ltd Design by Zmotion    粤ICP备13037187号 Motion Controller-Motion Control Card

Contact Us-Youtube