Xinje XG Series User manual

- 1 -
XG series PLC
User manual [Hardware]
Wuxi Xinje Electric Co., Ltd.
Data No. PG01 20210906EN 3.6

- 2 -
General description
Thank you for purchasing Xinje XG series programmable controller.
This manual mainly introduces the hardware characteristics of XG series programmable controllers.
Before using the product, please read this manual carefully and conduct wiring on the premise of fully
understanding the contents of the manual.
For the introduction of software and programming, please refer to the relevant manuals.
Please deliver this manual to the end user.
Notices for users
Only operators with certain electrical knowledge can carry out wiring and other operations on the product.
If there is any unknown place, please consult our technical department.
The examples listed in the manual and other technical materials are only for users' understanding and
reference, and do not guarantee certain actions.
When using this product in combination with other products, please confirm whether it conforms to
relevant specifications, principles, etc.
When 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 failure of this product.
Responsibility statement
Although the contents of the manual have been carefully checked, errors are inevitable, and we cannot
guarantee complete consistency.
We will often check the contents of the manual and make corrections in subsequent versions. We welcome
your valuable comments.
The contents described in the manual are subject to change without notice.
Contact information
If you have any problem about products, please contact the agent or Xinje company.
Tel: 400-885-0136
Fax: 0510-85111290
Address: No.816, Jianzhu West Road, Binhu District, Wuxi City, Jiangsu Province, China
Code: 214072
Website: www.xinje.com
WUXI XINJE ELECTRIC CO., LTD.All rights reserved
This material and its contents shall not be copied, transmitted or used without explicit written permission.
Violators shall be liable for the losses caused.All rights provided in the patent license and registration
including utility modules or designs are reserved.

- 3 -
Safety notes
Please read this part carefully before using and operate after understanding the usage, safety and notices. Pay
attention to safety and wire correctly.
We have summarized possible problems that may happen and classify them by warning and caution. About
other matters, please operate in basic working order.
Caution
Incorrect use may lead to danger, such as moderate and slight injury, property
loss.
Warning
Critical miss may lead to serious danger, 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 occur.
⚫Product design
Warning
Please make safety circuit outside controller to make sure the system can run in safety when controller errors.
Otherwise, incorrect action or fault may occur.
Caution
Do not put control wiring or power wiring together, separate them at least 10cm in principle. Otherwise,
incorrect action or damage may occur.
⚫Product installation
Warning
Cut off all external power before installing controller. Otherwise, an electric shock may occur.

- 4 -
Caution
1. Please install and use this product under the environmental conditions specified in the general specifications of
the manual.
Do not use in places with humidity, high temperature, dust, smoke, conductive dust, corrosive gas, combustible
gas, vibration and impact.
It may cause electric shock, fire, misoperation, product damage, etc.
2. Do not directly touch the conductive part of the product.
It may cause malfunction and failure.
3. Please use Xinje XG-EB series special guide rail to fix this product, and please install it on a flat surface.
Incorrect installation may cause malfunction and product damage.
4. When processing the screw hole, please do not let the cutting powder and wire debris fall into the product shell.
It may cause malfunction and failure.
5. When connecting the expansion module with the expansion cable, please make sure that the connection is tight
and the contact is good.
It may cause poor communication 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
1.Cut off external power before wiring. Otherwise, an electric shock may occur.
2.ConnectAC or DC power to special power terminal correctly. Otherwise, may burn the controller.
3.Close the panel cover plate before controller powering on and running. Otherwise, an electric shock may occur.
Caution
1.Do not connect external 24V power to controllers’ or expansion modules’ 24V and 0V
terminals, products damage may occur.
2.Use 2mm2cable to ground the ground terminals of expansion modules and controllers, never common ground
to high voltage system. Otherwise, products fault or damage may occur.
3.Do not wiring between idle terminals. Otherwise, incorrect action or damage may occur.
4.Avoid ablation powder or clastic wires into product shell when processing screw holes. Otherwise, incorrect
action or fault may occur.
5.Tighten up wiring terminals and separate conductive parts. Otherwise, incorrect action or product damage may
occur.

- 5 -
⚫Run and maintenance
Warning
1.Do not touch terminals after power on.
Otherwise, an electric shock may occur.
2.Do not connect or move the wires when power on.
Otherwise, an electric shock may occur.
3.Make sure to stop the PLC before changing the controller program.
Otherwise, 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 malfunction may occur.
3.Do not wire the idle terminals.
Otherwise, malfunction or damage may occur.
4.Cut off the power when disassemble expansion modules, external devices and batteries.
Otherwise, malfunction and fault may occur.
5.Dispose them as industrial waste when out of use.

- 6 -
Catalog
SAFETY NOTES ..................................................................................................................................................- 3 -
PREFACE.................................................................................................................................................................. 1
1. XG SERIES PRODUCT OVERVIEW.................................................................................................................. 4
1-1.PRODUCT FEATURES...............................................................................................................................................4
1-1-1
.
Basic unit.......................................................................................................................................................4
1-1-2
.
Expansion unit ...............................................................................................................................................7
1-2.MODEL COMPOSITION AND MODEL TABLE ..............................................................................................................7
1-2-1. Basic unit model composition and model table ...............................................................................................7
1-2-2. Expansion unit model composition and model table........................................................................................8
1-3. DESCRIPTION OF EACH PART.....................................................................................................................................9
1-3-1
.
XG1 series structural composition.................................................................................................................9
1-3-2
.
XG2 series structural composition...............................................................................................................10
2. SPECIFICATION PARAMETERS OF MAIN BODY........................................................................................11
2-1.SPECIFICATION PARAMETERS................................................................................................................................ 11
2-1-1
.
General specifications ................................................................................................................................. 11
2-1-2. Performance specifications............................................................................................................................12
2-2.XG SERIES DIMENSION.........................................................................................................................................14
2-3.TERMINALARRANGEMENT...................................................................................................................................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 EQUIPMENT......................................................................................................................................20
3-2-1. Power supply module.....................................................................................................................................20
3-2-2. Mounting rail.................................................................................................................................................21
3-2-3
.
U connector .................................................................................................................................................22
3-2-4. Terminal block and connecting cable ............................................................................................................23
3-2-5. Programming software ..................................................................................................................................24
3-2-6
.
HMI..............................................................................................................................................................25
3-3.CONSTITUTION PRINCIPLE....................................................................................................................................26
3-4.ALLOCATION OF EXTENSION MODULE DEFINITION NUMBER ...................................................................................27
3-5. PRODUCT INSTALLATION ........................................................................................................................................27
4. POWER SUPPLY SPECIFICATION.................................................................................................................. 29
4-1. POWER SUPPLY SPECIFICATION ...............................................................................................................................29
5. INPUT SPECIFICATION AND WIRING .......................................................................................................... 30
5-1.INPUT SPECIFICATION ...........................................................................................................................................30
5-1-1
.
Input specification........................................................................................................................................30
5-1-2
.
Wiring example............................................................................................................................................31
5-2.DC INPUT SIGNAL.................................................................................................................................................32
5-3. HIGH SPEED COUNTING INPUT ................................................................................................................................33
5-3-1
.
Counting mode.............................................................................................................................................33
5-3-2. High speed counting range............................................................................................................................35

- 7 -
5-3-3. High speed counter input wiring....................................................................................................................35
5-3-4. Input terminal assignment .............................................................................................................................36
5-3-5
.
AB phase counting frequency doubling setting mode ..................................................................................37
6. OUTPUT SPECIFICATION AND WIRING ...................................................................................................... 39
6-1. OUTPUT SPECIFICATION..........................................................................................................................................39
6-2.TRANSISTOR OUTPUT ...........................................................................................................................................39
7. OPERATION, COMMISSIONING AND MAINTENANCE............................................................................. 42
7-1. OPERATION AND COMMISSIONING ..........................................................................................................................42
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 relay list...............................................................................................................48
Appendix 1-2
.
Special data register list..................................................................................................................53
Appendix 1-3
.
Special Flash register list................................................................................................................60
APPENDIX 2. INSTRUCTION LIST ....................................................................................................................................62
APPENDIX 2-1. BASIC INSTRUCTION LIST ......................................................................................................................62
Appendix 2-2. Application instruction list................................................................................................................63
Appendix 2-3. Special instruction list.......................................................................................................................64
APPENDIX 3. PLC CONFIGURATION LIST........................................................................................................................65
APPENDIX 4. Q&A........................................................................................................................................................67


