background image

                                                                 

VPLCE532E Vision Motion Controller User Manual V1.5

 

runs with task 0, and the task number has no priority. 

 

If no task number is  set for the files in the entire project, when  downloading to the 

controller, the system prompts the following message WARN: no program set autorun 

 

5.2.

 

  PC Upper-Computer Program Application 

The  controller  supports  development  under  various  operating  systems  such  as 

windows,  linux,  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. The dll 

library needs to be added to the header file and declared during development. 

The c++ project development process in VS is as follows: 

Step 

Operations 

Display Interface 

Open  VS,  click 

“File” –

 

“New” –

 

“Project”.

 

 

Summary of Contents for VPLC532E

Page 1: ......

Page 2: ...e ZMC controller software and the introduction and routine of each command please refer to the ZBASIC software manual Information contained in this manual is only for reference Due to improvements in...

Page 3: ...ded into Danger and Caution Failure to operate as required may result in moderate injury minor injury or equipment damage Please keep this guide in a safe place for reading when needed and be sure to...

Page 4: ...t the insulation distance between cables will not be reduced after the cables are installed on the terminal block Notice Avoid metal shavings and wire ends falling into the hardware circuit board duri...

Page 5: ...ower Input CAN Communication Interface 11 3 1 1 Power Specification 11 3 2 RS485 CAN Communication Interface 11 3 2 1 RS232 CAN Communication Specification Wiring 12 3 1 2 Basic Usage Method 14 3 3 RS...

Page 6: ...nal Specification Wiring 33 3 11 2 Basic Usage Method 36 Chapter IV Expansion Module 38 4 1 CAN Bus Expansion 38 4 1 1 CAN Bus Expansion Wiring 38 4 1 2 CAN Bus Expansion Resource Mapping 40 4 2 Ether...

Page 7: ...res Support 32 axes motion control at most Pulse output mode pulse direction or dual pulse IO can be expanded through ZCAN and EtherCAT bus 4096 isolated inputs and 4096 isolated outputs can be extend...

Page 8: ...spline interpolation Support electronic cam electronic gear position latch synchronous follow virtual axis and other functions Support hardware comparison output HW_PSWITCH2 hardware timer precision...

Page 9: ...User Manual V1 5 1 3 System Frame 1 4 Hardware Installment VPLC532E motion controller is fixed by screws in horizontal installment method each controller needs 4 screws to be fixed Unit mm Mounting H...

Page 10: ...maged In order to facilitate ventilation and controller replacement 2 3cm should be left between the upper and lower parts of the controller and the installation environment and surrounding components...

Page 11: ...n Axis interface 6 pulses axes have 12 inputs and 12 outputs Max Extended IO 4096 inputs and 4096 outputs PWM 4 AD DA 2 general DAs 0 10V Max Extended AD DA 512 ADs 512 DAs Pulse Bit 64 Encoder Bit 64...

Page 12: ...circular electronic cam continuous trajectory motion robot command VPLC532E 32 axes point to point linear circular electronic cam continuous trajectory motion robot command 2 3 Interface Definition In...

Page 13: ...keyboard U disk E 24V Main power supply 1 24V DC power it supplies the power for controller E5V 5V power supply output 1 It is used to provide PWM or used for common anode when single ended axis expan...

Page 14: ...ive Humidity 10 95 non condensing Storage Temperature 40 80 not frozen Storage Humidity Below 90 RH no frost vibration Frequency 5 150Hz Displacement 3 5mm directly install 9Hz Acceleration 1g directl...

Page 15: ...n Terminal Name Type Function E 24V Input Positive side of DC input EGND Input Negative side of DC input FG Earthing Protect shield 3 1 1 Power Specification Specification Item Description Voltage DC2...

Page 16: ...face of the controller adopts the standard CAN communication protocol which mainly includes three ports CANL CANH and the public end And it can connect to CAN expansion modules and other standard CAN...

Page 17: ...nd public ends of the CAN bus communication both parties are connected together In CAN bus left and right sides connect a 120 resistor respectively please see below graphic Wiring Notes As above the d...

Page 18: ...e wiring pay attention to make the distance between strong current and weak current it is recommended for the distance to be more than 20cm It should be noted that the equipment grounding chassis on t...

Page 19: ...se according to specific manual set parameters related to the third party equipment correctly to match each node s parameters 6 Correctly set the address and speed of the slave station expansion modul...

Page 20: ...nput RS232 signal receive 3 TXD Output RS232 signal send 5 EGND Output RS232 communication public end 3 3 1 RS232 Communication Port Specification Wiring Specification Item RS232 port0 Maximum Communi...

Page 21: ...ication node to prevent communication chip from burning out Please use STP Shielded Twisted Pair especially in bad environments and make sure the shielding layer is fully grounded Cable Requirements S...

Page 22: ...parameters of each node When all is configured it can start to do communicating Communication data of RS232 can be directly viewed through ZDevelop Controller State the Controller CommunicationInfo 3...

Page 23: ...IO public end IN8 NPN type low speed input Input 8 IN9 Input 9 IN10 Input 10 IN11 Input 11 IN12 Input 12 IN13 Input 13 IN14 Input 14 IN15 Input 15 EGND IO public end EGND IO public end IN16 NPN type...

Page 24: ...parameters are standard values when the voltage of controller power supply E 24V port is 24V Wiring Reference Wiring Note The wiring principle of high speed digital input IN 0 3 and low speed digital...

Page 25: ...through ZDevelop View In Please refer to ZBasic for details 4 Latch function can be set and triggered through REGIST instruction in software use REG_INPUTS to configure Please refer to ZBasic for det...

Page 26: ...WM or common anode wiring of single ended axis It is not recommended for other purposes due to lower power 2 OUT0 3 have the function of axis 6 7 when ATYPE 0 they are general outputs 3 OUT0 3 have th...

Page 27: ...stive load and may change when the load circuit changes Due to the leak type output the shutdown of the output will be obviously affected by the external load circuit and the output frequency should n...

Page 28: ...ring principle of high speed digital output OUT 0 3 and low speed digital output OUT 4 11 is shown in the figure above The external signal receiving end can be an optocoupler or a relay or solenoid va...

Page 29: ...command also it can be opened or closed through ZDevelop View Op Please refer to ZBasic for details 4 The PWM function set the frequency and duty cycle through PWM_FREQ and PWM_DUTY Please refer to Z...

Page 30: ...g Specification Terminal DA 01 Resolution 12 bit Data range 0 4095 Signal range 0 10V output Data refresh ratio 1KHz Voltage output load 10K Wiring Reference Wiring Notes Analog output wiring is above...

Page 31: ...to connect to ZDevelop Analog input voltage can be read through AIN command and corresponding analog voltage can be output through AOUT command also data of each channel can be checked through ZDevel...

Page 32: ...solates No 3 8 HDMI Interface There is one standard HDMI high definition multimedia display interface which can connect to the touch screen Interface Definition HDMI PIN Signal PIN Signal 1 TMDS DATA...

Page 33: ...rface Definition Ethernet PIN 100BASE Signal 1000BASE Signal 1 TX TRD0 2 TX TRD0 3 RX TRD1 4 NC TRD2 5 NC TRD2 6 RX TRD1 7 NC TRD3 8 NC TRD3 Note 1 There are 2 LED lights on RJ45 which represent netwo...

Page 34: ...ddition EtherCAT driver or EtherCAT expansion module can be connected Interface Definition ECAT PIN Signal 1 TX 2 TX 3 RX 4 NC 5 NC 6 RX 7 NC 8 NC Note There are 2 LED lights on RJ45 which represent n...

Page 35: ...tion interface adopts standard Ethernet RJ45 interface The network cable adopts Category 5e STP and the crystal head has a metal shell to reduce interference and to prevent information from being eave...

Page 36: ...e socket Each terminal provides 0V and 5V output which can provide 5V power for the encoder Before the axis is used use ATYPE instruction to configure the axis type Interface Definition Interface Pin...

Page 37: ...wer of pulse encoder signal 21 GND 22 DIR Servo or step direction output differential signal 23 PUL Servo or step pulse output differential signal 24 GND Negative pole of 5V power of pulse encoder sig...

Page 38: ...age to open 10 5V The voltage to close 10 7V Minimal current 1 8mA negative Maximum current 4mA negative Isolation optoelectronic isolation OUT12 23 Output method NPN leak type it is 0V when outputs F...

Page 39: ...VPLCE532E Vision Motion Controller User Manual V1 5...

Page 40: ...ing instructions to wiring correctly 2 After powered on please use any one interface among the LAN1 LAN2 or RS232 default parameter it can be connected directly and RS485 default parameters it can be...

Page 41: ...mount as 1000 pulses SPEED 10 10 set axis speed as 10 1000 pulse s ACCEL 1000 1000 set axis acceleration as 1000 1000 pulse s s FWD_IN 1 1 prohibit using axis positive hard position limit REV_IN 1 1 p...

Page 42: ...selected 4 1 1 CAN Bus Expansion Wiring The IO expansion module is powered by the dual power supply Except the main power supply an additional IO power supply is required to supply independent power f...

Page 43: ...n 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 When connecting multiple ZIO expansion modu...

Page 44: ...is invalid It needs to be powered on again to take effect Dial 1 4 to select the CAN address and the controller sets the IO number range of the corresponding expansion module according to the CAN DIP...

Page 45: ...he largest number in IN and OP must include IO point in the axis interface use the bit 1 4 to set the ID so as to determine the number range of IO to be expanded If the controller itself contains 28 I...

Page 46: ...of the analog DA starts from 4 and increases in multiples of 4 The allocation of digital IO numbers corresponding to different dial code IDs is as follows DIP 1 4 combination value Starting AD number...

Page 47: ...sion axis can be used Example ATYPE 6 0 set as virtual axis AXIS_ADDRESS 6 1 32 0 ZCAN expansion module ID 1 axis 0 is mapped to axis 6 ATYPE 6 8 ZCAN extended axis type pulse direction stepping or se...

Page 48: ...and in this way it supports IO remote expansion 4 2 1 EtherCAT Bus Expansion Wiring After the expansion wiring is completed each EIO expansion module does not need to develop again It only needs to ma...

Page 49: ...can view the total number of devices connected to the bus through the NODE_COUNT slot command Drive number The controller will automatically identify the drive on the slot and the number starts from 0...

Page 50: ...he IO start number of slot 0 interface device 0 to 32 If device 0 is EIO16084 after configuration according to the above syntax the IO numbers corresponding to input IN0 15 are 32 47 in turn the gener...

Page 51: ...herCAT 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 t...

Page 52: ...e 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 an...

Page 53: ...VPLCE532E Vision Motion Controller User Manual V1 5 2 Click File New File select file type to build here select Basic click OK 3 Double click AutoRun enter task number 0...

Page 54: ...ilt basic file will be saved under zpj project automatically Save all means all files under this project will be saved 5 Click controller connect if no controller select connect to simulator Then conn...

Page 55: ...m Rom download RAM download ROM if it is successful there is print indication at the same time program is downloaded into controller and runs automatically RAM it will not save when power off ROM it w...

Page 56: ...current 8 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 controlle...

Page 57: ...windows linux 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 Functio...

Page 58: ...on basic box click next or finish 4 Find C function library provided by manufacturer Routine is below 64 bit library 5 Copy all DLL related library files under the above path to the newly created pro...

Page 59: ...otion lib Related header files zauxdll2 h zmotion h Item 2 Add static libraries and related header files in sequence in the pop up window 7 Declare the relevant header files and define the controller...

Page 60: ...cycle of the device can be appropriately adjusted according to the surrounding environment to make it work within the specified standard environment Check item Check content Inspection standards power...

Page 61: ...sening Whether the cable is damaged aged cracked The cable must not have any abnormal appearance 6 2 Common Problems Problems Suggestions Motor does not rotate 1 Check whether the ATYPE of the control...

Page 62: ...the IO board POWER led is ON RUN led is OFF 1 Check whether the power of the power supply is sufficient At this time it is best to supply power to the controller alone and restart the controller after...

Page 63: ...it can be checked and captured after connection through serial port 3 When net port led is off please check wiring 4 Check whether controller power led POWER and running indicator led RUN are ON norma...

Reviews: