background image

 

- 1 -

 

 

 

 

 

 

 

 

 

 

XG series PLC

 

User manual            [Hardware]

 

 

 

 

 

 

 

 

 

 

 

Wuxi Xinje Electric Co., Ltd. 

 

Data No. PG01 20210906EN 3.6 

 

Summary of Contents for XG Series

Page 1: ...1 XG series PLC User manual Hardware Wuxi Xinje Electric Co Ltd Data No PG01 20210906EN 3 6...

Page 2: ...en using this product please confirm whether it meets the requirements and is safe Please set up backup and safety functions by yourself to avoid machine failure or loss that may be caused by the fail...

Page 3: ...r such as death or serious injury serious loss of property Confirmation when getting the product Caution Do not install the controller which is damaged lack parts or type unfit Otherwise injury may oc...

Page 4: ...on and malfunction 6 When connecting peripheral devices expansion devices batteries and other devices be sure to cut off power for operation It may cause malfunction and failure Product wiring Warning...

Page 5: ...e malfunction may occur Caution 1 Do not disassemble and assemble product arbitrarily Damage to product may occur 2 Plug and connect cables on the condition of power off Otherwise cable damage or malf...

Page 6: ...INAL ARRANGEMENT 15 2 3 1 XG1 series terminal arrangement 15 2 3 2 XG2 series terminal arrangement 16 2 4 COMMUNICATION PORT 16 3 SYSTEM COMPOSITION 19 3 1 SYSTEM COMPOSITION 19 3 2 PERIPHERAL EQUIPME...

Page 7: ...7 2 ROUTINE MAINTENANCE 43 8 SWITCH BETWEEN SOFT COMPONENTS 44 8 1 FUNCTION OVERVIEW 44 8 2 OPERATION METHOD 45 APPENDIX 48 APPENDIX 1 SPECIAL SOFT COMPONENT LIST 48 Appendix 1 1 Special auxiliary rel...

Page 8: ......

Page 9: ...st common functions of XD series In addition to the above advantages XG series also supports most common functions of XD series PLC Compatible with the original program of XC series Xinje PLC programm...

Page 10: ...of the XG whole series of programmable controllers XG1 series PLC General name of the XG1 whole series of programmable controllers XG2 series PLC General name of the XG2 whole series of programmable c...

Page 11: ...pulse output motion control and other instructions of XG series programmable controllers X NET bus manual This paper introduces the usage of Xinje X NET fieldbus X NET motion bus and Ethernet communi...

Page 12: ...erpolation and follow up Ethernet communication and EtherCAT bus functions 16 expansion modules and oscilloscope functions which can meet most of the user s needs Note Please refer to Appendix 3 of th...

Page 13: ...ures X NET bus XG series PLC supports X NET fieldbus communication which can realize fast and stable communication between XG series PLC and TG TN series touch screen XG1 supports X NET motion bus fun...

Page 14: ...and each segment can produce interruption It has good real time performance high reliability and low cost PWM XG1 series PLC has PWM pulse width modulation function which can be used to control DC mot...

Page 15: ...ogrammable controller Product type 1 XG1 series 2 XG2 series I O points 16 8 inputs 8 outputs 26 18 inputs 8 outputs Output type T transistor output Pulse channels 4 4 channels pulse output 2 List of...

Page 16: ...of I O expansion module models Model I O total points Input points DC24V Output points R T Type Input Output Relay output Transistor output NPN PNP XG E8X8YR XG E8X8YT 16 8 8 XG E16X 16 16 XG E16YR XG...

Page 17: ...re measurement XG E8PT3 P 8 channel PT100 temperature measurement built in PID control XG E8TC P 8 channel K type thermocouple temperature measurement built in PID control 1 3 Description of each part...

Page 18: ...beginning or end of the bus please turn the dial switch to on 2 input and output wiring needs to be used with external terminal blocks and adaptive connecting cables See section 5 1 for details 1 Sys...