1
Preface
The following will introduce the content composition of this manual, the scope of application of the manual, the
conventions in the manual, the introduction of related manuals and the access to manual materials.
Application range of the manual
This manual is the hardware manual of XG series PLC products, which is applicable to XG1 and XG2 series
PLC.
1. XG series PLC features
Faster instruction processing speed
XG series PLC has faster instruction processing speed. XG1 series is equivalent to more than 2~3 times of XD3
series, and XG2 series is equivalent to 10 times of XDM series. The key performance is that the floating-point
instruction operation speed is significantly improved, and the scanning cycle unit is us.
Greater program capacity
XG series PLC has larger program capacity than XD series. XG1 series has 1MB program capacity, and XG2
series has 16MB program capacity.
Up to 16 XG series digital and analog value modules can be expanded
XG series PLC supports the expansion of modules, including digital value, analog value, temperature module,
etc., and the maximum number of extensions is 16.
Compatible with most 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 programming tool software can directly open the program of the original XC series PLC, but some
instructions of XG series and XC series may be involved in the program, and errors will be reported in red font
in Xinje PLC programming tool software. You only need to modify this part manually.
X-NET bus
XG series PLC supports X-NET fieldbus communication, which can realize fast and stable communication
between XG/XD/XL series PLC and TG/TN series HMI.
Ethernet communication
The built-in Ethernet port LAN1 (RJ45 standard) can stably and quickly realize program upload and download,
online monitoring and remote monitoring. After being connected to the LAN, it can communicate with other
Modbus-TCP devices in the LAN.
EtherCAT bus
XG2 series also has built-in Ethernet port LAN2 (RJ45 standard), which supports EtherCAT bus communication.
V1 version supports 32 maximum stations. At present, it only supports slave stations with EEPROM, such as
Xinje-DS5C, Panasonic EtherCAT servo, Kollmorgen servo, etc., but does not support Inovance servo.
2. XG series PLC unit
Series name
Product model
XG1
XG1-16T4
XG2
XG2-26T4
3. XG series PLC expansion modules

2
Module type
Product model
I/O
XG-E16X, XG-E32X, XG-E64X
XG-E16YR, XG-E16YT, XG-E32YT, XG-E64YT
XG-E8X8YR, XG-E8X8YT, XG-E16X16YT
AD/DA
AD type: XG-E8AD-A-S, XG-E8AD-V-S
DAtype: XG-E4DA-S
AD/DA type: XG-E4AD2DA
Temperature
XG-E8PT3-P, XG-E8TC-P
4. Other accessories
Accessories type
Product model
Power supply module
XG-P75-E
Bus connector
XG-EUC-1, XG-EUCT-1
Installation rail
XG-EB-170, XG-EB-260, XG-EB-385, XG-EB-590, XG-EB-880, XG-EB-1500
External terminal block
JT-G26
Cables for external terminal
block
JC-G26-NN05 (0.5m), JC-G26-NN10 (1.0m), JC-G26-NN15 (1.5m)
Conventions in the manual
Limited by space, some abbreviations may be used in the manual to replace the original names. These names
that may be involved are listed in the table below for comparison.
Abbreviation
Explanation
XG series PLC
General name 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 controllers
XD series PLC
General name of the XD whole series of programmable controllers
Basic unit or body
The abbreviation of basic unit of XG full series programmable controller
Expansion module
General name of all expansion modules of XG series programmable controller
I/O expansion
Abbreviation of all input and output expansion modules of XG series
programmable controller
Analog expansion
Abbreviation of all analog expansion modules of XG series programmable
controller
Peripheral equipment
General term of programming software, human-machine interface and network
module
Programming software
Abbreviation of Xinje PLC programming tool software
HMI
General name of TG, OP series products
TG series
General name of TG series touch screen
OP series
General term of OP series text display

3
Related manuals
This manual only covers the hardware of XG series PLC. For other applications, such as programming and
instruction, please refer to the relevant manual materials. Relevant manuals are listed below for users' reference.
Manual name
Introduction
XG series PLC manual
[instruction]
This paper introduces the basic instructions, application instructions,
communication, PID, C language, block and other applications of XG series
programmable controllers
XG series PLC manual
[positioning control]
This paper introduces the application of 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 communication
TCPIP communication
based on Ethernet
This paper introduces the TCP IP communication of Xinje based on Ethernet,
including the usage of Modbus and free format communication
EtherCAT motion control
manual
This paper introduces the communication method between Xinje PLC and the
corresponding slave station
Manual name
Introduction
XG series expansion
module manual
This paper introduces the characteristics, parameters, addresses, overall
dimensions, terminals and wiring of XG series analog quantity, input and
output expansion module

4
1. XG series product overview
1-1.Product features
1-1-1.Basic unit
(1) Rich models
The basic unit of XG series medium-sized PLC has 2 subseries product lines, and various combinations can be
freely selected.
⚫I/O points 16, 26
⚫Output type transistor
⚫Input type PNP, NPN, differential
⚫Power type DC24V
Series
Description
XG1
Including 16 points specifications.
Compatible with most functions of XD series, it has larger internal resource space, faster
processing speed, supports bus motion control, two-axis linkage, interpolation, follow-up
and other motion control functions, supports Ethernet communication, X-NET fieldbus,
and supports 16 expansion modules, which can meet the basic use needs of users.
XG2
Including 26 points specifications.
Compatible with most functions of XD series, it has larger internal resource space and
faster processing speed. It supports motion control functions such as two-axis linkage,
interpolation 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 this book for the corresponding non basic functions of specific models of products.
(2) Powerful functions
XG series PLC has substantial basic functions and a variety of special functions. Each subseries has different
functions due to different applications.
Substantial basic functions
High speed operation
The basic processing instruction is 0.005 ~ 0.03us, the scanning time is 10000 steps 1ms, and the
program capacity is up to 16MB.
Rich expansion modules
XG series PLC※1support 16 expansion modules of different types and models.
Multiple communication ports
The basic unit has 4-5 communication ports, supports USB Download (XG2 has no USB port),
supports RS485 port to connect a variety of external devices, supports LAN interface to access LAN,
and synchronously controls 32-axis motors.
Abundant soft component capacity
The maximum amount of resources can reach 80000 points of non power down holding process S,

5
4000 points of power down holding process HS, 700000 points of non power down holding
intermediate relay M, 48000 points of power down holding intermediate relay HM, 1280 points of
input relay X, 1280 points of output relay Y, 50000 points of non power down holding timer T, 8000
points of power down holding timer HT, 50000 points of non power down holding counter C, 8000
points of power down holding counter HC, 700000 points of non power down holding data register D
100000 points power down hold data registers HD, 65536 points FD.
Two programming modes
XG series PLC supports two programming modes, namely command language programming and
ladder diagram programming. These two kinds of programming can be edited by switching with each
other.
Rich instruction set
Rich instructions. In addition to basic sequence control, data transmission and comparison, arithmetic
operations, data circulation and shift, it also supports special instructions such as pulse output,
high-speed counting, interrupt, PID, etc.
Real-time clock
XG series PLC has a built-in clock for time control.
Easy to install
XG series PLC is easy to install and installed directly on the guide rail.
Enhanced special features
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 function and can realize synchronous motion control of 20-axis motor.
Ethernet communication
XG series PLC supports Ethernet communication, which can realize faster and more stable program/
data download and better real-time performance. It supports PLC access to the Internet, and realizes
remote search, online monitoring, uploading and downloading of PLC.
EtherCAT communication
XG2 series also has built-in Ethernet port LAN2 (RJ45 standard), which supports EtherCAT bus
communication. V1 version supports 32 maximum stations. At present, it only supports slave stations
with EEPROM, such as Xinje-DS5C, Panasonic EtherCAT servo, Kollmorgen servo, etc., but does
not support Inovance servo.
High speed counting, up to 80KHz/200KHz
The basic unit of XG series PLC is equipped with 4-channel, 2-phase high-speed counter and
high-speed counting comparator, which can count in single-phase and AB phase modes, and the
frequency can reach 80kHz/200kHz.
High speed pulse output, up to 100KHz※1
XG series PLC generally has 4 pulse output terminals, which can output pulses up to 100kHz※1
Interrupt function
XG series PLC has interrupt function, which is divided into external interrupt, timing interrupt and

6
high-speed counting interrupt, which can meet different interrupt requirements.
Free switching of I/O points
XG series PLC has unique special functions. The technology developed for terminal damage
treatment can realize normal operation without changing the program.
C language editing function block
Using C language to write function blocks has better program confidentiality. At the same time, due to
the introduction of C language rich operation functions, it can realize various functions. It saves
internal space and improves programming efficiency.
PID function
The basic unit of XG series PLC also has PID control function, and can also carry out self-tuning
control.
Sequence BLOCK
In the sequential function block, the sequential execution of instructions can be realized, which is
especially suitable for pulse output, motion control, module reading and writing, and simplifies the
programming.
100 segments high speed counter interrupt
The high-speed counter of XG series PLC has 100 segments of 32-bit preset values, 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 motor.
Frequency measurement
XG1 series PLC can measure the frequency.
Precise timing
XG1 series PLC can carry out precise timing, and the precise timer is a 1ms 32-bit timer.
Note: PLC can output high-speed pulses up to 200kHz, but it cannot guarantee the normal operation of all servo
systems. Please connect a resistance of about 500Ω between the output end and 24V power supply.
(3) Easy to programming
The programming of XG series PLC in Xinje PLC programming tool software※1 can obviously feel the
humanization of the software and its easy application.
Ladder diagram programming and instruction table programming can be switched and edited at any
time.
It has the functions of software component annotation, ladder diagram annotation, instruction prompt,
etc.
It provides a variety of editing panels for special instructions, which makes it more convenient to
write instructions.
Perfect monitoring mode: ladder diagram monitoring, free monitoring, soft component monitoring.
Multiple window display makes management more convenient.

7
1-1-2.Expansion unit
(1) Expansion module
In order to better meet the on-site control needs, XG series PLC can be externally expanded 16 expansion
modules.
⚫Rich types: input and output expansion module, analog quantity processing module and temperature
control module.
⚫Small size
⚫DC24V power supply
1-2.Model composition and model table
1-2-1. Basic unit model composition and model table
(1) Model composition of basic unit
The basic unit model composition of XG series PLC is generally as follows:
XG
① ③ ④
②⑤
①: Product series
XG: XG series medium programmable 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 basic unit models
XG series model list
Model
Input points
(DC24V)
Output
points
(R, T)
AC power supply
DC power supply
Relay output
Transistor
output
Transistor
relay mixed
output
Relay output
Transistor
output
Transistor
relay mixed
output
I/O module
Power supply: DC24V
Input: 8~32 points
Output: 8~32 points
Output type: transistor
relay
Analog module
Power supply: DC24V
Type DA, AD
AD/DA
DA channels: 2~4
AD channels: 4~8
Temperature module
Power supply: DC24V
Temperature input: PT100
Thermocouple
Channels: 8
PID control: built-in
transistor

8
NPN
-
-
-
-
XG1-16T4
-
8
8
-
-
-
-
XG2-26T4
-
18
8
Note: some input of XG2-26T4 is differential input mode.
1-2-2. Expansion unit model composition and model table
(1) I/O expansion module
The model composition of I/O expansion module is as follows:
XG E ○□ □○
1 2 3 4 5 6
1:
Series name
XG
2:
Expansion module
E
3:
Input points
8/16/32/64
4:
Special for input
X
5:
Output points
8/16/32/64
6:
Output mode
YR: relay output
YT: transistor output
List 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-E16YT
16
-
16
-
-
XG-E16X16YT
32
16
16
XG-E32X
-
-
32
32
-
-
-
XG-E32YT
32
-
32
XG-E64X
-
-
64
64
-
-
-
XG-E64YT
64
-
64
Note: XG-E64X is NPN input module.
(2) Analog and temperature expansion module
The model composition of analog quantity and temperature module is as follows:
XG-E 4AD 2DA 8PT 8TC-A
①②③④⑤⑥
1:
Expansion
E: Expansion module
2:
Analog input
4AD: 4-channel analog input
8AD: 8-channel analog input
3:
Analog output
2DA: 2-channel analog output

9
4:
Temperature measurement
8PT3: 8-channel three wire platinum thermistor input
5:
Temperature measurement
8TC: 8-channel thermocouple Input
6:
Analog type
A: current
V: voltage
Model list of analog quantity and temperature expansion module
Model
Description
Analog input, output
XG-E8AD-A
8-channel analog input, current type
XG-E8AD-V
8-channel analog input, voltage type
XG-E4AD2DA
4-channel analog input, 2-channel analog output
XG-E4DA
4-channel analog output
Temperature
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
1-3-1.XG1 series structural composition
ON
OFF
OFF
ON
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(10)
(11)
(12)
(9)
(13)
(14)
(15)
(14)
(16)
(1): System indicator
PWR: power LED
RUN: run LED
ERR: error LED
(2): Battery
(3): Input labels and indicator
(4): I/O terminals
(5): Output labels and indicator
(6): Power supply input
(7): USB port
(8): RS485 port 1 dial switch
(9): RS485 port 1
(10): RS485 port 2 dial switch
(11): RS485 port 2
(12): RJ45 port (LAN)
(13): Mounting hook
(14): Grounding metal sheet
(15): Expansion module interface
(16): Mounting hole

