Академический Документы
Профессиональный Документы
Культура Документы
LSIS strives to maximize customers' profit in gratitude of choosing us for your partner.
http://www.lsis.com
Safety Instructions
For your safety and effective operation, please read the safety instructions
thoroughly before using the product. Safety Instructions should always be
observed in order to prevent accident or risk with the safe and proper use the
product.
Instructions are divided into “Warning” and “Caution”, and the meaning of the
terms is as follows.
Moreover, even classified events under its caution category may develop
into serious accidents relying on situations. Therefore we strongly advise users
to observe all precautions properly just like warnings.
The marks displayed on the product and in the user’s manual have the
following meanings.
The user’s manual even after read shall be kept available and accessible to
any user of the product.
Safety Instructions
Warning
Caution
I/O signal or communication line shall be wired at least 100mm
away from a high-voltage cable or power line. Fail to follow this
instruction may cause malfunctions from noise
Caution
1. Use PLC only in the environment specified in PLC manual or
general standard of data sheet. If not, electric shock, fire,
abnormal operation of the product may be caused.
2. Before install or remove the module, be sure PLC power is off.
If not, electric shock or damage on the product may be caused.
3. Be sure that every module is securely attached after adding a
module or an extension connector. If the product is installed
loosely or incorrectly, abnormal operation, error or dropping may
be caused. In addition, contact failures under poor cable
installation will be causing malfunctions as well.
4. Be sure that screws get tighten securely under vibrating
environments. Fail to do so will put the product under direct
vibrations which will cause electric shock, fire and abnormal
operation.
5. Do not come in contact with conducting parts in each module,
which may cause electric shock, malfunctions or abnormal
operation.
Safety Instructions
Warning
1. Prior to wiring works, make sure that every power is turned off.
If not, electric shock or damage on the product may be caused.
2. After wiring process is done, make sure that terminal covers
are installed properly before its use. Fail to install the cover may
cause electric shocks.
Caution
1. Check rated voltages and terminal arrangements in each
product prior to its wiring process. Applying incorrect voltages
other than rated voltages and misarrangement among terminals
may cause fire or malfunctions.
2. Secure terminal screws tightly applying with specified torque. If
the screws get loose, short circuit, fire or abnormal operation may be
caused. Securing screws too tightly will cause damages to the
module or malfunctions, short circuit, and dropping.
3. Be sure to earth to the ground using Class 3 wires for FG
terminals which is exclusively used for PLC. If the terminals not
grounded correctly, abnormal operation or electric shock may be
caused.
4. Don’t let any foreign materials such as wiring waste inside the
module while wiring, which may cause fire, damage on the
product or abnormal operation.
5. Make sure that pressed terminals get tighten following the
specified torque. External connector type shall be pressed or
soldered using proper equipments.
Safety Instructions
Warning
1. Don’t touch the terminal when powered. Electric shock or
abnormal operation may occur.
2. Prior to cleaning or tightening the terminal screws, let all the
external power off including PLC power. If not, electric shock or
abnormal operation may occur.
3. Don’t let the battery recharged, disassembled, heated, short or
soldered. Heat, explosion or ignition may cause injuries or fire.
Caution
1. Do not make modifications or disassemble each module. Fire,
electric shock or abnormal operation may occur.
2. Prior to installing or disassembling the module, let all the
external power off including PLC power. If not, electric shock or
abnormal operation may occur.
3. Keep any wireless equipment such as walkie-talkie or cell
phones at least 30cm away from PLC. If not, abnormal operation
may be caused.
4. When making a modification on programs or using run to
modify functions under PLC operations, read and comprehend
all contents in the manual fully. Mismanagement will cause
damages to products and accidents.
5. Avoid any physical impact to the battery and prevent it from
dropping as well. Damages to battery may cause leakage from its
fluid. When battery was dropped or exposed under strong impact,
never reuse the battery again. Moreover skilled workers are needed
when exchanging batteries.
Safety Instructions
Caution
Product or battery waste shall be processed as industrial waste.
The waste may discharge toxic materials or explode itself.
Revision History
※ The num ber of User’s m anual is indicated right part of the back cover.
ⓒ LSIS Co., Ltd 2013 All Rights Reserved.
About User’s Manual
The User’s Manual describes the product. If necessary, you may refer to the following description and order accordingly. In
addition, you may connect our website (http://www.lsis.com) and download the information as a PDF file.
1
◎ Table of Contents ◎
Chapter 1 Introduction
1.1 Introduction
This user’s manual is to describe Profibus-DP (Decentralized Peripherals) Master I/F module (here in
after referred to as Pnet I/F module) among communication modules of XGB PLC system.
Profibus-DP is specified in IEC Fieldbus Standard IEC 1158.
In this communication, Token Ring is used to control the communication and to configure the network
easily. Pnet I/F module is a module to control the field bus with Twisted Shielded Pair Copper Cable
applied.
1.2 Characteristics
1-1
Chapter 1 Introduction
X B L P M E c
Media type
E: Electric
Note
(1) XGB Pnet supports only Profibus-DP. FMS, PA are not supported and protocol conversion is
available by the coupler
1-2
Chapter 1 Introduction
Note
1) Fixed type: The product whose I/O terminal block is fixed at the module
2) Removable type: The product whose I/O terminal block can be removed
1-3
Chapter 1 Introduction
1.4 Software
This describes on the software tool for the Pnet I/F module. For programming and application, refer
to the followings
(2) Selecting the CPU (Version) to use the Pnet I/F module
Item Model Available version Remark
High performance V2.22
XBC
Standard(USB) V1.32
High performance V1.53
XEC
Standard V1.11
XBM Modular type V3.32
XG5000 V3.68
Software XG-PD V3.68
PROFICON V2.2
Note
(1) You can download the above software from our web site. In case Internet is available, visit the
nearest distributor and get the installation CD.
Web site address: http://www.lsis.com
(2) You can program the XG5000 and XG-PD through the RS-232C port and USB of the CPU
module. For the cable, refer to wiring diagram of the CPU module.
(3) You can program SyCon/PROFICON through the “Config” port of the Pnet I/F module. Only 9-pin
serial port is available and simultaneous connection with XG-PD and XG5000 is not available.
(4) In case you use the product other than available version, some function may not work properly. If
possible, use the recommended version and check the compatibility.
1-4
Chapter 1 Introduction
1.4.2 PROFICON
PROFICON is software tool dedicated for Pnet I/F module. This is used for configuration,
diagnostics. More detail, refer to ch6. PROFICON.
The following figure is an initial screen of the PROFICON.
1.4.3 XG-PD
XG-PD is software tool dedicated for the communication module including Pnet I/F module.
Setting the basic parameter, writing the frame and network diagnosis are available for the
communication module. More detail, refer to Ch6. XG-PD.
1-5
Chapter 1 Introduction
Before using the Pnet I/F module, check the version of the module
[Figure 1.4.3] Checking the version of the module through the XG-PD
1-6
Chapter 2 Specifications
Chapter 2 Specifications
Remark
1) IEC(International Electrotechnical Commission):
An international nongovernmental organization which promotes internationally cooperated standardization
in electric/electronic fields, publishes international standards and manages applicable estimation system
related with.
2) Pollution level:
An index indicating pollution level of the operating environment which decides insulation performance of
he devices. For instance, Pollution level 2 indicates the state generally that only non-conductive pollution
occurs. However, this state contains temporary conduction due to dew produced.
2-1
Chapter 2 Specifications
2-2
Chapter 2 Specifications
Remark
1) Transmission cycle means the data cycle from main unit to communication module regardless of the cycle from
master module to slave module. it is necessary to consider scan time, number of communication module, number of
set blocks, communication data size per block when you set the transmission cycle. It takes 25㎲ per a byte when
HS link data transmits from main unit to master module. As it is based on serial communication. So, the number of
blocks per cycle is limited and if the load is above it, the cycle might be delayed more than you set. Calculation
formula is as below.
b) Calculate all of HS links transmission time. HS link cycle have to be set bigger than whole HS link transmission
time. At this time, if calculated transmission time of each pack is smaller than 10ms, transmission time of
applicable pack have to be calculated as 10ms.
All of HS links Transmission time = pack1 Transmission time + pack2 Transmission time + ...
+ packN Transmission time
*1
pack1 Transmission time = pack1 number of bytes * 25 ㎲ + main unit scan time + communication
module scan and margin (5 ㎳)
*1
pack2 Transmission time = pack2 number of bytes * 25 ㎲ + main unit scan time + communication\
module scan and margin (5 ㎳)
...
*1
packN Transmission time = packN number of bytes * 25 ㎲ + main unit scan time + communication
module scan and margin (5 ㎳)
Number of
Data size of
HS link cycle blocks
each block
(Stations)
10 ㎳ 244 byte 1
20 ㎳ 244 byte 2
50 ㎳ 244 byte 5
100 ㎳ 244 byte 10
200 ㎳ 244 byte 20
500 ㎳ 244 byte 50
Example) The number of blocks which can be set per HS-link cycle
2) It is necessary to calculate lead time of transmitting depending on the number of blocks and data size
per block. Because data receiving cycle is same with 1) which take 25㎲ to transmits per 1byte.
2-3
Chapter 2 Specifications
2-4
Chapter 2 Specifications
Classification Details
AWG 22
Type BC-Bare Copper
Insulation PE-Polyethylene
Insulated strength 0.035 (Inch)
Aluminum Foil-
Shield
Polyester Tape/Braid Shield
Capacitance 8500 ㎊/ft
Characteristic impedance 150Ω
Number of cores 2
Remark
1. Cable type
1) Tomas cable: Profibus-DP UNITRONIC-BUS L2/FIP/BUS
2) Belden cable: 3079A
2-5
Chapter 3 Installation and Test Operation
5) After attaching the module to main unit, lock the module up and then connect the communication
cable.
Remark
1) It defines two type of bus cable in Profibus standards. But it is usually recommended Type A
which place is newly installed. The type name of A and B ask to cable maker.
2) AWG(American Wire Gauge): Number system of size(a diameter) of wire
3-1
Chapter 3 Installation and Test Operation
2) Termination
(1) Each segment has to terminate the end. If segment is many, every segment have to
terminate the end.
(2) Termination is able to On/Off by switch of exclusive connetor.
(3) Install the Master the end of one part, if it is possible.
Remark
1) Maximum number of repeaters is different from each repeater module.
3-2
Chapter 3 Installation and Test Operation
The sequence of the product from installation to operation will be described below. After the product
installation is complete, install and configure the system to be operated as specified in the following
sequence.
Operation Sequence
Install Pnet I/F module on the base.
Check the applicable base/slot position for correct
installation.
Configure the system between Pnet I/F module
and slaves.
Use the exclusive Pnet cable for communication.
With power On,
check the LED status of the communication module.
Check if the interface of the communication module
is normal with CPU.
Specify the configuration
through PROFICON Configuration Tool.
Specify the module to be configured as Pnet I/F
master module and download it.
Download High-speed link parameters.
Upload “Config. Upload(Dnet, Pnet)” from XG-PD,
set Send/Receive parameters, download High-
speed link parameters and let link enabled.
(operation of the product)
Use system diagnosis function in XG-PD to check the
normal operation of the product.
Start Run
3-3
Chapter 3 Installation and Test Operation
Remark
1) Installation length of Pnet cable depends on the communication speed. (Refer to [Table] 3.2)
3-4
Chapter 3 Installation and Test Operation
Terminal resistance switch of Pnet cable shall be On. If the switch is not On, communication errors
may occur. Check LED operation status if normal with power on after communication cable is
connected. If normal, download the applicable program to PLC via XG5000/XG-PD so to execute the
program.
1) Station No. of each slave shall be surely different from each other including this module. If
connected with the repeated station No., communication error may occur, leading to
communication trouble. High-speed link station No. of all stations also shall be different from
each other to use High-speed link service.
2) Use the communication cable as specified only. If not, serious error may occur to communication.
3) Check communication cable if disconnected or shorted prior to installation.
4) Tighten up communication cable connector until connected firmly. If cable connection is unstable,
serious error may occur to communication.
5) If remote communication cable is connected, keep the cable far away from power line or inductive
noise.
6) Since the coaxial cable is not flexible, it is to be diverged min. 30cm away from the connector in
communication module. If the cable is bent at a right angle or transformed compulsorily, cable
disconnection or connector damage in communication module will be caused.
7) If LED operation is abnormal, refer to Chapter 9 Troubleshooting to check for causes and take
actions against. Contact service center if the error is as before.
3-5
Chapter 4 System Configuration
4-1
Chapter 5 PROFICON Setting
5.1 Overview
5.1.2 Characteristics
PROFICON is a configuration tool of Pnet I/F module which is global standard PROFIBUS-DP
Master.
PROFICON configures with standardized GSD file.
PROFICON has diagnostic function.
PROFICON has a function to upload network settings which was previously downloaded.
5-1
Chapter 5 PROFICON Setting
(topology)
List of devices
Master/slave
property window
GSD viewer
Output window
- Device list: Lists the devices interpreted by GSD file to drag &
drop them to topology of project window
- Project: Topology to compose PROFIBUS Network
- Project explorer: Stratify the configured topology on the project
window in the order of Project-Master-Relevant
Slave
- GSD viewer: Detailed information of GSD of the device selected
from the list
- Output window: Action result of the Configuration Tool
- Master property window: Set up property of master device composed on the
project window
- Slave property window: Set up property of slave device composed on the
project window
- Bus parameter window: Set up communication property of PROFIBUS
Network composed on the project window
5-2
Chapter 5 PROFICON Setting
- bnr: Network Configuration binary image storage place
- gsd: GSD file storage place provided by the Profibus-DP communication module
manufacturers
- prj: Network Configuration project storage place
- sys: Application configuration directory used by tool
If the GSD file for the product you want to use is not registered, follow the below steps to
register GSD file.
Copy the GSD file to [GSD] directory. And then copy bitmap image file used in the
applicable GSD to [bmp] directory. In order to apply GSD file, restart the PROFICON
program.
If the GSD file that is already registered is changed, overwrite the GSD file to the [gsd]
folder. And then restart the PROFICON program after deleting the files under the [sys]
folder.
Remark
1) PROFICON doesn't reinterpret GSD files every time for quick start. So if you changed the GSD after loading,
you have to delete files in [sys] folder and then restart PROFICON.
2) PROFICON supports only one language for GSD files (it support one filename extension). In order to change
the language, select [Tools\System Options] menu and then select Startup under [Common Settings] folder
on the left side. And change the GSD Type and select the path of the file. When PROFICON is restarted, the
changes are applied.
5-3
Chapter 5 PROFICON Setting
If you drag & drop the selected XBL-PMEC on the topology sheet of the project window, then
the master is simply composed as shown below. At this time, the composed master
information is also displayed on the project explorer.
5-4
Chapter 5 PROFICON Setting
If you change properties like station address of the master or description, click “Master
Properties” of the “Configuration” menu to activate the master property change tab as below
5-5
Chapter 5 PROFICON Setting
Simply drag & drop the selected slave on the topology to complete the composition of slave.
(See Figure 5.2.5, at this time, it is confirmed that the slave is subordinated to the relevant
master through the project explorer.)
5-6
Chapter 5 PROFICON Setting
Basically the tool allocates the station address in sequence when composing each device to
the topology. Therefore, if you want to change the station address and property of the slave,
then use “Slave Properties” of “Configuration” menu to change it. Followings are the items to
be available for setting by using slave property tab(See Figure 5.2.6).
5-7
Chapter 5 PROFICON Setting
First of all, the parameter is configured by using slave parameter settings window as shown
below.
Slave module settings window is as shown below. If a slave module is an expansion adapter
such as XPL-BSSA, you can add the module to the expansion adapter by double clicking the
module at the above module list. If you add wrong one, double click the item to delete it.
5-8
Chapter 5 PROFICON Setting
Since master only has the authority to configure the network bus parameter, you should
choose master from topology to activate the “Bus Parameters” item from the “Configuration”
menu. Select the activated “Bus Parameters” item to activate the bus parameter settings tab
as shown below.
If you simply select PROFIBUS DP communication speed (Baudrate) here, then the selected
bus parameter values will be applied.
5-9
Chapter 5 PROFICON Setting
In order to download the Network Configuration composed on the topology window to the
XGB Pnet Master module, first of all, you should set up connection to XGB main unit.
If you select “Settings…” item from the “Communication” menu, the window will be
popped up as seen below. Here you should select “Communication with XGT” and enter
the information with current XGL-PMEC module, and click “OK” button.
Then, XGB connection settings window will pop up as shown below. If a user clicks “OK”
button by selecting the settings connected by the user, then the connection settings will be
finished.
Remark
1) When the master is absent on the PROFICON screen, if you select "Communication
Settings", it can't know whether GM4C master or XGT master. So after determining what
kind of master you use, select “Communication Settings” and then you can see the pop up
window related to the master.
5 - 10
Chapter 5 PROFICON Setting
Remark
1) Once the communication settings have done, when you execute image download/upload,
diagnostic function, it will communicate with recent setting values.
in case that communication setting is changed, set communication again and then
execute image download/upload, diagnostic function.
5 - 11
Chapter 5 PROFICON Setting
(2) Network Configuration download
If you already composed network in the topology, select “Download Image” item from the
“Communication” menu to begin downloading. The figure below shows downloading status.
The status bar runs progress bar, and the output window shows the progress rate.
If downloading is completed, the progress bar is full, and “Done” message will be
displayed on the output window.
Remark
5 - 12
Chapter 5 PROFICON Setting
The method of connection settings can be referred from 5.3.1 Network Settings
downloading
Conduct uploading by selecting “Upload image” from “Communication” menu. At this time,
new project will be automatically generated, and uploading is proceeded.
5 - 13
Chapter 5 PROFICON Setting
The “Start Debug Mode” of “Diagnostics” menu continuously monitors the status of
slave in debug mode. At this time, the topology is activated, and regularly checks out
the status information of slaves from master.
5 - 14
Chapter 5 PROFICON Setting
If any slave generates diagnostic information for cable cut-off, incorrect parameter or
configuration, then “Diag” event is displayed at the slave on the topology as shown in
the Figure 5.4.2 to inform the user.
In order to verify the diagnostic information of slave, users should select the slave on
the topology, and select “Device Diagnostics…” from “Diagnostics” menu to verify the
diagnostic information like the Figure 7.6.3. Also, if the slave is double clicked on the
topology, then the diagnostic information can be verified identically.
5 - 15
Chapter 5 PROFICON Setting
(3) Stop Debug Mode
Finally, if you want to terminate the debug mode, select “Stop Debug Mode” from the
“Diagnostics” menu.
If “Update” button on the right side is clicked, then the contents of the live list will be
updated.
After setting up master address and communication speed, click OK button to operate the
auto scan as below.
5 - 16
Chapter 5 PROFICON Setting
Remark
Communication PROFICON
Speed Waiting time
9.6 kbps 50s
19.2 kbps 30s
93.75 kbps 15s
187.5 kbps 15s
500 kbps 15s
1.5 Mbps 15s
3 Mbps 15s
6 Mbps 15s
12 Mbps 15s
After the automatic network scan is completed, the slave list collected by master and I/O
information and GSD file information are displayed on the network scan window as below.
This window displays information of slaves. Users check out whether this information is
matched to actual slave information. If GSD file and I/O information is not matched, or
there is no GSD file, then obtain formal GSD file provided by the manufacturer of the slave
and compose the Network by yourself.
If the scanned contents are correct, then click OK button to check out the collected
Network composition as shown below.
5 - 17
Chapter 5 PROFICON Setting
The composition of slaves physically connected to master can be easily verified in this
way.
5 - 18
Chapter 5 PROFICON Setting
Remark
1) The following is a description of the exception cases that there are GSDs which have same PNO ID or there is no
module ID when you execute auto network scanning.
a) If between the GSD file and the module are not matched, add Scanned Module. After then you can see the
checked Select button. In case of below, the slave that Scanned Module is added can't be displayed properly. In
order to successfully open, after copying [sys] folder under the PROFICON installation folder of the PC which is
already auto scanned, overwrite the file in same location that you want to open the project. And open the project.
- If you open project files that are already auto scanned in another PC.
- If you upload images that are already auto scanned in another PC.
- If you open it in another PC after saving auto scanned contents as a binary.
b) If there are more than two slaves that have same PNO ID compared with loaded slaves, select button will be
shown.
If the slaves don't have same module ID or the slave is compact slave that have to be defined more than one,
Discard will be shown and Select button will not be shown.
If there are slaves that don't have same PNO ID compared with loaded slaves at the same time modular type
which don't need module, Discard will not be shown and Select button will be shown. It's because PROFICON
judges that the user intends for adding module through Configuration.
- Compact slave: If Modular_Station = 0 is shown in the GSD file or there is no Modular_Station key, the module
have to be defined more than one.
- Modular slave: If Modular_Station = 1 is shown in the GSD file.
c) In case that there are more than two selectable slaves, the Select button is checked. So If you want to change
slave, change the checking status and select the slave that you want.
5 - 19
Chapter 5 PROFICON Setting
5 - 20
Chapter 5 PROFICON Setting
5 - 21
Chapter 6 XG-PD Setting
Chapter 6 XG-PD
In order to use Pnet I/F module, set High-speed link parameters (after PROFICON Configuration is
uploaded) and then download the specified parameters onto CPU for application, which is available through
the XG-PD.
6-1
Chapter 6 XG-PD Setting
6-2
Chapter 6 XG-PD Setting
After setting CPU type, new project screen of XG-PD is shown as below.
6-3
Chapter 6 XG-PD Setting
Item Description
Type Selects Pnet I/F module
Communication Base Fixed “0” (In case of XGB, there is no base.)
module setting Specifies the slot position of the module
Slot
Setting range is different depending on the base type
[Table 6.2.2] Registration of the communication module
.
[Figure 6.2.5] Standard setting registration screen
6-4
Chapter 6 XG-PD Setting
Item Content
After connection, if you select [Online] [Read I/O information], it searches all
communication modules and register them automatically
6-5
Chapter 6 XG-PD Setting
At this time, if current information is different with already registered information, the following
message appears.
6-6
Chapter 6 XG-PD Setting
XGT series provide 2 kinds of communication ways. Those are P2P, HS link.
HS link is used for a lot of data processing at once cyclically. Pnet module provide HS link.
It can update output data or input data by using cycle set between main unit and Pnet master.
The parameter setting method is as shown below.
Data size can be set 1~ 244 bytes per station and communication cycle can be set from 20ms
to 10s.
Remark
1) In case of Pnet HS link, 1 block means 1 slave. The blocks can be set by Max. 64 and each
block can use Max. 244 bytes.
2) HS link communication cycle means receiving and sending cycle between main unit and
Pnet master module. Communication cycle between master and slave module is set by bus
parameter of PROFICON.
6-7
Chapter 6 XG-PD Setting
For the application example of High-speed link, the master station “0” and slave stations “1” and “2”
(GPL-RY2A, GPL-D24A) are to share data with each other.
Setting is as follows;
1) The master station “0” transmits 2 bytes of D00200 data to the slave station “1”.
2) 4 bytes of the data received from the station “2” are saved on D00201, D00202.
6-8
Chapter 6 XG-PD Setting
Items Description
Module type Select Pnet I/f module
Setting of base position installed
Communication Base No.
Range of Setting: 0 ~ 7 (varying depending on the CPU module)
module settings
Setting of slot position installed
Slot No.
Range of Setting: 0 ~ 11
- Range of setting: 10ms, 20 ㎳, 50 ㎳, 100 ㎳, 200 ㎳, 500 ㎳, 1s,
5s, 10s, (default is 20 ㎳)
Communication
Period type - This applied to Send data
period settings
- But Receive data will be processed in every scan end regardless
of communication period.
Output data CPU Latch Keeps its output status
setup in error Clear Clears all outputs
case of Keeps its output status
CPU Latch
emergency
stop Clear Clears all outputs
settings
[Table 6.3.1] Communication module setting
6-9
Chapter 6 XG-PD Setting
The screen as below is after“Config. Upload (Dnet, Pnet)”. You can use Read / save area which
are blank.
6 - 10
Chapter 6 XG-PD Setting
Classification Details
Master
Display the Master station no. (0 ~ 123)
Station No.
Read area Area to set the start address of device used for Sending.
XBM, XBC
(Master module Setting device : P, M, K, F, T, C, U, L, D, R, ZR
→ Area to set the start address of device used for Sending.
Slave module) XEC
Setting device : A, M, I, Q, R, W, F, K, L, U
Save area Area to set the start address of device used for Receiving.
XBM, XBC
(Slave module Setting device : P, M, K, F, T, C, U, L, D, R, ZR
→ Area to set the start address of device used for Receiving.
XEC
Master module) Setting device : A, M, I, Q, R, W, F, K, L, U
Send data
Display input/output points of slave module by the bytes.
Receive data
- In case of I/O module of 8 bits or less, please set 1 byte.
(Byte)
6 - 11
Chapter 6 XG-PD Setting
6 - 12
Chapter 6 XG-PD Setting
6 - 13
Chapter 6 XG-PD Setting
With High-speed link service used to exchange data between communication modules of two or more
stations, it provides a checking method of High-speed link service status for the user through High-speed
link information so to confirm reliability of the data read from the destination station via the High-speed link.
In other words, the communication module synthesizes the data received up to that time at intervals of a
specific time and lets the user know if High-speed link operates as in parameters specified by the user
through High-speed link information where the whole information of Run-link(_HSxRLINK) and Link-
trouble(_HSxLTRBL) to provide the whole information of the communication network, and the individual
information of _HSxSTATE, _HSxTRX, _HSxMOD and _HSxERR to provide communication status for 64
register items in the parameters are contained.
The user can use the information in keyword format when programming, and also monitor the High-speed
link status using the monitor function of the High-speed link information. Prior to its application, the user is
requested to check the reliability of the Send/Receive data through High-speed link information of Run-link
and Link-trouble when operating several PLCs with High-speed link used.
[Table 6.4.1] below shows functions and definition of the High-speed link information.
6 - 14
Chapter 6 XG-PD Setting
1) Run-link (_HSxRLINK)
As the whole information it shows whether High-speed link is normally executed through the user
defined parameters, whose contact will be kept ‘On’ if once ‘On’ until Link Enable is ‘Off’, and
also will be ‘On’ under the conditions specified below.
① If Link Enable is ‘On’.
② If all the register list settings of parameters are specified normally.
③ If all the data applicable to the parameters register list is transmitted and received as
specified in the period.
④ If the status of all the destination stations specified in the parameters is Run and with no
error at the same time.
2) Link-trouble (_HSxLTRBL x=HS link No.(1~2))
As the whole information it shows whether High-speed link is normally executed through the user
defined parameters, which will be ‘On’ if Run-link ‘On’ condition is violated when Run-link is On,
and will be off if the condition is recovered.
3) Send/Receive (Tx/Rx) status (_HSxTRX[0..63] x=HS link No.(1~2))
As individual information it shows the operation status of High-speed link parameters on the
register list up to 64 registered items’Send/Receive information. If the Send/Receive operation of
the registered items is agreeable to the Send/Receive period, the applicable bit will be On, and if
not, it will be Off.
4) Operation mode (_HSxMODE[0..63] x=HS link No.(1~2))
As individual information it shows the operation status of High-speed link parameters on the
register list up to 64 registered items’ operation mode information just like the max. register
number. If the station specified in the register item is in Run mode, the applicable bit will be On,
and if in Stop/Pause/Debug mode, it will be Off.
5) Error (_HSxERR[0..63] x=HS link No.(1~2))
As individual information it shows the operation status of High-speed link parameters on the
register list up to 64 registered items’ error information just like the max. register number. The
error displays the general status of the PLC which fails to execute the user program. If the
destination station PLC is normal, it will be Off, and if abnormal, it will be On.
6) High-speed link status (_HSxSTATE[0..63] x=HS link No.(1~2))
As individual information it shows the operation status of High-speed link parameters on the
register list up to 64 registered items’ High-speed link status just like the max. register number,
which synthesizes the information of the individual items to display the general information of the
registered items. In other words, if the applicable list’s Send/Receive status is normal with the
operation mode of Run and with no error, it will be On, and if the conditions above are violated, it
will be Off.
6 - 15
Chapter 6 XG-PD Setting
High-speed link information can be checked through the variable monitor on the monitor menu after
XG5000 is Online connected, or through the XG-PD diagnosis service.
Item Details
Communication module information Displays the information of communication module
High Speed Link Displays the information of high speed link
Auto scan Displays the information of the slave configuration
6 - 16
Chapter 6 XG-PD Setting
(2) Module Information : “System Diagnosis.” Click the right mouse button with the cursor
positioned on the applicable module Module Information
Classification Details
Module type. XBL-PMEA
Base Number. Displays the base number (0)
Slot Number Displays the slot no.( 1~10), depending on main unit type
Master Station no. Displays the master station number
Hardware status Displays the hardware status
Hardware version Displays the hardware version
Software version Displays the software version
6 - 17
Chapter 6 XG-PD Setting
(3) High Speed Link : “System Diagnosis.” Click the right mouse button with the cursor
positioned on the applicable module High Speed Link
6 - 18
Chapter 6 XG-PD Setting
Item Details
Base no. Displays the base no.( 0)
Slot no. Displays the slot no.( 1~10)
Basic
Communication Displays the communication speed by bps unit
information
speed (9,600 bps ~ 12Mbps)
Master station no. Displays the master station no.( 0~123)
Total Run Link Displays the flag of Run Link
information
of high speed Link trouble Displays the flag of Link Trouble
link
Master station no. Displays the master station no.( 0~123)
Station no. Displays the slave station no.( 0~123)
Module type Displays the Transmission or Reception type
Transmission Master module Slave module
Byte or Word: Consistency supports for a unit
Transmission
WholeLength: Consistency supports for whole
Consistency Over
blocks.
Reception Slave module Master module
Byte or Word: Consistency supports for a unit
Reception
WholeLength: Consistency supports for whole
Consistency Over
blocks.
Separate Total size Displays the size of Transmission/Reception byte
information
Displays the mode of Profibus-DP communication mode (Run,
of high speed Mode
Stop)
link
Status of
Displays the information of Transmission/Reception
Transmission
between master and slave (Normal, Error)
or Reception
Status of high Displays the information of high speed link between master and
speed link slave (Normal, Error)
Displays the error information between master and slave
(Normal, Error)
There are 2cases of errors as below
Error a) In case that slaves doesn't exist on the network, after
slaves is configured in PROFICON.
b) In case that slaves exist on the network, after slaves is
not configured in PROFICON.
[Table 6.5.3] High Speed Link
6 - 19
Chapter 6 XG-PD Setting
(4) Autoscan: “System Diagnosis.” Click the right mouse button with the cursor positioned on the
applicable module Autoscan
Item Details
6 - 20
Chapter 7 Program Example
This example shows a program that is installed on No. 0 slot of XGT No. 0 base, sending and
receiving data to Smart I/O module(Station Number 3 and 4) and Extended Smart I/O
Pnet(Station 6).
Slave Master
Station No. Module name Mode Read Area Save Area Size (byte)
4 GPL-TR2A Sending M0000(2byte) - 2
In the table above, XBC-H type main unit sends 2 byte data in M0000 area to GPL-TR2A and
22 byte data in M0300~0310 area to XPL-BSSA and saves 2 byte (16 points) input data of
GPL-D22A in M0200 area of XBC-H type main unit and 20 byte input data of XPL-BSSA in
M0311~3020 area of XBC-H type main unit.
7-1
Chapter 7 Program Example
To exchange data between the systems as in [Figure 7.1.1], it is convenient for the user to
write high-speed link sending/receiving map. In addition, it is necessary to write high-
speed link parameters after setting Network Configuration through PROFICON and
download to PLC in order to send/receive data as in [Table 7.1.1].
For network configuration, the master module (XBL-PMEC) should be composed first.
Select XBL-PMEC from the device list window on the left and drag and drop on the
topology in the project window as seen in the figure below.
7-2
Chapter 7 Program Example
Now the user should compose slave module. It can be either to set it up manually, or
search slave module existing in current network automatically and set it up.
However, at this time, the GSD file of slave module to be composed should be in the GSD
directory (See [Figure 7.2.3]) of PROFICON installation directory. The GSD file is provided
by the company manufacturing such slave module.
7-3
Chapter 7 Program Example
Change the station number of the slave module in the Slave Properties window on the left
bottom as seen in [Figure 7.2.5]. To activate this window, select a Slave from the topology.
If station number and description properties are changed, the changed number and properties
are immediately reflected on the project window as seen in the figure below.
However, for XPL-BSSA as extended slaves, it is necessary to add module data. Set XPL-
7-4
Chapter 7 Program Example
BSSA on the topology first through the process above as in the following figure
Press module data in the Slave Properties window to make the slave module setting window
appear. Set modules in sequence through this setting window (See [Figure 7.2.8])
7-5
Chapter 7 Program Example
Double click a module from Module Selection to insert it to the setting table below. Repeat this
process until all of the wanted modules are inserted to the table. To delete a module from the
table, double click the module to be deleted.
Setting a network is completed (See [Figure 7.2.9]). Now, a bus parameter needs to be set.
7-6
Chapter 7 Program Example
Bus parameters are to communicate with the Master and represent communication speed and
communication timing parameters. To set, select the Master from the topology and then, select
“Bus Parameters” item from the “Configuration” menu to activate the “Bus Parameter” tap on
the left bottom.
At this time, it is possible to set communication speed (Baudrate) of the Master module. Our
Slave module Smart I/O series have a function to adjust the speed of slave to be equal with
that of the Master module automatically (For other companies’ Slave modules, refer to their
user’s manuals).
If the process above is completed, it can be declared that setting all of the networks is
completed.
To download the Network Configuration to Pnet I/F module, select “Settings…” from the
“Communication” menu and set access. After assigning a number to the slot in which the
current Pnet I/F module is installed, set access as in [Figure 7.2.12].
[Figure7.2.11] Communication Settings Window for XGT: Set to install Pnet I/F module
7-7
Chapter 7 Program Example
Once communication is connected, select ‘Download Image’ from the ‘Communication’ menu
to download.
As seen in [Figure 7.2.13], the Progress Bar shows download progress and setting Pnet I/F
module network are completed once download ends. Before closing this tool, save the current
network project to recover the project later.
7-8
Chapter 7 Program Example
After setting and saving the Master module, set access according to the methods. After that,
execute “Auto. Network Scan…” in the “Diagnostics” menu to make the following screen
appeared. Input the Master’s address and its communication speed and press the ‘OK’ button.
Then, the module begins to scan networks.
Through the process above, PROFICON refers to GSD file of the Slave module on the current
network and the data size of the relevant module and the address of the sending/receiving data
supported by the module are automatically set. Then, the scanned results are shown as in
[Figure 7.1.16].
At this time, pressing the “OK’ button will prompt setting network topology automatically as
seen in [Figure 7.2.16].
7-9
Chapter 7 Program Example
[Figure 7.2.16] Screen that has been set through Automatic Network Scan
To change Slave Properties, click a module from the topology and change them through the
Slave Properties Window on the left bottom.
7 - 10
Chapter 7 Program Example
7 - 11
Chapter 7 Program Example
Select High-speed link tab in lower end tab of left frame, Double click High-speed link 1. It can
available to set the module type, base (no.) number, slot (no.) number and communication cycle.
Select the Pnet for module type, position of current master communication module is set the base
number and slot number. Communication cycle is set free from 10ms to 10s, It will be a data
transmission cycle between CPU module of PLC and Master communication module. In emergency,
output setting is set suitable to user’s environment. Click ‘OK’ and then ‘Block’ is created below ‘High-
speed link 1’, Double click it.
After block is created, click the index of block information frame (right frame). Click [Online] –
[Config. Upload (Dnet, Pnet) and it brought the setting information in PROFICON.
7 - 12
Chapter 7 Program Example
After PROFICON setting file is uploaded, setting information is displayed in block window as shown
below. Double click the applicable index to set the address. Set M0200 for station3, M0000 for station
4 and M0300 for area to read, M0311 for area to save of station 6.
After finish the setting, setting information is downloaded in PLC. Select [Online] – [Write parameter]
(standard settings, High-speed link, P2P). Here, Check High-speed link to download and click ‘OK’.
7 - 13
Chapter 7 Program Example
After Write is finished, the operation is by applicable high-speed link enabled. Select the [Online] –
[Enable Link] (High-speed, P2P). And Link Enable window is displayed as shown below. Select the
applicable High-speed link number and then select ‘Write’ to set.
If you use others products to slave module, Setting of using that product’s GSD file is same as above
in order.
7 - 14
Chapter 8 Troubleshooting
Chapter 8 Troubleshooting
This chapter is to describe various errors that may occur in system operation, their causes and actions
to take against. If any error occurs on Pnet I/F module, its related details can be checked through the
procedures below. Surely follow the troubleshooting procedures in the sequence as specified to check
for abnormal module state. And any discretionary repair or disassembly is not allowed.
(1) XBL-PMEC
RUN I/F HS P-RUN STAT ERR CFG Symptoms Management
High-speed link
On Flicker Off On Off Off Off -
disabled
Check the connection
Abnormal connection of slave
On Flicker On On Off Flicker Off
status of a slave Check the setting of
slave
Check the cable short
Check the module with
different speed
On Flicker On On Off On Off Bus error
Check the operation
device value bigger
*1
than HAS
SyCon (PROFICON) Check the connection of
Flicke setting changes during slave
On Flicker Flicker - - Off
r High Speed Link Check the setting of
operation slave
- - - - On - - Error in OS Request A/S
8-1
Chapter 8 Troubleshooting
XG5000 connection program can be used to monitor the communication module simply. Connect with
CPU port and then select [On-Line] -> [PLC History] -> [PLC Error/Warning] in XG5000.
If a hardware error or a CPU interface error occurs on the module, LED of the communication module
itself operates abnormally in general, whose status can be monitored simply through its dedicated
program.
8-2
Chapter 8 Troubleshooting
8.5 Troubleshooting
No
Set the port of serial cable
Is the serial port setting correctly?
connected with communication module.
Yes
Is the serial port used Yes Close the serial port in other program.
in other program? Connect the SyCon again.
No
No
Is power supplied to module? Apply power in module.
Yes
No
Is the CPU module normal? Check the CPU module.
Yes
No
Is there a problem in Serial cable? Check the serial cable.
Yes
8-3
Chapter 8 Troubleshooting
No
Is
IsHigh-speed
High-speedlink
link Check
Checkthe
theHigh-speed
High-speedlink
linkparameter.
parameter.
parameter
parametersetting
settingcorrect?
correct?
Yes
Is No
IsPower
Powersupplied
suppliedon
onslave
slave Check
CheckPower
Powerslave
slavemodule
module
and
andmaster
mastermodule?
module? and
andmaster
mastermodule.
module.
Yes
No
Is
Isthe
theslave
slavestation
stationaddress
address Check
Checkthe
thestation
stationaddress
addressof
of
setting
settingduplicated?
duplicated? slave
slavemodule
moduleand
andSyCon
SyConstation
stationaddress.
address.
Yes
No
Is
Isthere
thereaaproblem
problemin
inserial
serialcable?
cable? Check
Checkthe
theserial
serialcable
cableconnector.
connector.
Yes
Is No
Isthe
thecable
cablespecified
specifiedcable
cable Check
Checkthe
thecable
cabletype
typeand
and
and
andlong
longlength?
length? length
lengthin
inproduct
productspecifications.
specifications.
Yes
Ask
Askto
toCustomer
CustomerService
ServiceCenter
Center
8-4
Appendix
Appendix
A.1 Terminology
4) SyCon
Application program of Profibus Network Configuration Tool used to specify the configuration
though SyCon and download the information onto the applicable module if LSIS master module
(XGL-PMEA) is applied.
5) PROFICON
Application program of Profibus Network Configuration Tool used to specify the configuration
though PROFICON and download the information onto the applicable module if LSIS master
module (XGL-PMEC) is applied.
6) GSD file
As the data sheet of electronic devices, it contains such information as maker, device name,
status of released hardware and software, Send rate available, master related standards (max.
slaves which can be connected with, upload/download option, etc.) and slave related standards
(number and type of I/O channels, diagnosis test specification and available module information
modular equipment is provided for).
7) Broadcast communication
Used to send the message whose operation station is not recognized to all the stations (Master,
Slaves).
A-1
Appendix
8) Multicast communication
Used to send the message whose operation station is not recognized to the station group whose
operation station is previously specified.
9) Token Ring
As one of the node connection methods on the network, it is a local communication network
using a token to access to communication network with physical ring structure. If the
transmission node obtains a token and its control, it transfers the message packet. Actually
realized examples are IEEE 802.5, ProNet-1080 and FDDI. The term of Token Ring is
occasionally used in substitute for IEEE 802.5.
Token passing
Token
Ring
Dual Token passing
10) Reset
It is used to initialize the communication module when Error is occurred. In XG-PD, Select
[Online] – [Reset] , Reset is operated. And PLC is restarted.
A-2
Appendix
_HS1_SETBLO HS link
L00180
%LX288~ Bit parameter No.1, Displays the setting status of parameter’s data
~ CK[k] Array Block No.k block k.
L0021F %LX351 setting displayed
(k=000~063)
A-3
Appendix
[Table 1] List of communication flags based on HS link number (HS link No. 1 ~ 2)
Notes
Device
HS link No. Remarks
K type IEC type
A-4
Appendix
When the error codes exist in the output window After “Check your communication data” message was
shown. The meaning of this error code is as below.
Function Error type Code Description
ERROR_UNKNO
Common 52 If you don’t have command types.
WN_AREA
ERROR_INVALI If it is different between command area code and Image
19
DCOMMAND download.
ERROR_
If it is different between command type and Image
NOTALLOWEDA 4
Image download.
CCESS
download
ERROR_INVALI If block ID which want to download is different from block
8
D_BLOCKNO ID+1.
ERROR_INVALI The frame length is smaller than 4bytes or bigger than
9
D_LENGTH 244bytes.
ERROR_NOMAT If the number of block ID of upload is bigger than the
CH_COMMAND 59 number of block ID of downloaded image when the
TYPE command of quitting image upload is arrived.
ERROR_NOTCO
2 If there is no downloaded valid image.
NFIGURED
ERROR_INVALI If it is different between area code of command and
19
Image DAREADCODE image upload.
upload ERROR_NOTAL If it is different between command type and image
4
LOWEDACCESS upload.
ERROR_INVALI If block ID which want to upload is different from block
8
D_BLOCKNO ID+1
The the number of block ID which want to upload is
ERROR_INVALI
44 bigger than the number of block ID of downloaded
DSEQNO
image.
Communic MISC_NOTSUP
ation PORTED_COM 3 If you try to ask area code which is not supported.
Start/Stop MAND
ERROR_SLAVE
161 If the slave station number is bigger than 123.
Debug _ADDR
mode If there is no slave or diagnostics information which is
CON_NA 17
available.
LIVELIST_PARA
2 If the master station number is bigger than 123.
M_ERROR
Live list
LIVELIST_COLLI If the master station number is same with slave station
4
SION_ERROR number.
A-5
Appendix
MISC_NOTSUPPORTED_
3 If you try to ask area code which is not supported.
COMMAND
Request MISC_INVALID_MASTER
1 If you try to ask area code which is not supported.
execution ADDR
of auto If the communication speed is not supported
network - XBL-PMEC provides communication speed as
MISC_NOTSUPPORTED_
scan 2 below.
BAUDRATE
(9.6 k, 19.2 k, 93.75 k, 187.5 k, 500 k, 1.5 M,
3 M, 6 M, 12 M)
Remark
It is demanded to wait for certain time to get the result of auto network scan after auto network scan is asked.
Waiting time refer to 5.4.4 auto network scan.
A-6
Appendix
XBL-PMEC
A-7
Warranty and Environmental Policy
Warranty
1. Terms of warranty
LSIS provides an 18-month warranty starting from the date of production.
2. Range of warranty
For problems within the terms of the warranty, LSIS will replace the entire PLC or repair the defective parts free
of charge except for the following cases.
3. This warranty is limited to the PLC itself only. It is not valid for the system which the PLC is attached to.
Environmental Policy
LSIS Co., Ltd supports and observes the environmental policy as below.
LSIS considers the environmental LSIS’ PLC unit is designed to protect the
preservation as the preferential environment. For the disposal, separate
management subject and every staff of aluminum, iron and synthetic resin (cover)
LSIS use the reasonable endeavors for from the product as they are reusable.
the pleasurably environmental
preservation of the earth.
LSIS values every single customers.
Quality and service come first at LSIS.
Always at your service, standing for our customers.
http://www.lsis.com
10310001310