<

Bring Values and Sucesses To Our Customers

Home / Support and services / Technical Support

Technical support

Technical Support

Economical EtherCAT Motion Controller (1) -- Function Introduction & Application

XPLC006E Function Introduction

XPLC006E is a kind of multi-axis economical EtherCAT bus motion controller developed by ZMotion Technology, and XPLC series motion controllers can be applied in all kinds of occasions that need offline or online operation.


image XPLC006E.png

XPLC006E has 6 motor axes itself, and motion control of 12 axes at most can be achieved (including virtual axes). Also, it supports 12-axis linear interpolation, electronic cam, electronic gear, synchronous follow, virtual axis setting, etc.

In addition, XPLC006E cost-effective controller supports multi-task run synchronously. At the same time, it can do simulation on PC directly. There are several valid programming methods, such as, Basic / PLC ladder diagram / HMI configuration in ZDevelop software and commonly used upper computer software.

For PC upper computer API programming, following interfaces are supported: C#, C++, LabVIEW, VB, matlab, Qt, Linux, .Net, iMAC, Python, ROS, etc.

image 1.png

→Actually, according to different axis numbers, there are XPLC004E, XPLC006E and XPLC008E

There is one note: XPLC006E belongs to bus motion controller, which means it only supports EtherCAT bus axes, pulse axes and encoder axes are invalid. Then, it uses EtherCAT bus and drive to communication with refresh cycle of 1ms.




XPLC864E2 Function Introduction

Let's see XPLC864E2, it is upgraded on the basis of XPLC006E, which means, it supports all functions of XPLC006E mentioned above, and usages are basically the same. However, some resource spaces are better than XPLC006E. What's more, XPLC864E2 supports 32 inputs, 32 outputs, 2 ADs and 2 DAs in hardware level, pulse axis and bus axis can be hybrid used. The number of real axes is 8 totally. Except EtherCAT interface, in hardware of output, signal output of 8 axes in pulse direction can be configured, and be with 2 encoder inputs set by input configuration.

Same, XPLC864E2 supports PLC, Basic and HMI configuration programming methods. For PC upper computer API programming, following interfaces are supported: C#, C++, LabVIEW, VB, matlab, Qt, Linux, .Net, iMAC, Python, ROS, etc.

XPLC864E2.png



image 2.png


I : Hardware Parameters Description

 
1.  Fundamental parameters

XPLC006E & XPLC864E2.png

Attention: XPLC series controllers need dual powers to supply, namely, there needs one IO power supply for IO terminal except master power, otherwise, IO can be operated. Board IO indicating light can check whether IO is powered on or not.


   2.  Controller Status Checking

Firstly, connect to motion controller or simulator well.

Secondly, "Controller" -- "State the controller", state of current connected controller can be checked.

"Controller status" shows many information, including controller basic information, ZCAN node status, slot node status and communication configuration. We could know axis numbers of connected devices, initial IO No. and other messages from node status.

3.png

XPLC006E Controller status

4.png

XPLC864E2 Controller status


From this, we can see basic information includes max virtual axes, max motor axes, tasks, files, spaces of each kind of register, program size, memory size, controller model, software version number and time, IP address, hardware version number, controller hardware ID, configured type of each axis and mapping and others.

A. Controller status -- basicInfo

image 解释1.png

B. ZCAN Node Info

After expansion module is connected, then all node information on CAN bus can be viewed in this window.

C. Slot 0 Nodes

When other devices are connected through EtherCAT bus, such as, drive or expansion module, then, all node information on EtherCAT bus can be checked here.

(how to use CAN bus / EtherCAT bus, please go to ZBasic Manual or send me email: zlm@zmotion.com.cn)

D. Communication Info

Check CAN information and information of RS232, RS485, RS422.

image 5.png

E. Communication setting shows below content:

Now, setting of CAN communication: CANIO_ADDRESS = 32, CANIO_ENABLE = 1

From information of CANIO_ADDRESS and CANIO_ENABLE, we can know controller is in master mode "ZCAN Master", and CAN bus communication velocity is 500kbps, CAN is in enable status.

If you need to modify CAN communication just modify CANIO_ADDRESS and CANIO_ENABLE related parameters.

Port 0 means RS232, ModbusSlave status, address 1, VR and MODBUS registers are independent areas.

Port 1 means RS485, ModbusSlave status, address 1, VR and MODBUS registers are independent areas.

For more details, please see SETCOM instruction.



   3.  Hardware Parameters Checking

In controller status window, commonly used parameters can be viewed directly. All hardware parameters can be viewed through input "?*max". Next, take XPLC006E as example, other models are the same.

image 6.png

image 解释2.png


 
      II : Program Method

XPLC series motion controllers need users to do secondnary development, and there are 2 kinds of development environment, one is ZDevelop programming software developed by ZMotion Technology, another is commonly used upper computer software.

1.   ZDevelop Program Software

As we mentioned, XPLC series motion controllers support Basic / PLC ladder of diagram / HMI configuration programming languages of ZDevelop. They can be hybrid programmed and be called each other. This ZDevelop is very convenient, because these three programming manuals can be opened rapidly in "ZDevelop -- Help". (this is only valid for Chinese ZDevelop, for English ZDevelop, please download manuals first, for manual, here or here

Use ZDevelop, program can be downloaded into controller, then run offline, in this way, save upper computer cost. At the same time, ZDevelop provides simulation, debug, parameter watch and other functions, help customers develop, accelerate the project schedule.

image ZDevelop.png
2.   Upper Computer Software

Controller supports development under all kinds of operation systems, such as, Windows, Linux, Mac, Android, WinCE, etc., and it provides VC, C#, VB. net, LabVIEW and other dll library of various environment.

Upper computer software programming -- refer to "ZMotion PC Function Library Program Manual"

image 7.png

Note: program developed PC upper computer software can not be downloaded into controller, it needs to connect to controller through dll dynamic library.

When using PC upper computer, controller also can be connected to ZDevelop to watch or debug.




III: Hardware Wiring

Below shows how XPLC006E wiring is.

XPLC006E ying.png

XPLC006E 接口.png


It only supports EtherCAT bus axis control, for pulse axis control, please select other models.



IV: Controller Usage Process

Step 1: hardware wiring

Refer to above wiring (controller structure), connect to master power supply (controller uses 24V DC power), drive equipment, IO equipment, HMI, expansion module, etc

Step 2: System configuration

Set parameters of servo drive, configure PC and needed parameters about serial port or net port for controller connection.

Step 3: Connect to controller

Use serial port or net port to connect PC with controller, then build communication connection.

Step 4: Program development

Select one development way, ZDevelop or upper computer, then refer to relative program manuals and routines to edit the program.

Step 5: Program Debug

Download program into "debug program" function of controller, and ZDevelop can be connected to observe debugging situation. When there is no controller, it is also valid to connect to simulator.

Step 6: Run the program

Run the program, and check the effect. Download into controller through ZDevelop, or the program developed by other upper computer software is connected to the controller through the dynamic library, then motion control will be executed when controller received the command.



V: Application

XPLC series motion controllers are widely used in electronic semiconductor equipment (detection, assembly, locking, soldering), dispensing equipment, printing and packing equipment, textile and garment equipment, medical health equipment, assembly line, etc.

image 8.png

That's all, thank you for your reading -- Economical EtherCAT Motion Controller (1) -- Function Introduction & Application

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 Technologyprovides 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