10
Note: When the dial switches SW1 and SW2 are used for RS485 communication, whether the PLC is the terminal.
When the PLC is at the beginning or end of the bus, please turn the dial switch to on.
1-3-2.XG2 series structural composition
(13)
(14)
(15)
(14)
(16)
(2)
(4)
(3)
(1)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(5)
Note:
※1: when the dial switches SW2 and SW3 are used for RS485 communication, whether the PLC is the terminal.
When the PLC is at the 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): System indicator
PWR: power LED
RUN: run LED
ERR: error LED
(2): Input labels and indicator
(3): I/O terminals
(4): Output labels and indicator
(5): Power supply input
(6): RS232 port (COM1)
(7): PLC updating dial switch
(8): RS485 port (COM2) dial switch
(9): RS485 port (COM2)
(10): RS485 port (COM3) dial switch
(11): RS485 port (COM3)
(12): RJ45 port (LAN1, LAN2)
(13): Mounting hook
(14): Grounding metal sheet
(15): Expansion module interface
(16): Mounting hole

11
2. Specification parameters of main body
2-1.Specification parameters
2-1-1.General specifications
(1) XG1 series PLC
Item
Specification
Insulation voltage
Above DC 500V 2MΩ
Anti-noise
Noise voltage 1000Vp-p 1us pulse 1 minute
Air
No corrosive and combustible gas
Ambient
temperature
0℃~60℃
Ambient humidity
5%~95% (no condensation)
Altitude
Within 2000m
USB port
Download / upload programs and data, online monitoring
COM1 port
RS485, MODBUS/X-ENT fieldbus. Connect HMI, external equipment, etc
COM2 port
RS485, MODBUS/X-ENT fieldbus/X-ENT motion bus, connect intelligent instruments,
frequency converters, etc
LAN port
RJ45 Ethernet port, support Ethernet, connect the upper computer, remote monitoring, and
connect the PLC to the LAN
Installation
Directly installed on Xinje XG-EB guide rail
Grounding
The third 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 corrosive and combustible gas
Ambient
temperature
0℃~60℃
Ambient humidity
5%~95% (no condensation)
COM1 port
RS232, MODBUS, download / upload programs and data, online monitoring
COM2 port
RS485, MODBUS, connect to the HMI, communication devices, etc.
COM3 port
RS485, MODBUS, connect to the HMI, communication devices, etc.
LAN 1
RJ45, X-ENT fieldbus /Ethernet communication, support the connection of upper
computer, remote monitoring, and communication with other devices in LAN or Internet
LAN 2
RJ45 Ethernet port, support EtherCAT bus control up to 32-axis
Installation
Directly installed on Xinje XG-EB guide rail
Grounding
The third kind of grounding (not common grounding with strong current system) ※2
Note: Separate grounding or common grounding should be adopted for grounding, and public grounding is not allowed.

12
2-1-2. Performance specifications
(1) XG1 series PLC
Item
Specification
Program execution mode
Cyclic scanning mode
Programming method
Command, ladder diagram
Processing speed
0.03us
Power-off holding
FlashROM and lithium battery
User program capacity※1
1MB
I/O
points※2
Total points
16 points
Input points
8 points X0~X7
Output points
8 points Y0~Y7
Internal coil (X) ※3
1280 points: X0~X77, X10000~X30077
Internal coil (Y) ※4
1280 points: Y0~Y77, Y10000~Y30077
Internal coil (M, HM)
87000 points
M0~M69999【HM0~HM11999】※5
Special use※6 SM0~SM4999
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
7000 points
C0~C4999【HC0~HC1999】※5
Specification
16-bit counter: K0~32,767
32-bit counter: -2147483648~+2147483647
Data register (D)
100000 words
D0~D69999【HD0~HD24999】※5
Special use ※6 SD0~SD4999
FlashROM register(FD)
14192 words
FD0~FD8191
Special use ※6 SFD0~SFD5999
High speed processing
function
High speed counting, pulse output, external interrupt
Password
6-bit ASCII
Self diagnosis function
Power on self-test, monitoring timer, syntax check
A
B
A
A
B
B
Separate grounding
Common grounding
Public grounding
A: XG series PLC
B: Other devices
This manual suits for next models
6
Table of contents
Other Xinje Computer Hardware manuals