Page 19: ...kind of grounding not common grounding with strong current system 2 2 XG2 series PLC Item Specification Insulation voltage Above DC 500V 2M Anti noise Noise voltage 1000Vp p 1us pulse 1 minute Air No...

Page 20: ...99 Process S 9000 points S0 S7999 HS0 HS999 5 Timer T Points 7000 points T0 T4999 HT0 HT1999 5 Specification 100ms timer 0 1 3276 7s 10ms timer 0 01 327 67s 1ms timer 0 001 32 767s Counter C Points 70...

Page 21: ...pt Password 6 bit ASCII Self diagnosis function Power on self test monitoring timer syntax check Note 1 User program capacity refers to the maximum program capacity during secret download 2 I O points...

Page 22: ...14 2 2 XG series dimension 48 0 130 0 133 4 Programmable Controller MODEL POWER XG1 16T4 DC22 26V WUXI XINJE ELECTRIC CO LTD V1 0 V1 0 unit mm...

Page 23: ...9 X6 10 X7 3 Output terminal Pin Name Pin Name COM X0 X2 X4 X6 X1 X3 X5 X7 COM0 Y1 Y3 Y4 Y6 Y0 Y2 COM1 Y5 Y7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 11 COM0 12 Y0 13 Y1 14 Y2 15 Y3 16 COM1...

Page 24: ...XG2 does not have this port COM1 RS485 COM2 RS485 COM3 RS485 LAN port RJ45 USB port can be used to download programs and data at high speed COM1 and COM2 are mainly used for communication and can also...

Page 25: ...port COM1 supports MODBUS communication 3 4 5 1 2 6 8 7 Mini Din 8 pin plug hole If you want to use COM1 port to download the program you can connect with PC through DVP or XVP cable of Xinje If not...

Page 26: ...18 The LAN2 port of XG2 series is used for EtherCAT bus synchronous control of 32 axis motor...

Page 27: ...erstand the connection between PLC and peripheral equipment expansion equipment etc as well as the typical applications of PLC communication connection and expansion ports RS485 RS485 USB LAN Note The...

Page 28: ...5W Ambient temperature 0 60 Ambient humidity 5 RH 95 RH no condensation Installation Directly installed on Xinje XG EB series guide rail 2 Structure Name Explanation System indicator PWR power indicat...

Page 29: ...it expansion module and power module needs to be installed through guide rail Xinje provides XG EB series guide rails of various sizes for users to choose 1 Guide rail models Models Length mm XG EB 17...

Page 30: ...n XG EUC 1 the U shaped connector for XG series medium sized PLC is used for the connection between XG series PLC body and expansion module or the connection between modules XG EUCT 1 on the basis of...

Page 31: ...necting cables required by XG2 for users to choose Model list of terminal block and connecting cable PLC Terminal block Connecting cable XG2 26T4 JT G26 JC TG26 NN05 0 5m JC TG26 NN10 1 0m JC TG26 NN1...

Page 32: ...nd which the transparent heat shrinkable tube wrapped the model is connected to XG2 and the other end is connected to the terminal block which cannot be reversed The connection diagram is as follows M...

Page 33: ...eters are determined according to the specific HMI The HMI of Xinje company can be directly connected with the basic unit for communication the communication parameters have been consistent At present...

Page 34: ...rally speaking the basic unit can be expanded with different types of expansion modules or mixed expansion including input and output expansion analog quantity and temperature expansion XG series can...

Page 35: ...ion module 1 Y11700 Y11777 expansion module 16 1024 ID Expansion module ID10000 10099 expansion module 1 ID11500 11599 expansion module 16 1600 QD Expansion module QD10000 10099 expansion module 1 QD1...

Page 36: ...e U connector into the left interface on the back of the expansion module 1 right side in front view Hang the installation hook on the upper side of the 1 module to the upper side of the installation...

Page 37: ...of the basic unit of XG series PLC are shown in the following table 1 DC power supply Item Content Rated voltage DC24V Allowable voltage range DC21 6V 26 4V Input current only for basic unit 120mA DC2...

