Thinget XC Series User manual

Summary of XC series PLC
XC Series Programmable Controller
User's Manual
Xinje Electronic Co., Ltd.
1

Summary of XC series PLC
CONTENTS
XC series
Programmable controller
Operating Manual
V2.5
Preface
—————————————
Summary of XC series PLC
—————————————
Spec., Input/output and layout
—————————————
Function of each device
—————————————
Basic SFC instructions
—————————————
Applied instructions
—————————————
Special function
—————————————
Applied examples
—————————————
Appendix
Chapter
1
2
3
4
5
6
7
8
2

Summary of XC series PLC
This manual includes some basic precautions which you should follow to keep you safe and
protect the products. These precautions are underlined with warning triangles in the manual.
About other manuals that we do not mention please follow basic electric operating rules.
Please follow the precautions. If not, it may lead incorrect or
abnormal the control system, even cause fortune lose.
Precautions
The models could only be used according to the manual, and can
only be used along with the peripheral equipments recognized or
recommended by Xinje Electronic. They could only work
normally in the condition of be transported, kept and installed
correctly, also please operate and maintain them according to the
recommendations.
Correct
Application
We have checked the manual; its content fits the hardware and software of the products. As
mistakes are unavoidable, we couldn’t promise all correct. However, we would check the data in
the manual frequently, and in the next edition, we will correct the necessary information. Your
recommendation would be highly appreciated.
3

Summary of XC series PLC
Preface
—— Specialties of programmable controller
The programming of XC series programmable controller has the following characteristics:
•Support two kinds of program languages
In XC series PLC, besides statement format, you can also adopt ladder chart on the
screen and these two formats could convert to the other.
•Rich basic functions
Based on the theory of “Basic functions, High speed dispose, convenient to use”, XC
series PLC supports not only functions relative to sequence control, but also basic
application instructions of data transfer and compare, arithmetic and logic control
loop and shift of data etc., besides, it can support interrupt, high-speed counter
exclusive compare instructions, high-speed impulse output and other high-speed
dispose instructions.
•Offset function (Indirect addressing)
Add offset suffix after the coil, data register (e.g. X3[D100], D0[D100]) to realize
indirect addressing. E.g. when D100=0, X3[D100] means X3, D0[D100] means D0;
when D100=9, X3[D100] means X14, D0[D100] means D9;
•Single phase orAB high speed counter
The high speed counters in XC series PLC carry on interrupt disposal with the high
speed pulse from special input points. So it is independent with the scan cycle, the
count speed can reach 200 KHz.
•Convenient MODBUS communication instructions
With Modbus communication instruction, PLC can easily communicate with every
kind of peripheral device as long as they have Modbus protocol.
•High speed pulse output
The main units have two routes pulse output, output can be sequencial segments, and
each segment of pulse number could be set freely. The pulse could reach 400 KHz.
XC series PLC are divided into XC1, XC3 and XC5 sub series:
•XC1 economic type: This sub-series has specifications of 16 I/O, 24 I/O and 32 I/O.
The function is simple, suitable for common, small scale applications. They don’t
support high speed count, pulse output, free communication these advanced functions;
also they can not connected with the expansions. For the details, please refer to the
appendix 8-3 “XC1 using description”.
•XC3 Standard type: This sub-series belongs to the standard models of XC series
PLC. They could fulfill most using requirements. If no special demonstrate, this
manual’s content are all written for XC3 series PLC.
•XC5 strength type: This sub-series has specifications of 32 I/O, 48 I/O and 60 I/O.
Besides the functions of XC3-PLC, XC5-32 has function of 4 channels pulse output,
XC5-48, XC5-60 support CANBUS instructions, they can realize CAN bus network
function. For the details, please refer to the appendix 8-4 “XC5 using description”.
4

Summary of XC series PLC
XC series PLC are mini type PLC with powerful function. These series products can satisfy
diverse control requirement. With compact design excellent extend capability, cheap price and
powerful function, XC series PLC has become perfect solution of small size control.
1. Summary of XC series PLC
1-1. Summary of XC series PLC and program format
1-2. XC series PLC’s model and type
1-4. General specification
1-5. Shape and Size
1-6. Terminal arrangement
1-7. Communication ports definition
1-3. Expansion’s constitution and ID assignment
5

Summary of XC series PLC
1-1. Summary of XC series PLC and program format
XC series programmable controller
zI/O 14~60 points
zFlashROM memory inside
zReal time clock: With clock inside, Li battery power drop memory
zMulti-COM ports can connect with inverters, instruments, printers etc.
zRich instructions, convenient to program
Introduction
Program
Format
Statement Program
Statement program is the format which use“LD”, “AND”, “OUT”
etc. These SFC instructions to input this format is the basic input
form to compile the SFC program
E.g: Step Instruction ID
0 LD X000
1 OR Y005
2 ANI X002
3 OUT Y005
Ladder Program
Use sequencial control signal and soft unit’s ID to draw the
sequencial circuit’s graph on the screen, which is called ladder
program. As this method uses trigger point’s symbols and coil
symbols to denote the sequencial control circuit, so it is easy to
understand the program’s contents. At the same time it’s also
available to monitor the PLC’s action via the status displayed in the
circuit.
E.g:
X0 X2
Y5
Y5
The programs compiled with the preceding two methods are both
stored in the PLC’s program memory in the format of instruction
table. So, the denotion and edition of this two program format can
convert to the other.
Alternation
6

Summary of XC series PLC
1-2. XC series PLC’s Model and Type
XC3
1234 5
1 Series Name XC1 series, XC3 series and XC5 series
2 I/O points
3 Input Format(NPN) R: Relay output
T: Transistor output
RT: Mix output of Transistor /Relay (Y0, Y1 are transistor)
Output Format(PNP) PR: Relay output
PT: Transistor output
PRT: Mix output of Transistor /Relay(Y0, Y1 are transistor)
4 Supply Power E: AC Power(220V)
C: DC Power(24V)
5 Clock S: With clock and RS485 COM port inside
: Without clock and RS485 COM port inside
XC1 series models:
Model
AC Power DC Power
Relay Output Transistor
Output Relay Output Transistor
Output
Input
(DC24V)
Output
(R, T)
XC3-16R-E XC3-16T-E XC3-16R-C XC3-16T-C 8 points 8 points
XC3-24R-E XC3-24T-E XC3-24R-C XC3-24T-C 12 points 12 points
N
P
N
Type XC3-32R-E XC3-32T-E XC3-32R-C XC3-32T-C 16 points 16 points
XC3-16PR-E XC3-16PT-E XC3-16PR-C XC3-16PT-C 8 points 8 points
XC3-24PR-E XC3-24PT-E XC3-24PR-C XC3-24PT-C 12 points 12 points
P
N
P
Type XC3-32PR-E XC3-32PT-E XC3-32PR-C XC3-32PT-C 16 points 16 points
XC Series
Main Units
7

Summary of XC series PLC
XC3 series models:
Model
AC Power DC Power
Relay Output Transistor
Output
Mix output
(R&T)
Relay Output Transistor
Output
Mix output
(R&T)
Input
(DC24V)
Output
(R, T)
XC3-14R-E XC3-14T-E XC3-14RT-E XC3-14R-C XC3-14T-C XC3-14RT-C 8 points 6 points
XC3-24R-E XC3-24T-E XC3-24RT-E XC3-24R-C XC3-24T-C XC3-24RT-C 14 points 10 points
XC3-32R-E XC3-32T-E XC3-32RT-E XC3-32R-C XC3-32T-C XC3-32RT-C 18 points 14 points
XC3-48R-E XC3-48T-E XC3-48RT-E XC3-48R-C XC3-48T-C XC3-48RT-C 28 points 20 points
N
P
N
Type
XC3-60R-E XC3-60T-E XC3-60RT-E XC3-60R-C XC3-60T-C XC3-60RT-C 36 points 24 points
XC3-14PR-E XC3-14PT-E XC3-14PRT-E XC3-14PR-C XC3-14PT-C XC3-14PRT-C 8 points 6 points
XC3-24PR-E XC3-24PT-E XC3-24PRT-E XC3-24PR-C XC3-24PT-C XC3-24PRT-C 14 points 10 points
XC3-32PR-E XC3-32PT-E XC3-32PRT-E XC3-32PR-C XC3-32PT-C XC3-32PRT-C 18 points 14 points
XC3-48PR-E XC3-48PT-E XC3-48PRT-E XC3-48PR-C XC3-48PT-C XC3-48PRT-C 28 points 20 points
P
N
P
Type
XC3-60PR-E XC3-60PT-E XC3-60PRT-E XC3-60PR-C XC3-60PT-C XC3-60PRT-C 36 points 24 points
XC5 series models:
Model
AC Power DC Power
Relay Output Transistor
Output
Mix output
(R&T) Relay Output Transistor
Output
Mix output
(R&T)
Input
(DC24V)
Output
(R, T)
- XC5-32T-E XC5-32RT-E - XC5-32T-C XC5-32RT-C 18 points 14 points
XC5-48R-E XC5-48T-E XC5-48RT-E XC5-48R-C XC5-48T-C XC5-48RT-C 28 points 20 points
N
P
N
Type XC5-60R-E XC5-60T-E XC5-60RT-E XC5-60R-C XC5-60T-C XC5-60RT-C 36 points 24 points
- XC5-32PT-E XC5-32PRT-E - XC5-32PT-C XC5-32PRT-C 18 points 14 points
XC5-48PR-E XC5-48PT-E XC5-48PRT-E XC5-48PR-C XC5-48PT-C XC5-48PRT-C 28 points 20 points
P
N
P
Type XC5-60PR-E XC5-60PT-E XC5-60PRT-E XC5-60PR-C XC5-60PT-C XC5-60PRT-C 36 points 24 points
8

