XCPPro User Manual
XCPPro User Manual
Index
1, User explanation .........................................................................................4
1-2. Installation steps ....................................................................................5
1-3. Uninstall steps .......................................................................................5
2, Basic operation............................................................................................6
2-1. Open and close the XCP Pro ..................................................................6
2-3. Add and delete the PLC mode ................................................................8
3, Basic introduction of edit environment ......................................................1
3-1.The basic form of interface .....................................................................2
3-2. Conventional Toolbar .............................................................................3
3-3. PLC Toolbar ..........................................................................................3
3-4. Ladder Chart Input Bar ..........................................................................4
3-5. Other .....................................................................................................5
3-6. Menu Bar Introduction ...........................................................................5
3-6-1. “File” ..................................................................................................5
3-6-2. “Edit” .................................................................................................6
3-6-3. “Search/Replace”................................................................................6
3-6-4. “View” ...............................................................................................7
3-6-5. “PLC Operate” ...................................................................................7
3-6-6. “PLC Setting” .....................................................................................8
3-6-7. “Option” .............................................................................................8
3-6-8. “Window” ........................................ Error! Bookmark not defined.9
3-6-9. “Help” .............................................. Error! Bookmark not defined.9
3-7. Project bar .............................................................................................9
3-8. Shortcut key instruction ....................................................................... 10
4, Simple function realization ....................................................................... 11
4-1. Online .................................................................................................. 12
4-2. Download/Upload program, PLC state control ..................................... 13
4-3. Set PLC initial value, upload/download data ........................................ 14
4-3-1. Initial value settings .......................................................................... 14
4-3-2. Upload/Download data ..................................................................... 15
4-4. PLCand module information enquiry ................................................... 15
4-4-1. PLC main unit information ............................................................... 15
4-4-2. BD board information ....................................................................... 15
4-4-3. Expansion module information ......................................................... 16
4-4-4. Scan cycle ........................................................................................ 16
4-4-5. Clock information ............................................................................. 16
4-4-6. Error information .............................................................................. 17
4-5. PLC Initialization................................................................................. 17
4-6. Lock/Unlock program .......................................................................... 17
4-6-1. Password settings.............................................................................. 17
4-6-2. Lock/Unlock ..................................................................................... 18
4-6-3. The default password decryption settings .......................................... 18
1. User explanation
This chapter focuses on XC XCP Pro PC software installation system requirements, installation
and unloading steps.
1-2.Install steps
1-3.Uninstall steps
This software is suitable for running on Windows 2000, Windows NT, Windows XP and others
above.
1, If your operation system has not installed the Framework 2.0 library before, you should run the
installation process "dotnetfx.exe" first, which is in the subfolder "dotnetfx" of the installation
folder;
① Click “Next”.
② Choose software
3, Pick on "XCPPro3.0" in the list, press "Delete" in the lower right corner
2, Basic operation
This chapter focuses on the most basic operations in XCP Pro, including opening and closing the
software, create and open the project, and add and delete PLC types in the same project.
(2)When the XCP Pro has just started, the screen will display as shown below:
Note: You can also double-click the shortcut icon " " on the desktop to open the
program.
Choose "File"→"Exit", or just click the button " ", the XCP Pro will be closed.
(1)Choose "File"→"New project Ctrl+N ", or click icon " ", the PLC model selection
window will pop up.
(2)Select the PLC model in the "Select PLC Model" windows, and then click "OK", the new
2, Open project
Choose "File"→"Open project", or click icon " ", then select *. XCp type of file in the "Open
PLC project file" dialog box, then click the "open".
Note: Usually, when you open an XCP project, the system backs up the original file automatically,
file named *. rak for backup. When you need to use this file, change the suffix to ". XCP", then
open it in XCP Pro.
When a new project is created, its default name is PLC1. When you need to edit a number of
PLCs, you can add multi-objects to the interface.
1、 Add PLC
Method 2:In project column which is on the left side, right-click "PLC1"→"Add PLC", as
follows:
When a PLC is added successfully, it will be named "PLC2" incremented each time by 1, and the
project column in the left side will change also, as shown below:
click the plc. Users can also modify the name, edit communication mode, change models or delete
operation on the corresponding PLC.
2、 Deleting models
Method 2: First select the PLC to delete, and then to "File"→"Delete PLC".
After the operation, the system will hint whether or not to delete, as follows:
Note: The code between different PLCs can be copied to or from each other; the code between
different projects can also use the copy and paste function.
This chapter focuses on the basic structure of XCP Pro software, the main function of the Toolbar, the menu
bar, the project bar, and shortcut keys in common use.
3-2.Conventional Toolbar
3-3.PLC Toolbar
3-5.Others
3-6.Menu bar
3-7.Project bar
Title bar: Behind the ECPPro,display the open ladder program file name and path.
Menu bar: Choose the operation to carry out in the drop-down menu.
Instruction
Instruction tooltip open/close
tooltip
Data monitor Monitor and set state, data of all PLC soft elements
Free monitor Monitor and set state, data of specified PLC soft elements
Software serial
Configuration of serial port for connection to PLC
port config
3-5. Other
3-6-1. “File”
3-6-2. “Edit”
3-6-3. “Search/Replace”
3-6-4. “View”
In the basic operation of the PLC, there are several items listed below that need attention:
This protects the users' intellectual property, after the use of secret download, the program or data in
PLC will never be able to upload, and the program is unable to be deciphered.
In the instance of a program error, in the run mode you will not be able to communicate, set PLC to
stop mode, then you can re-download the user program and set PLC to run mode.
Lock/Unlock program
When using the function, first set the user program password, then download, password and program
will download into PLC together. When the user wants to upload, they need to input the password to
unlock the PLC first, and then they can upload.
When the PLC is password protected, it can be re-downloaded with a new user program,. The
password is used to protect a specific user program.
3-6-7. “Option”
Instruction class bar: The instructions classified in accordance with the different functions, and then users can
choose directly, as follows:
This chapter focuses on the use of PLC basic functions, including online, upload/download program, run/stop
PLC, upload/download data, specified information search, PLC initialization, lock/unlock program, print, etc.
4-1.Online
4-5.PLC initialization
4-6.Lock/Unlock program
4-7.Print
4-1. Online
1, Click menu bar, "option"→"software serial port config", or click icon " "。
2, In "Config Software Com Port" window, choose the correct serial port, baud rate, parity, or click "Check",
software will check and set correct serial port, baud rate, parity automatically.
3, When "Connect PLC Succeeded" shows red in the left bottom of "Config Software Com Port" window,
online connection is successful, click "OK", to continue other operations.
4, When online fails, "Communication Error" will show in red wording in the left bottom of "Config
Software Comport" window, please check computer comport, communication cable and PLC
communication port and repeat procedure.
1, When you are successfully online, click "PLC operation" in menu bar→ "upload program&data ", or click
" " icon, this will upload the PLC program. Click "project" in menu bar→ "save project", or " " icon,
this will save program.
2, When you are online successfully, click "PLC operate" in menu bar→"Download Program & Data", or
click icon, the program will download into the PLC. If the PLC is running, the "stop running PLC"
window will pop up.
Choose "OK", The PLC will stop running, then download your new program. While downloading, the gauge
pop up will show.
3, State control
After online, click button to run the PLC; click button to stop the PLC.
Click "Set Reg Init Value" in project bar, the "Init Reg Value" window will pop up.
"Upload":Upload the data of PLC soft element; "Download": download the set value into PLC.
The numerical value can switch between "decimal","binary","hexadecimal","no symbol","ASCII".
Add soft element: Click "add" button, "Add Reg Init Value Range" in the window pop up, choose
register model 'D' or 'FD', then set the start and end address.
The chart below is the initial value settings of adding two registers, double-click address ID, and modify
numerical value.
Method1:
Select "PLC setting" in main menu bar→"PLC Initialization", PLC will be initialized back to original
factory settings.
When password protection is set, the PLC program cannot be read out in locked state. If repeated entering of
wrong password error occurs the PLC will block password automatically. To reopen password entry, switch off
the power to the PLC and apply power again then re-enter password and upload.
4-6-2. Lock/Unlock
When the password is successfully entered, click icon to lock the current PLC. Or click icon to
unlock the current PLC, so the program can upload as normal.
In the process of using a locked PLC frequently, or enterin different passwords to different locked PLCs, the
user can set a default decryption password. As shown above, the user can set a number of decryption
passwords. Then during uploads there is no need to enter passwords repeatedly.
4-7. Printing
Click "File"→"Print", the print config window will pop up, the program can be printed in ladder chart or
instruction mode.
Print object:
Ladder chart, command, note;
Print settings:
① Choose printer
② Print range
③ Print amount
5, Program operation
This chapter focuses on the introduction in the XCP Pro program environment, including methods for
configuration and idiographic operation process, which may be involved in a wide variety of programs.
5-1.Program mode
5-4.Correlative configuration
XCP Pro can program in two methods: ladder logic or statement list program.
Ladder logic programming: Is chosen by the majority of PLC programmers and maintenance personnel.
Statement list program: Is used for PLCs where maintenance personnel have no access to the PLC and ladder
monitoring is not required.
Mouse left click on a certain node in ladder chart, the display area in dotted line box denotes the chosen node;
first click " " icon (or press F5 key), the figure will show a dialog box (LD M0), it can edit instruction and
loop in dialog box. When editin is finished, press "Enter" button.
Edit
Right Wrong
input input
Edit instruction F8
② Click " " icon (or press F7 key), the instruction dialog window pop up for (OUT);
④ Press the "Enter" key, if input is correct, then dotted line box will move to the next row; if not, the node
After pressing enter, then dotted line box line will wrap.
After pressing enter, the dotted line box line will wrap.
Click " " icon (or press F8 key), on left side column will show instruction list; double-click the input
instruction, the instruction is activated in the appointed area, input parameter.
Users who are familiar with instructions can double-click the input area, and manually input instructions
and parameters;
Double-click the activated area:
Notice:
Instruction input mode: instruction + blank + operand.
The red node means an error has occurred.
1、 PID instruction
After setting the parameter, click "OK", the instruction will appear in the ladder chart window, as follows:
Parameter modification
When parameter settings are completed, click "OK", this will present to the ladder chart area, shown as
follows:
Parameter modification
Modify the parameters, by double-clicking the instructions to modify an address. You can also single-click
Click the " " icon in the instruction bar, parameter config box will pop up. The config items include
high speed count; compare value, 24-segment config value, etc. As shown below:
The instruction will appear in ladder chart appointed area, as shown below:
Parameter modification
Double-click the instruction to modify the address. You can modify other parameters via " " icon.
When XCP Pro is connected to the G-BOX successfully, you can set the SMS config.
Click " " icon in the instruction bar, dialog box will pop up, the config parameter includes instruction
name, COM port, phone number, first address, SMS content, as shown below:
Move the dotted line box to upper right of the input place
① Delete horizontal line: Move the dotted line box to delete place, click (or press Shift+F11 key).
② Delete vertical line: Move the dotted line box to upper right of the delete place, click (or press
Shift+F12 key).
Click (or press Ins key),node right extension, a blank line appear in dotted line box.
Click
(or press Ins key), ladder chart down move a row, a blank row appear in dotted line box.
Delete (or press Del key), dotted line box right move a line, a blank line appears.
Click (or press Shift+Del key), the row of dotted line box is deleted, the next row up will move a row
automatically.
① Move the dotted line box to comment soft element, right click, then menu will pop up.
② Click "Modify Reg Comment " icon, the edit comment box will pop up;
④ Click "OK", then show node comment, all the comment information will show in the bottom of the
element.
In the mode of ladder chart don't show comment, move the mouse to soft element, then an information
box will emerge to show soft element comment information.
Click "Reg Comment" in the left project bar, or click "View" in menu bar→ "Node Comment List", PLC
soft element comment table pop up, you can view, modify, and add all soft elements comment in the table.
The display mode can be a classified display, it can also be a whole display.
Copy: move the dotted line box to input place, press and drag the mouse, the selected area will show in hi
Then move the dotted line box to paste place, click (or press Ctrl+V)
Cut: drag mouse and select the cut area, press (or press Ctrl+X), then move the dotted line box to
Note: You can press Ctrl to select multi-node for cutting or pasting.
When user procedure is too long, effective instruction management can help with clear area management.
After being folded, the program is much more concise, to help users better grasp of the overall program
situation.
2、 GROUP/GROUPE
"GROUP/GROUPE" will help to organize sentence into groups, fold/expand are also suitable.
"GROUP" and "GROUPE" instructions don't have practical significance, only to organise the
program into labelled sections. Usually, a GROUP will start with "GROUP", and ends with "GROUPE",
the middle part is the effective user program. The following is an example of GROUP.
At the same time, it is convenient for management, All items are noted in "ladder", double-click to expand.
1, Click "PLC config" in the project bar→"serial port", serial port set box will pop up.
2, Click "serial port 1", "serial port 2", "serial port 3" to set different serial ports.
3, There are two optional communication modes, "Modbus" and "Free protocol".
5, Click "Write Into PLC" to write current parameters into PLC, then PLC re-power. 。
Modbus
communication
Free protocol
communication
Click "PLC Config" in the project bar→"BD", BD set box will pop up.
In "BD Config", you can choose "No config", "BD serial port", or "Other BD board".
Click "Read from PLC" to get default BD config parameter.
After modifing with BD board parameter, click "Write to PLC" to write set value into PLC.
EX: take "2AD2PT-P" type BD config as example, first pick "other BD" in "BD Config", then choose
relevant BD board type in the dialog box.
Click the box before "BD-2AD2PT-P", then "BD-2AD2PT-P config" box will appear in the right. Click
drop-down menu to modify its configuration, then click "Write To PLC".
Click "PLC config" in project bar→"CAN", CAN config settings dialog box will pop up.
Add: first select the configure item, then click "add" button to add address;
Note: the add and delete of item can also first select operation item, right-click, choose operation in the pop-up
menu.
Click "PLC Setting" in project bar→"Hold Mem Setting", save hold memory set box will pop up.
The value shown in the right box of each soft element, is the power-off retentive area original
address. The "Input Value Range" in the lower left side, show the soft elements effective range.
Click "PLC config"→"expansion module", expansion module setting box will pop up.
Click "Read From PLC" to get default configure parameters of expansion module.
After the settings of expansion module parameters, click "Write To PLC" to write set values into
PLC.
Click "PLC config" in project bar→"I/O settings", I/O setting box pop up.
I/O point mapping: refer to the relevant actual input, output definition of internal soft element number.
Such as, set value to be 0 in X0,X1position, then when input terminal is ON, soft element X0,X1 all
set ON; if the set value in Y0,Y1 position all are 0, then only while soft element Y1 is ON, output
terminal Y0 has export.
In port property: when it's "+", the input and output state is positive logic; when it's "-", the input and
output state will be negative logic.
The default communication mode is serial port, when click "+", it will open TCP/IP device(via .TCP/IP
settings) window, as shown below:
Click "Add GBOX" button, users can add communication device here, window will pop up as follows:
Set relevant parameters in the window, create parameter set, please refer to <<Wireless data transmission
Communication mode settings can also be done via clicking PLC name in project bar, right click, select "Edit
PLC Communication Mode" in pop-up menu, as shown below:
Function block directly compiles in software, it will save as export after completion, and can be directly
transferred in ladder chart, shown as below:
After confirming the input function block basic information, you will find a "FUN1" added in the project bar,
as shown below:
Click "FUN1", the following interface will appear in the main window, users can edit the program here.
Click "used" in the window, the used soft element window will pop up, and the used element number will be
listed respectively.
Click "Add", "monitor node input" window will pop up: input the monitor soft element capital address in
"Monitor Reg" bar, set the continuous monitoring soft elements number in "Num", select soft element monitor
method in "Monitor Mode" bar, select soft element show mode in "Show Mode" bar.
After adding the, serial number, value, word length, number format and comment of relevant element list in
monitor window, double-click edit its attribute.
Mouse double-click loop, then state negation; double-click register, then activate value modification, press
enter to confirm input.
Input relevant soft element number in search bar, press enter, monitor table will automatically jump to
relevant place.
When loop state is OFF, it's blue-background black word; when is ON, it's green-background white word,
shown as below:
Click " " icon in toolbar, open ladder chart monitor, soft element states of program are shown, loop in
green-background white-word is ON state, real-time data in timer, register shows also in ladder chart, shown as
follows:
For convenient debugging, users can right-click soft elements, change the current state, and monitor the
revised operating results
sentence error, press enter, it will show in red, and show error in error information list. Shown as follows:
If only checking one sentence, you can click "PLC operate"→"Grammar check".
Double-click error information, then cursor will position to error place automatically, shown as below:
Output: Usually when PLC run is in error, relevant information written into output bar, prompt the operation
error. As shown below:
The display of information, data monitor and free monitor can switch via as shown below:
Documentation Reference
distributors for
Web www.listo-ltd.com
www.xinje-support-centre-listo.com
E-mail [email protected]