Page 38: ...action display LED light is on when input on 2 PNP input specification Item Content Input signal voltage DC24V 10 Input signal current 7mA DC24V Input ON current Above 4 5mA Input OFF current Below 1...

Page 39: ...proximity switchwiring example 3 wire NPN proximity switch wiring example Differential mode Differential wiring example Note 1 In the left figure the solid line part is NPN connection and the dotted l...

Page 40: ...nected Input circuit The input primary circuit and secondary circuit are insulated by optical coupler and the secondary circuit is equipped with C R filter This is set to prevent misoperation caused b...

Page 41: ...can only receive the open collector signal OC not the differential signal Please be sure to choose the encoder of the open collector signal OC COM COM X1 X0 X3 X2 X4 X5 X6 2 The high speed counting in...

Page 42: ...value is incremented or decremented according to two differential signals phase A and phase B According to the frequency multiplication number it can be divided into two modes double frequency and qu...

Page 43: ...and continue counting When underflow occurs the count value jumps from K 2147483648 to K 2147483647 and continues to count 5 3 3 High speed counter input wiring The wiring of counting pulse input term...

Page 44: ...nal can reach 80kHz and 50KHz in single phase and AB phase modes respectively The highest frequency of XG2 series high speed counting terminal can reach 200kHz in single phase and AB phase modes When...

Page 45: ...phase counting frequency doubling setting mode For ab phase counting the frequency doubling value can be set by modifying the data in the special flash data registers SFD321 SFD322 SFD323 SFD330 When...

Page 46: ...uple frequency SFD329 HSC18 frequency doubling 2 Double frequency 4 Quadruple frequency Note 1 For more applications on high speed counting please refer to the user manual of XG series programmable co...

Page 47: ...tput function is used the PLC can output pulses up to 200kHz but it can not ensure that all servos operate normally Please connect a resistance of about 500 ohms between the output and the 24V power s...

Page 48: ...from photoelectric couplers energizing or cutting to transistor ON or OFF is below 0 2ms Output current The current it outputs is 0 3A per point But limited by the temperature rising every 4 points c...

Page 49: ...41 2 Output circuit protection For inductive load of DC circuit freewheeling diode shall be added as shown in the following figure DC load Note freewheeling diode is 1N4007...

Page 50: ...ue for connecting expansion modules 3 Debugging Ideally the PLC is in normal operation but if the program in the PLC is found to be wrong and needs to be modified it is necessary to rewrite the progra...

Page 51: ...conductive dust falling inside the PLC Try to make the PLC operation and storage environment conform to the standards described in section 2 1 1 of this manual 2 About the battery There are no compone...

Page 52: ...ormal work schedule The new type PLC developed independently by Xinje can break the one to one correspondence users only need to change the soft component s value by HMI then the corresponding termina...

Page 53: ...on of the output and soft component ID Function Description SFD110 O00 correspond to Y 0 of output corresponds to the number of Y SFD111 O01 correspond to Y SFD112 O02 correspond to Y SFD187 O77 corre...

Page 54: ...46 Method 2 modify in the software directly Click the project bar PLC config I O Change it in below window For example it needs to switch X0 and X5 please change the mapping value of X0 to 5 X5 to 0...

Page 55: ...47...

Page 56: ...running SM002 Initial positive pulse coil SM002 is ON in first scan cycle SM003 Initial negative pulse coil SM003 is OFF in first scan cycle SM004 PLC running error When SM4 sets ON it indicates that...

Page 57: ...Function Description SM040 The process is running Set ON when the process is running Interruption ban SM50 SM90 ID Interrupt no Function Description SM050 I0000 I0001 Forbid input interruption 0 After...

Page 58: ...error flag SM123 HSC6 error flag Communication SM150 SM179 Address Function Note Serial port 1 SM150 Modbus instruction execution flag Set on when the instruction starts to execute Set off when the e...

