Page 2
This manual is copyrighted by Shenzhen Technology Co., Ltd., without the written permission of the Zmotion Technology, no person shall reproduce, translate and copy any content in this manual. The above-mentioned actions will constitute an infringement of the copyright of the company's manual, and Zmotion will investigate legal responsibility according to law.
Page 3
⚫ Zmotion will not take any legal responsibility for personal safety accidents and property losses caused by failure to comply with the contents of this manual or illegal operation of products. Safety Level Definition According to the level, it can be divided into "...
Page 4
◆ Improper installation of the controller may result in misoperation, failure and fire. Wiring ◆ The specifications and installation methods of the external wiring of the equipment shall comply with the requirements of local power distribution regulations. ◆ When wiring, all external power supplies used by the system should be disconnected before operation.
1.1. Product Information ZMC408SCAN Laser-Galvanometer Motion Controller is a kind of high-performance fieldbus dual-SCAN motion controller launched by Zmotion. It is designed for industrial laser + galvanometer + motion control. And multi-axis motion control can be achieved through EtherCAT bus and pulse axis interface.
Page 9
ZMC408SCAN Motion Controller Hardware Manual V1.5 hardware comparison output, PWM, etc., then 12 are low-speed digital outputs, the max output current can reach 300mA, which can drive some solenoid valves directly. 24 leakage digital inputs, and 4 channels are high-speed inputs, 20channels are low- ◆...
ZMC408SCAN Motion Controller Hardware Manual V1.5 1.3. System Frame 1.4. Hardware Installment The ZMC408SCAN motion controller is installed horizontally with screws, and each controller should be fastened with 4 screws. → Unit: mm → Mounting Hole Diameter 4.5mm...
Page 11
ZMC408SCAN Motion Controller Hardware Manual V1.5 ⚫ Non-professionals are strictly prohibited to operate. Specifically, professionals who had been trained related electrical equipment, or who master electrical knowledge. Please be sure to read the product instruction manual and safety ⚫ precautions carefully before installation.
ZMC408SCAN Motion Controller Hardware Manual V1.5 2.2. Interface Definition → Interface Description Mark Interface Number Description Power state: it lights when power is conducted. The led that indicates the current state. Run state: it lights when runs normally Error state: it lights when runs incorrectly...
Page 14
ZMC408SCAN Motion Controller Hardware Manual V1.5 EtherCAT bus interface, connect to EtherCAT EtherCAT EtherCAT bus interface bus drive and EtherCAT bus expansion module Use MODBUS_TCP protocol, expand the number of network ports through the ETHERNET Network port interchanger, and the number of net port channels can be checked through “?*port”...
ZMC408SCAN Motion Controller Hardware Manual V1.5 Chapter Wiring, Communication Configuration & 3.1. Power Input The power supply input adopts a 5Pin (there are all 3 terminals) screw-type pluggable wiring terminal, and the interval (means the gap distance between two ports) should be 3.81mm.
ZMC408SCAN Motion Controller Hardware Manual V1.5 Overcurrent Protection Valid 3.1.2. CAN Communication Specification & Wiring The CAN interface of the controller adopts the standard CAN communication protocol, which mainly includes three ports, CANL, CANH and the public end. And it can connect CAN expansion modules and other standard CAN devices.
Page 18
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Notes: As above, the daisy chain topology is used for wiring (the star topology structure ⚫ cannot be used). When the use environment is ideal and there are no many nodes, the branch structure also can be used.
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.1.3. Basic Usage Method (1) Please follow the above wiring instructions to wiring correctly. (2) After powered on, please use any one interface among the three interfaces (ETHERNET, RS232, RS485) to connect to ZDevelop;...
ZMC408SCAN Motion Controller Hardware Manual V1.5 on, and the communication establishment will fail or the communication will be disordered. 3.2. IN Digital Input & High-Speed Latch Port The digital input adopts 3 groups of 8Pin (there are 3 groups of 8 terminals) screw- type pluggable terminals, and the gap distance between terminals should be 3.81mm.
ZMC408SCAN Motion Controller Hardware Manual V1.5 requirements on output of electric level can be achieved. For the public end, please connect the "EGND" port on the power supply to the "COM" ⚫ terminal of the external input device. If the signal area power supply of the external device and the power supply of the controller are in the same power supply system, this connection also can be omitted.
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.3. OUT (Digital Output, PWM Terminal, Hardware Comparison Output) The digital output adopts 3 sets of screw-type pluggable terminals with a spacing of 3.81mm, and the PWM and high-speed comparison output functions are integrated in digital output signal.
ZMC408SCAN Motion Controller Hardware Manual V1.5 Note: The E24V is a freewheeling clamp port. When there is an inductive load on the output port, connecting it to the positive pole of the load power supply, then it can enable the freewheeling function of each digital output port to protect the circuit.
Page 25
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Reference → Wiring Note: The wiring principle of high-speed digital output OUT (0-7) and low-speed digital ⚫ output OUT (10-19, 34, 35) is shown in the figure above. The external signal receiving end can be an optocoupler or a relay or solenoid valve, all can be connected as long as the input current does not exceed 300mA.
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.3.2. Basic Usage Method (1) Please follow the above wiring instructions to wiring correctly. (2) After powered on, please use any one interface among the three interfaces ETHERNET, RS232 and RS485 to connect to ZDevelop.
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.4. AD/DA Analog Input/Output The analog port adopts a set of 5Pin screw-type pluggable terminals with a spacing of 3.81mm. → Terminal Definition Terminal Name Type Function Analog input terminal: AIN(0) Input Analog input terminal: AIN(1)
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Note: ⚫ The analog input/output wiring method is as shown in the figure above, and the external load signal range must match with this signal range. Please use STP, especially in bad environments, and make sure the shielding layer is ⚫...
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.5. RS232/RS485 Serial Port RS232 and RS485 are integrated in one standard DB9 male socket and supports MODBUS_RTU protocol and custom communication. → Interface Definition: Terminal Name Type Function 1, 6, 8 Spare Reserved...
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Notes: ⚫ The wiring of RS232 (port0) is as above, it needs to cross-wiring for sending and receiving signals, and it is recommended to use a double-female head cross line when connecting to a computer.
Controller / State the Controller / CommunicationInfo”. 3.6. U Disk The ZMC408SCAN motion controller provides a USB communication interface, which can insert the U disk device. It is used for ZAR program upgrading, controller data importing and exporting, file 3 executing, etc. Its schematic diagram is shown in the figure...
500mA Whether Isolates 3.7. ETHERNET ZMC408SCAN motion controller has a 100M network port, and it supports MODBUS_TCP protocol and custom communication, the default IP address is 192.168.0.11. The pin definition is as follows: The Ethernet port of the controller can be connected to a computer, HMI, etc. through an Ethernet cable, and using point to point connection method.
The schematic diagram is as follows: 3.8. EtherCAT Bus Interface ZMC408SCAN motion controller has a 100M EtherCAT communication interface, and it supports EtherCAT protocol. In addition, EtherCAT driver or EtherCAT expansion module can be connected. The pin definition is as follows:...
Page 35
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Specification Item Specification Communication protocol EtherCAT protocol Valid service CoE(PDO, SDO), FoE IO adopts input and output synchronization / DC- Synchronization method distributed clock Physical level 100BASE-TX Duplex mode Full duplex Topology linear topology...
ZMC408SCAN Motion Controller Hardware Manual V1.5 Isolation cross skeleton Connector Crystal head with iron shell Cable material Cable length Less than 100m Use RJ45 network cable connection method: When installing, hold the crystal head that is with the cable and insert it into the RJ45 ⚫...
Page 37
ZMC408SCAN Motion Controller Hardware Manual V1.5 OUT20- General output (recommended as 2317ENABLE driver enable) Encoder differential input signal A- Encoder differential input signal B- Encoder differential input signal Z- Positive pole of 5V power of pulse/encoder signal Reserved Reserved DIR+...
ZMC408SCAN Motion Controller Hardware Manual V1.5 servo driver, please do not use it as power supply for other places. 3.9.1. AXIS Interface Signal Specification & Wiring → Specification: Signal Item Description Signal type Differential output signal PUL/DIR Voltage range 0-5V...
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Reference: Reference example of wiring with Panasonic A5/A6 servo driver: → Wiring Note: The wiring principle of the differential pulse axis interface is shown in the figure above, and the wiring methods of different types of drivers are different, please connect carefully.
Page 40
ZMC408SCAN Motion Controller Hardware Manual V1.5 (5) Control corresponding motion through “View – Manual”. Refer to BASIC Routine:...
ZMC408SCAN Motion Controller Hardware Manual V1.5 Note: ➢ 5V power supply only supplies for handwheel, don’t supply power for others. ➢ All signals of this interface are digital input signals, number is IN (32-43). 3.10.1. MPG Handwheel Interface Specification & Wiring →...
Page 43
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Note The wiring principle of handwheel encoder axis interface is shown above, please ⚫ connect carefully due to diversified handwheel designs. ⚫ Please use STP, especially in bad environments, and make sure the shielding layer is...
ZMC408SCAN Motion Controller Hardware Manual V1.5 3.10.2. Basic Usage Method Refer to above handwheel wiring graphic, correctly connect the handwheel and controller. After powered on, please select ETHERNET or RS232 or RS485 to connect to ZDevelop. Configure axis No., if there is no default AXIS axis No. (axis 10, 11, 12, 13 are recommended) of controller handwheel interface, remapped must be done.
This product provides two interfaces specialized for local galvanometer axis, and each interface is double-row standard DB25 female socket. ZMC408SCAN supports the XY2-100 galvanometer protocol, the refresh period is 10us-50us, and supports joint linkage interpolation motion between motion control and galvanometer.
ZMC408SCAN Motion Controller Hardware Manual V1.5 Attention: 1. Under the default situation of 2D galvanometer, SCAN0 relates to Axis 4 and Axis 5 of 2D galvanometer, SCAN1 relates to Axis 6 and Axis 7 of 2D galvanometer. 2. Under the default situation of 3D galvanometer, one is only supported. SCAN0 relates to Axis 4, Axis 5 and Axis 8 of 3D galvanometer.
Page 47
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Notes ⚫ Wiring principle of SCAN galvanometer axsi interface is above, please use differential wiring standard, and note signal specification should match each other. ⚫ Please use STP, especially in bad environments, and make sure the shielding layer is...
ZMC408SCAN Motion Controller Hardware Manual V1.5 4.2. Basic Usage Method Please wiring correctly according to above wiring description. Please select one interface among EtherNET, RS232 (default parameters can be directly connected) and RS485 (default parameters can be connected directly, need to use adapter head for hardware) to connect ZDevelop.
ZMC408SCAN Motion Controller Hardware Manual V1.5 Chapter V LASER Interface This product provides one interfaces specialized for local YLR laser, and interface is double-row standard DB25 male socket ⚫ The LASER laser control interface supports the connection of IPG, YLR, YLS and other types of lasers.
ZMC408SCAN Motion Controller Hardware Manual V1.5 Laser system input when powered on, Power ON IN48 24V is valid Laser input when in standby status, 24V Laser standby IN47 is valid Laser is in ready status to input, 24V is Ready...
Page 51
ZMC408SCAN Motion Controller Hardware Manual V1.5 Overcurrent protection Isolation method Optoelectrical isolation Input method PNP Source type Input frequency <5KhZ Input impedance 3.3kΩ Input voltage level DC24V IN (44-49) Voltage to ON >7.2V Voltage to OFF <7.1V Min input current 1.8mA...
Page 53
ZMC408SCAN Motion Controller Hardware Manual V1.5 1. Wiring reference of LASER laser interface is above, except OUT8 and OUT9, other digital IOs can be customized. 2. There are 2 wiring ways for lasers that need analog input. Controller 12-DA interface can be used for not high resolution, but if you need high resolution, please use LASER interface with 16-DA.
ZMC408SCAN Motion Controller Hardware Manual V1.5 3. Please use STP, especially in bad environments, and make sure the shielding layer is fully grounded. 5.2. Basic Usage Method Please wiring correctly according to above wiring description. Please select one interface among EtherNET, RS232 (default parameters can be directly connected) and RS485 (default parameters can be connected directly, need to use adapter head for hardware) to connect ZDevelop.
Page 55
ZMC408SCAN Motion Controller Hardware Manual V1.5 Force_Speed = 2000 ‘empty move speed MoveScanAbs (50, 50) ‘empty move to 50, 50 MoveOp_Delay = -1.5 ‘open the light in advance 1.5ms, use Move_Delay to delay switching on the light Move_Pwm (8, 0.5, 10000) ‘set PWM duty cycle as 0.5, frequency as 10000K Move_Op (8, ON) ‘start to output the light when laser OP8...
Chapter VI EXIO Expansion IO 6.1. EXIO Expansion IO Interface Description EXIO expansion IO interface on ZMC408SCAN controller can be configured flexibility, and the EXIO interface is specially used to drive a variety of lasers on the market. It requires a special adapter board to use. And this interface cannot be connected to any load except the special adapter board, and this interface adopts a double-row DB25 female socket.
Customize digital IOs that are enabled, and controller can achieve laser’s functional control through secondary development. 6.2.1. FIBER Laser Adapter Board ZMC408SCAN-Fiber adapter board is below, output port adopts DB25 male socket, which can be used to connect JPT, MOPA, IPG, YLP, YLPN and other lasers. Expansion IO configuration: EXIODIR(0, $8FFFF).
Page 59
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Interface Definition Relative digital input Signal Description / output signal Power set position D0 OUT36 (EXIO_16) Power set position D1 OUT37 (EXIO_5) Power set position D2 OUT38 (EXIO_17) Power set position D3 OUT39 (EXIO_6)
Page 60
ZMC408SCAN Motion Controller Hardware Manual V1.5 Reserved Reserved Negative pole of +5V output, signal 14,15 public end STA0 Alarm status feedback (input interface) IN66 (EXIO_10) +5V output positive pole, max is 100mA, hang in the air when no use Main oscillator switch signal...
Page 61
ZMC408SCAN Motion Controller Hardware Manual V1.5 Attention: 1. Buffer output means output logic follows the logic of EXIO port that is to be mapped. 2. Initial logic is 0 after EXIO port is configured as output, namely, initial logic of OUT corresponding to above also is 0 and the output voltage is about 0.1V.
PRR signal. Note: for terminal control, please refer to laser manual description. 6.2.2. YAG Laser Adapter Board ZMC408SCAN-YAG adapter board is below, output port adopts DB25 male socket, which can be used connect to UW-YAG types lasers.
Page 63
ZMC408SCAN Motion Controller Hardware Manual V1.5 Unit: mm ➢ Height: 35mm ➢ Installation Hole Diameter: 4.5mm ➢ → Interface Definition Relative digital Signal Description in/out signal EGND External supply power 24V negative SCH 1 Work status 1 OUT8 (EXIO_9) SCH 2...
Page 65
ZMC408SCAN Motion Controller Hardware Manual V1.5 current Optoelectrical Isolation isolation E24V max output current 50mA Attention: OUT53 is different from other OUTs, and it uses high-speed optocoupler isolation, which means it allows higher communication speed ratio. → Wiring Reference...
Page 66
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Notes Above is the example of UW-075, also, you can refer this to customize the specific pin to be connected. Please use the cable with shield, and shield layer should be connected to the ground ...
ZMC408SCAN Motion Controller Hardware Manual V1.5 Chapter VII Expansion Module The controller can expand digital IO, analog IO, pulse axis and other resources through CAN bus or EtherCAT. For details, please refer to "ZIO Expansion Card Hardware Manual". Also, through EtherCAT bus (EIO series or ZMIO310 series vertical bus expansion modules) expansion of these resources also can be achieved, please refer to each EIO hardware manual for details.
Page 68
ZMC408SCAN Motion Controller Hardware Manual V1.5 → Wiring Note: ZMC408SCAN controller uses the single power, and ZIO expansion module uses dual-power. When using, main power supply of expansion module and main power supply of controller can share one power. When they use different power supplies, controller power EGND needs to connect to expansion module power GND, otherwise CAN may be burnt out.
ZMC408SCAN Motion Controller Hardware Manual V1.5 7.1.2. CAN Bus Expansion Resource Mapping The ZCAN expansion module generally has an 8-bit DIP switch, dial ON to take effect, and the meaning of the DIP is as follows: 1-4: they are used for ZCAN expansion module IO address mapping, the corresponding value is 0-15.
Page 70
ZMC408SCAN Motion Controller Hardware Manual V1.5 command. There are also four speed parameters that can be selected. The communication speed must be consistent with the communication speed of the expansion module that corresponds to the combination value, then they can communicate with each other.
Page 71
ZMC408SCAN Motion Controller Hardware Manual V1.5 The initial IO mapping number of the analog AD starts from 8 and increases in multiples of 8. The initial IO mapping number of the analog DA starts from 4 and increases in multiples of 4. The allocation of digital IO numbers corresponding to different dial code...
Page 72
ZMC408SCAN Motion Controller Hardware Manual V1.5 be selected to expand two pulse axes. These two pulse axes need to be mapped and bound with the axis No., then access. Extended axes need to perform axis mapping operations, using the AXIS_ADDRESS command to map, and the mapping rules are as follows: AXIS_ADDRESS(axis No.)=(32*0)+ID...
When wiring, pay attention that EtherCAT IN is connected to the upper-level module, and EtherCAT OUT is connected to the lower-level module. The IN and OUT ports cannot be mixed. EIO expansion module wiring reference example (take ZMC408SCAN as an example):...
ZMC408SCAN Motion Controller Hardware Manual V1.5 Involved number concepts in above figure are as follows: the bus-related command parameters will use the following numbers: Slot number (slot): The slot number refers to the number of the bus interface on the controller, and the slot number of the EtherCAT bus is 0.
Page 75
ZMC408SCAN Motion Controller Hardware Manual V1.5 only through the IO number. The IO number of the EtherCAT bus expansion module is set through the bus command NODE_IO, and the input and output are configured at the same time. When IO mapping, first check the maximum IO number of the controller itself (including the external IO interface and the interface in the pulse axis), and then use the command to set.
Page 76
ZMC408SCAN Motion Controller Hardware Manual V1.5 Example: AXIS_ADDRESS(0)=(0<<16)+0+1 'the first drive on the EtherCAT bus, drive number 0, bound as axis 0 AXIS_ADDRESS(1)=(0<<16)+1+1 'the second drive on the EtherCAT bus, drive number 1, bound as axis 1 If the first node is EIO16084, and EIO16084 is connected to drive, then driver 0 here...
8.1. ZDevelop Software Usage ZDevelop is a PC-side program development, debugging and diagnostic software for the ZMoiton series motion controllers of Zmotion Technology. Through it, users can easily edit and configure the controller program, quickly develop applications, diagnose system operating parameters in real time, and watch the motion controller. The running program is debugged in real time and supports Chinese and English bilingual environments.
Page 78
ZMC408SCAN Motion Controller Hardware Manual V1.5 Click “File” – “New File”, select file type to build, here select Basic, click “OK”. Double click “AutoRun”, enter task number 0.
Page 79
ZMC408SCAN Motion Controller Hardware Manual V1.5 Edit program program editing window, click “save”, built basic file will be saved under “zpj.” project automatically. “Save all” means all files under this project will be saved. Click “controller – connect”, if no...
Page 80
ZMC408SCAN Motion Controller Hardware Manual V1.5 parameters port address, then click “connect”. Click “Ram/Rom” – “download RAM download ROM”, if it is successful, there is print indication, the same time, program downloaded into controller runs automatically. RAM: it will not...
Page 81
ZMC408SCAN Motion Controller Hardware Manual V1.5 Click “Debug” – “Start/Stop Debug” to call “Task” “Watch” window, because it was downloaded before, here select “Attach the current”. Click “View” – “Scope” to open oscilloscope. Note: ⚫ When opening an project, choose to open the zpj file of the project. If only the Bas file is opened, the program cannot be downloaded to the controller.
Mac, Android, and wince, and provides dll libraries in various environments such as vc, c#, vb.net, and labview, as shown in the figure below. PC software programming refers to "ZMotion PC Function Library Programming Manual". The program developed using the PC software cannot be downloaded to the controller, and it is connected to the controller through the dll dynamic library.
Page 83
ZMC408SCAN Motion Controller Hardware Manual V1.5 Select development language “Visual C++” and the select program type “MFC application type”. Select “Based on basic box”, click “next” or “finish” Find function library provided manufacturer. Routine below (64-bit library) Copy all DLL related library files under the above path to the newly created project.
Page 84
ZMC408SCAN Motion Controller Hardware Manual V1.5 zmotion.lib Item". Related header 2) Add static files: libraries and zauxdll2.h, related zmotion.h header files in sequence in the pop-up window. Declare relevant header files and define controller connection handle, so far the project is...
Page 85
ZMC408SCAN Motion Controller Hardware Manual V1.5 Chapter VIIII Run and Maintain The correct operation and maintenance of the motion controller can not only guarantee and extend the life cycle of the equipment itself, but also take technical management measures according to the pre-specified plan or the corresponding technical conditions to prevent equipment performance degradation or reduce the probability of equipment failure.
Page 86
ZMC408SCAN Motion Controller Hardware Manual V1.5 Should be within the range of Whether the device is subjected to vibration resistance vibration or shock impact resistance Keep good ventilation and Is the heat dissipation good heat dissipation The mounting screws should...
Page 87
ZMC408SCAN Motion Controller Hardware Manual V1.5 invalid. and whether the "input" view can watch the signal change of the limit sensor. Check whether the mapping of the limit switch is correct. Check whether the limit sensor is connected to the common terminal of the controller.
Page 88
ZMC408SCAN Motion Controller Hardware Manual V1.5 Check master-slave configuration, communication speed configuration, etc. Check the DIP switch to see if there are multiple expansion modules with the same ID. Use twisted-pair cables, ground the shielding layer, and use dual power supplies for severe interference...
Need help?
Do you have a question about the ZMC408SCAN and is the answer not in the manual?
Questions and answers