Summary of XC series PLC
XC
1234
E
56
1. Series name
2. E: Expansion
5. Output points
6. Output format YR: Relay output YT: Transistor output
Model
3. Input points
4. X: Input
Input R
Ou t
I/O Input
(DC V)
Output
elay Output Transistor
tpu
points 24 (R, T)
- XC-E8YR XC-E8YT 8 points - 8 points
XC-E16X - - 16 points 16 points -
- XC-E16YR XC-E16YT 16 points - 16 points
- XC-E 8YR XC-E 8YT 8 p s8X 8X 16 points 8 points oint
X XC-E1 16YT 16 p tsC-E16X16YR 6X 32 points oin 16 points
XC-E32X - - 32 points 32 points -
- XC-E32YR - 32 points - 32 points
Digital I/O
Expansions
9

Summary of XC series PLC
•XC series PLC can be used independently or used along with
the expansions. The following is the chart of a basic unit with
seven expansions.
•Digital Input/Output quantity is Octal
•Analogue Input/Output quantity is Decimal
•PLC main units can connect with 7 expansions and a BD
module. The input/output type is not limited, both switch and
analog quantity are available.
1-3. Expansion’s constitution and ID assignment
Expansion
Constitution
Rules
10

Summary of XC series PLC
Unit Type ID(As register)
Max points/
Channels
Input switch quantity X X100~X137 32 points
Output switch quantity Y Y100~Y137 32 points
Input analog quantity ID ID100~ID131 16 channels
Output analog quantity QD QD100~QD131 16 channels
Expansion
1#
Module’s set value D D8250~D8259 -
Input switch quantity X X200~X237 32 points
Output switch quantity Y Y200~Y237 32 points
Input analog quantity ID ID200~ID231 16 channels
Output analog quantity QD QD200~QD231 16 channels
Expansion
2#
Module’s set value D D8260~D8269 -
Input switch quantity X X300~X337 32 points
Output switch quantity Y Y300~Y337 32 points
Input analog quantity ID ID300~ID331 16 channels
Output analog quantity QD QD300~QD331 16 channels
Expansion
3#
Module’s set value D D8270~D8279 -
Input switch quantity X X400~X437 32 points
Output switch quantity Y Y400~Y437 32 points
Input analog quantity ID ID400~ID431 16 channels
Output analog quantity QD QD400~QD431 16 channels
Expansion
4#
Module’s set value D D8280~D8289 -
Input switch quantity X X500~X537 32 points
Output switch quantity Y Y500~Y537 32 points
Input analog quantity ID ID500~ID531 16 channels
Output analog quantity QD QD500~QD531 16 channels
Expansion
5#
Module’s set value D D8290~D8299 -
Input switch quantity X X600~X637 32 points
Output switch quantity Y Y600~Y637 32 points
Input analog quantity ID ID600~ID631 16 channels
Output analog quantity QD QD600~QD631 16 channels
Expansion
6#
Module’s set value D D8300~D8309 -
Input switch quantity X X700~X737 32 points
Output switch quantity Y Y700~Y737 32 points
Input analog quantity ID ID700~ID731 16 channels
Output analog quantity QD QD700~QD731 16 channels
Expansion
7#
Module’s set value D D8310~D8319 -
Input switch quantity X X1000~X1037 32 points
Output switch quantity Y Y1000~Y1037 32 points
Input analog quantity ID ID1000~ID1031 16 channels
Output analog quantity QD QD1000~QD1031 16 channels
BD Board
Module’s set value D D8320~D8329 -
ID
Assignment
11

Summary of XC series PLC
1-4. General Specification
Items Specifications
Insulate voltage Up to DC 500V 2MΩ
Anti-noise 1000V 1uS pulse per minute
Ambient
temperature
0°C~60°C
Ambient humidity 5%~95%
COM 1 RS-232, connect with host machine, HMI program or debug
COM 2 RS-232/RS-485, connect with network or aptitude instrument,
inverters etc.
COM 3 BD board COM port RS-232C/RS-485
COM 4 CANBUS COM port (XC5 series)
Installation Can use M3 screw to fix or install directly on DIN46277
(Width 35mm) orbit
Grounding The third type grounding (can’t public ground with strong
power system.)
General
Specification
12

Summary of XC series PLC
XC3 series:
Performance
Specification
Item 14 points 24/32 points 48/60 points
Program executing
format
Loop scan format, time scan format
Program format Both statement and ladder
Dispose speed 0.5us
Power cut retentive Use FlashROM and Li battery
User program’s capacity 2500 steps 8000 steps
I/O points 8 I / 6 O Input 14/18 points
Output 10/14
points
Input 28/36 points
Output 20/24 points
Interior coil’s points (M) 8512 points
Points 620 points
Timer
(T) Spec.
100mS timer: Set time 0.1~3276.7 seconds
10mS timer: Set time 0.01~327.67 seconds
1mS timer: Set time 0.001~32.767 seconds
Points 635 points
Counter
(C) Spec. 16 bits counter: set value K0~32767
32 bits counter: set value K0~2147483647
Data Register(D) 8512 words
FlashROM Register(FD) 2048 words
High speed dispose
function
High speed count, pulse output, external interrupt
Setting of time scan
space
0~99mS
Password protection 6 bits ASCII
Self diagnose function Power on self-diagnose, Monitor timer, grammar check
13

Summary of XC series PLC
1-5. Shape and Size
Exterior Size
XC1 series 16 points main units
XC3 series 14 points main units (Including 16 points expansions)
XC1 series 32 points main units (Including 24 points main units)
XC3 series 24 / 32 points main units (Including 32 points expansions)
XC5 series 32 points main units
104532
67
76
XC3- 32R-E ERR
RUN
23540 1
73.3
Xi nj e El ect r oni c Co. , Lt d
SN:0067032266
DATE:20060410
TYPE:XC3-32R-E
0V
24V B
AY0
COM0Y1
COM1Y2
COM2Y3
Y4 Y10 COM4
Y11
Y6 Y7
Y5 COM3Y12
Y13Y14 Y15
PORT2PORT1
139
102
94
131
X
Y
PWR
X21
X20
X17
X10 X11X12 X13X14 X16
X15X7
X6
X5
X4
X3
X2
X1
X0COMCOM
FG
110
3.5
14

Summary of XC series PLC
XC3 series 60 points main units (Including 48 points main units)
XC5 series 60 points main units (Including 48 points main units)
COM9
COM8
199.4
102
73.3
207.4
94
Xi nj e El ect roni c Co. , Lt d
SN: 0067032266
DATE:20060410
Y
X
X0 X1
COM
COM X2 X3 X4 X5 X6 X7 X10 X11 X12 X13 X14 X15 X16 X17 X20 X21 X22 X23 X24 X25 X26 X27 X30 X37 X40X36
X35
X34
X33
X32
X31 X41 X42 X43
Y27
Y26
Y25
Y24
Y15 Y17
COM6Y21
Y20
COM7Y23
Y22
Y16
Y13 Y14
COM5Y11 Y12Y7 Y10
Y6COM4Y4 Y5
COM3Y3
Y2Y1 COM2
Y0 COM1COM0
CAN+ CAN-
AB
0V
24V
PORT2PORT1 ERR
RUN
PWR
01326754
45762 310
XC3- 60R- E
TYPE:XC3-60R-E
15