Page 59: ...ON during execution SM301 BLOCK2 running flag ON during execution SM302 BLOCK3 running flag ON during execution SM303 BLOCK4 running flag ON during execution SM304 BLOCK5 running flag ON during execut...

Page 60: ...450 System error check SM451 Hardfault interrupt flag SM452 SM453 SD card error SM454 Power supply is cut off SM460 Extension module ID not match SM461 BD ED module ID not match SM462 Extension module...

Page 61: ...nit SD013 Second clock 0 59 BCD code SD014 Minute clock 0 59 BCD code SD015 Hour clock 0 23 BCD code SD016 Day clock 0 31 BCD code SD017 Month clock 0 12 BCD code SD018 Year clock 2000 2099 BCD code S...

Page 62: ...14 error info SD128 HSC16 error info SD129 HSC18 error info Communication SD150 SD179 Address Function Explanation Serial port 1 SD150 Modbus read write instruction execution result 0 correct 100 rece...

Page 63: ...182 station error 183 send buffer overflow 400 function code error 401 address error 402 length error 403 data error 404 slave station busy 405 memory error erase FLASH SD161 X Net communication resul...

Page 64: ...d buffer overflow SD173 Free format communication receive result 0 correct 410 send data length overflow 411 receive data short 412 receive data long 413 receive error 414 receive overtime 415 no star...

Page 65: ...401 Extension module no of communication error Means module no n is error SD402 BD ED module no of communication error SD403 FROM TO error type SD404 PID error type SD409 Calculation error code 1 divi...

Page 66: ...on Explanation Note SD520 Extension module 1 Each extension module occupies 16 registers SD535 SD760 Extension module 16 SD775 Expansion module error information SD860 SD923 ID Function Description No...

Page 67: ...r 2 Module accepted data length error 3 Module CRC parity error 4 Module ID error 5 Module overtime error SD922 Error times of module write SD923 Error types of module write Version information SD990...

Page 68: ...scription Note SFD74 O00 corresponds to Y Output terminal 0 correspond to Y number 0xFF means terminal bad 0xFE means terminal idle Default value is 0 SFD134 O77 corresponds to Y Default value is 77 O...

Page 69: ...orresponds to HSC2 and so on bit9 corresponds to HSC18 0 do not support CAM function 1 support CAM function Expansion module configuration ID Function Description Note SFD350 Configuration of the firs...

Page 70: ...ial circuit AND Serial connection of NO ANB Serial connection of parallel circuit ANI Serial connection of NC MCS New bus line start OR Parallel connection of NO MCR Bus line return ORI Parallel conne...

Page 71: ...activate if S1 S2 OR 1 OR activate if S1 S2 AND 1 AND activate if S1 S2 OR 1 OR activate if S1 S2 AND 1 AND activate if S1 S2 OR 1 OR activate if S1 S2 Data move CMP 1 Data compare EMOV Float move ZC...

Page 72: ...ata writing TCMP Time hour minute second comparison TADD Clock data add DACMP Date year month day comparison Note 1 All the instructions are 16 bits and no 32 bits format in general 1 has 32 bits 32 b...

Page 73: ...ise timing register Interrupt EI Enable interrupt IRET Interrupt return DI Disable interrupt BLOCK SBSTOP BLOCK stop WAIT Wait SBGOON Carry on the suspensive BLOCK FROM Read module BD data TO Write mo...

Page 74: ...Model Clo ck US B RS2 32 RS4 85 RJ 45 Communication Expansion module HSC channel Pulse output T model External interrupt Ether net EtherC AT Increme ntal AB phase XG1 series XG1 1 6T4 1 2 2 16 4 4 4...

Page 75: ...his time the later coil has priority 2 Coil may be reset users can find the reset point by monitor function and modify the program Q2 Why PLC can not communicate with other devices A2 The possible rea...

Page 76: ...WUXI XINJE ELECTRIC CO LTD No 816 Jianzhu West Road Binhu District Wuxi City Jiangsu Province China 214072 Tel 400 885 0136 Fax 510 85111290 www xinje com...

Reviews: