XP3 16 Manual
XP3 16 Manual
XP3 16 Manual
User manual
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.
Precautions
Correct
Application
Please follow the precautions. If not, it may lead the control system
incorrect or abnormal, even cause fortune lose.
The models could only be used according to the manual, and an 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 recommendation.
Catalog
1
INTRODUCTION ................................................................................................................... 1
1-1-1.
Characteristics ........................................................................................................... 1
1-1-2.
Name rule................................................................................................................... 1
1-2.
1-3-1. Structure........................................................................................................................... 5
1-3-2. Function buttons............................................................................................................... 6
1-3-3. Terminals ......................................................................................................................... 6
1-3-4. Download and communication port .................................................................................. 7
1-4.
DIMENSION ......................................................................................................................... 7
Preface
Thank you for purchasing Xinje XP3-16 series integral industrial controller, please read the
manual before operating.
Manual purpose
This manual provides user with the guide of using and operating our product, it
includes the product characteristics, spec explanation, using method, etc.
Terminal user
Debugging person
Technology support person
Make sure you have read the safety notice before operating.
Scope
Tele-document
Contact us
Safety notes
Read the manual carefully before operating. Be aware of the safety and correct operation. The
content below is focus on XP3-16 series products only.
Please safekeeping the manual, put in somewhere easy to get and read and give the manual to final
user.
Notice items
ATTENTION
Do not put the wire close to cable, keep 10cm distance at least.
Do not change the inside module of product or it may cause fault, error action, loss,
fire.
When it smelly or noisy, cut the power immediately (short tweet after power on is
normal).
Do not press the screen with pen, screwdriver or other sharp tools, it may cause
screen break or error.
For installing the product, tighten the screws to avoid loose.
Transport, install, store, assemble and maintain the product accurately to avoid
breaking.
DANGEROUSNESS
Confirm the power voltage and wire connection before turn on the power in order to
avoid breaking
Do not touch the connection point to avoid getting an electric shock
Do not open the back cover board
Cut all the power before installation and take-down to avoid error and fault
Please use in the surrounding the manual stated to avoid accident
Do not use the product under the condition of high frequency radiation, strong
magnetic field to avoid interference
1-1. Introduction
1-1-1. Characteristics
Digital input: 8 points, optical isolation, first 2 channels are high speed opto-isolator, others are
general opto-isolator
Digital output: 8 points, the first channel is transistor output (NPN open collector), others are relay
output
Analog extension: enable to expand 2 BD boards, the types includes XP3 -3AD2DA-BD2, XP3
-3AD3PT-BD2, XP3 -3PT-P-BD2, XP3-4AD2DA-BD2, XP3-3TC-P-BD2
LCD: 192*64 pixels, 3.7 inches, monochrome, use life up to 20000 hours
Up to 26 function buttons, can be set freely, flexible and accurate
Support high speed count, high speed pulse, external interruption
Multi-functional download port: download PLC and HMI program with the same cable
Compact design, save the space of control cabinet
1: Series name
2: PLC type
3: XC3 series
3: I/O points
4: Output type
R: relay output
T: transistor output
RT: mixed transistor and relay output
Extension BD
Type
Explanation
XP3-3AD2DA-BD2
XP3-3AD3PT-BD2
XP3-3PT-P-BD2
XP3-3TC-P-BD2
XP-4AD2DA-BD2
Electrical spec
Item
Electrical
Environment
Structure
Interface
HMI spec
Spec
Input voltage
AC100V~240V
Rated frequency
50/60Hz
Allowable momentary
power failure time
Withstanding voltage
Insulation resistor
Operation temperature
050
Storage temperature
1060
Ambient humidity
Vibration resistance
Interference immunity
Ambient air
No corrosive gas
Protection
IP20
Cooling
Dimension
172.0*121.0*56.5 mm
Installation dimension
164.0*113.0 mm
Download port
RS-232
Communication port
RS-485
Item
Screen
Memory
Spec
Type
LCD size
3.7 inches
Use life
Display area
192*64
Contrast
Adjust by potentiometer
Language
Font
Touch mode
Untouchable
Screen
64KB FlashROM
Data
4KB SRAM
PLC spec
Item
Program execution mode
Cyclic scan
Programming mode
Operation speed
0.3s
Latched
Spec
128K
I/O points
8768 points
Flow (S)
1024
Timer (T)
Counter
(C)
Points
640 points
Spec
Points
640 points
Spec
9024 words
2048 words
0~99ms
Password protection
6-bit ASCII
Self diagnosis
AB phase mode
C600C602 C604 C606 C608 C610 C612 C614 C616 C618 C620C622 C624 C626 C628 C630 C632 C634
Max frequency
10K 10K
5K
4-time frequency
5K
Count interruption
X000
X001
X002
Dir
X003
X004
Dir
X005
Pointer
Suppress interruption
Rising interruption
Falling interruption
X7
I0100
I0101
M8051
X6
I0200
I0201
M8052
4. Frequency measurement
Type
Input
XP3-16 series
X4X5
Display area
Numeric
buttons
Function
buttons
Download
port
Power supply
Output
RS485 port
Input
Function
Return to initial screen whatever the screen state. Initial screen can be set by user,
default is screen 1.
Front page
Next page
Press it to change the register value. Press it again to cancel before pressing [ENT].
Write the changed data into the register, and continue to change next register.
Alarm list button. Press it to see the alarm list.
Clear the data when setting the register
Set the positive /negative of data
Numeric button (0~9)
Function button (F1~F8)
Notes: All the buttons in the above table can be set to other functions including set ON, set OFF,
reverse, instant ON.
1-3-3. Terminals
1. Power supply terminals
AC 220V
L
N
FG
2. I/O terminals
Function
Pin1
CTS
Pin4
RXD
Pin5
TXD
Pin6
VCC
Pin8
GND
Notes:
(1) Please use the cable supplied by XINJE company
(2) Do not change the communication parameters (FD8210~8219) of download port,
otherwise it cannot download program.
2. Communication port
This port is the RS485 port (terminal A and B) of PLC. It supports Modbus-RTU protocol.
1-4. Dimension
Product dimension (unit: mm)
56.5
121
172
111
162
164
113
Basic unit
DC24V10%
7mA/DC24V
Input ON current
Above 4.5mA
Below 1.5mA
About 10ms
Circuit insulation
Optical
coupling
insulation
DC power
supply
COM
R2
R1
X*0
R4
R3
X*7
LED is ON when
input ON
Input wiring
The input current of XP3-16 series is supplied by internal 24V power supply. If using external
power supply to drive the optical-electricity sensor, the supplier should be DC24V4V. The
output transistor of sensor should be NPN open collector.
DC power
supply
+5V
COM
R2
R1
R6
R5
X*0
LED
I=7mA
R4
power supply
DC24V
R3
X*7
sensor
Input points
Connect input point and com point with non-voltage point or NPN open collector transistor to
turn on the input.
Input loop
The first loop and the second loop are insulated by optical coupler, the second loop has C-R
filter which can prevent wrong action caused by industry noise or input points oscillation. As
the result, there will be a response delay for 10ms to the input points. There is digital filter in
the input points.
Input sensitivity
Input current is DC 24V 7mA. To make the input reliable, the ON current should be above
3.5mA, the OFF current should be below 1.5mA.
Typical wiring
Circuit insulation
Machinery insulation
Max loader
Resistance load
3A
Inductance load
80VA
Lamp load
100W
Min loader
Response
time
DC5V 2mA
OFFON
10ms
ONOFF
10ms
Output points
Relay output has two common points. Different units can drive the loader of different
power-voltage systems.
Loop insulation
It is electric insulated between relay output point and outside load circuit.
Action indication
Relay output coil produces close sound when it is on.
Response time
The response time is about 10ms transferring the ON or OFF signal from relay output coil to
the output connection.
Output current
Output current is 3A per point to drive resistance load for voltage below AC250V.
Inductance load is below 80VA (AC100V or AC200V) and lamp load is below 100W
(AC100V or AC200V).
Open leakage current
There is no leakage current when output point is OFF, it can drive neon light.
Use life of relay output point
The standard life of inductance load such as contactor, solenoid valve: according to our
experiment results, 20VA load is about 3 million times, 35VA load is about 1 million times,
80VA load is about 0.2 million times. However, the life will extend if parallel connect surge
absorber with the load.
11
+24V
Y*0
Y*1
Y*2
Y*3
Relay output
Note: T type has no relay output, do not connect AC220V, or the product will be broken.
For DC inductance load, please parallel connect with commutate diode. If not connect with
the commutate diode, the points life will be decreased greatly. Please choose the commutate
diode which allow inverse voltage endurance up to 5~10 times of the loads voltage, ordinal
current exceeds load current.
Parallel connect AC inductance load with surge absorber can reduce noise and extend useful
life of the points.
DC load
AC load
Y*4
photo-electricity
drive circuit
Load
Y*5
Load
Y*6
Load
Y*7
XP3-16
servo drive
Make sure the current of servo drive optical coupling input is 8~15mA.
13
After changing the PLC type, click PLC config/BD, it will show 2 BD boards
configuration window:
3. XP3-16 series use XP3-xxx-BD2 series BD board. Please distinguish it with other
BD boards:
(1) XC-xxx-BD: for XC series PLC
(2) XP3-xxx-BD: for XP3-18 series integrated PLC&HMI
(3) XP3-xxx-BD2: for XP3-16 series integrated PLC&HMI
4. XP3-4AD2DA-BD2 can only install on the left extension place of XP3-16. Others
can install on both places. The details please refer to XP3 series extension BD2
board manual.
Notes: for the detailed information of PLC, please refer to XC series PLC manual.
3-2. Instructions
3-2-1. basic instructions
Instruction
Function
LD
LDI
AND
ANI
15
OR
ORI
LDP
LDF
ANDP
ANDF
ORP
ORF
LDD
LDDI
ANDD
ANDDI
ORD
ORDI
OUT
Coil drive
OUTD
ORB
ANB
MCS
MCR
Generatrix reset
ALT
PLS
PLF
SET
RST
TMR
Timer drive
OUT
Counter drive
RST
END
GROUP
GROUPE
Instruction
Process
CJ
Condition jump
CALL
SRET
Subprogram return
STL
Process start
STLE
Process end
SET
ST
Data
Function
FOR
Cycle start
NEXT
Cycle end
FEND
LD=
LD>
LD<
LD<>
comparison
17
Data
LD>=
LD<=
AND=
AND>
AND<
AND<>
AND>=
AND<=
OR=
OR>
OR<
OR<>
OR>=
OR<=
CMP
Data comparison
ZCP
MOV
Data transmission
transmission
BMOV
FMOV
EMOV
Float transmission
FWRT
MSET
Multi-set
ZRST
Multi-reset
SWAP
on
Data
XCH
ADD
Addition
SUB
Subtraction
MUL
Multiplication
DIV
Division
INC
Plus one
DEC
Minus one
calculation
Type
Instruction
Function
Data
MEAN
WAND
Logic and
calculation
Data shift
WOR
Logic or
WXOR
Logic xor
CML
Negate
NEG
Negative
SHL
SHR
LSL
LSR
ROL
Rotate left
ROR
Rotate right
SFTL
SFTR
WSFL
19
Data
WSFR
WTD
FLT
FLTD
conversion
Float
INT
BIN
BCD
ASCI
HEX
DECO
Decoding
ENCO
High-bit encoding
ENCOL
Low-bit encoding
GRY
GBIN
ECMP
Float comparison
EZCP
EADD
Float addition
ESUB
Float subtraction
EMUL
Float multiplication
EDIV
Float division
ESQR
Float square
calculation
SIN
Float sine
COS
Float cosine
TAN
Float tangent
Clock
ASIN
Float arcsine
ACOS
Float arccosine
ATAN
Float arctangent
TRD
TWR
Instruction
Function
High-speed
HSCR
HSCW
count
MODBUS
OUT
RST
COLR
INPR
communication
Free format
COLW
MCLW
REGR
INRR
REGW
MRGW
SEND
RCV
communication
CANBUS
CCOLR
21
communication
CCOLW
CREGR
CREGW
CSEND
CAN send
CRECV
CAN receive
Type
Instruction
Precise timing
STR
Interruption
Read &write
Precise timing
STRR
STRS
EI
DI
IRET
Sequence block
Function
Interruption return
SBLOCK
Block start
SBLOCKE
Block end
BSTOP
BGOON
WAIT
Wait
FROM
TO
module
Others
FRQM
Frequency measurement
PWM
PID
NAME_C
PID control
C block
1. Build a project
Open OP20 software, click file/new project or
2. Select the HMI type
Select OP330 (XP) for XP3-16 series.
23
Screen download
1. Select the communication port
Click file/select comm port to select the PC serial port.
2. Download
Connect PC serial port to XP3-16 with downloading cable. Click
to download.
After finishing the download, it will show download successful window.
Notes:
(1) Do not cut the power when downloading, or you have to repower on and download again.
(2) It is the same cable to download PLC and HMI program.
(3)
Do not open XCPpro and OP20 software at the same time when downloading!!
Function
Build a new project
Open a project
Save the project
Make a new screen
The property of the screen
Copy screen
Delete the screen
Alarm list
Set the initial screen, password and control properties
Set the function button
Download the program
Part list
Button
Function
Input text, support multi-language
Dynamic text, show different text according to the machine state
Vector text, enable to set the font and size
Dynamic text, enable to set 254 kinds of states
Lamp
25
ID
Function
Description
M8000
Normally ON coil
when running
M8001
M8002
M8003
RTC (M8011-M8014)
ID
Function
Description
5ms
M8011
M8012
M8013
M8014
27
Flag (M8020-M8029)
ID
Function
Description
M8020
Zero
M8021
Borrow
M8022
Carry
M8023
M8026
RAMP Mode
M8029
PC mode (M8030-M8038)
ID
Function
Description
M8030
PLC initializing
M8031
M8032
M8033
M8034
M8038
Parameter setting
ID
Function
Description
M8041
M8045
all
outputs
reset
M8046
Interruption (M8050-M8059)
ID
M8050
I000
Function
Description
M8051
I010
M8052
I020
M8053
I030
M8054
I040
M8055
I050
M8056
I40
M8057
I41
M8058
I42
M8059
ID
Function
Description
M8067
Operation error
M8070
M8071
No user program
M8072
29
Communication (M8120-M8148)
ID
Function
Description
M8120
M8121
M8122
M8123
M8124
COM1
M8125
M8126
Global signal
M8127
M8128
M8129
M8130
COM2
M8131
M8132
M8133
M8134
M8135
M8136
Global signal
M8137
M8138
M8139
M8140
COM3
M8141
M8142
M8143
M8144
M8145
M8146
Global signal
M8147
M8148
M8149
ID
Counter ID
Function
Description
M8150
C600
M8151
C602
M8152
C604
M8153
C606
M8154
C608
M8155
C610
M8156
C612
M8157
C614
M8158
C616
M8159
C618
M8160
C620
M8161
C622
M8162
C624
M8163
C626
M8164
C628
M8165
C630
M8166
C632
M8167
C634
M8168
C636
M8169
C638
ID
Pulse ID
M8170
PULSE_1
Function
specification
M8171
M8172
Direction flag
M8174
M8175
Direction flag
M8173
M8176
M8177
PULSE_2
PULSE_3
31
Direction flag
M8180
M8181
Direction flag
M8178
M8179
PULSE_4
function
specification
1 is absolute, 0 is relative
1 is absolute, 0 is relative
1 is absolute, 0 is relative
1 is absolute, 0 is relative
1 is absolute, 0 is relative
1 is alarm, 0 is correct
PULSE_1
M8211
PULSE_1
1 is alarm, 0 is correct
PULSE_2
PULSE_2
1 is alarm, 0 is correct
PULSE_3
PULSE_3
1 is alarm, 0 is correct
PULSE_4
PULSE_4
1 is alarm, 0 is correct
PULSE_5
PULSE_5
Forward/reverse count
ID
M8238
Function
Counter Nr.
Positive/negative
control
C300~C498
Specification
counter
ID
Counter ID
Specification
M8270
M8271
M8272
M8273
M8274
M8275
M8276
M8277
M8279
M8280
M8281
33
M8284
M8285
M8289
ID
Function
M8340
M8341
Specification
ID
Function
Specification
M8630
M8631
M8632
M8730
ID
Function
Specification
D8010
Unit:0.1ms
D8011
Unit:0.1ms
D8012
Unit:0.1ms
D8013
Second (clock)
D8014
minute (clock)
D8015
hour (clock)
D8016
day (clock)
D8017
month (clock)
D8018
year (clock)
D8019
week (clock)
ID
Function
Specification
D8067
D8068
D8069
D8070
D8074
Unit 1ms
D8097
D8098
35
Communication (D8120-D8149)
ID
Function
specification
D8120
D8121
D8122
D8123
D8126
Com 1
D8127
D8128
7: hardware error
8: CRC Parity error
9: station number error
10: no start code
11: no end code
12: communication time out
0: correct
1: dont support function ID
2: address error (overrun address)
3: Data error (the number of data)
8: saving data error (rewrite Flash)
D8129
D8130
D8131
D8132
D8133
D8136
Com2
D8137
D8138
7: hardware error
8: CRC check error
9: station number error
10: no start sign
11: no end sign
12: communication time out
0correct
1: dont support function ID
2: address error(overrun address)
3: Data error ( the number of data)
8saving data error ( rewrite Flash
D8139
D8140
D8141
Com 3
D8142
D8143
D8146
D8147
D8148
7: hardware error
8: CRC check error
9: station number error
10: no start sign
11: no end sign
12: communication time out
0correct
1: dont support function ID
2: address error(overrun address)
3: Data error ( the number of data)
8saving data error ( rewrite Flash
D8149
ID
Counter ID
function
D8150
C600
D8151
C602
D8152
C604
D8153
C606
D8154
C608
D8155
C610
D8156
C612
D8157
C614
D8158
C616
D8159
C618
D8160
C620
D8161
C622
D8162
C624
D8163
C626
D8164
C628
D8165
C630
D8166
C632
D8167
C634
D8168
C636
D8169
C638
specification
37
Pulse ID
D8170
PULSE_1
function
specification
D8171
D8172
D8173
PULSE_2
D8174
D8175
D8176
PULSE_3
D8177
D8178
D8179
PULSE_4
D8180
D8181
D8190
PULSE_1
PULSE_2
PULSE_3
PULSE_4
Only XC5-32RT-E
(4PLS) model has
D8197
ID
D8195
D8196
D8193
D8194
D8191
D8192
Only XC5-32RT-E
(4PLS) model has
Pulse ID
Function
Description
D8210
PULSE_1
PULSE_1
D8212
PULSE_2
PULSE_2
D8214
PULSE_3
PULSE_3
D8216
PULSE_4
PULSE_4
D8218
PULSE_5
PULSE_5
D8220
Frequency
Testing
Precision
Pulse
PULSE_1
PULSE_2
PULSE_3
PULSE_4
PULSE_5
Function
Description
ID
Function
D8315
D8316
Description
Function
Description
D8630
D8631
D8632
39
D8730
Function
D8600
D8601
specification
Expansion ID
1.
2.
3.
4.
Expansion 1
D8602
D8603
D8604
D8605
D8606
D8607
D8608
D8609
D8610
D8611
D8612
D8613
D8614
D8615
D8624
D8625
D8626
Expansion 2
Expansion 3
Expansion 4
Expansion 7
D8627
Function
FD8000
Initial Value
Description
10
Unit: ms
FD8002
FD8003
FD8009
2. I mapping
ID
Function
Initial value
Description
FD8010
FD8011
FD8012
FD8073
63
3. O mapping
ID
Function
Initial value
Description
FD8074
FD8075
FD8076
FD8137
63
4. I property
ID
function
Initial value
Description
FD8138
X00 property
all be 0
0: positive logic;
others: negative logic
FD8139
X01 property
FD8140
X02 property
FD8201
X77 property
41
Function
Initial Value
FD8202
4000
FD8203
3000
FD8204
640
FD8205
320
FD8206
512
FD8207
FD8209
50ms
6. Communication
ID
Function
Initial
Description
FD8210
Communicate Mode
(station number)
FD8211
Communicate format
8710
FD8212
Judgment
timeout
time
of
ASC
FD8213
Judgment
timeout
time
of
reply
300
FD8214
Start ASC
FD8215
End ASC
FD8216
FD8220
Communicate Mode
(station number)
8710
FD8221
Communicate format
FD8222
Judgment
timeout
time
of
ASC
300
FD8223
Judgment
timeout
time
of
reply
FD8224
Start ASC
FD8225
End ASC
FD8226
8710
FD8230
Communicate Mode
(station number)
8710
FD8231
Communicate format
COM1
COM2
COM3
FD8232
Judgment
timeout
time
of
ASC
FD8233
Judgment
timeout
time
of
reply
FD8234
FD8235
FD8236
300
Start ASC
End ASC
8710
Function
FD8323
FD8324
FD8325
FD8326
FD8327
FD8328
FD8329
Initial
Value
Function
FD8330
FD8331
FD8332
FD8333
FD8334
Initial Value
1If you change special FLASH memory, it will take into effect after restart the PLC
43