Summary of XC series PLC
1-6. Terminal arrangement
Main Units
1. Input terminals
2. BD expansion
3. Input label
4. COM port
5. COM port
6. COM port’s cover door
7. Output label
8. Output terminals
9. Screws
10. Input indicate LED
11. Extension port
12. Programming status indicate LED
13. Output indicate LED
16

Summary of XC series PLC
XC3- 60 main units, XC5- 60 main units: 36 Input/24 Output
Y12 COM7Y7
COM4
X31 X32 X33
X30
X27
X26
X25
X24
X23
X22
X21
X20
X17
X16
X15
X14
X13
X12
X11
X10
X7
X6
X5
X4
X3
X2
COMCOM
0V
24V A
CAN+ B
CAN- COM0COM1
Y0 COM2
Y1 Y2 COM3
Y3 Y5
Y4 Y6
COM5COM6Y11
Y10 Y13 Y14 Y16 Y22 Y23
Y20 Y21
Y17 COM8
Y15
X1
X0
XC3- 48 main units, XC5- 48 main units: 28 Input /20 Output
Y12 COM7Y7
COM4
X31 X32 X33
X30
X27
X26
X25
X24
X23
X22
X21
X20
X17
X16
X15
X14
X13
X12
X11
X10
X7
X6
X5
X4
X3
X2
COMCOM
0V
24V A
CAN+ B
CAN- COM0COM1
Y0 COM2
Y1 Y2 COM3
Y3 Y5
Y4 Y6
COM5COM6Y11
Y10 Y13 Y14 Y16 Y20 Y2
Y17 COM8
Y15 Y22 Y231
X1
X0
C1- 32 main units, XC3- 32 main units, XC5- 32 main units: 18 Input /14 Output
X
FG COM X1 X3 X5 X7 X1X13X11
COM X0 X2 X4 X6 5X16X14X12X10 X17 X20 X21
Y15
Y14
Y13
Y12
COM3
Y5 Y7
Y6 Y11COM4
Y10
Y4
Y3
COM2Y2
COM1Y1
COM0Y0
AB
24V 0V
C1- 24 main units, XC3- 24 main units: 14 Input /10 OutputX
0V
24V B
AY0
COM0Y1
COM1Y2
COM2Y3 Y4 Y10Y11
Y6 Y7
Y5 COM3
X10X11X12 X13X14 X15X7
X6
X5
X4
X3
X2
X1
X0
COMCOM
FG
XC3- 14 main units: 8 Input /6 Output
COM
FG X1 X3 X5 X7
X6X4X2X0
24V Y0 COM1Y3 Y5
Y4Y2Y1COM0B
0V A
XC1- 16 main units: 8 Input /8 Output
CO
M
FG X1 X3 X5 X7
X6X4X2X0
24V Y0 COM1Y2 Y7
Y4Y3Y1
COM0
0V Y5 Y6
17

Summary of XC series PLC
Expansions
XC-E8X8YR
COM
Y1
COM0Y0 COM1COM2Y3 Y4 Y6
Y7Y5COM3Y2
X0 X2 X4 X6 X7X5X3X1
COM
XC-E16X
COM X1 X3 X5 X7
X6X4X2X0
COM
COM X13 X15 X17
X16X14X12X10 X11
COM
XC-E16YR
Y0
COM0COM1
Y11
COM4COM5COM6Y13 Y14 Y16
Y17Y15COM7Y12Y10
COM2Y3Y4Y6
Y7Y5COM3Y2
Y1
18

Summary of XC series PLC
1-7. COM Port Definition
备注
COM 1 Pin of COM 1
345
12
68
7
Mini Din 88 core socket (hole)
COM 2
2: PRG
4: RxD
5: TxD
6: VCC
8: GND
Pin of COM 2
345
12
68
7
Mini Din 88 core socket (hole)
4: RxD
5: TxD
8: GND
Connection of programmable cable is the following:
19
3
45
1
2
6
87
15
9
6
Mini Din 8 core socket (pin) DB9pin(hole)

This manual suits for next models
103
Table of contents
Other Thinget Controllers manuals