Smart IO Manual V2.9 202101 en
Smart IO Manual V2.9 202101 en
Smart IO Manual V2.9 202101 en
Profibus-DP
DeviceNet
Rnet
Modbus
Ethernet
RAPIEnet
Safety Instruction
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
► Instructions are divided into “Warning” and “Caution”, and the meaning of the terms is as follows.
Warning This symbol indicates the possibility of serious injury or death if some applicable
instruction is violated.
This symbol indicates the possibility of severe or slight injury, and property
Caution
damages if some applicable instruction is violated.
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.
1
Safety Instruction
Caution
Design the analog input / output signal or pulse input / output line at least 100mm away
from high voltage line or power line so that it is not affected by noise or magnetic field
direct vibration from being applied to the PLC. It may cause electric shock, fire or malfunction.
metallic dust from entering the product. It may cause electric shock, fire or malfunction.
Caution
Use PLC only in the environment specified in PLC manual or general standard of datasheet.
If not, electric shock, fire, abnormal operation of the product may be caused.
Before install or remove the module, be sure PLC power is off. If not, electric shock or damage
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.
Make sure that the I / O connector is securely fastened. It may cause wrong input or output.
2
Safety Instruction
Warning
Prior to wiring works, make sure that every power is turned off. If not, electric shock or
Caution
Check rated voltages and terminal arrangements in each product prior to its wiring
process. Applying incorrect voltages other than rated voltages and misarrangement among
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
Be sure to earth to the ground using Class 3 wires for PE terminals which is exclusively
used for PLC. If the terminals not grounded correctly, abnormal operation or electric shock
may be caused.
Don’t let any foreign materials such as wiring waste inside the module while wiring,
3
Safety Instruction
Prior to cleaning or tightening the terminal screws, let all the external power off including
Caution
Prior to installing or disassembling the module, let all the external power off including
Keep any wireless equipment such as walkie-talkie or cell phones at least 30cm away
Caution
Product or battery waste shall be processed as industrial waste. The waste may discharge
4
Revision History
Revision History
Version Date Revised Contents Page
1
Revision History
2
Table of Content
◎ Table of Content ◎
Chapter 1 Overview
1
Table of Content
2
Table of Content
3
Table of Content
4
Table of Content
5
Table of Content
Appendix
6
Table of Content
7
Table of Content
8
Chapter 1 Overview
Chapter 1 Overview
This User’s Manual provides the information such as product specification, performance and operation method needed to
use PLC System composed of Smart I/O module.
CHAP.1 Overview
Describes the configuration of the user’s manual, product characteristics and terminology.
CHAP.2 Product Specification
Describes common specification of each product used for Smart I/O series.
CHAP.3 System Configuration
Describes the kinds of product available for Smart I/O series and system configuration method.
CHAP.4 Communication Programming
Describes common communication program operating method to act Smart I/O module.
CHAP.5 Profibus-DP Communication
Describes basic communication method of Profibus-DP (Pnet) communication module.
CHAP.6 DeviceNet Communication
Describes basic communication method of DeviceNet (Dnet) communication module.
CHAP.7 Rnet Communication
Describes basic communication method of FIELDBUS (RNET) communication module.
CHAP.8 Modbus Communication
Describes basic communication method of Modbus (Snet) communication module.
CHAP.9 Ethernet communication
Describes basic communication method of Ethernet (Enet) communication module.
CHAP.10 RAPIEnet communication
Describes basic communication method of RAPIEnet communication module.
CHAP.11 Installation and Wiring
Describes installation and wiring method, and notices to make sure of the reliability of PLC system.
CHAP.12 Maintenance and Repair
Describes check list and method to run PLC system normally for a long term.
CHAP.13 Trouble Shooting
Describes various errors to be occurred while using the system and the action to solve the problem.
Appendix
Here describes the product terminology and external dimension for system installation.
1-1
Chapter 1 Overview
• MASTER-K Instruction
• MASTER-K 200S/300S user manual
• KGLWIN user manual
When you make system of GLOFA-GM/MASTER-K and Smart I/O module, consider the followings. The following
is CPU or software version for operating the module.
Remark
1) This manual is written for GMWIN V4.04, KGLWIN V3.6, Frame editor V2.01 and XG5000
V4.0.
1-2
Chapter 1 Overview
1-3
Chapter 1 Overview
Pnet
Dnet Digital I/O Terminal Block
Rnet D2 : DC24V input A/B : Fixed Type
Snet RY : Relay output
(TR module:
Enet TR : TR output
A : Sink 0.1A
RAPIEnet DT : DC Input/TR Output
B : Source 0.5A)
Analogue I/O C/C1 : Removable Type
AV : Analogue voltage input (TR Module:
AC : Analogue current input C : Source 0.5A)
DV : Analogue voltage output C1 : Sink 0.5A
DC : Analogue current output
1-4
Chapter 1 Overview
1) Pnet
Classificati
Type name Specification Note
on
GPL-TR2A DC24V, TR output 16 points (Source 0.1A) EOL
GPL-TR2A1 DC24V, TR output 16 points (Sink 0.5A) EOL
GPL-TR2B DC24V, TR output 16 points (Source 0.5A) EOL
Fixed
GPL-TR4A DC24V, TR output 32 points (Sink 0.1A) EOL
GPL-TR4A1 DC24V, TR output 32 points (Sink 0.5A) EOL
TR output
GPL-TR4B DC24V, TR output 32 points (Source 0.5A) EOL
GPL-TR2C DC24V, TR output 16 points (Source 0.5A)
GPL-TR2C1 DC24V, TR output 16 points (Sink 0.5A)
Removable
GPL-TR4C DC24V, TR output 32 points (Source 0.5A)
GPL-TR4C1 DC24V, TR output 32 points (Sink 0.5A)
GPL-DT4A DC24V, DC input 16 points /TR output 16 points (Sink 0.1A) EOL
Fixed GPL-DT4A1 DC24V, DC input 16 points /TR output 16 points (Sink 0.5A) EOL
Hybrid GPL-DT4B DC24V, DC input 16 points /TR output 16 points (Source 0.5A) EOL
GPL-DT4C DC24V, DC input 16 points /TR output 16 points (Source 0.5A)
Removable
GPL-DT4C1 DC24V, DC input 16 points /TR output 16 points (Sink 0.5A)
Relay Fixed GPL-RY2A DC24V(Rating), Relay output 16 points EOL
output Removable GPL-RY2C DC24V(Rating), Relay output 16 points
GPL-D22A DC24V(Rating), DC input 16 points EOL
Fixed
GPL-D24A DC24V(Rating), DC input 32 points EOL
DC input
GPL-D22C DC24V(Rating), DC input 16 points
Removable
GPL-D24C DC24V(Rating), DC input 32 points
Analog GPL-AV8C Analog voltage input, 8 channels
Removable
input GPL-AC8C Analog current input, 8 channels
Analog GPL-DV4C Analog voltage output, 4 channels
Removable
output GPL-DC4C Analog current output, 4 channels
1-5
Chapter 1 Overview
1-6
Chapter 1 Overview
2) Dnet
Classifi
Type name Specification Note
cation
GDL-TR2A DC24V, TR output 16 points (Sink 0.1A) EOL
GDL-TR2A1 DC24V, TR output 16 points (Sink 0.5A) EOL
GDL-TR2B DC24V, TR output 16 points (Source 0.5A) EOL
Fixed
GDL-TR4A DC24V, TR output 32 points (Sink 0.1A) EOL
TR GDL-TR4A1 DC24V, TR output 32 points (Sink 0.5A) EOL
output GDL-TR4B DC24V, TR output 32 points (Source 0.5A) EOL
GDL-TR2C DC24V, TR output 16 points (Source 0.5A)
GDL-TR2C1 DC24V, TR output 16 points (Sink 0.5A)
Removable
GDL-TR4C DC24V, TR output 32 points (Source 0.5A)
GDL-TR4C1 DC24V, TR output 32 points (Sink 0.5A)
GDL-DT4A DC24V, DC input 16 points /TR output 16 points (Sink 0.1A) EOL
Fixed GDL-DT4A1 DC24V, DC input 16 points /TR output 16 points (Sink 0.5A) EOL
Hybrid GDL-DT4B DC24V, DC input 16 points /TR output 16 points (Source 0.5A) EOL
GDL-DT4C DC24V, DC input 16 points /TR output 16 points (Source 0.5A)
Removable
GDL-DT4C1 DC24V, DC input 16 points /TR output 16 points (Sink 0.5A)
Relay Fixed GDL-RY2A DC24V(Rating), Relay output 16 points EOL
output Removable GDL-RY2C DC24V(Rating), Relay output 16 points
GDL-D22A DC24V(Rating), DC input 16 points EOL
Fixed
DC GDL-D24A DC24V(Rating), DC input 32 points EOL
input GDL-D22C DC24V(Rating), DC input 16 points
Removable
GDL-D24C DC24V(Rating), DC input 32 points
1-7
Chapter 1 Overview
When using expansion type, you can change connection method from Connector connection method to
Terminal connection method by using Smart Link.
Classification Type name Specification Note
Expansion type XDL-BSSA Dnet I/F expansion type
XBE-DC08A DC24V input module 8 points (Source/Sink type)
XBE-DC16A/B DC24V input module 16 points (Sink/Source type)
XBE-DC32A DC24V input 32 points
XBE-RY08A/B Relay output module 8 points
XBE-RY16A Relay output module 16 points
XBE-TN08A TR output module 8 points (Sink type)
Modular I/O
XBE-TN16A TR output module 16 points (Sink type)
XBE-TN32A TR output module 32 points (Sink type)
XBE-TP08A TR output module 8 points (Source type)
XBE-TP16A TR output module 16 points (Source type)
XBE-TP32A TR output module 32 points (Source type)
XBE-DR16A DC24V 8 points input/Relay 8 points output module
XBF-AD04A Current/Voltage input 4 channels
XBF-DV04A Voltage output 4 channels
Modular XBF-DC04A Current output 4 channels
special XBF-RD04A RTD input 4 channels
XBF-TC04S Thermocouple input 4 channels(insulated)
XBF-AH04A Analog input 2 channels/output 2 channels
1-8
Chapter 1 Overview
3) Rnet
(1) Block type
* In case of Smart I/O Rnet Removable type Combo module, selection between Latch/Clear is available.
1-9
Chapter 1 Overview
1-10
Chapter 1 Overview
4) Snet
(1) Block type
1-11
Chapter 1 Overview
5) Enet
1-12
Chapter 1 Overview
6) RAPIEnet
1-13
Chapter 1 Overview
The following table indicates compatible list of O/S Version between each CPU and master module to use Smart I/O
series. Before applying the system , refer to the following list.
In case of XGK/XGI/XGB, all versions are available.
Available Module
Classification Note
Type O/S Version
GM3 GM3-CPUA Version 2.5 or later
GM4 GM4-CPUA/B/C Version 2.6 or later
GM6 GM6-CPUA/B/C Version 1.9 or later
GM7 G7M Series Version 1.6 or later
CPU
K1000S K7P-30AS Version 3.1 or later
K300S K4P-15AS Version 3.1 or later
K200S K3P-03AS/BS/CS Version 2.2 or later
K80S K7M Series Version 1.6 or later
GMWIN Version 3.6 or later
PADT KGLWIN Version 3.3 or later
XG5000 Version 4.07 or later
Pnet G3/4/6L-PUEA/B Version 1.0 or later
Dnet G4/6L-DUEA Version 1.2 or later
Communication Rnet G3/4/6/7L-RUEA Version 1.0 or later
Master can be used as built-
Modbus G3/4/6L-CUEA Version 2.0 or later
in at GM7/K80S
RAPIEnet XGL-EIMT/F/H Version 3.0 or later
* Smart I/O Snet can be used by using Cnet module at GM3/4/6, K1000S/300S/200S and can be used as built-in at
GM7/K80S
The following table indicates available Smart I/O master module for each CPU
Available Smart I/O master module
Classification Note
CPU Pnet Dnet Rnet Snet
GM3 GM3-CPUA ○ - ○ ○
GM4 GM4-CPUA/B/C ○ ○ ○ ○
GM6 GM6-CPUA/B/C ○ ○ ○ ○
GM7 G7M Series - - ○ ○
K1000S K7P-30AS ○ - ○ ○
K300S K4P-15AS ○ ○ ○ ○
CP K200S K3P-03AS/BS/CS ○ ○ ○ ○
U K80S K7M Series - - ○ ○
XGL-CPUH/CPUS ○ ○ ○ ○
XGK
XGL-CPUA/CPUE ○ ○ ○ ○
XGI XGI-CPUU ○ ○ ○ ○
XGR-CPUH/T ○ ○ ○ ○
XGR Note1)
XGR-CPUH/F ○ ○ ○ ○
XGB XGB-XBMS - - - ○
Note 1) In case of XGR system, master communication module can be installed on extension base.
1-14
Chapter 1 Overview
When installing this device, notice the followings for the reliability and safety.
Category Classification Contents
• When installing this device, maintain the temperature between 0~55 °C
Condition • Do not exposure it to direct light.
Temperature
• When temperature is too high, install pan, air-conditioner and when
Measure temperature is too low, install suitable device.
• No condensing allowed.
Condition • Install something in the control panel for protection from the water and dust.
Condensing • Due to the frequent On/Off, condensing may occur. In this case, turn on the
Measure device at the night
Condition • Install it in the place where impact and vibration don’t occur..
Gas • When corrosive gas enters, plan air-purification measure in the control panel.
Measure
1-15
Chapter 1 Overview
1-16
Chapter 2 Product Specification
Notes
2-1
Chapter 2 Product Specification
2) Expansion type
Specification
Category
Pnet, Dnet, Rnet, Enet
DC24V/0.55A (allowed range:DC19.2V ~ 28.8V)
Input voltage/current
In case of Dnet, it is available to operate in 11V.
Output voltage/current 5V (± 20%) / less than 1.5A
Inrush current Max 10A
Power indication When power is On, LED ON
* In order to protect power supplier, use the max. 4A fuse-equipped power supplier.
2-2
Chapter 2 Product Specification
Remark
1) Precautions when installing the I/O module of the expansion type module
Since the maximum current that can be supported by Pnet, Dnet, Rnet Expansion type module is
1.5A, the input/output module should be configured within maximum 1.5A
2-3
Chapter 2 Product Specification
Type name
DC Input Module
Specification
Input point 16 points
Insulation method Photo-coupler insulation
Rated input voltage DC24V
Rated input current 7 mA(fixed), 5mA(removable)
Voltage range DC20.4 ~ 28.8V (ripple rate : within 5% )
Max. simultaneous input point 100% (16 points/1COM) simultaneously ON
ON voltage / ON current More than DC19V / more than 3.5 mA
OFF voltage / OFF current Less than DC6V / less than 1.5 mA
Input resistance Approx. 3.3 kΩ(fixed), 4.7 kΩ(removable)
Off → On Less than 3 ms
Response time
On → Off Less than 3 ms
Common method 16 points / COM (Sink/Source Type)
Internal consumption current Less than 70mA
Operation indication LED ON when input ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 160g/190g (D22A: Fixed /D22C: Removable)
Circuit Configuration
DC5V
R
Photo- 00
Coupler
R
Inner
circuit
R
15
COM1
2-4
Chapter 2 Product Specification
Type name
DC Input Module
Specification
Input point 32 points
Insulation method Photo-coupler insulation
Rated input voltage DC24V
Rated input voltage 7 mA(fixed), 5mA(removable)
Use voltage range DC20.4 ~ 28.8V (ripple rate : within 5% )
Max. simultaneous input point 100% (16 points/1COM) simultaneously ON
ON voltage / ON current More than DC19V / more than 3.5 mA
OFF voltage / OFF current Less than DC6V / less than 1.5 mA
Input resistance Approx. 3.3 kΩ(fixed), 4.7 kΩ(removable)
Off -> On Less than 3 ms
Response time
On - > Off Less than 3 ms
Common method 16 points / COM (Source/Sink type)
Internal consumption current Less than 300 mA
Operation indication LED ON when input ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 240g/270g (D24A: Fixed / D24C: Removable)
Circuit
fi ti
DC5V
R
Photo-coupler
00
R
Inner
Circuit R 15
COM0
DC5V
R
16
Photo-coupler R
Inner
Circuit R 31
COM1
2-5
Chapter 2 Product Specification
Specification XBE-DC08A
Response Off → On
1/3/5/10/20/70/100 ㎳(setting as CPU parameter) initial value: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistor With insulation resistor meter more than 10 ㏁
Common method 8point / COM
Suitable wire size Stranded wire 0.3~0.75 ㎟ (external size less than 2.8 ㎜ )
Internal consumption current 30 ㎃ (When all input point is On)
Operation indication LED On when input is On
External connection method 9 pin terminal connector
Weight 52g
2-6
Chapter 2 Product Specification
Response Off → On
1/3/5/10/20/70/100 ㎳(setting with CPU parameter) initial value:3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistor With insulation resistor meter more than 10 ㏁
Common method 16 point / COM
Suitable wire size Stranded wire 0.3~0.75 ㎟ (external less than 2.8 ㎜)
Inner consumption current 40 ㎃ (When input point is On)
Operating indication LED is On when input is On
External connection method 8 pin terminal unit connector + 10 pin terminal unit connector
Weight 53g
2-7
Chapter 2 Product Specification
Response Off → On
1/3/5/10/20/70/100 ㎳(setting with CPU parameter) initial value:3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistor With resistor meter more than 10 ㏁
Common method 32 point / COM
Suitable wire size 0.3 ㎟
Inner consumption current 50 ㎃ (When input point is On)
Operation indication LED flicker when input is On
External connection method 40 pin connector
weight 60g
2-8
Chapter 2 Product Specification
Type name
Relay Output Module
Specification
Output point 16 points
Insulation method Relay insulation
Max. rated load 3A 250VAC, 3A 30VDC
Max. rated power 750VA, 90W
Rating
Max. rated load
(Resistive 250VAC, 110VDC
voltage
Load)
Max. rated load
5A
current
Max. open/close frequency 1,200 times / hr
Surge killer None
Mechanical 2X107
Life Electrical (20cpm
105
base)
Response Off → On Less than 10 ms
time On → Off Less than 12 ms
Common method 8 points / COM
Internal consumption current Less than 325mA (when all points ON)
Operation indication LED ON when output ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 300g/330g (RY2A: fixed / RY2C:removable)
Circuit Configuration
00
DC5V L
AC110/220V
Coil
Relay DC24V
Inner
TD62083 07
Circuit
COMA AC110/220V
DC24V
08
DC5V L
Coil
AC110/220V
Relay DC24V
Inner
TD62083 15
Circuit
COMC AC110/220V
DC24V
2-9
Chapter 2 Product Specification
Type name
Transistor Output Module
Specification
Output point 16 points
Insulation method Photo-coupler insulation
Rated load voltage DC 24V
Load voltage range DC 20.4 ~ 26.4V
Max. load current 0.1A / 1point, 2A / 1COM
Leakage current when OFF Less than 0.1mA
Max. inrush current Less than 0.4A/10ms
Max. voltage falling when ON DC 1.5V
Off → On Less than 2 ms
Response time
On → Off Less than 2 ms
Common method 16 points / 1COM
Internal consumption current Less than 80 mA (when all points ON)
External power Voltage DC24V ± 10% (ripple voltage : less than 4 Vp-p)
Supply current Less than 50 mA (DC24V per 1COM )
Operation indication LED ON when output ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 160g (fixed type)
Circuit Configuration
Inner circuit
00
L
Photo coupler
R
R TR
R
15
L
COM
DC24V
2-10
Chapter 2 Product Specification
Type name
Transistor Output Module
Specification
Output point 16 point
Insulation method Photo-coupler insulation
Rated load voltage DC 24V
Load voltage range DC 20.4 ~ 26.4V
Max. load current 0.5A / 1 point, 3A / 1COM
Leakage current when Off Less than 0.1mA
Max. inrush current Less than 1A / 10 ms
Max. voltage falling when ON DC 1.5V
Off → On Less than 2 ms
Response time
On → Off Less than 2 ms
Common method 16 point / 1COM (sink type)
Internal consumption current Less than 90 mA (when all points ON)
External power Voltage DC24V ± 10% (ripple voltage : less than 4 Vp-p)
Supply Current Less than 50 mA (DC24V per 1COM )
Operation indication LED ON when output ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 160g/190g (TR2A1:Fixed / TR2C1:Removable)
Circuit Configuration
Inner
00
L
Photo-Coupler
FET
R
R
R
15
L
COM
DC24V
2-11
Chapter 2 Product Specification
Type name
Transistor Output Module
Specification
Output point 16 point
Insulation method Photo-coupler insulation
Rated load voltage DC 24V
Load voltage range DC 20.4 ~ 26.4V
Max. load current 0.5A / 1 point, 3A / 1COM
Leakage current when Off Less than 0.1mA
Max. inrush current Less than 1A / 10 ms
Max. voltage falling when ON DC 1.5V
Off → On Less than 2 ms
Response time
On → Off Less than 2 ms
Common method 16point / 1COM (sink type)
Internal consumption current Less than 90 mA (when all points ON)
External power Voltage DC24V ± 10% (ripple voltage : less than 4 Vp-p)
Supply Current Less than 50 mA (DC24V per 1COM )
Operation indication LED ON when output ON
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 161g/191g (TR2A1:Fixed / TR2C1:Removable)
Circuit Configuration
R L
00
Photo Coupler
FET
R
Inner
R
15
L
COM
0V
DC24V
2-12
Chapter 2 Product Specification
Circuit configuration
Inner circuit
00
L
Photo-coupler
15
R Transistor
R L
R
16
L
Photo-coupler
R 31
R Transistor L
R
DC24V
COM1
2-13
Chapter 2 Product Specification
Type Name
Transistor Output Module
Specification
Output point 32 point
Insulation method Photo-coupler insulation
Rated load voltage DC 24V
Load voltage range DC 20.4 ~ 26.4V
Max. load current 0.5A / 1point, 3A / 1COM
Leakage current when Off Less than 0.1 mA
Max. inrush current Less than 1A / 10 ms
Max. voltage falling when ON DC 1.0 V
Off → On Less than 2 ms
Response time
On → Off Less than 2 ms
Common method 16 point / 1 COM (Sink Type)
Internal consumption current Less than 270 mA (when all points ON)
External power Voltage DC24V ± 10% (ripple voltage : less than 4 Vp-p)
Supply Current Less than 40 mA (DC24V per 1COM )
LED ON when output ON (16 point indication conversion by using select
Operation indication
switch)
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 240g/290g (TR4B:fixed / TR4C: removable)
Circuit configuration
DC24V
00
R L
FET
Photo-coupler
R 15
Inner
L
Circuit R
COM0
0V
DC24V
16
R L
FET
Photo-coupler
R 31
Inner
L
Circuit R
COM1
0V
2-14
Chapter 2 Product Specification
Type Name
Transistor Output Module
Specification
Output point 32 point
Insulation method Photo-coupler insulation
Rated load voltage DC 24V
Range of load voltage DC 20.4 ~ 26.4V
Max. load current 0.5A / 1point, 3A / 1COM
Leakage current when Off Less than 0.1 mA
Max. inrush current Less than 1A / 10 ms
Max. voltage falling when ON DC 1.0 V
Off → On Less than 2 ms
Response time
On → Off Less than 2 ms
Common method 16 point / 1 COM (Sink Type)
Internal consumption current Less than 270 mA (when all points ON)
External power Voltage DC24V ± 10% (ripple voltage : less than 4 Vp-p)
Supply Current Less than 40 mA (DC24V per 1COM )
LED ON when output ON
Operation indication
(16 point indication conversion by using select switch)
External connection method Terminal unit connector (M3 X 6 screws)
Weight Less than 240g/290g (TR4A1:Fixed / TR4C1:Removable)
Circuit Configuration
Inner
Inner circuit
Circuit
00
L
Photo-coupler
FET 15
R
R L
R
Inner
Inner circuit
Circuit
COM0
16
L
Photo-coupler
FET
R 31
R L
R
DC24V
COM1
2-15
Chapter 2 Product Specification
Specification XBE-RY08A
Output point 8 point
Insulation method Relay insulation
Rated load voltage / current DC24V 2A(resistor load) / AC220V 2A(COSΨ = 1), 5A/COM
Min. load voltage / current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Leakage current when OFF 0.1 ㎃ (AC220V, 60 ㎐)
Max. open/close frequency More than 3,600 times / hr
Surge killer None
TB1 0
DC5V
TB2 1
TB3 2 TB1
TB1 TB2
TB4 3
TB3
Inner TB5 4
RY TB4
circuit TB6 5 TB5
TB8
TB7 6 TB6
TB7
TB9
TB8 7 TB8
TB9
Terminal No. TB9 COM
2-16
Chapter 2 Product Specification
Specification XBE-RY08B
Output point 1 point
Insulation method Relay insulation
Rated load voltage / current DC24V 2A(resistor load) / AC220V 2A(COSΨ = 1), 2A/COM
Min. load voltage / current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Leakage current when OFF 0.1 ㎃ (AC220V, 60 ㎐)
Max. open/close frequency More than 3,600 times / hr
Surge killer None
Mechanical More than 2X107
Rated load voltage / current more than 100,000
Life AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) more than 100,000
Electrical AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) more than 100,000
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) more than 100,000
2-17
Chapter 2 Product Specification
Specification XBE-RY16A
Output point 16 points
Insulation method Relay insulation
Rated load voltage / current DC24V 2A(resistor load) / AC220V 2A(COSΨ = 1), 5A/COM
Min. load voltage / current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Leakage current when OFF 0.1 ㎃ (AC220V, 60 ㎐)
Max. open/close frequency More than 3,600 times / hr
Surge killer None
2-18
Chapter 2 Product Specification
Specification XBE-TN08A
Output point 8point
Insulation method Photo-coupler insulation
Rated load voltage DC 12V, DC24V
Load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1point
Leakage current when Off Less than 0.1 ㎃
Max. inrush current Less than 4A / 10 ㎳
Max. voltage drop when On Less than DC 0.4V
Surge killer Zenner diode
External Voltage DC12V, DC24V ± 10% (Ripple voltage less than 4 Vp-p)
supply power Current Less than 10 ㎃ (When connecting DC24V)
Operation indication LED On when output is On
External connection method 10 pin terminal connector
Weight 70g
TB02 1
DC5V TB01
TB01
TB03 2 TB02
R
TB04 3 TB03
Inner TB04
TB05 4 TB05
Circuit TB08
TB06 5 TB06
TB09
TB07
TB07 6
TB08
TB10 TB08 7 TB09
DC12/24V DC12 TB10
TB09
Terminal No. /24V
TB10 COM
2-19
Chapter 2 Product Specification
Specification XBE-TN16A
Output point 16 point
Insulation method Photo-coupler insulation
Rated load voltage DC12V, DC24V
Load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Leakage current when Off Less than 0.1 ㎃
Max. inrush current Less than 4A / 10 ㎳
Max. voltage drop when On Less than DC 0.4V
Surge killer Zenner diode
Off → On Less than 1 ㎳
Response time
On → Off Less than 1 ㎳ (rated load, resistor load)
Common method 16point / COM
Suitable wire size Stranded wire 0.3~0.75 ㎟ (external radius less than 2.8 ㎜)
Internal consumption current 50 ㎃ (When output point is On)
External Voltage DC12V, DC24V ± 10% (Ripple voltage less than 4 Vp-p)
supply power Current Less than 10 ㎃ (when connecting DC24V)
Operation indication LED On when output is On
External connection method 8 pin terminal connector + 10 pin terminal connector
Weight 50g
Circuit configuration No. Point Shape
TB01 0
TB01
TB02 1
TB02
TB03 2
DC5V TB03
TB01
TB04 3
TB04
TB05 4
TB05
R TB06 5 TB06
Inner TB07 6 TB07
circuit TB08 7 TB08
TB08
TB01 8
TB01
TB09
TB02 9
TB02
TB03 A
TB10 TB03
TB04 B
TB04
DC12/24V TB05 C TB05
Terminal No.
TB06 D TB06
TB07 E TB07
TB08 F TB08
DC12 TB09
TB09
/24V
TB10
TB10 COM
2-20
Chapter 2 Product Specification
Specification XBE-TN32A
Output point 32 point
Insulation method Photo-coupler insulation
Rated load voltage DC12V, DC24V
Load voltage range DC 10.2 ~ 26.4V
Max. load current 0.2A / 1point, 2A / 1COM
Leakage current when Off Less than 0.1 ㎃
Max. inrush current Less than 0.7A / 10 ㎳
Max. voltage drop when On Less than DC 0.4V
Surge killer Zenner diode
Off → On Less than 1 ㎳
Response time
On → Off Less than 1 ㎳(Rated load, resistor load)
Common method 32 point / COM
Suitable wire size 0.3 ㎟
Internal consumption current 80 ㎃ (When output point is On)
External supply Voltage DC12V, DC24V ± 10% (Ripple voltage less than 4 Vp-p)
power Current Less than 20 ㎃ (When connecting DC24V)
Operation indication LED On when output is On
External connection method 40 pin connector
Weight 60g
Circuit configuration No. point No. point Shape
B20 00 A20 10
B19 01 A19 11
DC5V B18 02 A18 12
B20 B17 03 A17 13 B20 A20
2-21
Chapter 2 Product Specification
Circuit configuration
Inner circuit
00
L
Photo-coupler
Transistor 15
R L
R
R
DC5V COM0 DC24
R
Photo-coupler
00
R
Inner circuit
R 15
COM1
DC24
2-22
Chapter 2 Product Specification
Circuit configuration
00
R L
FET
Photo coupler
R 15
Inner
L
circuit R
COM0
0V DC24V
DC5V
R
Photo coupler
00
R
Inner circuit
R 15
COM1
DC24V
2-23
Chapter 2 Product Specification
Circuit configuration
Inner
00
L
Photo-coupler
FET
15
R L
R
R
DC5V COM0
DC24V
R
Photo-coupler
00
Inner circuit C R
R 15
COM1
DC24V
2-24
Chapter 2 Product Specification
2-25
Chapter 2 Product Specification
Performance specification
Items
XBF-DV04C XBF-DC04C
Channels 4 channels
Type Voltage Current
DC 1 ~ 5V
DC 0 ~ 5V DC 4 ~ 20 ㎃
Analog
DC 0 ~ 10V DC 0 ~ 20 ㎃
output
Range DC -10 ~ 10V (Load resistance: 600Ω or less)
range
(Load resistance: 1 ㏀ or more)
Output ranges are set in user program or I/O parameter per each
channel.
Type 16 bit binary data (Data : 14Bit)
Unsigned
0 ~ 16,000
value
Signed value -8,000 ~ 8,000
Digital 1,000 ~ 5,000 (1 ~ 5V) 4,000 ~ 20,000 (4 ~ 20 ㎃)
input Range 0 ~ 5,000 (0 ~ 5V) 0 ~ 20,000 (0 ~ 20 ㎃)
Precise value
0 ~ 10,000 (0 ~ 10V)
-10,000 ~ 10,000 (±10V)
Percentile
0 ~ 10,000
value
1/16,000
0.250 ㎷ (1 ~ 5V) 0.1uA (4~20mA)
Max. resolution 0.3125 ㎷ (0 ~ 5V) 1.25uA (0~20mA)
0.625 ㎷ (0 ~ 10V)
1.250 ㎷ (±10V)
±0.2% or less (When ambient temperature is 25℃)
Accuracy
±0.3% or less (When ambient temperature is 0 ~ 55℃)
Max. conversion speed 1 ㎳/ channel
Setting of channel output status
(Select one among previous, Min, Max value)
Additional function
Setting of interpolation method
(Linear interpolation, S-type interpolation)
Photo-coupler insulation between output terminal and PLC power
Insulation method
(no insulation between channels)
Terminal connected 11 point terminal
Power Supply DC 24V
Weight 68g 69g
Consumed Internal (DC 5V) 70mA
current External (DC 24V) 160mA
2-26
Chapter 2 Product Specification
CH0 CH0
CH1 CH1
CH2 CH2
CH3 CH3
Remark
1) In the A/D conversion module, offset/gain value about each analogue input range is set in the factory. It is not
available to change it by user
2) Modular type Smart I/O Dnet expansion type
The default value of parameter is 0x0000000 ( This value is effective when off status. In the voltage mode
you should change parameter.)
→ All channel (Enable), input (DC 0~10 V), analogue input range ( 0 ~ 4,000 )
2-27
Chapter 2 Product Specification
2) XBF-AD08A
Items Performance specification
Number of channels 8 channels
Type Voltage Current
DC 1 ~ 5V DC 4 ~ 20mA
DC 0 ~ 5V DC 0 ~ 20mA
Analog
DC 0 ~ 10V (Input resistance: 250 Ω)
input Range
(Input resistance: 1 ㏁ min)
Current input or Voltage input can be selected through the external
voltage/current switch.
Type 12 bit binary data
Unsigned value 0 ~ 4,000
Signed value -2,000 ~ 2,000
Digital 100 ~ 500 (1 ~ 5V) 400 ~ 2,000 (4 ~ 20 ㎃)
output Range Precise value 0 ~ 500 (0 ~ 5V) 0 ~ 2,000 (0 ~ 20 ㎃)
0 ~ 1,000 (0 ~ 10V)
Percentile
0 ~ 1,000
value
1/4,000
Max. resolution 1.25 ㎷ (1 ~ 5V, 0 ~ 5V) 5 ㎂ (4 ~ 20 ㎃, 0 ~ 20 ㎃)
2.5 ㎷ (0 ~ 10V)
Accuracy ±0.5% or less
Max. conversion speed 1.5 ㎳/ channel
Absolute max. input DC ±15V DC ±25 ㎃
Filter Digital filter(4 ~ 64,000 ㎳)
Time average (4~16,000 ㎳)
Average Count average (2~64,000times)
Addition function
Moving average (2~100ea)
Detection alarm Disconnection(DC 1~5V, DC 4~20 ㎃)
Photo-coupler insulation between input terminal and
Insulation method
PLC power (No insulation between channels)
Connection terminal 11 point terminal block
Consumption Internal (DC 5V) 105mA
current External (DC 24V) 85mA
Weight 81g
Module input power DC 20.4~28.8V
2-28
Chapter 2 Product Specification
(3) XBF-AD04C
2-29
Chapter 2 Product Specification
Remark
The default value of the extension Smart I/O Dnet expansion type parameter is 0x0000000F.
→ all channel (Enable), Tem. Unit (Celsius), Input sensor type ( PT100 )
2-30
Chapter 2 Product Specification
Category Specification
No. of input channel 4 channels
Thermocouple K / J / T / R type
Input sensor type
JIS C1602-1995
K -200.0℃ ~ 1300.0℃
J -200.0℃ ~ 1200.0℃
Temp. range
T -200.0℃ ~ 400.0℃
R 0.0℃ ~ 1700.0℃
To one decimal place – Note1)
Temp. unit
K, J, T type: 0.1℃, R type: 0.5℃
Digital output
Scaling Unsigned scaling (0 ~ 65535)
(User range setting) Signed scaling (-32768 ~ 32767)
Normal temp. (25℃) Within ±0.2% – Note2)
Precision Temp. coefficient
±100 ppm/℃
(Operating temp. range)
Conversion speed 50ms / channel
Terminal – internal
Photo coupler insulation
circuit
Method Terminal – Power DC/DC converter insulation
Between
Insulation Photo MOS relay insulation
channels
400 V AC, 50/60 Hz, 1minute,
Withstanding voltage
Leakage current 10 ㎃ or less
Insulation resistor 500 V DC, 10 MΩ or above
Reference Automatic compensation by RJC sensor (Thermistor)
contact point
Compensation amount ±1.0℃
compensation
Warming-up time 15 min or above
Terminal block 11-point terminal
Occupation points 64 points
Max installation count 4
Consumption Internal DC5V 100 ㎃
current External DC24V 100 ㎃
Weight 63g
2-31
Chapter 2 Product Specification
2-32
Chapter 2 Product Specification
Green
13 25mm
Red
Shield 7
Terminal On
switch Off Covering
cable A1 B1 A2 B2
connection part
(terminal unit) <connector wire method>
shield
connection
part (clamp)
In Out
A1 B1 A2 B2 A1 B1 A2 B2
2-33
Chapter 2 Product Specification
• Cable Specification
Cable class
Type name Cable structure
Thick Thin
Maker Belden
Cable appearance Round
Max. allowed current
8A 3A
(power)
Max/ allowed current
5A 1.7A ④
(communication line) ①
External radius 12.2mm 7.1mm
Core No. 5 5
Insulation
① Gray Gray ②
covering
③
② Middle covering Mylar tape
Copper-film
Cable
2-34
Chapter 2 Product Specification
TRX1+/TRX2+ TRX+
TRX1-/TRX2- TRX-
Note
1) Use the repeater module for branching Rnet network.
2) There are two types of Rnet communication cable but, type A is recommended to use for new
installation.
please contact to the cable maker for model names corresponding to type A and type B
2-35
Chapter 2 Product Specification
In case of Snet communication using RS-422 channel, it is required to use Twist pair cable for RS-422 considering
communication distance and communication speed. The table below shows the specification of recommended cable. In
case of using other cables, it is required to use the cable suitable for the following characteristics.
2) Appearance Characteristic
Spec. AWG 22
Conductor
Composition NO./mm 1/0.643
Thickness Mm 0.59
Insulator
Outside diameter Mm 1.94
* Structure Diagram
도체
Conductor
절연체
Insulator
AL/MYLER
접지선
Grounding wire
편조체
Braided material
쉬스체
Sheath material
2-36
Chapter 2 Product Specification
Notes
1) UTP : Unshielded Twisted Paired Copper Cable
FTP : (Overall) Foiled Twisted Paired Copper Cable
STP : (Overall) Shielded(and Shielded Individually Pair)Twisted Paired Copper Cable
2) Patch Cable(or Patch Cord)
Conductor composed of stranded cable instead of solid conductor may be used to increase the
flexibility of UTP 4-pair cable. And surface specification and materials used is Un-coated AWG
24 (7/0203A).
In other words, the diameter of a single cable is 0.203mm, and this cable is of 1+6 structure as
standardized with annealed copper cable.
2-37
Chapter 2 Product Specification
Notes
1) Presently classified items are Category 3, 5, En-Cat.5 and Cat.6 inside and outside of the
country, where Category 4 has been replaced by Category 5 and Category 7 is being under
development all over the world as STP structure.
2-38
Chapter 2 Product Specification
2.8 Terminating
Cable
ON ON
connection
OFF OFF
A1 B1 A2 B2 Terminating switch A1 B1 A2 B2
ON : termination
OFF: No termination
Form
• Terminal resistance
- 121Ω, 1%, 1/4W resistance should be added.
- Connected to CAN_H of connector and CAN_L signal cable
121 Ω
Red Black
White
Shield Blue
2-39
Chapter 2 Product Specification
Remark
1) Terminal resistance should be added to both end of trunk line of network and in case of
composing by device port tab, it is required to install terminal resistance on both ends of
tab. In case that terminal resistance is omitted, the normal communication is not available.
Signal cable for electric network connection for Smart I/O Rnet uses no.6 and 7 from connector pin of Rnet master
module and no.8 and 9 of Smart I/O module.
No.6 signal of master module Is connected to no.8 signal cable of Smart I/O module and no.7 signal is connected to no.9
signal cable respectively.
As each connector body is connected to other module by shield cable which plays the role to bypass the external noise,
the connector bodies of both side should be connected by shield cable and the body of cable connector is not allowed to
contact to high voltage and high current cables.
When soldering the shield cable to 9 pin connector body, it is required to heat the connector body with soldering iron
sufficiently for strict and non-removable soldering. In case of soldering, use the suitable amount of solder as too much
solder adding makes the assembly of connector case difficult.
Pin no.7
TX1 RX1 TX2 RX2
Terminal
resistance
End resistance
Pin no.6
blue White
Shield
2-40
Chapter 2 Product Specification
Terminal
resistance
2-41
Chapter 2 Product Specification
2-42
Chapter 3 System Configuration
Smart I/O series are equipped with various product suitable for system configuration as various communication
models and I/O module. This chapter describes the method of system configuration and characteristics.
Here describes the notices in selecting digital I/O module which is used for Remote I/O.
1) Digital input types contain the current sink input and current source input. In case of DC input module, as the
wiring method of external input power is different according to such input types, make sure of selecting the input
module considering the spec. of input connection machine. Remote I/O is available for source/sink in common.
The wiring method per type is as follows.
(1) How to connect the sink type external connection machine to the source type DC input module.
External connection I
- machine
DC input
DC power
module
+ COM
• External connection machine is located between DC power and (-) terminal of DC input module terminal.
• Thus, when inputting ON, the current flows from DC input module terminal to external connection
machine.
(2) How to connect the source type external connection machine to the sink type DC input module.
External connection I
+ machine
DC input
DC power
- module
-
COM
• External connection machine is located between DC power and (+) terminal of DC input module terminal.
• Thus, when inputting ON, the current flows from external connection machine to DC input module
terminal.
2) In case that the open/close frequency is high or it is used to open/close the conductive load, please use
transistor output module as Relay output module may reduce the life.
3-1
Chapter 3 System Configuration
Smart I/O series contain all 2 kinds of module configuration. According to network configuration that the user
wants, it is available to install the system simple and effectively by the combination of the following models.
The best advantage of Smart I/O series is the simple system configuration and the easy connection with other
maker’s machine as this is oriented to the open type network (except for Rnet).
3-2
Chapter 3 System Configuration
3-3
Chapter 3 System Configuration
Profibus-DP, Rnet, Modbus communication module have all the same forms, and their characteristics are as follows.
3-4
Chapter 3 System Configuration
ERR
ON : when communication module is cut off.
LED
3-5
Chapter 3 System Configuration
self station no setting The switch to set the node station no. of its own station. Available to set from
④
switch 0~63.
Notes
Only GRL-TR2C/TR2C1/TR4C/TR4C1/DT4C/DT4C1/RY2C modules have Latch /Cleat
function.
3-6
Chapter 3 System Configuration
self station no setting The switch to set the node station no. of its own station. Available
④
switch to set from 0~31.
3-7
Chapter 3 System Configuration
Communi- Green On: Normal completion of module initialization and device status
MS
cation status Green Blink: Communication waiting status after completion of initialization
③ LED
indication Red On: Module hardware error
self station no setting The switch to set the node station no. of its own station. Available to set
④
switch from 0~63.
3-8
Chapter 3 System Configuration
① Connection Product
Communication
Connector Name
status LED
④ Station number
switch
⑦ I/O LED
⑤ Terminal
block
⑥ HooK
3-9
Chapter 3 System Configuration
Classifica
Color Operation Status Reference
tion
On Normal Normal status
Station
Green
Flicker Normal Self-diagnosis normal service number
Switch: 92
Error Heartbeat Error occurred, Network disconnected
Station
STATUS On
Error Self-diagnosis service error number
Switch: 92
Red
Normal Boot mode operation
Error Duplicated station address See Remark
Flicker
Parameter setting error, Initialization error,
Error
Frame error
Network link is successfully configured through
On Normal
Green port 1
PORT1
Off Stand-by Network disconnected
Red Flicker Normal Communication on Port1
Network link is successfully configured through
On Normal
Green port 2
PORT2
Off Stand-by Network disconnected
Red Flicker Normal Communication on Port2
LATCH*Note On Latch When emergency *Note1) Hold output state
Green
2) Off Clear When emergency Clear output data
*Note1) When emergency status: The data of Master module is not received within given time due to network
problems.
*Note2) LATCH: Latch functions are shown only for output module (GEL-TR4C1/DT4C1/RY2C).
3-10
Chapter 3 System Configuration
Remarks
When duplicated Station address is occurred, please refer to the following operating conditions.
1. In case that the power of Smart I/O RAPIEnet modules turns on at the same time in duplicated network
configuration.
- STATUS LED: Red Flicker
- Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
2. When station address of added Smart I/O is duplicated with existing module.
2) When the heartbeat of master module is set (Newly added module in a network)
(1) STATUS LED: Red flicker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
3) When the heartbeat of master module is not set (Normally operated module)
(1) STATUS LED: Red flicker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module Maintain previous output value
4) When the heartbeat of master module is set (Newly added module in a network)
(1) STATUS LED: Red flicker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
3-11
Chapter 3 System Configuration
2) Expansion type Smart I/O adapter module (Pnet, Dnet, Rnet, Enet)
(1) Form of Pnet module (Expansion type) and name of each part
3-12
Chapter 3 System Configuration
(2) Form of Dnet module (Expansion type) and name of each part
② Flicker initialization
MS (waits checking the duplicated station address)
Error status of module hardware
1) When exceeding the allowed range of I/O module
RED On 2) When I/O module is removed
3) When error occurs in the I/O module
4) When exceeding the I/O allowed point
③
Network status between master and Dnet expansion
Device is operating and “online” status
On (normal communication status between master and slave
module)
④ Device is not “online” status.
Yellow
1) Not completion of checking the duplicated station
Green
Off address.
⑤ NS 2) Not supporting the module power
(At this time, MS is also Off)
Device is operating, It is already “online” status but
Flicker
network is not connected.
⑥
1) Duplex station address error
On
2) Network is “Bus Off” stats
RED
Device is “Time Out” status
Flicker
(module network is removed)
③ Self station
address setting Switch for setting self station address (setting range of 0~63)
switch
④ No. 1 pin(On) : O/S download mode
No. 2 pin(On) : Quick mode
Mode switch
* Quick mode: reduces the initial communication connection time
(when supplying master module, it can be done within Max. 1.5s)
⑤ Download
Terminal unit for downloading the O/S
terminal unit
⑥ External supply power input terminal (not use)
Power terminal
3-13
Chapter 3 System Configuration
(3) Form of Rnet module (Expansion type) and name of each part
Remark
1. How to set mode switch
1) Eliminate cover⑤.
2) When mode switch⑥ is on (in left side), it is set as Clear mode.
3) When mode switch⑥ is off (in right side), it is set as Latch mode.
2. Output value according to mode switch
1) Latch mode: In case of communication error, holds present value
2) Clear mode: In case of communication error, set output value as ‘0’
3. Mode switch should be set when power is off.
3-14
Chapter 3 System Configuration
(4) ) Form of Enet module (Expansion type) and name of each part
(a) XEL-BSSA
Name of each part No. Name purpose
Connection
① RJ-45 2Port
connector
Name Color Status Contents
3-15
Chapter 3 System Configuration
(b) XEL-BSSB
Name of each part No. Name purpose
Connection
① RJ-45 2Port
connector
Name Color Status Contents
3-16
Chapter 3 System Configuration
3-17
Chapter 3 System Configuration
2) Wiring Diagram
Item Wiring diagram
[GPL-D22A/D22C] [GPL-D24A/D24C] [GPL-DT4A/B/C/A1/C1]
· ·
COM1
COM COM1
15
COM 31
14
15 30 13
14 12
13 11
12 19
18 10
11 09
DC input 10
16
17
08
09 07
module 08 COM0
06
07 15
05
06 04
05 04 03
04 02
03
03 02 01
02 00
01
01 00
00 DC
DC
24G DC
24G FG
FG DC 24G
DC FG
24V DC
24V 24V
DC DC
DC 24V 24V
24V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
FG
DC 24G
FG DC
24G DC
FG 24V
DC 24V
24V
TR output
[GPL-TR2B/TR2C] [GPL-TR4B/TR4C] [GPL-DT4B/DT4C]
COM1
15
DC DC
DC 0V 0V
0V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
FG
DC 24G
FG DC
24G DC
FG 24V
DC 24V
24V
3-18
Chapter 3 System Configuration
DC DC · · ·
24V 24G
01 02 COMA 05 06 COMA COMA 09 10 COMC 13 14 COMC COMC
* Between COMA and COMB, COMC and COMD are connected internally.
[GPL-AV8C]
Analog
input [GPL-AC8C]
3-19
Chapter 3 System Configuration
Analog
output
DC DC NC NC NC NC CH0 CH1 CH2 CH3 NC NC NC NC NC NC
NC NC NC I+ I+ I+ I+
24V 24G
NC CH0 CH1 CH2 CH3 NC NC NC NC
FG NC NC NC NC NC NC NC I-
NC NC
I- I- I-
3-20
Chapter 3 System Configuration
Notes
According to transmitter wiring examples are follows
(1) 2-Wire Transmitter wiring example(current input)
+
2-Wire + R
Transmitter Power - *3
- R
CH1
2-Wire +
+ R
Transmitter Power -
-
R
+24V -24V
+
Power 4-Wire + R
Transmitter - *3
-
R
4-Wire +
Power + R
Transmitter -
-
R
3-21
Chapter 3 System Configuration
2) DeviceNet module
· ·
COM1
COM COM1
15
COM 31
14
15 30 13
14 12
13 11
12 19
18 10
11 09
10 17
DC input 09 16
07
08
08 COM0
module 07 15 06
05
06 04
05 04 03
04 02
03
03 02 01
02 00
01
01 00
00 ·
· ·
FG
FG · FG
· ·
3-22
Chapter 3 System Configuration
DC DC
DC 24V
24V
24V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 ·
00 ·
FG
· FG ·
FG ·
·
TR output
[GDL-TR2B/TR2C] [GDL-TR4B/TR4C] [GDL-DT4B/DT4C]
COM1
15
DC DC
DC 0V 0V
0V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 ·
00 ·
FG
· FG ·
FG ·
·
[GDL-RY2A/RY2C]
* Between COMA and COMB , Between COMC and COMD are connected internally.
3-23
Chapter 3 System Configuration
3) Rnet module
3-24
Chapter 3 System Configuration
. .
COM1 COM1
COM 15
COM
31
15 30 14
13
14 12
13 11
12 19
18 10
11 09
DC input 10 17
16 08
09 07
module 08 15
COM0
06
07 05
06 04
05 04 03
04 03 02
03 02 01
02 01 00
01
DC 00
DC
00 24G
24G DC FG DC
FG 24V 24G
DC FG
24V
DC
24V
DC DC
DC 24V
24V
24V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
24G
FG
DC FG DC
24G DC 24V
FG 24V
DC
24V
TR output
module
[GRL-TR2C] [GRL-TR4C] [GRL-DT4C(output)]
COM1
15
DC DC
DC 0V
0V
0V COM1 COM0
COM
31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
24G
FG
DC
FG DC
24G DC
FG 24V
DC 24V
24V
3-25
Chapter 3 System Configuration
DC DC · · ·
24V 24G
01 02 COMA 05 06 COMA COMA 09 10 COMC 13 14 COMC COMC
Output
module
3-26
Chapter 3 System Configuration
4) Snet module
3-27
Chapter 3 System Configuration
. .
COM1 COM1
COM 15
COM 31
15 30 14
13
14 12
13 11
12 19
18 10
11 09
10 17
16 08
DC input 09
COM0
07
08 15 06
module 07 05
06 04
05 04 03
04 03 02
03 02 01
02 01 00
01
DC 00
00 24G
DC
24G DC FG DC
FG 24V 24G
DC FG
24V
DC
24V
DC DC
DC 24V
24V
24V COM1 COM0
CO 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
FG
DC 24G
FG DC
24G DC 24V
FG
DC 24V
24V
TR output
module
[GSL-TR2C] [GSL-TR4C] [GSL-DT4C(output)]
COM1
15
DC DC
DC 0V
0V
0V COM1 COM0
COM 31 15
COM
30 14
15 13
14 12
13 19 11
12 18 10
11 17 09
10 16 08
09 COM0 07
08 15 06
07 05
06 04
05 04
03
04 03 02
03 02
01
02 01 00
01 00 DC
DC
00 24G
24G
FG
DC
FG DC
24G DC
FG 24V
DC 24V
24V
3-28
Chapter 3 System Configuration
DC DC · · ·
24V 24G
01 02 COMA 05 06 COMA COMA 09 10 COMC 13 14 COMC COMC
· · · 03 04 07 08 11 12 15 ·
RELAY FG 00 COMA COMA COMB COMC COMC COMD
output
module
3-29
Chapter 3 System Configuration
5) RAPIEnet module
3-30
Chapter 3 System Configuration
·
COM1
COM1
15
31
14
30 13
12
19 11
18 10
17 09
08
DC input 16
07
COM0
06
module 15
05
04
04 03
03 02
02 01
01 00
00
DC
24G DC
FG
DC 24G
FG
24V DC
24V
[GEL-TR4C1] [GEL-DT4C1(output)]
COM1
15
DC DC
24V 24V
COM1 COM0
31 15
30 14
13
12
19 11
18 10
17 09
TR output 16 08
07
module 15
COM0
06
05
04
04
03
03 02
02
01
01 00
00 DC
DC 24G
24G FG
FG DC
DC 24V
24V
3-31
Chapter 3 System Configuration
DC DC · · ·
24V 24G
01 02 COMA 05 06 COMA COMA 09 10 COMC 13 14 COMC COMC
· · · 00 03 04 07 08 11 12 15 ·
RELAY FG COMA COMA COMB COMC COMC COMD
output
module
[GEL-AV8C]
Analog
input [GEL-AC8C]
module
3-32
Chapter 3 System Configuration
[GEL-DV4C]
Analog
output
[GEL-DC4C]
3-33
Chapter 3 System Configuration
Notes
According to transmitter wiring examples are follows
(1) 2-Wire Transmitter wiring example(current input)
+
2-Wire + R
Transmitter Power - *3
- R
CH1
2-Wire +
+ R
Transmitter Power -
-
R
+24V -24V
+
Power 4-Wire + R
Transmitter - *3
-
R
4-Wire +
Power + R
Transmitter -
-
R
3-34
Chapter 3 System Configuration
XG5000
XGB
XBL-PMEC
XGT
XGL-PMEB
3-35
Chapter 3 System Configuration
XG5000
XGT
XGB
XGL-DMEB
XBL-DSEA Expansion Smart I/O
XDL-BSSA
XGT
XGL-DMEB XGB
XBL-DSEA
Dnet
Configurator S/W
AB,
OMRON
AB Flex I/O
OMRON
LS Inverter
3-36
Chapter 3 System Configuration
XG5000
XGB
XGB XBL-RMEA
XBL-RMEA
XGT
XGL-RMEB
XRL-BSSA
XGB XGB
XBL-RMEA XBL-RMEA
XGT
XGL-RMEB
Smart I/O
Smart I/O GRL-RY2A XRL-BSSA
Smart I/O GRL-D22A
GRL-D24A
GRL-D22C GRL-TR2C1 GRL-DT4A
GRL-TR2A G0L-GWRA
GRL-TR4A
G0L-GWRA
Smart I/O
Smart I/O
GRL-RY2A
Smart I/O GRL-RY2A
GRL-D24A
GRL-RY2C GRL-D24A
GRL-DT4A
GRL-D24C GRL-DT4A
GRL-TR4A
GRL-DT4C1 GRL-TR4A
GRL-TR4C1
3-37
Chapter 3 System Configuration
XG5000
XGB
XGB XBL-C41A
XGT XBL-C41A
XGL-C42B
Smart I/O
Smart I/O Smart I/O Smart I/O GSL-D22A
GSL-D22A GSL-D22A GSL-D22A GSL-TR2A
GSL-TR2A GSL-TR2A GSL-TR2A
3-38
Chapter 3 System Configuration
Smart I/O RAPIEnet’s system are classified Ring and Line configurations.
1) Ring system
XGL-EIMT/EIMH XGL-EIMT/EIMH
RING SYSTEM
XGL-ES4T
GEL-D24C GEL-AV8C
GEL-DT4C1 GEL-AC8C
GEL-TR4C1 GEL-DV4C
GEL-RY2C GEL-DC4C
2) Line system
XGL-EIMT/EIMH XGL-EIMT/EIMH
LINE SYSTEM
XGL-ES4T
GEL-D24C GEL-AV8C
GEL-DT4C1 GEL-AC8C
GEL-TR4C1 GEL-DV4C
GEL-RY2C GEL-DC4C
3-39
Chapter 3 System Configuration
3-40
Chapter 4 Communication Programming
4.1 Overview
There are two kinds of Programming methods in using the Smart I/O series.
For further information, please refer to the user’s manual related to “Master module”.
The setting method for GLOFA series is to designate its own area and the area of other station to send or
receive and data size, station no. in GMWIN parameter setting (for MASTER-K, in KGLWIN parameter setting)
and then carry out communication. Data size is at least 1 word (16 points) for communication and Rnet
communication is available up to 3,840 words. The communication period is available to set max. 20ms up to
10 sec according to the communication contents.
As it is available to communicate with other station by simple parameter setting, it is easy to use this program
and the High-speed process of internal data enables to process lots of data at the same time periodically.
Smart I/O #4
Smart I/O #3
Receiving
Sending
Sending
Receiving
High-speed
Sending
Receiving Link
Receiving
Sending
Sending
Receiving
Smart I/O #1
4-1
Chapter 4 Communication Programming
The program method is written by designating Enable condition, communication module installed module
position, station no., data area of its own station and the area of other station using Function Block per type
made by GMWIN program mode for GLOFA series (by KGLWIN program mode for MASTER-K series) in
advance and Instruction.
Data size to communicate in High-speed Link is word (16 points) unit but in GLOFA Function Block, it is
available to communicate with each other station per data type such as Bit, Byte, and Word etc. and in
MASTER-K, also by Word unit.
Difference between High-speed Link operation and the operation by Function Block/Instruction
Remark
1) High-speed Link service is used only for Profibus-DP, DeviceNet, Rnet, RAPIEnet
series from Smart I/O series. Configuration tool to operate the corresponding module is
provided separately.
2) Function Block service is used for Modbus communication programming and for
further information. Refer to the user’s manual.
4-2
Chapter 4 Communication Programming
4.2.1 Overview
High-speed Link is a communication sevice which transmits data by setting parameter (TX/RX size, period of
TX/RX, area of TX/RX and storage).
4-3
Chapter 4 Communication Programming
Ex) This is an example to send/receive data from local master (0 station) to Smart I/O station. This is a map to
send/receive data from/to the corresponding remote station when output module is allocated by 1, 2, 3 station
respectively and input module is set as 4, 5, 6 station. The address, sending/receiving period, data size of Smart I/O
station is as follows.
High-speed Link parameters have 32 blocks no. for sending and 32 blocks no. for receiving to send/receive the data.
Also, Block no. can be assigned and used from 0 to 63 for sending/receiving. Generally, when sending the data, the
sender is required to determine data to read and block number to send without designating the no. of other stations.
But in case it is set by the remote (for example: Smart I/O series), the user is required to determine the station no. of
Remote station (node) and block no. to send, and data sending/receiving mode for the remote station.
The following is an example of sending/receiving parameter setting for Smart I/O series that is composed of input
modules and output modules. This sends/receives the data from master that tries to access Smart I/O module to
each remote station. The block no. data address, communication period, and data size of the corresponding module
from local GMWIN or KGLWIN shall be set in High-speed Link parameter. In this case, you should pay attention that
the block no. should be different regardless of I/O module in order to send/receive the desired data.
In 4 %IW0.0.0 1s 1 Remote
In 5 %IW0.0.0 2s 1 Remote
4-4
Chapter 4 Communication Programming
4-5
Chapter 4 Communication Programming
High-speed Link parameter selects link parameter from GMWIN project menu and sets the corresponding item.
The setting order and the function per item are shown as follows.
If selecting High-speed Link parameter from GMWIN project basic screen below, it shows the High-speed
Link parameter basic screen and the user can select the corresponding item.
(a) Setting method: select parameter-High-speed Link parameter from project screen.
(b) Setting function: GMWIN High-speed Link 1~4 items means max.installation no. of communication
module by master PLC CPU type.
4-6
Chapter 4 Communication Programming
If selecting the corresponding parameter from parameter setting basic screen, High-speed Link parameter
setting window will appear and when setting the parameter first, the initial value will be indicated as below.
Parameter setting initial screen is composed of two items such as “Link set’ and “Entry list”, and the setting
methods per each item and its function are as follows.
4-7
Chapter 4 Communication Programming
Network type: this is to set the type of communication module and select according to the installed
communication module model type.
Slot number: set one of 0 ~7 for slot number that communication module is installed to (the right side of CPU
module is “0” slot).
Self-station number: enter its own station no. that is set on the front side station no. switch of communication
module. It is available to set 0~63 by decimal number. Self station number is unique number to
distinguish communication module in the same network system, so don’t use duplicated station
number. (Station num. ‘0’ in Profibus-DP is reserved (can not be used). Refer to Chap.5)
4-8
Chapter 4 Communication Programming
• Entry List Num: a serial no. indicating the order registered. Available to set 64 no.(from 0~63). Not
related to the order of sending/receiving.
• Station type: this is the item to determine the type of other station to receive/send. Select remote type to
communicate with Smart I/O.
• Station no. : in case that other station to communicate is local type, it is required to set the self station no.
for sending and other station no. for receiving while in case of remote type, set other station no. all for
sending/receiving. Thus, it is required to set the remote station no. when sending/receiving as Smart I/O
series because it does not have parameter setting function in the remote station itself.
•Mode: this is the item to determine whether or not to send/receive data of the corresponding block. When
receiving, select ‘receive”. The number of sending/receiving block is available to set max. 32 and if
setting more than 32, the parameter error occurs and the normal communication does not work.
• Block no. : this is the parameter to send/receive lots of data of various area, from one station and
distinguish the data of various block, form each other. Generally, the station no. and block no. set by
sending station is transmitted together with sending data and if the receiving station wants to receive this
data, it is required to receive it as the corresponding block no. sent by sending station. The block no. of
sending/receiving for one station is available to set max. 32 and it is not allowed to set the same block
no. for the same station no. For remote station, it is set differently regardless of sending/receiving.
• Area: after selecting data area to send/receive, enter the address direct and set the area.
Remote sending: read any data of the self station (designate one from %MW, %IW, %QW within the area to
read) and designate which area of remote station is sent to (%QW is only available to designate in the
storage area. Remote sending data is available to send in the remote output side.)
Remote receiving: read any area of other remote station not the own station (%IW is only available to
designate in the storage area. It is available to read the remote input data) and designate position of the
own station to save from %MW, %IW, %QW. As memory map is different according to CPU models,
4-9
Chapter 4 Communication Programming
The flowing shows the setting available area according to station type.
Area to read O O O O X X
Remote
Storage area X O X O O O
Remark
- Sending/Receiving period: High-speed Link is the service to carry out the sending/receiving by the
parameter set by the user at the point that PLC program ends. Thus, when PLC program scan time is
short within several ms, communication module begins to transmit the data according to every program
scan which result in increasing the communication amount and reducing the effectiveness of overall
communication system. Thus, to prevent this, the user can set the sending/receiving period from min.
20ms to max. 10sec. If not setting, it shall be set as basic value of 200ms automatically.
Sending/Receiving period means the sending period in case that the corresponding block is set as
‘sending’ and the data receiving check period of the corresponding block in case that it is set as ‘receiving’.
If PLC program scan time is longer than the setting sending period, it shall be sent at the point that PLC
program scan ends and the sending period becomes to be equal to PLC program scan time.
4-10
Chapter 4 Communication Programming
Data Sending Delay Time (PLC program scan time > sending period)
Data Sending Delay Time (PLC program scan time < sending period)
Remark
1) When setting the receiving period, the user can check if it is set as the value greater than
the period of the corresponding block set by other station to receive normally.
4-11
Chapter 4 Communication Programming
When High-speed Link parameter setting is completed, execute ‘make’ from compile menu of GMWIN and then
write parameter with PLC CPU. After that, if starting the High-speed Link service, High-speed Link service by
parameter setting will begin. The start order of High-speed Link is as follows.
Parameter Write
After saving High-speed Link parameter written by the user in GMWIN project file and connecting to PLC through
‘online connect’ of GMWIN basic menu, select ‘write’ and the window ‘write’ appears as above. If you select ‘High-
speed Link parameter’ or ‘parameter and program’ from the above menu and download the selected parameter, the
corresponding contents shall be downloaded.
In this case, Link Enable which is High-speed Link start information shall be OFF. Therefore User has to click on
the appropriate item of High-speed Link in link Enable setting.
4-12
Chapter 4 Communication Programming
After ‘parameter write’, High-speed Link maintains all ‘stop’ but after the user sets Link Enable,
High-speed Link runs.
‘Set Link Enable’ is available only for PLC stop mode. And if ‘set High-speed Link Enable’ starts, High-speed Link
runs regardless of PLC action mode. Also, parameter and link enable information shall be preserved by having
battery backup in PLC CPU even when power is off.
4-13
Chapter 4 Communication Programming
In case of KGLWIN, its function is the same as that of GMWIN and its operating method and setting is also the
same. Select ‘Link’ from KGLWIN project menu and program it.
If selecting ‘Link’ from Project menu, High-speed Link parameter basic screen will appear.
(b) Setting function: KGLWIN link 1~4 means max. Installation No. of communication module according to
master PLC CPU types.
4-14
Chapter 4 Communication Programming
KGLWIN contains all general contents necessary for communication setting in link items, and the setting
method is the same as that of GMWIN.
Parameter setting initial screen is composed of two items such as ‘Link setting’ and ‘Entry list’. The setting
method and function per each item is as follows.
(a) Link
Link is the Enable condition to carry out High-speed Link of the setting parameter.
(c) Slot
Set the slot no. that the desired communication module to set is installed by selecting one from the range
of ‘0’~‘7’.
(d) Type
Designate master communication type to communicate with Smart I/O module.
4-15
Chapter 4 Communication Programming
This is KGLWIN link item modication menu. If the user set the sending/receiving with the device to
communicate actually, the parameter setting is completed.
(e) Size
Sets the size of sending/receiving data and the basic unit is Word.
(But, in case of DeviceNet, basic unit is Byte.)
4-16
Chapter 4 Communication Programming
High-speed Link in KGLWIN is performed automatically with the program download according to communication
setting.
4-17
Chapter 4 Communication Programming
High-speed Link is a parameter setting method to set device region and date size easily to communicate between
CPU module and Communication module (Master module and Slave module) by using XG5000.
(1) Dnet/Pnet High-speed Link Contents
Contents High-speed Link
Module Type Sellecting Dnet Sellecting Pnet
Comunication
Base No. Max: 0 ~ 7, Setting range differ according to CPU module.
module setting
Slot No. Max: 0 ~ 11, Setting rage differ according to base Type.
Communication
Select among 20ms, 50ms, 100ms, 200ms, 500ms, 1s, 5s, 10s
period setting
-default is 20ms.
(Period Type)
Latch Maintain previous output status.
CPU Error
Output data setting Clear Clear all output.
when emergency Latch Maintain previous output status.
CPU Stop
Clear Clear all output.
Comunication Sending: Deliver data from Master module to Slave module.
module Mode *1
Receiving: Deliver data from Slave module to Master module.
setting Station No. *1 Slave Station No. *1 (Range: 0 ~ 63)
Comunication type Indicate communication type between Master and Slave.
*1 (Poll, Bit-Strobe, COS, Cyclic)
Reading area Sending device’s first device
Address
(Master module Available device: P, M, K, F, T, C, U, Z, L, N, D, R, ZR
Size*1 Indicate I/O point into Byte.
Slave module) (Byte) - Consider less than 8 bit I/O module as 1 Byte
Storage area Receiving device’s first device
Address
(Slave module Available device: P, M, K, F, T, C, U, Z, L, N, D, R, ZR
Size*1 Indicate Slave module’s I/O poont inot Byte.
Master module) (Byte) - Consider less than 8 bit I/O module as 1 Byte
PLC connection CPU module’s RS-232C or USB port
Control is available regardless of location (RUN, STOP) of RUN module switch of CPU
Control condition
module.
Max. communication point Sending 28,672 point, Receiving 28,672 point each 3584 byte
Max. Block No. 63 (setting range: 0~62)
Max. point per block 255 Byte (2,040 point) (Setting range 1 ~ 255)
High-speed link setting No. Max. 12
Notice
*1: 1) The above category is not set in XG5000.
2) This data is uploaded value from XG5000 which is set in SyCon.
3) Set according to the following sequence.
First: Set parameter by SyCon download
Second: XG5000 I/O Information Reading SyCon Upload High-speed Link parameter
setting parameter download High-speed Link approval
If you follow the wrong sequence, it may cause change of setting value.
▶ When you change High-speed Link contents, you should download parameter again.
▶ It is available to set and use only one High-speed Link per one communication module.
▶ Written parameter (basic, High-speed Link, P2P) is stored in CPU module.
When changing CPU module, download backup parameter set in XG5000 and write it to new CPU
module.
4-18
Chapter 4 Communication Programming
Execute XG5000
Read information of Dnet I/F module which is
equipped in PLC system.
(a) Read I/O Information
or
or
or
4-19
Chapter 4 Communication Programming
This is the overall inform set by the user. Once ‘ON’, it maintains ‘ON’ until link enable is ‘OFF’ and if the
followin ation that shows whether or not High-speed Link is running normally by the parameterg condition is
given, it shall be ‘ON’.
4-20
Chapter 4 Communication Programming
RUN-LINK ON condition
1 Station
국 1 Station
2국 2 Station
3국 3 Station
4국 4 Station
5 국5
If the above 7 items are satisfied, RUN-LINK of station 1 shall be ON. If using RUN-LINK contact associated
with program in the system where PLC of various stations performs interlocking through High-speed Link, it
is available to carry out the mutual monitoring of sending/receiving data and the reliable communication. But,
once RUN-LINK contact is ‘ON’, it maintains ‘ON’ status until Enable Link becomes ‘OFF’. Thus when
monitoring the abnormal status such as communication error, it is required to use link trouble information
contact together as follows.
4-21
Chapter 4 Communication Programming
Remark
Among the keywords used in (1)~(6) items
: : describes High-speed Link no.(1,2,3,4) used when setting the parameter.
(if the installed communication module is one, High-speed Link 1 shall be used.)
[0…63] : describes individual parameter registration no.
(check the communication status of each parameter that is in the registration no.0~63.)
Remark
1) In case of Profibus-DP module, it has other High-speed Link flag. For further
information, please refer to ‘5.3.12 High-speed Link information in GMWIN’.
4-22
Chapter 4 Communication Programming
Comunication Flag List corresponding to High-speed Link Number High-speed Link No.1~12.
No. Keyword Type Contents Contents Explanation
It indicates normal status of all stations which operate according to
parameter set in the High-speed Link.
If the following condition is met, It would be turned On.
All stations of High-speed 1. All stations set in parameter are RUN mode and there is no Error.
L000000 _HS1_RLINK Bit
Link No.1 are normal. 2. All data blocks set in parameter operate properly.
3. When parameter of each station in parameter communicates
normally, after Run_Link is On, Run_Link maintains On contiuosly
unless quitted by disable.
When _HSmRLINK Flag is On, if station set in parameter and
communication status is same as the followings, this flag is truned On.
Indicates abnormal After 1. Station set in parameter is not RUN mode.
L000001 _HS1_LTRBL Bit _HS1RLINK ON 2. Station set in parameter has Error.
3. Comunication status of data block set in parameter is not proper.
If above condition is met, Link_Troble set On.
If condition is normal, Link_Troble set Off.
Indicates High-speed
L000020 ~ _HS1_STATE[k] Bit It indicates total status about each data block set in parameter.
Parameter No.1 Kth
L00009F (k=000~127) Array HS1STATE[k]=HS1MOD[k]&_HS1TRX[k]&(~_HSmERR[k])
Block’s total status
Run Mode of High-speed
L000100 ~ _HS1_MOD[k] Bit
Parameter No.1 Kth It indicates operation mode of station set in Kth block of parameter.
L00017F (k=000~127) Array
Block
Indicates normal
Comunication status
L000180 ~ _HS1_TRX[k] Bit It indicates whether communication status of parameter’s Kth data
whith High-speed
L00025F (k=000~127) Array block operates normally or not according to setting.
Parameter No.1 Kth
Block
Error Mode of High-
L000260 ~ _HS1_ERR[k] Bit It indicates whether communication status of parameter’s Kth data
speed Parameter No.1
L00033F (k=000~127) Array block has error or not.
Kth Block
_HS1_SETBLOC Indicates setting of
L000340 ~ Bit
K[k] High-speed Parameter It indicates whether Kth data block of parameter is set or not.
L00041F Array
No.1 Kth Block
* In case of Dnet and Pnet, Kth block indicates slave’s station number.
Notice
K indicates information about 128 Blocks from Block No.000 to 127 through 8 word (Each word consist of 16 block.). For
example, mode information (_HS1MOD) has information about block 0 ~15 in the L00010. (16~31, 3 2~47,48~63, 64~79,
80~95, 96~111, 112~127 in the L00011, L00012, L00013, L00014, L00015, L00016, L00017)
4-23
Chapter 4 Communication Programming
(1) Overview
High-speed Link data transmission speed can be determined by various factors.
Data transmission from one communication station to another communication station shall be performed
through the following path.
When PLC user program scan ends, When PLC user program scan
data is transmited through ends, data is received in the
communication module communication module
Sending when receiving Token from Data is delivered through PLC after
Token master station receiving data
As shown on the abvoe figure, there are 3 kinds of path to send data to other station through
communication module and the sum of time to take for each path determines the sending time.
The table below describes the major path of data transmission and the factor that influences the
transmission time per path.
As data delivery between PLC CPU and communication module is executed at the point when the user
program of PLC ends, program scan time shall be the major factor of data transmission. Program scan time
monitor can know the current program scan time
And as data sending/receiving is carried out after obtaining the Token from communication module which
allocates tokens so that communication module sends its own data, this time also is included in the
communication delay time.
4-24
Chapter 4 Communication Programming
The following figure shows PLC program scan time and the sending point according to communication scan
time.
As above, communication delay time shall be determined by various variables such as total no. of
communication station, program size and O/S scan time of communication module. As these variables are
difficult to calculate its value, we recommend the example of simple High-speed Link communication speed
as follows.
4-25
Chapter 4 Communication Programming
High-speed Link speed shall be calculated with maximum time to take to send one block data from PLC-
A to PLC-B by using the above figure as an example. As communication delay time is different according to
the no. of overall communication station and program size, we divide into two cases such as complicated
system that the sending data no. more than 10 communication station exceeds total 512 bytes and the
simple system less than 512 bytes. It calculates High-speed Link speed as follows.
In the system that total communication station is below 10 stations and total sending data size is less than
512 bytes, you can calculate High-speed Link speed by using the following formula.
In the system that total communication station is more than 10 station and total sending data size is more
than 512 bytes, you can calculate High-speed Link speed by using the following formula.
4-26
Chapter 4 Communication Programming
② To = Octet Time. The time to take to transmit one byte data to the serial data.
- Fnet : 8 ㎲
③ Ntx = total sending data number including Function Block/Instruction number and it is
determined according to Fnet system as follows.
- Fnet : sum of High-speed Link sending byte number + Variable F/B(Instruction) number ×256
④ Mf = margin value for the factors not described like the above formula such as O/S scan time of
communication module. Fnet is set as the following value.
- Fnet : 16 ms
4-27
Chapter 4 Communication Programming
4.3.1 Overview
Function Block is the function to write or read the specific data of the self station or the specific variable data
in the specific area or specific variable area of other station when the regular event occurs, and it can be
used diversely according to the purpose.
Program of Smart I/O series using the Function Block is limited all in Modbus Snet.
For further information, please refer to ‘Chapter 8 Modbus Communication’.
When programming by using Function Block, please refer to the following. Function Block carries out the
variable setting by input section and output section. For the setting method, please refer to the
corresponding Function Block.
Input
REQ
This is used as the start condition of mode bus Function Block and it starts at the rising edge from ‘0’
to ‘1’. Once started, Function Block is not influenced until receiving the response from other station.
After setting NDR or ERR bit, it shall be reset in next scan.
SLV_ADDR:
This sets the remote station number to communicate by performing this Function Block. .
FUNC:
This enters modbus function code. For further information, please refer to ‘Chapter 8 Modbus
Communiction’.
ADDRH:
This designates the starting address and middle/high address from the starting address to read in
remote station.
ADDRL:
This designates the low address from the starting address to read in remote station.
4-28
Chapter 4 Communication Programming
NUMH:
This designates the high address of data size to read from starting address in remote station.
NUML:
This designates the low address of data size to read from starting address in remote station.
Output
NDR:
After Function Block starting, if data receiving is OK, it shall be ‘ON’. When the corresponding scan
ends, it shall be ‘OFF’. If using this bit as other Function Block input condition, it is available for
carrying out the reliable communication.
ERR:
After Function Block starting, if on error occurs, it shall be ‘ON’ and maintains ‘ON’ until the next
Function Block starts again and then ‘OFF’. If on error occurs, it is not available to receive data.
STATUS:
It describes the detailed code value for the error when on error occurs after starting Function Block
and maintains the value until the next Function Block starts again and then ‘OFF’.
Remark
Requirements of Function Block
1) Function Block requirements (REQ) start shall be executed after the previous
execution is completed normally (after ‘NDR’ ON).
REQ
NDR
4-29
Chapter 4 Communication Programming
4-30
Chapter 5 Profibus-DP Communication
5.1 Overview
Profibus is an open type field bus that the manufacturer selects independently to apply and manufacture (Vendor-
independence). Also, It is used widely for processing automation. DP among them is the most frequently used
Communication profile and the network suitable for FA environment of Field Level and also is suitable for master-
slave communication between master automation machine and distribution slave I/O machine. It is designed to install
with low cost and is the most suitable item to replace the existing system such as 4~20mA or Hart system together
with 24V parallel signal transmission to the production automation system.
Smart I/O module communication supports Profibus-DP through GM3/4/6 master module.
(G3L-PUEA/ G3L-PUEB/G4L-PUEA/ G4L-PUEB/G6L-PUEA/ G6L-PUEB/XGL-PMEA/B/C)
For further information for Profibus-DP, please refer to ‘Profibus Association’s homepage’. (http://profibus.com)
5-1
Chapter 5 Profibus-DP Communication
Category Specification
Module Type Slave
Standard EN 50170 / DIN 19245
Interface RS-485 (Electric)
Medium access POLL
Encoding method NRZ
Cable Shielded Twisted Pair
1200m (9.6K ~187Kbps)
400m (500 Kbps)
Communication distance
200m (1.5 Mbps)
100m (3M ~ 12Mbps)
Max. node 126 stations
Max. node (per segment) 32 stations
Max. I/O data 244 Byte
2) Expansion type
Category Specification
Standard EN50170 / DIN 19245
Interface RS-485
Medium access Polling
Topology Bus
Encoding method NRZ
Sink mode, Freeze mode
Communication interface
Auto baud rate
Master/Slave slave
Cable Shielded Twisted Pair
Speed (Kbps) 9.6 19.2 93.75 187.5 500
Communication
Distance (m) 1200 1200 1200 1000 400
speed and
Speed (Kbps) 1500 3000 6000 12000 -
distance
Distance (m) 200 100 100 100 -
Max. node 100 station (setting range: 0 ~ 99 )
Max. modular type I/O equipment No. 8
Max. digital I/O point 512 point (input Max. 256 point/output max. 256 point)
32 channels (input Max. 16 channels/output Max. 16 channels)
Max. analog I/O channel No.
(analog module occupy digital 64 point)
Rated input
DC 24V/ 0.55A
voltage/current
input Power range DC19.2 ~ 28.8V
power Output
5V(±20%) / 1.5A
voltage/current
Insulation Non-insulation, communication part insulation
Basic specification Weight (g) 100
5-2
Chapter 5 Profibus-DP Communication
5.3.1 Overview
(1) If Master module is the product of LS ELECTRIC (G3/4/6L-PUEA/PUEB, XGL-PMEA), it configures Profibus
Network using SyCon.
(2) It downloads Profibus Network Configuration as master module.
(3) It sets High-speed Link parameter of master in GMWIN and downloads it.
(4) It performs High-speed Link enable set.
(5) If using other maker’s product as Master, configure Profibus Network using Configuration Tool of the
corresponding product.
Note
1) If using XGL-PMEB/C, it is required to use nConfigurator for the network configuration. The manual of
nConfigurator can be downloaded from http://www.lselectric.co.kr
5-3
Chapter 5 Profibus-DP Communication
5.3.3 SyCon
SyCon execution
If there is no project using before executing SyCon, the initial screen same as the above figure will appear and if
you are preparing the project, the latest project will be open.
Initial screen
5-4
Chapter 5 Profibus-DP Communication
Select from the left top tool bar and click the proper point of left top from the window below.
Tool bar
If Insert Master window is open as the above figure, select COM-DPM/PKV20-DPM if the using master module
is G3/4/6L-PUEA and click Add button in the middle. If using master module is G3/4/6L-PUEB, select COM-
PB/PKV20-PB and click Add button in the middle. If using master module is XGL-PMEA, select COM-C-DPM
and click Add button in the middle part. Confirm Station address and if necessary, it is available to change
Description. If pressing OK button, master module shall be inserted.
Master Insert
5-5
Chapter 5 Profibus-DP Communication
If you click the right side of mouse on the inserted master module and select “Master Settings...” from the
appeared popup window, the following window will be open. Select “Controlled release of the communication by
the application program” from “Parameter to user interface”, “Little Endian (LSB-MSB)” from “Storage format
(word module)” and select ”Buffered, host controlled” from “Handshake of the process data” in order.
5-6
Chapter 5 Profibus-DP Communication
Similar to master, select from left top tool bar and click master bottom, and Insert Slave window will appear
as below.
Slave insert
If using GPL-TR2A, select “GPL-TR2A” from the left side “Available slaves” and click “Add” button in the middle
part. If there are several masters, select one from the right side “Master” and confirm “Station address” and
“Description”, and then click “OK” button.
Remark
1) If there is no slave to use in the slave list (Available slaves) of insert slave window, copy “GSD
file” which is the original self-information supplied by the module manufacturer, from the
directory below. Then, try SyCon again and insert slave.
5-7
Chapter 5 Profibus-DP Communication
Click the inserted slave icon with the right button of mouse and select “Slave configuration” from the appeared
popup window. (or double-click the left button of mouse on the slave icon.)
Slave Configuration
List box in the List box in the middle part shows all available modules. If you select the module having the
necessary point and click “Append Module” button on the right bottom, it shall be inserted to the list box below. In
this case, it is required to insert input module first and then insert output module in the bottom. And the numbers
of available module are 2.
5-8
Chapter 5 Profibus-DP Communication
Bus parameter setting is the setting about Profibus-DP network. Select “Settings/Bus Parameter...” from the
menu. Optimize field contains “Standard” and “user definition” setting. Speed setting (Baud rate) contains
9.6kbps ~ 12Mbps setting. Basically, Baud rate is set as 1.5Mbps and Optimize is set as ‘standard’.
Bus Parameter
Remark
5-9
Chapter 5 Profibus-DP Communication
It is required to download the prepared configuration to the master module. In this case, click the left button of
mouse and select master module icon to set which device to use. Select “Setting/Device Assignment...” from
the menu.
Device Allocation
Driver Selection
Remark
5-10
Chapter 5 Profibus-DP Communication
This connects PC serial port and Configuration Port of Profibus-DP master module. Also it applies the power of
master module. Press “connect COM1” or other button according to PC serial port and confirm if the
corresponding module is selected. On the figure, “Version” and “Date” may have different value. If there is no
error, check the check box of the left side and click “OK” button.
Remark
1) When pressing “Connect COM1” button, if the module information does not appear
normally and the error occurs, check the connection of cable for configuration and
the cable condition first.
2) If Cable is OK, it means that module must be poor. In this case, contact the
customer service center.
5-11
Chapter 5 Profibus-DP Communication
If you select “Online/Download” from the menu, ‘Download’ begins to run. In this case, all LED shall be OFF and
only “READY” LED shall be blinking. After downloading, all LED show its function. If you carry out ‘Download’ in
the status that the communication between the current master and slave is open, the warning window with the
message “if the download is done during the bus operation, the communication between the master and
the slaves is stopped.” will appear. After confirming if there is a problem by communication cutoff, click
“Yes(Y)” button and ‘Download’ will run normally.
Configuration download
Warning message
5-12
Chapter 5 Profibus-DP Communication
In the previous article, we explained the method to set Configuration and the method to download this to the
master module. High-speed Link parameter setting should be done after downloading Configuration and
High-speed Link parameter selects link parameter from GMWIN project screen and sets the corresponding
items and the setting order. Its functions per item are as follows.
Open High-speed Link parameter from Project basic screen and enter into the High-speed Link parameter
setting menu.
High-speed Link item of the above figure means the maximum Installation number of communication
module according to PLC CPU type. High-speed Link button available for setting is active and in this case,
High-speed Link no. is not related to the installed slot no. and the slot no. should be set in the individual
parameter setting screen and only one High-speed Link parameter is available to set for one communication
module.
Available communication
Classification Max. installation number Remarks
module
GM3-CPUA G3L-PUEA, G3L-PUEB 4 If combined with other
GM4-CPUA/B G4L-PUEA, G4L-PUEB 2 (A type) / 4 (B type) communication module
GM6-CPUA/B/C G6L-PUEA, G6L-PUEB 2 using HS link, installation
XGK/I-CPU XGL-PMEA 12 number shall be limited.
If you select the corresponding parameter from parameter setting basic screen, the High-speed Link
parameter setting initial screen will appear as shown in the following figure.
5-13
Chapter 5 Profibus-DP Communication
Parameter setting initial screen is composed of two items such as ‘link set’ and ‘Entry list’. The setting
method per each item and its function are as follows.
5-14
Chapter 5 Profibus-DP Communication
● Network Type: It sets the installed communication module type and GLOFA Pnet should be set.
● Slot Num: It sets the position that the communication module to set is installed. (0 ~ 7 slot).
● Self-station Num: The master module shall be set in SyCon and the slave module shall be set by
rotary switch. It is not available to change here.
Registration list is the area to register the sending/receiving information of actual data after link
setting, it is required to set in the registration no.’0’ of Entry list area, and the major setting items are
shown on the top of registration list menu. Select (or double-click) the corresponding list from High-
speed Link setting screen and the user can set the corresponding item from High-speed Link item
modification window as shown on the figure below.
The following shows the screen after setting the sending/receiving parameter. Double-click the
corresponding registration no. to modify the parameter.
5-15
Chapter 5 Profibus-DP Communication
● Area: When sending, set the area to read the data to send and set the storage area of the received
data when receiving.
● Size: This means the data size to send/receive and the unit is 1 byte, and it is available to set total
sending/receiving as 1Kbyte for G3/4/6L-PUEA and 7Kbytes for G3/4/6L-PUEB.
Remark
1) The size of sending/receiving area is total I/O contact number made in SyCon.
2) The order of programming is carried out as G4L-PUEA 1 and GPL-TR2A (16 points), GPL-TR4A (32
points), GPL-D22A (16 points) and when setting the sending area as %MW0, the receiving area
as %MW100,
- Sending area : %MW0
- Receiving area : %MW100
- Size of sending area : 6 bytes (total output contact number)
- Size of receiving area : 2 bytes (total input contact number)
And,
- %MW0 data -> GPL-TR2A output
- %MW1 ~ %MW2 data -> GPL-TR4A output
- GPL-D22A input -> %MW100 saving
3) The setting order programmed in SyCon has the priority when sending/receiving the data than station
no. and cable connection.
5-16
Chapter 5 Profibus-DP Communication
1) Run-Link (_PHSxRLINK)
This is the overall information that shows whether or not High-speed Link is running normally by
the parameter set by the user. Once ‘ON’, it maintains ‘ON’ until link enabe is ‘OFF’ and if the
following condition is given, it shall be ‘ON’.
① When ‘Link Enable’ is ‘ON’.
② When parameter registration list setting is set normally all.
③ When sending/receiving all data that corresponds with parameter registration list within the
setting period.
④ When all other station status set in the parameter is ‘RUN’ and at the same time there is no
error.
High-speed Link system configuration
5-17
Chapter 5 Profibus-DP Communication
The figure shows High-speed Link system configuration to explain RUN-LINK ON condition. In case
that 5 communication modules are connected by network as shown on the above figure and carry out
High-speed Link as the content of parameter, RUN-LINK ON condition of Station 1 is as follows.
If the above 7 items are satisfied, RUN-LINK of station 1 shall be ON. If using RUN-LINK contact
associated with program in the system where PLC of various stations perform interlocking through
High-speed Link, it is available to carry out the mutual monitoring of sending/receiving data and the
reliable communication. But, once RUN-LINK contact is ‘ON’, it maintains ‘ON’ status until Link-
Enable becomes ‘OFF’. Thus when monitoring the abnormal status such as on communication error,
it is required to use ‘LINK-TROUBLE’ information contact together as follows.
This is the overall information indicating whether the High-speed Link is running normally by the
parameter set by the user. When RUN-LINK violates the condition of RUN-LINK ON in the status that
RUN-LINK is ON, LINK-TROUBLE shall be ‘ON’ and if recovered, it shall be ‘OFF’.
This is the individual information indicating the action status of the slave station and this is available
to indicate max. 127 stations High-speed Link status same as max. slave station number. That is, if
the sending/receiving status of the corresponding list is normal and the action mode is RUN and
there is no error, it shall be ‘ON and if violating the above condition, it shall be ‘OFF’.
5-18
Chapter 5 Profibus-DP Communication
High-speed Link information enables to monitor using the monitoring function after GMWIN online
connecting. There are two kinds of method to monitor : the method to select ‘variable monitor’ from
monitor menu and the method by link parameter monitor.
1) Variable monitor
The variable monitor is the function to monitor by using GMWIN flag monitor function and selecting
the necessary item. If you select ‘variable monitor’ from online monitor item, the variable registration
screen will appear as below. Select the flag and register by selecting directly the High-speed Link
information flag from variable, flag list screen one by one. In this case, as PHSxSTATE[n] is Array
type flag, the user should select the array no. directly and the array no. means the slave station no.
Also, ‘x’ means the High-speed Link no. and it has the range 1~4 for GM3 PLC CPU, the range 1~2
for GM4 PLC CPU, and the range 1 for GM6 PLC CPU. If you register the variable in the figure
below and select ‘close’, the monitor screen will appear and if you press ‘start’ from tool box shown
on the right side separately, it begins to monitor.
5-19
Chapter 5 Profibus-DP Communication
If you select ‘link parameter’ item from monitor menu of GMWIN online connection, ‘Select Link
Parameter’ screen will appear as shown on the figure below. If the user selects the desired item from
parameter number set by himself and verify it, the High-speed Link parameter monitor screen will be
open and the setting registration list will be monitored and indicated on the screen.
Link parameter monitor indicates the general information such as RUN-LINK, LINK-TROUBLE on
the right top and the individual information for mode (action mode), communication
(sending/receiving status), error with registration list no.
If selecting the High-speed Link information monitor as shown on the above figure, the High-speed
Link parameter and information set by the user will be monitored together. And it is available to
monitor the High-speed Link status with I/O data as the individual information setting value is
monitored together.
5-20
Chapter 5 Profibus-DP Communication
Profibus-DP master for MASTER-K also uses SyCon for the Configuration setting and the setting method
is the same as that of GLOFA-GM. In case of MASTER-K, it should be required to set the High-speed Link
parameter after downloading the Configuration to the master module and the High-speed Link parameter
selects the parameter from KGLWIN project screen and set the corresponding item. The setting order and
the function per item are as follows.
If selecting ‘parameter’ from the following project basic screen, the High-speed Link parameter basic screen will
appear and you can select the corresponding item.
1) Setting method
Select the corresponding parameter from the basic screen as shown on the figure below and enter into
the parameter setting.
①
② ③
② Sets the
link ① If parameter window is ③ Sets the base No.
open, press “Link 1” and the slot No.
and enter into the that the current
5-21
Chapter 5 Profibus-DP Communication
The High-speed Link item tab of the above figure means max. installation number of communication
module according to PLC CPU type. The High-speed Link button as much as the available setting
number shall be active and in this case, the High-speed Link no. is not related to the installed slot no. and
the slot no. shall be set in the individual parameter setting screen and only one High-speed Link parameter
is available to set for one communication module.
The following table shows the communication model available to install per MASTER-K CPU model and
max. installation number.
Available communication
Classification Max. installation number Remarks
module
K1000S CPU G3L-PUEA, G3L-PUEB 4
K300S CPU G4L-PUEA, G4L-PUEB 2 /4 (Above version 3.0) -
K200S CPU G6L-PUEA, G6L-PUEB 2
* If combined with other communication module using the High-speed Link, the installation number shall be
limited.
● Link: This is the item to allow the High-speed Link and the initial value is prohibited and it is required to
set ‘enable’ to execute the High-speed Link.
● Self station no. : Master module is set in SyCon and the slave module is set as rotary switch. It is not
available to change here.
● Base: It sets the base position that the communication module to set is installed.
● Slot: It sets the position that the communication module to set is installed. (0 ~ 7 slot).
● Type: It sets the type of the installed communication module and sets the Pnet.
● Area: When sending, set the area to read the data to send and set the storage area of the received data
5-22
Chapter 5 Profibus-DP Communication
when receiving.
● Size: This means the data size to send/receive and the unit is 1 byte and it is available to set total
sending/receiving as 1Kbytes for G3/4/6L-PUEA and 7Kbytes for G3/4/6L-PUEB.
Remark
1) The size of sending/receiving area is the total I/O contact number made in SyCon.
2) The order of setting is carried out as G4L-PUEA 1 and GPL-TR2A(16 points), GPL-TR4A(32
points), GPL-D22A(16 points) and when setting sending area as P000, the receiving area as
P010,
(1) Sending area : P000
(2) Receiving area : P010
(3) Size of sending area : 6 bytes(total output contact number)
(4) Size of receiving area : 2 bytes(total input contact number),
And,
(5) P000 data -> GPL-TR2A output
(6) P001~P002 data -> GPL-TR4A output
(7) GPL-D22A input -> P010 saving.
3) The setting order programmed in SyCon has the priority when sending/receiving the data than
station no. and cable connection.
5-23
Chapter 5 Profibus-DP Communication
SYCON execution
1. Setting master
1) Selecting Fieldbus
2) Master insertion (at the edit window)
(1) Master Settings
- DP Master Setting
Manual
SYCON Slave connection
Setting Auto
2-1. Slave auto-setting
1) Automatic Network Scan
2) Download
XG5000 execution
3) Write parameter
4) Enable link
5-24
Chapter 5 Profibus-DP Communication
5-25
Chapter 5 Profibus-DP Communication
Contents
Module type Parameter setting Remark
I/O type I/O range
12 0~4,000
13 -2,000~2,000
4~20㎃
14 Precise value
XBF-AH04A, 15 0~1000
XBF-AD08A 16 0~4,000
17 -2,000~2,000
0~20㎃
18 Precise value
19 0~1000
0 0~16,000 Initial value
1 -8,000~8,000
4~20㎃
2 Precise value
3 0~10,000
4 0~16,000
5 -8,000~8,000
0~20㎃
6 Precise value
7 0~10,000
8 0~16,000
9 -8,000~8,000
1~5V
10 Precise value
11 0~10,000
XBF-AD04C
12 0~16,000
13 -8,000~8,000
0~5V
14 Precise value
15 0~10,000
16 0~16,000
17 -8,000~8,000
0~10V
18 Precise value
19 0~10,000
20 0~16,000
21 -8,000~8,000
-10~10V
22 Precise value
23 0~10,000
0 0~16,000 Initial value
1 -8,000~8,000
1~5V
2 Precise value
3 0~10,000
4 0~16,000
5 -8,000~8,000
0~5V
6 Precise value
7 0~10,000
XBF-DV04C
8 0~16,000
9 -8,000~8,000
0~10V
10 Precise value
11 0~10,000
12 0~16,000
13 -8,000~8,000
-10~10V
14 Precise value
15 0~10,000
5-26
Chapter 5 Profibus-DP Communication
Parameter Contents
Module type Remark
setting I/O type I/O range
0 0~16,000 Initial value
1 -8,000~8,000
4~20㎃
2 Precise value
3 0~10,000
XBF-DC04C
4 0~16,000
5 -8,000~8,000
0~20㎃
6 Precise value
7 0~10,000
5-27
Chapter 5 Profibus-DP Communication
c) Set a parameter per each slot at parameter data. For parameter input, double click the slot. At this time,
parameter input value is decimal number
5-28
Chapter 5 Profibus-DP Communication
5-29
Chapter 5 Profibus-DP Communication
Note
- Caution in setting an analog parameter
(1) Each parameter setting is necessary for each analog module.
(2) If you don’t set any parameter, module operates with initial parameter value.
(3) The parameter is sent from master to slave.
▶ Slave keeps previous value while cable is connected, regardless of power on/off.
▶ If you restart the power while cable is not connected, module operated with initial value.
5-30
Chapter 5 Profibus-DP Communication
- System configuration
5-31
Chapter 5 Profibus-DP Communication
Make a new
1-1
file
New file writing
Select
1-2
PROFIBUS
PROFIBUS selection
Recall master setting window
[Insert]-[Master] or
Master
1-4
insertion
Station no
1-5
setting
Master setting
1-6
completion
5-32
Chapter 5 Profibus-DP Communication
5-33
Chapter 5 Profibus-DP Communication
Station
2-3 address
setting
Completion
2-4 of slave
setting
5-34
Chapter 5 Profibus-DP Communication
[SYCON 3rd step] Serial port selection: It is same with RS-232C’s wiring used in CPU module. Please use that
cable.
Menu selection: [Settings] – [Device Assignment]
Step Category Screen configuration and setting contents
Serial port
Setting window
3-1
for serial port
[Connect COM] In activated port among COM 1~4, error value is indicated as
[0]
Note
1) Set the size of read and save area in GMWIN same as in SYCON. When select the Smart I/O module in
SYCON, size of each module’s read and save area are set automatically. (You can check it in the Slave
setting window)
5-35
Chapter 5 Profibus-DP Communication
1-1 Programming
Double click the [LINK parameter] in parameter tab and select [High speed link 1]
Click [Edit] in [High speed link 1] window and set network type and slot no.
5-36
Chapter 5 Profibus-DP Communication
Transmit/Receiv
3-1 earea setting
(1)
Transmit/Receiv
3-2 earea setting
(2)
5-37
Chapter 5 Profibus-DP Communication
- System configuration
5-38
Chapter 5 Profibus-DP Communication
1-1 Programming
Select [Link1] tab and set Link(Enable), Self Station No(0), Base and slot, Type(Pnet)
5-39
Chapter 5 Profibus-DP Communication
5-40
Chapter 5 Profibus-DP Communication
• System configuration
Station No. :0
Drop line
Station No.: 2 Station No.: 3
GPL-TR4A GPL-DT4A
5-41
Chapter 5 Profibus-DP Communication
Make a new
1-1
file
New file writing
Select
1-2
PROFIBUS
PROFIBUS selection
Recall master setting window
[Insert]-[Master] or
Master
1-4
insertion
Station no
1-5
setting
Master setting
1-6
completion
5-42
Chapter 5 Profibus-DP Communication
5-43
Chapter 5 Profibus-DP Communication
Station
2-3
address setting
Completion of
2-4
slave setting
5-44
Chapter 5 Profibus-DP Communication
[SYCON 3rd step] Serial port selection: It is same with RS-232C’s wiring used in CPU module. Please use that
cable.
Menu selection: [Settings] – [Device Assignment]
Step Category Screen configuration and setting contents
Serial port
Setting window
3-1
for serial port
[Connect COM] In activated port among COM 1~4, error value is indicated as
[0]
5-45
Chapter 5 Profibus-DP Communication
CPU module
1-1
selection
Connection
2-1
Settings
5-46
Chapter 5 Profibus-DP Communication
Communication
5-1
module setting
5-47
Chapter 5 Profibus-DP Communication
Communication
6-1
module setting SYCON upload
Communication
6-1
module setting High speed link block after set read/write area
5-48
Chapter 5 Profibus-DP Communication
Write
7-1
parameter
5-49
Chapter 5 Profibus-DP Communication
2) Program example – communication between XGL-PMEA and extantion type Smart I/O Pnet module
The basic configuration and setting value is as follows
Setting
Setting category Contents
Program
Master setting XGL-PMEA SYCON
Base no. 0 XG5000
Slot no. 0 XG5000
Master Station no. 0 SYCON
Communication speed 1.5Mbps SYCON
HSL setting Use HSL 1 XG5000
Communication period setting 200ms XG5000
System Slave selection XPL-BSSA SYCON
configuration XPL-BSSA Station no. 3 SYCON
XBE-TN32A: Tr out Device P1000
XBE-RY16A: Relay out Save area XG5000
Slave XBE-DC32A: DC input Size 14
XBF-AD04A: A/D
Conversion module
Device M200
XBE-DV04A: D/A Read area XG5000
Conversion module Size 12
Master setting Modification of default value SYCON
Etc. Setting communication port of
Device Assignment SYCON
PC
- System configuration
Station no. :0
Station No.: 3
XPL-BSSA
Slot location 1 2 3 4 5
D/A
A/D
conversion
Content Tr out Relay out DC input conversion
output
input module
module
5-50
Chapter 5 Profibus-DP Communication
Make a new
1-1
file
New file writing
Select
1-2
PROFIBUS
PROFIBUS selection
Recall master setting window
[Insert]-[Master] or
Master
1-4
insertion
Station no
1-5
setting
Master setting
1-6
completion
5-51
Chapter 5 Profibus-DP Communication
5-52
Chapter 5 Profibus-DP Communication
Station
2-3
address setting
Completion of
2-4
slave setting
5-53
Chapter 5 Profibus-DP Communication
[SYCON 3rd step] Set the method for slave communication – slave: XPL-BSSA
Menu selection: Double click the slave
Step Category Screen configuration and setting content
Set slave
Setting window
for slave
3-1
communication
method
Slave configuration setting: Add the module equipped at the XPL-BSSA in “Slot”
consequently.
Slave data
3-2
structure
5-54
Chapter 5 Profibus-DP Communication
[SYCON 4th step] Serial port selection: It is same as RS-232C’s wiring used in CPU module. So use that cable.
Menu selection: [Settings] – [Device Assignment]
Step Category Screen configuration and setting contents
Serial port
Setting window
4-1
for serial port
[Connect COM] In activated port among COM 1~4, error value is indicated as
[0]
5-55
Chapter 5 Profibus-DP Communication
CPU module
1-1
selection
Connection
2-1
Settings
5-56
Chapter 5 Profibus-DP Communication
Communication
5-1
module setting
5-57
Chapter 5 Profibus-DP Communication
Communication
6-1
module setting
SYCON upload
Communication
6-2
module setting High speed link block after set read/write area
Note
- Read area / Save area of slave extension module
Read area (Master → Slave) Save area (Slave → Master)
Device Send data Output module Device Receive data Input
odule
%MW1000 4 bytes TR out 32points %MW200 4 bytes DC in 32points
%MW1002 2 bytes Relay out 16points %MW202 2 bytes Ch 0
%MW1003 2 bytes Ch 0 %MW203 12bytes 2 bytes A/Dconversion Ch 1
14bytes D/A
%MW1004 2 bytes Ch 1 %MW204 2 bytes 4Channel Ch 2
conversion
%MW1005 2 bytes Ch 2 %MW205 2 bytes Ch 3
4Channel
%MW1006 2 bytes Ch 3
5-58
Chapter 5 Profibus-DP Communication
Write
7-1
parameter
5-59
Chapter 5 Profibus-DP Communication
Input
1㏁ 250Ω
Impedance
Max.
Tolerance ±15 V ±30mA
Input
Resolution 1.25mV 2.5 ㎂
Remark
5-60
Chapter 5 Profibus-DP Communication
Remark
1) You can’t modify Offset/ gain value which is regulated at the factory
5-61
Chapter 5 Profibus-DP Communication
⑤
④
③
⑥
ON
OFF
5-62
Chapter 5 Profibus-DP Communication
Switch for setting own station No. Available to set to 126 stations.
⑤ Self station setting switch
( 0 station reservation)
5-63
Chapter 5 Profibus-DP Communication
⑤
④
③
⑥
ON
OFF
5-64
Chapter 5 Profibus-DP Communication
5-65
Chapter 5 Profibus-DP Communication
4047
4000
Gain value
3000
Digital 2000
Output
1000
0
-48 Offset
8095
8000
Gain
6000
4000
Digital
Output
Value 2000
0
-96
Offset Value
DC0 ~ 10V 10V10.11875V
Analogue -0.12V 0V 5V
Input
5-66
Chapter 5 Profibus-DP Communication
8095
8000
Gain value
4000
Digital
Output 0
Value
-
-8096 Offset
(2) GPL-AC8C
Analog input range
8095
8000
Gain value
6000
Digital
Output 4000
Value
2000
0
-96 Offset
5-67
Chapter 5 Profibus-DP Communication
8095
8000
Gain
4000
Digital
Output
0
Value
-
-96 Offset
5-68
Chapter 5 Profibus-DP Communication
3) GPL-DV4C
5.05875V 5.05875V
5V 5V
Gain value
Analog
output 4V 3.75V
value Analog
output
3V 2.5V
range
2V 1.25
Offset value
1V 0V
0.94V -0.06V
10.11875V
10V
Gain value
Analog 7.5V
output Analog
value output
5V
range
2.5V
Offset value
0V
-0.12V
5-69
Chapter 5 Profibus-DP Communication
10 11875V
10V
0V Analog
output
range
-5V
Offset value
-10V
-
4) GPL-DC4C
20.2375 20.2375
20 20
Gain value
Analog
output 16 15 ㎃
Analog
value Analo
output
12 ㎃ 10 g
range
outpu
8㎃ 5㎃ t
range
Offset value
4㎃ 0㎃
3.76 ㎃ -
[Figure 5.9] I/O transformation characteristic (Output range: 0~20 mA, 4~20mA)
5-70
Chapter 5 Profibus-DP Communication
Mode switch
output status -10~10V 0~10V 0~5V 1~5V
(HOLD)
Off Off 0 0V 0V 0V 0V
Off On Max. value 10V 10V 5V 5V
On Off Min. value -10V 0V 0V 1V
On On Previous value Previous value
Remark
1) You should turn off the power when changing mode switch.
2) You can’t designate output status when error occurs and set status is applied to all
channels commonly.
3) Designation switch is located in the upper body of module when error occurs as follows.
5-71
Chapter 5 Profibus-DP Communication
800
799
Remark
1) Before changing mode switch, you should turn off the power.
2) Filter setting switch is located in the upper body of module as the following figure
Filter setting
5-72
Chapter 5 Profibus-DP Communication
- Press [Edit] and designate slot location where Pnet master is equipped after choosing GLOFA Pnet.
5-73
Chapter 5 Profibus-DP Communication
- Assign memory area to store analog input transformation value by double-clicking the registration list as
follows.
- Analog input module use 2 byte per channel and one analog input module consist of 8 channel and 16 byte.
5-74
Chapter 5 Profibus-DP Communication
- As the above, read analog input transformation value and set memory region.
- Analog input module use 2 byte per channel and analog input transformation value is 8 channels per
module and 16 byte.
5-75
Chapter 5 Profibus-DP Communication
- Press [Edit] and designate slot location where Pnet master is equipped after choosing GLOFA Pnet.
5-76
Chapter 5 Profibus-DP Communication
- Assign memory area to store analog input transformation value by double-clicking the registration list as
follows.
- Analog input module use 2 byte per channel and one analog input module consist of 8 channel and 16 byte.
5-77
Chapter 5 Profibus-DP Communication
- As the above, read analog input transformation value and set memory region.
- Analog input module use 2 byte per channel and analog input transformation value is 8 channels per
module and 16 byte.
5-78
Chapter 6 DeviceNet Communication
6.1 Overview
DeviceNet was born to meet the demand to replace the high-cost analog 4~20mA standard with simple digital standard
and is the communication link to connect various kinds of industrial devices such as limit switch, photo electronic sensor,
motor controller, inverter, barcode reader, panel display etc. to the network. The characteristics are low cost, simple
installation, excellent compatibility with other maker’s device as well as outstanding application in the network application
such as Master/Slave, Multiple Master, and Peer-to-Peer etc. As DeviceNet uses CAN (Controller Area Network) protocol
as it is and system response time is short, and the reliability is high, the production cost shall be low as we can use CAN
chip with low cost.
The real time control is available to communicate various I/O machines that are the lowest in the network
system.
One master module can control 63 slave module and max. 2,084 points I/O control is available.
Network installation is flexible as multi drop and T branch connection is available.
Available to connect the master module of LS ELECTIRC and various slave module of other maker.
Available to configure the system with the slave module of LSIS and other maker’s master module.
Available to set station number (MAC Address) with hardware. (0 ~ 63 stations).
The communication speed is set automatically according to the master setting.
Available to install 2 master modules in GLOFA-GM4 and GM6.
Available to equip 12 master modules in XGK/XGI.
GLOFA_GM /MASTER-K series communication is possible by simple setting high-speed link parameter,
XGK/XGI series communication is possible by simple setting high-speed link parameter and SyCon(XGL-DMEA) or
nConfigurator(XGL-DMEB) .
Available to communicate by High-speed Link parameter setting.
Available to connect with various slaves I/O.
Supports Poll, Cos, Cyclic, Strobe method as communication method.
It is connection based communication, by using Explicit Messages, sends/receives real data through I/O
message while connected with master.
It is used widely for general I/O, actuator, near-by switch, light switch, valve, inverter, A/D module, D/A module,
position control, HSC, RTD etc.
6-1
Chapter 6 DeviceNet Communication
6-2
Chapter 6 DeviceNet Communication
Remark
1) The transmission distance of Smart I/O module is in inverse proportion to data
transmission ratio and when using Thin cable, the transmission distance is limited to
100m regardless of data transmission ratio.
2) For cable manufacturing and installation, please contact and discuss with the experts.
6-3
Chapter 6 DeviceNet Communication
DeviceNet should generally set the slave station that the master module will communicate with and set the station
number, communication method, data size to communication, communication period necessary for the communication
with the slave in order to enable to communicate. The files set as above are called “Scanlist file” with which the master
module communicates with the slave module. Thus, after setting the Scanlist file such a service type, communication
speed, station number etc. from High-speed Link parameter edit menu, Dnet I/F module begins to communicate by
receiving all the setting Scanlist file from CPU.
In order to communicate with SMART I/O DeviceNet module, High-speed Link communication service is used. This
function is used when changing the data and information of other station periodically at every specified time. By referring
the changing data of the self-station or other station each other periodically, it enables to utilize the data to the system
effectively and simply carry out the communication by setting the parameter.
The parameter setting method is to designate its self area and the area of other station to send or receive and data
size, message type, station no. in GMWIN High-speed Link parameter and then carry out the communication. In XG-
5000, it communicates by designating its self area and the area of other station by using XG5000.
Data size is available to communicate at least 1byte up to 256bytes (2,048 points) and the communication period is
available to set min. 5ms up to 10sec. according to the communication contents. As it is available to communicate with
other station by simple parameter setting, it is easy to use this program and the High-speed process of internal data
enables to process lots of data at the same time periodically.
The following table shows High-speed Link point per communication model.
Remark
1) It is divided into A/B/C/C1 according to I/O characteristic, but communication point
is same
2) For further information for master setting, please refer to the user’s manual for
DeviceNet.
6-4
Chapter 6 DeviceNet Communication
High-speed link is High-speed communication service which receives and transmits data by setting the High-speed
link parameter. The user can set the data size, transmitting/receiving area and storage area by using High-speed Link
parameter.
6-5
Chapter 6 DeviceNet Communication
It indicates the mode information of parameter operation set in each parameter registration number (0~63).
If the station set in registration is RUN mode, each bit is On. If STOP/PAUSE/DEBUG mode, then Off
It indicates the parameter error information set in each parameter registration number (0~63). The error
signal means that the PLC can’t execute the user program properly.
When Off, other station is not under normal operation.
When On, other station is under normal operation.
Remark
Keyword contents used in category (a) ~ (c)
: Indicates the High-speed Link number (1, 2, 3, and 4) used in setting parameter.
(Generally, if the number of communication module equipped is 1, we use the High-speed Link
1)
[0..63]: indicates the registration number of each parameter in the left figure of [Figure 6.2.2(E)]
(Checks the communication status according to each parameter in 0~63’s each registration
number
6-6
Chapter 6 DeviceNet Communication
After connecting the GMWIN online, we can monitor by using the monitor function. We have two methods for monitoring.
(Variable Monitor and Parameter Monitor)
※ ‘x’ indicates High-speed Link No., [n] indicates the each parameter No.(0~63)
You can monitor the communication status in the parameter category directly by using this function. If you select
the parameter window category in the [View] menu of the GMWIN online connection, the parameter monitor screen
opens and registration list set in the above shows.
In the link parameter monitor, each information about mode (run mode), communication (transmitting/receiving
status) and error is indicated according to the parameter category.
6-7
Chapter 6 DeviceNet Communication
Mode 1: It indicates that station address (6 stations) set at each parameter is RUN mode
It is ‘0’ when mode is STOP/PAUSE/DEBUG
Communication 1: As contents set in parameter registration address, it executes proper communication and
express minus.
Error 0: As contents set in parameter registration address, it indicates that error does not occur during
communication.
6-8
Chapter 6 DeviceNet Communication
SMART I/O Dnet module sets its self station no. to communicate with the master module by using the rotary
switch and the communication speed is set automatically according to the master module setting. To control the
single type remote module, it is available to communicate only by High-speed Link parameter setting in GMWIN
and easy to interface with the module of LSIS and other maker’s.
The following table shows the basic configuration of the single type remote module.
ScanList is the communication information data that the user must set so that the master module carries out the
predefined communication with the slave module when the power ON. Thus, the user is required to set the
information for the slave module to communicate with Dnet I/F module by using High-speed Link parameter.
6-9
Chapter 6 DeviceNet Communication
High-speed Link setting Set self station address (Input self station address
(link setting) as a digit number), run mode (master, slave) and
scan time, poll rate (poll rate is the number of
Network type
3 transmission and if you set poll rate as 2, one data
GLOFA Dnet
transmission per 2 program scan is executed.)
4 slot, station No.
6-10
Chapter 6 DeviceNet Communication
Online(After local
connection)
Write
High-speed parameter or parameter and program
High-speed Link
in GMWIN
12 parameter
parameter and
program
6-11
Chapter 6 DeviceNet Communication
The following describes the method to set the Scan list by using High-speed Link parameter for Dnet
communication.
First, select the project file which is suitable for CPU type by using GMWIN and then select High-speed Link
parameter from the project file and finally select ‘High-speed link 1’.
After selecting ‘High-speed link 1’ , select ‘<-‘ mark from the below figure to set the slot position that Dnet I/F
module is installed, station no, action mode and scan time and poll rate.
You can see the following screen by click ‘High Speed Link 1’
Click
6-12
Chapter 6 DeviceNet Communication
The following figure shows when you press ‘Edit’ button. Network type, Slot Num, Scan Time, Sele-station
number and Pollate can be set
High-speed Link 1 set screen
When setting the network type, slot no., self-station number, delay scan time, poll rate etc, the registration list
no.’0’ shall be set automatically in the self-station and for the registration list no.1~63, the module that the user
wants to communicate shall be set.
The following screen shows when you click ‘entry list 1’. Output slave module’s information is registered.
Mode and Communication area setting screen (GDL-TR2A/B/C1/C)
6-13
Chapter 6 DeviceNet Communication
The following describes the sending data setting method of smart I/O output module. From the parameter
menu, you set module’s type (Input or output) in the ‘mode’, slave module’s station address in the ‘station
addresses, and set as Poll which is communication method of slave module in the ‘communication mode’, set
self data area to send in the ‘area’, set output module’s data size as 2 byte in the ‘size’. Slave module don’t have
parameter to set, according to communication speed, it is controlled by master module.
Classification Description
Network type This is to set the communication module type by ‘GLOFA Dnet’
For the slot no. that the desired communication module to set
Slot no. is installed, select one from the range 0~7. (The right side of
CPU module is ‘0’ slot.)
Enter the self-station no. that is set in the station number
switch of communication module front side. It is available to set
0~63 by decimal number but it is not allowed to use duplicate
Self station no.
station no. as the self station no. is the unique number to
distinguish communication module in the same network
system.
This is the scan delay time (msec) to delay to next scan after
Scan time
Dnet I/F module scanned the slave module all.
This is the rate that Dnet I/F module scans the slave module.
That is, if the value is ‘2’, this means that after scanning Dnet
Poll rate
I/F module twice, one time ‘poll’ shall be executed for the
module of station number set in the parameter.
6-14
Chapter 6 DeviceNet Communication
In order to communicate with input module among SMART I/O DeviceNet module, it is required to set the
parameter related with receiving only (one of the entry list) as shown on the figure. The sending setting is not
required.
6-15
Chapter 6 DeviceNet Communication
The following shows the setting to communicate with station 1,2 using Poll service.
6-16
Chapter 6 DeviceNet Communication
Remark
1) When communicating with the single type I/F module of other maker, the setting
method is the same as GLOFA-GM series and only data size shall be set as follows.
- DRT1-OD08 : 1 byte
- 1794-OB16/IB16 : 4 bytes
2) When setting High-speed Link in the master (G4/6L-DUEA), in case of the combined
module (GDL-DT4A/B/C/C1), it is not available to connect if setting only with input.
If setting only with output or the combined, the connection shall be done normally.
Program Write
6-17
Chapter 6 DeviceNet Communication
As shown above, in order to communicate with Dnet master module and Smart I/O module, the user should
check the slave information correctly and then set High-speed Link parameter. Thus, after setting High-speed
Link parameter correctly, the user can download it through the online connection of GMWIN.
If program download is completed, Enable the ‘link enable’ setting in the online menu. If Enable is confirmed,
change the CPU program mode with RUN. If the mode is changed with RUN, the data sharing begins
immediately and the communication starts.
6-18
Chapter 6 DeviceNet Communication
We can monitor High-speed Link information by using monitoring window and [Read Info.] menu after connecting
the KGLWIN online. We have the following two methods for monitoring
We can monitor necessary monitor which we want to check by using flag monitor menu of KGLWIN. First, if
select flag monitor button in the monitoring window, the lower flag monitor screen shows. And pressing ()
button, the flag registration screen shows. Select High-speed Link information flag and register it in flag
registration screen. For flag information, refer to the Appendix’s flag list. If monitor does not operate, check
whether monitor mode is START MODE or not.
6-19
Chapter 6 DeviceNet Communication
If you select High-speed Link parameter in Menu Online-Info., we can see specific information about High-
speed Link parameter as follows
High-speed Link parameter monitor
6-20
Chapter 6 DeviceNet Communication
6-21
Chapter 6 DeviceNet Communication
Online(After local
connection)
Write
High-speed parameter or parameter and program
High-speed Link
in KGLWIN
12 parameter
parameter and
program
Set 1~14’s contents in When using our Dnet, execute 1~14’s contents
other station at corresponding station. When using other
company’s Dnet, set according to each product
specification.
Set data size in High-speed Link. In case of
Smart I/O, set station address by rotary switch.
Communication speed is set automatically
according to master setting and set data size by
using High-speed Link
6-22
Chapter 6 DeviceNet Communication
After finishing parameter setting pressing [OK] button, if you execute parameter download, High-speed Link service
starts. When doing this, each link should be allowance status. Next figure is screen downloading the parameter, if you
select menu-online-download, the following figure shows
High-speed Link downloading is available when PLC mode is PLC STOP mode. And if you start by High-speed
Link allowance, it executes High-speed Link regardless of the PLC mode. Parameter and Link allowance
information is reserved when POWER is off by battery back up. The following table explains PLC mode’s relation
with High-speed Link operation
6-23
Chapter 6 DeviceNet Communication
SyCon Execution
Passive
Slave connection
Auto
SyCon (2) Automatic slave setting
setting (a)Automatic Network Scan
(b)Device Configuration (Parameter
Data setting)
(c)Download
XG5000 execution
6-24
Chapter 6 DeviceNet Communication
(1)SyCon execution
Sets basic parameter about Dnet communication between master and slave.
In order to configure master and slave, it has two method as follows.
(a) configuration by EDS file
Merit: setting early about actually unconnected slave
Demerit: if it is not set correctly, communication is not conducted.
(b)Auto Scan method
Merit: speed is fast and able to set parameter fast.
Demerit: it is limited to slave actually connected to network
Therefore, you should choose proper method according to user needs
Menu bar
Icon bar
Status bar
[Network screen]
Menu bar
Icon bar
Status bar
[Edit screen]
6-25
Chapter 6 DeviceNet Communication
2) Configuration menu
Main
Sun menu Description reference
menu
New Make new files M/S
Open When opening the previous files M/S
Close When closing the activated files M/S
Save When saving the activated files M/S
Save As When saving the activated files as another name M/S
Export When sending the project files M/S
File DBM When opening the file of DBM extension M/S
Copy
CSV When opening the file of CSV extension M/S
Print… Print M/S
Print Preview Preview print M/S
Print Setup… Setting the print M/S
Recent File Indicates the recent files. M/S
Exit When exiting the SyCon M/S
Cut Cut S
Copy Copy S
Editer Paste Paste S
Delete Delete S
Replace Replace M/S
Indicates Network setting status(MAC ID,Master/Slave)
Device Table M/S
as Table form
Address Table Shows address of slave module and I/O size. M/S
Logical Convert as initial screen’s Logical View in the edit
M/S
Network View screen.
View Stan
When activating the basic menu bar. M/S
dard
Toolbars Fiel
dbu When activating the Insert Icon menu bar M/S
s
Status Bar When indicates Status Bar in the SyCon basic window. M/S
Master When inserting the master module M/S
Insert
Device When inserting the slave module M/S
* M in the reference category: It means master and it is sub-menu activated when selecting the master in the edit window.
S: It means slave and it is sub-menu activated when selecting the slave in the edit window.
6-26
Chapter 6 DeviceNet Communication
Main
Sub-menu Description Reference
menu
Download When downloading the SyCon setting file M
Start Debug Mode When seeing the present connection status M
When seeing the saved diagnosis
Device Diagnostic M
information
Firmware Download When downloading as Firmware M
Firmware/Reset When resetting Firmware M
Extended Device
Device’s extended diagnosis M
Diagnostic
When seeing the present status of
Global State Field M
communication and module
When seeing information and status
Live List M
according to station address
Online I/O Monitor Shows I/O data M
Message Monitor Analysis data between master and slave M
Automatic Network Scan When setting the network automatically M
Get Device Attribute/ When changing the slave characteristic
S
Set Device Attribute value
Start Communication When operating the communication M
Stop Communication When stopping the communication M
Indicates Device’s manufactured data, serial
Device Info M
number
When selecting the connection driver with
Activate Driver M
PC
Read project Information Indicates project information M
Device Assignment Sets method to communicate with Host M
When setting communication speed and
Bus Parameters M
parameter
Master Settings Master module’s setting M
Device Settings - -
Settings Device Configuration When setting slave parameter S
Auto Addressing When allocating the address automatically M/S
Project Information Sows project’s information M/S
Path Route of EDS setting file and project file M/S
Language Language selection M/S
Cascade When setting window array as cascade M/S
Window
Tile When setting window array as tile M/S
Help Topics Seeing HELP M/S
Help
About SyCon program information M/S
* M in the reference category: It means master and it is sub-menu activated when selecting the master in the edit window.
S: It means slave and it is sub-menu activated when selecting the slave in the edit window.
6-27
Chapter 6 DeviceNet Communication
Fieldbus
selection
Screen
configuration
Master
selection
EDS
Master type Master name
File name
XGT XGL-DMEA COMCDNM COM-C-DNM
6-28
Chapter 6 DeviceNet Communication
4) Master/slave selection
a) Master
(1) Selection
Method Selection sequence
Method by menu bar Insert → Master
Method by icon
(2) Insert
Classification Dnet
Master insert
EDS
Master Master type Master name
File name
selection
XGT XGL-DMEA COMCDNM COM-C-DNM
(3) Edit
Before edit After edit
Master
edit
6-29
Chapter 6 DeviceNet Communication
b) Slave
You can execute it after inserting master.
(1) Selection
Method Selection sequence Execution icon
Method by menu bar Insert → Slave
Method by icon
(2) Insert
Dnet
Slave
insert
EDS File
Slave type Slave name
Name
DC input 16 point GDL-D22A GDL-D22A/D22C
DC input 32 point GDL-D24A GDL-D24A/D24C
GDL-
DC input 16 point, Tr output 16 point GDL-DT4A
DT4A/DT4A1/DT4B/DT4C/D54C1
Slave Relay output 16 point GDL-RY2A GDL-RY2A/RY2C
selection PLC GDL-
Tr output 16 point GDL-TR2A
TR2A/TR2A1/TR2B/TR2C/TR2C1
GDL-
Tr output 32 point GDL-TR4A
TR4A/TR4A1/TR4B/TR4C/TR4C1
Extension type Smart I/O Dnet I/F
XDL-BSSA XDL-BSSA
module
Inverter IS5V2_1 IS5
(3) Edit
Before edit After edit
Slave
edit
6-30
Chapter 6 DeviceNet Communication
5) Master setting
In order to set master, first you should select master which is set in the edit window.
a) Setting sequence
Step Selection
Master selection in the edit window
1
Master
selection
Selection
6-31
Chapter 6 DeviceNet Communication
Step selection
1) When setting or modifying the MAC ID and master name.
After selecting,
modify setting And Selection
2) Settings selection value
DeviceNet Master Setting
[Initial setting]
[Setting modification]
6-32
Chapter 6 DeviceNet Communication
Step selection
Bus parameter setting: select Settings Bus Parameters
selection
Selection
4 after setting
6-33
Chapter 6 DeviceNet Communication
Step selection
Error: -20
When there is no COM Port in the
PC
Error: -51
When there is COM Port
which is not connected.
Error: 0
When there is COM Port
which is connected.
3) Select the connected port
6-34
Chapter 6 DeviceNet Communication
Step Selection
select
6-35
Chapter 6 DeviceNet Communication
Step Selection
Indicates information of slave which is configured at the network.
①
③
②
④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩
select
6-36
Chapter 6 DeviceNet Communication
Step Selection
selection
click
7
If you complete the above 8 steps, you can communicate by High Speed Link and SyCon upload( Online
SyCon upload ).
6-37
Chapter 6 DeviceNet Communication
a) Setting sequence
Step selection
Select slave in the edit window
1
Select slave
2
Selection
6-38
Chapter 6 DeviceNet Communication
Step selection
Slave setting parameter edit
⑧
①
③
②
④ ⑤
6-39
Chapter 6 DeviceNet Communication
Step selection
Selection
selection
5 Saves the edited system configuration file: select File Save or Save As
6-40
Chapter 6 DeviceNet Communication
7) diagnosis
▶ In order to diagnose
- The file which is same with downloaded file should be in the edit window.
- You should select master in the edit window.
- In order to diagnose, meet the above 2 conditions.
▶ You can check station address, module name, communication speed, communication method and wiring
through diagnosis.
a) Setting sequence
Step selection
Recall the file which is downloaded to Dnet I/F module in the edit window.
1
The file which is same with downloaded file should be in the edit window.
Select master in the edit window
Select
master
2
3 selection
6-41
Chapter 6 DeviceNet Communication
Step Selection
selection
4 When starting debug mode, wiring diagram shows in the edit window
1) If it is normal, wiring diagram is indicated as green color.
2) If it is abnormal, wiring diagram is indicated as red color.
6-42
Chapter 6 DeviceNet Communication
Step selection
In case of checking the slave’s status, if you select the slave and click, the following
screen shows.
①
②
③
④
⑤
⑥
6-43
Chapter 6 DeviceNet Communication
Selection
6-44
Chapter 6 DeviceNet Communication
Activated Non-activated
6-45
Chapter 6 DeviceNet Communication
(3)XG5000 setting
If you execute XG5000, the following screen shows
[Basic screen]
[Parameter window]
HsLink window is used in the Dnet I/F module.
You can set High-speed Link up to 12.
You can use one High-speed Link per one Dnet I/F module.
6-46
Chapter 6 DeviceNet Communication
Click
Click
Remark
6-47
Chapter 6 DeviceNet Communication
Remark
6-48
Chapter 6 DeviceNet Communication
1) SyCon upload
Before setting high-speed link block, you should upload SyCon.
Upload method: online SyCon upload (Dnet, Pnet)
Before
upload
You can see the following information you ca read after upload.
Category contents
Index Read information from block who has low station address and display it from 0
Station indicates station address of slave module in the network
Communication Indicates contents designated at the SyCon among 4 communication methods
method (Poll, Bit-Strobe, Cyclic, COS)
Reading area First address of device you want to send from master module to slave module
Sending data Indicates slave module’s size by byte.
Storage area First address of device you want to receive in slave module
Receiving area Indicates slave module’s size by byte.
You can’t use the uploaded SyCon information by saving file edited at the XG5000. So when you monitor by XG5000
file, upload it to SyCon again.
6-49
Chapter 6 DeviceNet Communication
classificat contents
ion
Uploaded
window
Category contents
sending: convey data from master module to slave module
mode
receiving: convey data from slave module to master module
Station address Slave station address (range: 0 ~ 63)
HSL Communication
Communication method designated in the slave by SyCon
Block edit method
window Reading area Address First address of device you want to send
(master module Available device: P, M, K, F, T, C, U, Z, L, N, D, R, ZR
Size Indicates IO contact no. of slave module by byte
Slave module) (Byte) -deals with IO module less than 8 bit as 1 byte
Storage area First address of device you want to receive
Address
(slave module Available device: P, M, K, F, T, C, U, Z, L, N, D, R, ZR
Size Indicates IO contact no. of slave module by byte
Master module) (Byte) -deals with IO module less than 8 bit as 1 byte
The slave module that has low station address has priority in processing.
Remark
6-50
Chapter 6 DeviceNet Communication
Screen1: locate the mouse over the HSL block window and click right mouse button.
6-51
Chapter 6 DeviceNet Communication
When you write HSL parameter to CPU module, the CPU module has that data.
So when you change CPU module, read HSL parameter from CPU module and back up it and write it to new CPU
module.
6-52
Chapter 6 DeviceNet Communication
▶ XBF-AD04A
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_ lower byte>
0 - - - - CH3 CH 2 CH 1 CH 0 Bit On(1) : Enable
Bit Off(0): Disable
<Input voltage/current range>
Bit(00):0~10V
1 CH 3 CH 2 CH 1 CH 0
Bit(01):0~20mA
Bit(10):4~20mA
<Output data range>
Bit(00): 0~4000
Bit(01):-2000~2000
2 CH 3 CH 2 CH 1 CH 0 Bit(10): precise value
(0~1000/400~2000/0~2000)
Bit(11):percentile value
(0~1000)
▶ XBF-DV04A
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_ lower byte>
0 - - - - CH 3 CH 2 CH 1 CH 0 Bit On(1) : Enable
Bit Off(0): Disable
<Voltage range>
1 CH 3 CH 2 CH 1 CH 0
Bit (00): 0 ~ 10V
<Input data type>
Bit (00): 0 ~ 4000
2 CH 3 CH 2 CH 1 CH 0 Bit (01): -2000 ~ 2000
Bit (10): 0 ~ 1000
Bit (11): 0 ~ 1000
6-53
Chapter 6 DeviceNet Communication
▶ XBF-DC04A
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_ lower byte>
0 - - - - CH 3 CH 2 CH 1 CH 0 Bit On(1) : enable
Bit Off(0): disable
<Current range>
1 CH 3 CH 2 CH 1 CH 0 Bit (00): 4 ~ 20mA
Bit (01): 0 ~ 20mA
<Input data type>
Bit (00): 0 ~ 4000
Bit (01): -2000 ~ 2000
2 CH 3 CH 2 CH 1 CH 0
Bit (10): 400 ~ 2000/
0 ~ 2000
Bit (11): 0 ~ 1000
▶ XBF-RD04A
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_lower byte>
Bit On(1) : enable
Bit Off(0): disable
0 CH 3 CH 2 CH 1 CH 0 CH 3 CH 2 CH 1 CH 0
<Temp. unit_upper byte>
Bit On(1): Fahrenheit
Bit Off(0): Celsius
<Sensor input range>
1 - - - - CH 3 CH 2 CH 1 CH 0 Bit On(1) : JPT100
Bit Off(0): PT100
▶ XBF-TC04S
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_lower byte>
Bit On(1): enable
Bit Off(0): disable
0 CH 3 CH 2 CH 1 CH 0 CH 3 CH 2 CH 1 CH 0
<Temp. unit_upper byte>
Bit On(1): Fahrenheit
Bit Off(0): Celsius
<Sensor input type>
1 CH 3 CH 2 CH 1 CH 0 K type: 00, J type: 01
T type: 10, R type: 11
6-54
Chapter 6 DeviceNet Communication
▶ XBF-AH04A
Address 7 6 5 4 3 2 1 0 Meaning
Note
Cautions in setting an analog parameter
(1) For analog I/O module, all channels are set as Enable status internally.
(2) A setting parameter is sent from master to slave.
6-55
Chapter 6 DeviceNet Communication
▶ Select slot you want to set and double-click it at Available Parameters window. Then Customized Parameters
window appears.
6-56
Chapter 6 DeviceNet Communication
Input parameter:
0000550F
6-57
Chapter 6 DeviceNet Communication
6-58
Chapter 6 DeviceNet Communication
Program Example 1: Communication between Dnet modules of LSIS and other maker
This is the program that the master communication module (station 0) is installed in GM6 base slot ‘0’ and
sends/receives the data to the remote module (station 1~4) respectively. (Please refer to I/O configuration
map).
System configuration
Station 0 (0 slot)
OUT
OUT
OUT
OUT
OUT
Dnet
PWR
CPU
GM6 master
Termianl
resistor
Trunk line
GDL-TR2A GDL-D22A
DRT1-
OD08
1794-OB16
(Allen-Bradley)
6-59
Chapter 6 DeviceNet Communication
6-60
Chapter 6 DeviceNet Communication
Station No. of
GDL-D22A
6-61
Chapter 6 DeviceNet Communication
6-62
Chapter 6 DeviceNet Communication
This is the program that the master communication module (station 0) is installed in K300S base slot 0 and
sends/receives the data to the remote module (station 1~4) respectively. (Please refer to I/O configuration
map).
System Configuration
Station 0(slot 0)
OUT
OUT
OUT
OUT
OUT
Dnet
PWR
CPU
K300S master
Terminal
resistor
Trunk line
6-63
Chapter 6 DeviceNet Communication
To make Station 0,1,2 to change the data as specified on the table in the master configuration system, the user
should write the user program first and then prepare the data sending/receiving map as shown on the table. And to
send/receive the data as shown on the table, it is required to write High-speed Link parameter and download it in
PLC and High-speed Link start shall be carried out according to the following order.
6-64
Chapter 6 DeviceNet Communication
6-65
Chapter 6 DeviceNet Communication
6-66
Chapter 6 DeviceNet Communication
6-67
Chapter 6 DeviceNet Communication
XGL-
Vertical resistor Vertical resistor
Trunk line
Drop line
Station No. : 1 Station No.:2 Station No.:3
6-68
Chapter 6 DeviceNet Communication
Fieldbus
1-2
selection
DeviceNet selection
Recall master setting window
Insert Master or
Master
1-6 Setting
completion
6-69
Chapter 6 DeviceNet Communication
Modification of
2-3
setting value
6-70
Chapter 6 DeviceNet Communication
6-71
Chapter 6 DeviceNet Communication
6-72
Chapter 6 DeviceNet Communication
Station No.
4-3
setting
Completion of
4-4
slave setting
6-73
Chapter 6 DeviceNet Communication
[SyCon 5-1 Step] set the method for slave communication -slave: GDL-TR4A
Setting window
for slave
5-1 communication
method
Slave
Select communication method: Poll
5-3 communication
method
Setting of Set conditions for transmitting-receiving data period and response status.
Slave Set Poll method as a basic value.
5-4 transmitting-
receiving
period
Data structure
5-5 of slave
(EDS File)
If you select BYTE ARRAY by mouse and select Append to configured I/O data , data
shows through 5-6.
Conveys salve structure (data type, I/O characteristic, data size) to master
Data structure
5-6 of slave
6-74
Chapter 6 DeviceNet Communication
Setting window
for slave
5-1 communication
method
Slave
Select communication method: COS
5-3 communication
method
Set conditions for transmitting/receiving period and response period of slave module.
Setting of COS Method sets Expected packet rate as 200(ms).
slave (Setting value must be Expected packet rate > Production Inhibit time.)
5-4 transmitting-
receiving
period
Indicates EDS File’s information (data type, I/O characteristic, data size)
Slave data
5-5 structure
(EDS File)
If you select BYTE ARRAY by mouse and select Append to configured I/O data , data
shows through 5-6.
Conveys salve structure (data type, I/O characteristic, data size) to master
Slave data
5-6 structure
6-75
Chapter 6 DeviceNet Communication
Setting window
for slave
5-1 communication
method
Slave
Select communication method: COS
5-3 communication
method
Set conditions for transmitting-receiving period and response period of slave module.
Setting of COS Method sets Expected packet rate as 200(ms).
slave (Setting value must be Expected packet rate > Production Inhibit time.)
5-4 transmitting-
receiving
period
Indicates EDS File’s information (data type, I/O characteristic, data size)
Slave data
5-5 structure
(EDS File)
If you select BYTE ARRAY by mouse and select Append to configured I/O data , data
shows through 5-6.
Conveys salve structure (data type, I/O characteristic, data size) to master
Slave data
5-6 structure
6-76
Chapter 6 DeviceNet Communication
Setting
6-1 window for
serial port
In activated port among Connect COM1 Connect COM2 Connect COM3 Connect
COM4 , error value is indicated as “0”
6-77
Chapter 6 DeviceNet Communication
CPU module
1-1
selection
Select CPU module as XGK-CPUS
Communication
2-1
method setting
6-78
Chapter 6 DeviceNet Communication
Initial screen
Communication
5-1 set Dnet I/F module in High-speed Link
module setting
Module type: Dnet
Base No.: 00
Slot No.: 00
6-79
Chapter 6 DeviceNet Communication
Communication
6-1
module setting
SyCon upload
6-80
Chapter 6 DeviceNet Communication
GDL-TR4A 0
Communication
6-2
module setting
GDL-D24A 1
GDL-DT4A 2
6-81
Chapter 6 DeviceNet Communication
Parameter
7-1
writing
6-82
Chapter 6 DeviceNet Communication
(2) Program example - Communication between our extension type Smart I/O Pnet
Terminal Terminal
XGL-DMEA
resistor resistor
Trunk line
Station address:3
XDL-BSSA
Slot
1 2 3 4 5
location
XBE- XBE- XBE- XBF- XBE-
Name
TN32A RY16A DC32A AD04A DV04A
A/D D/A
conversion conversion
Content Tr out Relay out DC input
input output
module module
I/O data 32 point 16 point 32 point 64 point 64 point
size (4 byte) (2 byte) (4 byte) (8 byte) (8byte)
6-83
Chapter 6 DeviceNet Communication
Fieldbus
1-2
selection
PROFIBUS selection
Recall master setting window
Insert master or
Master
1-6 Setting
completion
6-84
Chapter 6 DeviceNet Communication
Setting value
2-3
modification
6-85
Chapter 6 DeviceNet Communication
6-86
Chapter 6 DeviceNet Communication
6-87
Chapter 6 DeviceNet Communication
Station address
4-3
setting
Slave
4-4 Setting
completion
6-88
Chapter 6 DeviceNet Communication
[SyCon 5 step] set the method for slave communication -slave: XPL-BSSA
Slave
communication
5-1 method setting
window
Slave
Communication method selection: Poll
5-3 communication
method
Setting the slave module’s sending/receiving data period and response status condition
Slave - The following figure is default value of each category.
5-4 sending/receiving
period setting
Slave
5-5 Data structure
(EDS file)
If you select BYTE ARRAY through mouse and select Append to configured I/O
data, data is indicated as 5-6
Set Slave structure(data type, IO characteristic, data size).
Slave data
5-6 structure
Analog module
5-7 parameter setting
window
6-89
Chapter 6 DeviceNet Communication
Analog module
5-8 parameter
setting
Setting
6-1 window for
serial port
In activated port among Connect COM1 Connect COM2 Connect COM3 Connect
COM4 , error value is indicated as “0”
6-90
Chapter 6 DeviceNet Communication
CPU module
1-1
selection
Select CPU module as XGK-CPUS
Communication
2-1
method setting
6-91
Chapter 6 DeviceNet Communication
Initial screen
Communication
5-1
module setting set Dnet I/F module in High-speed Link
6-92
Chapter 6 DeviceNet Communication
Communication
6-1 module
setting
SyCon upload
6-93
Chapter 6 DeviceNet Communication
Communication
6-1
module setting
XDL-BSSA 0
6-94
Chapter 6 DeviceNet Communication
Reading area
Slot 0: Slot 1: Slot 2: Slot 3: Slot 4:
Slot0: output 4 byte
P1000 P1002 M0200 P1003 M0202
Slot1: relay 2byte
TR Relay OC OA AD
Slot3: DV 8byte
Output Output Input Output Input
Reading area (master -> slave) Storage area (slave -> master)
D/A
A/D
P1003 14 2 byte Conversion Ch.0 M0203 2 byte Ch.1
Conversion
byte 4 channel
4 channel
P1004 2 byte Ch.1 M0204 2 byte Ch.2
6-95
Chapter 6 DeviceNet Communication
Parameter
7-1
writing
6-96
Chapter 7 Rnet Communication
7.1 Overview
The major characteristics of Rnet network are the cost saving of installation/maintenance, diversification of system
configuration, easy maintenance, reparation and easy system modification.
This network supports the electrical network (twisted pair cable) that is cost effective and easy to install for the
diversification of configuration.
Rnet module can be used in common for GLOFA series and MASTER-K series and applied diversely according to the
system application.
In Rnet more than version V1.0, GLOFA Rnet and MASTER-K Rnet module can be in common.
Items Specification
Transmission speed 1Mbps (Rnet module common)
Encoding method Manchester Biphase-L
Transmission distance
Max. 750m
(Master + Slave or Repeater)
Electric Transmission distance - LIREV-AMESB 1Px22AWG: 1.05km
(Master + Repeater + Slave) - CAN Bus Drag Chain: 1.35km
Transmission wire Twisted pair shield cable
Master + slave + repeater = 64 stations
Max. no of station number
(At least one master should be connected.)
Max. protocol size 256 bytes
Access type of communication Circulated token passing
Connection oriented service
Communication method
Connectionless service
Frame error check CRC 16 = X15 + X14 + X13+ .... + X2 + X + 1
7-1
Chapter 7 Rnet Communication
2) Expansion type
Classification Specification
Communication speed 1Mbps
Transmission path method BUS
Total extension distance 750m
Connector connection Open type 5 pin connector
Used cable Twisted pair shielded cable
Commu
nication No. of NOD (based on master) 32: repeater not used, 64: repeater used
Max. digital I/O point 512 (input: 256, output: 256)
Max. I/O connection number 8
Extension analog module
2 byte
occupation number
Latch/Clear select Operation by mode change switch
Rated input voltage/current DC 24V/0.55A
Power range DC 19.2V ~ 28.8V
Power
Output voltage/current 5V(±20%)/1.5A
Insulation Non-insulation
- Weight(g) 100
7-2
Chapter 7 Rnet Communication
7.3.1 Overview
The method to program in RNET communication module is supposed to enable to communicate with Smart I/O
module through High-speed Link service as mentioned on ‘Chapter 4 Communication Programming’.
High-speed Link
The High-speed Link service through Rnet communication module is available to use all the existing function and
carry out the communication by simple parameter setting. The parameter shall be set in GMWIN for GLOFA series
and in KGLWIN for MASTER-K and in XGT for XG5000 and from RNET version V1.0, min. communication period
can be set every scan.
Max. High-speed Link point per communication model (Rnet master standard)
Max. communi- Max. sending Max. point per
Classification Max. block no.
cation point point block
G3L-RUEA 3,780 words 1,920 words 64 (0-63) 60 words
RNET
G4L-RUEA 3,780 words 1,920 words 64 (0-63) 60 words
Communi
G6L-RUEA 3,780 words 1,920 words 64 (0-63) 60 words
cation
G7L-RUEA 3,780 words 1,920 words 64 (0-63) 60 words
module
XGL-RMEA 3,780 words 1,920 words 64 (0-63) 60 words
Remark
1) In case of Smart I/O, if 32 points are installed for one module, max. link point is
available to use up to 2,016 words for 63 stations.
2) For further information, please refer to ‘Chapter 4. Communication Programming’.
3) XGT’s address area is set by Smart I/O
7-3
Chapter 7 Rnet Communication
If you select the High-speed Link parameter from GMWIN project basic screen, the High-speed Link parameter
basic screen will appear and you can select the corresponding item.
If selecting ‘parameter’-‘High-speed Link parameter’ from project screen, the above menu will appear.
7-4
Chapter 7 Rnet Communication
In case of GM7 RNET, select [Link Parameters]-[High Speed Link Parameter] from project screen.
7-5
Chapter 7 Rnet Communication
1) Network type: It sets the installed communication module type and Rnet shall be set.
2) Slot no.: It sets the position that the communication module to set is installed. (0 ~ 7 slot).
3) Self Station No.: Enters the setting self station no. into the station address switch of communication module front
side. The self station no. of Rnet shall be set as ‘0’ to use.
7-6
Chapter 7 Rnet Communication
Remark
GRL-DT4A among Smart I/O modules has ‘input’ and ‘output’. Thus, in case of using
the Entry list, please be sure that two lists are required for one module. In this case,
when sending/receiving, the station no. shall be set same but the block no. differently.
7-7
Chapter 7 Rnet Communication
After setting the High-speed Link parameter and executing ‘make’ from GMWIN compile menu, if you select
‘parameter write’ and start the High-speed Link service, the High-speed Link service by the parameter setting
begins to run. The High-speed Link start order is as follows.
After saving the High-speed Link parameter written by the user in the GMWIN project file and connecting with
PLC through ‘online connect’ from GMWIN basic menu, select ‘Write’ and download the High-speed Link
parameter or ‘parameter and program’.
7-8
Chapter 7 Rnet Communication
After parameter write, High-speed Link is executed after setting the ‘Link enable’. Link enable setting is
available only in the stop mode of PLC. And if the High-speed Link enable setting starts, it carries out the High-
speed Link regardless of PLC action mode and ‘parameter’ and ‘Link enable information’ shall be battery
backup in the PLC CPU and preserved if the power is cut off.
It is available to monitor the current High-speed Link status by using ‘monitor’ function after the GMWIN online
connection. There are two kinds of methods to monitor : by selecting ‘variable monitor’ from monitor menu and
by High-speed parameter monitor.
Remark
‘X’ shows the High-speed Link no. and it has the range1~4 for GM1/GM2/GM3/GM4-
CPUB PLC, 1~2 for GM4-CPUA,GM6 PLC and only 1 is effective for GM7. [n] is the
individual parameter no.(0~63).
7-9
Chapter 7 Rnet Communication
4) If you register the variable from the menu and select ‘Close’, the corresponding monitor screen will appear
and the monitoring begins.
5) The detailed contents for the corresponding flag is described in ‘Communication module flag application’ and it
is available to carry out the RNET network status diagnosis by the corresponding flag monitor properly.
7-10
Chapter 7 Rnet Communication
This is the function to monitor the High-speed Link communication status from the menu as below. Select ‘LINK
Parameters’ item from monitor menu of GMWIN online connection.
Link parameter monitor shows the general information for RUN-LINK, LINK-TROUBLE on the top screen as
below and the individual information such as mode (action mode), communication (sending/receiving status),
and an error on the setting parameter items.
For the meaning of the value monitored on the above figure, please refer to ‘Chapter 4. Communication
Programming’.
Remark
1. RUN-LINK monitoring
In case that GRL-TR4A among Smart I/O is set in the parameter, RUN-LINK shall be
indicated as ‘0’.
7-11
Chapter 7 Rnet Communication
7-12
Chapter 7 Rnet Communication
When selecting ‘Communication’ from KGLWIN parameter basic screen as shown on the above figure, the
communication parameter setting screen will appear as below and if you select ‘master’ from the FIELDBUS
menu on the right bottom side and press ‘register list’, the High-speed Link parameter basic screen will appear.
7-13
Chapter 7 Rnet Communication
1) Link1 : This is one of High-speed Link type and max.4 communication modules can be installed for
K1000S CPU, max. 2 for K300S/K200S and max.1 for K80S. The High-speed Link no. is not related to the
installed slot no. and only one High-speed Link parameter is available to set for one communication
module. The table below shows the installation available communication module per CPU model and max.
installation amount.
2) Link: It sets whether or not to execute the link of communication module. (Enable, Prohibit)
3) Self station no. : Self station no. should be set as ‘0’ and used.
4) Slot: This is the communication module installed slot no. and it is set by selecting one from ‘0’~‘7’.
7-14
Chapter 7 Rnet Communication
5) Registration no. : This is the serial no. to indicate the registered order of the
Individual parameter and it is set by ‘0’ ~‘63’. It is available to register up to a total of 63 and not related to
the sending/ receiving order. But it is available to register max. 32 for sending and 32 for receiving
respectively.
If you double-click in the status that the High-speed Link registration no.1 is selected, the link parameter setting
screen will appear as shown on the figure below.
Link parameter modification screen (in case of the HS link registration no.0)
1) Station no. : When sending/receiving the data of the setting item, it is required to set other station no. The
following table shows the method to set the station no.
2) Block No. : This is the parameter to send/receive lots of data of various areas from one station and
distinguish the data of various blocks each other. If setting 32 stations for Smart I/O output module, the input
should be set as 31 stations and if setting 32 stations for input. The output should be set as 31 stations
because this supports up to 64 stations including master station. In this case, if setting more than 2 same
block no. for the same station no., the network will be down. Thus it is not available to set more than 2
blocks for the same station. The max. number of connection station is 64 stations including the master
station but if the sending/receiving is set for the one station at the same time, it is not available to set max.
station setting.
7-15
Chapter 7 Rnet Communication
4) Sending (Tx) / Receiving (Rx) device: This means the area of sending/receiving. In case of remote
sending that means the sending to remote station, set the sending area of self station for the sending
device and the receiving area (P area) of remote station for the receiving device. As the remote receiving
means the receiving from remote station, set the sending area (P area) of remote station for the sending
device and the receiving area of self station for the receiving device.
5) Size: This means the size of sending/receiving data and the unit is 1 word (16 points). It is available to set
max. 60words but for Rnet, it is set as 2 words at the present time because max. points of the current
Smart I/O is 2words (32 points).
6) Communication period: High-speed Link is the service to carry out the sending/receiving by the parameter
set by the user at the point where the PLC program ends. Thus, when PLC program scan time is short
within several ms, communication module begins to transmit the data according to every program scan
which results in increasing the communication amount and reducing the effectiveness of overall
communication system. Thus, to prevent this, the user can set the sending/receiving period from min.20ms
(RNET version V1.0 : from every scan) to max. 10sec. The sending/receiving period means the sending
period if the corresponding block is set as ‘sending’ and the period to check the data receiving of the
corresponding block if it is set as ‘receiving’.
7-16
Chapter 7 Rnet Communication
After KGLWIN online connection, it is available to monitor High-speed Link information by using monitoring
window and ‘information read’ window. There are two kinds of method to monitor : one is by selecting the flag
to monitor from flag monitor menu of monitoring window to monitor the individual information and overall
information and the other one is by selecting the High-speed Link parameter from online-information read
menu to monitor overall information.
7-17
Chapter 7 Rnet Communication
R02.R03 from the type item means Remote station (Smart I/0) 2 and 3 and SOO,S01 means the block no.,
and this is the parameter to transmit the data of self station (M000) to Remote (Smart I/O) station 2 (P000)
through block no.’0’. R03 is also the parameter to transmit the data of self station (M000) to Remote (Smart
I/O) station 3 (P000) through block no.1.
7-18
Chapter 7 Rnet Communication
If you select the menu ‘Online’-‘Information Read’-‘Link Information’, it is available to easily monitor the link
status of the communication module installed per slot.
If you select the module to monitor and click the verify button, you can see the connection status of all
RNET network connected to the corresponding module. (except K80S)
7-19
Chapter 7 Rnet Communication
(3) Flag
L area list when using the data link module (in case that installed in Slot no.0)
x : slot no., n : station no. of other station
7-20
Chapter 7 Rnet Communication
7-21
Chapter 7 Rnet Communication
XG5000 execution
▽
Reading I/O information
▽
High-speed link setting
1. Communication module setting
1) Communication module setting: Rnet
- selecting module type, base, slot address
2) Selecting the communication period
3) Data setting when emergency
- CPU module error, CPU module stop
2. High-speed link block setting
1) Module type
2) Station address
3) Read/Save area setting
▽
Write parameter
▽
Enable link
7-22
Chapter 7 Rnet Communication
7-23
Chapter 7 Rnet Communication
7-24
Chapter 7 Rnet Communication
7-25
Chapter 7 Rnet Communication
7-26
Chapter 7 Rnet Communication
7-27
Chapter 7 Rnet Communication
▶ XBF-AD08A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Input Bit On (1): Operation
0 :H of channels to Input 6 Input 5 Input 4 Input 3 Input 2 Input 1 Input 0
7 Bit Off (0): Stop
be used
Designation
0:L Ch 3 Ch 2 Ch 1 Ch 0 00 : 4 ~ 20 ㎃
of Input
01 : 0 ~ 20 ㎃
voltage/
10 : 0 ~ 5 V
current
1:H Ch 7 Ch 6 Ch 5 Ch 4 11 : 0 ~ 10 V
range
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:L of output data Ch 6,7 Ch 4,5 Ch 2,3 Ch 0,1
10: Precise value
range
11: 0 ~ 1000
7-28
Chapter 7 Rnet Communication
▶ XBF-AD04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
Bit Off (0): Stop
to be used
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1: L of output Ch 3 Ch 2 Ch 1 Ch 0
10: Precise Value
data range
11: 0 ~ 10000
Note
1) Meaning of memory address
H : High byte (In case that setting area of parameter value of PLC is 0x1234, H byte → 0x12)
▶ 0:H means that high byte of an word from memory address 0.
L: Low byte (In case that setting area of parameter value of PLC is 0x1234, L byte → 0x34)
▶ 1:L means that low byte of an word from memory address 1
2) Precise Value
▶ Precise Value = Range of input/output × 100
(Ex: Input range=0~5, Input or Output data range= Precise value
Data input range is 0~500)
7-29
Chapter 7 Rnet Communication
▶ XBF-DV04A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
0:L of output Ch 3 Ch 2 Ch 1 Ch 0 00: 0 ~ 10V
range
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
▶ XBF-DV04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
00: 1~5V
Designation
01: 0~5V
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 10: 0~10V
11: -10~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
▶ XBF-DC04A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4 ~ 20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0 ~ 20mA
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
7-30
Chapter 7 Rnet Communication
▶ XBF-DC04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4~20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0~20mA
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
00 : K
Configuration
01 : J
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
type 10 : T
11 : R
Designation
0: Centigrade
1:H of input data - - - - Ch 3 Ch 2 Ch 1 Ch 0
range 1: Fahrenheit
7-31
Chapter 7 Rnet Communication
Designation
of Input/ 00 : 4 ~ 20 ㎃
Output Output Output Input Input 01 : 0 ~ 20 ㎃
0:L voltage/ Ch1 Ch0 Ch1 Ch0 10 : 0 ~ 5 V
current 11 : 0 ~ 10 V
range
7-32
Chapter 7 Rnet Communication
You can set analog I/O range by inputting a value at parameter setting area of figure below. At this time, parameter setting
Parameter CH 0 CH 1 CH N
Area …
setting area data data data
7-33
Chapter 7 Rnet Communication
Note
7-34
Chapter 7 Rnet Communication
Program Example 1:
In GM3 base, the communication module (G3L-RUEA) is installed for slot 0, output 32 points for slot 1, and
input 32 points for slot 2, respectively. This is the example to send GM3 %IW0.2.0 data to station 1 and output
the data of station 2 to GM3 %QW0.1.0.
To perform the program example, first make the I/O configuration table as shown on the table below and
write the High-speed Link parameter in the corresponding CPU module, respectively.
7-35
Chapter 7 Rnet Communication
Remark
1) Do not register the same station no. more than 2 or the same block no. more than 2.
7-36
Chapter 7 Rnet Communication
Program Example 1
Here it describes the High-speed Link parameter setting method to perform the data communication in RNET
master system below with the I/O structure same as shown on the table below.
네트워크 A (Rnet)
Network A (Rnet)
K200S
GRL-TR2A GRL-D24A
리모트
GRL-TR2A 1국 리모트
GRL-D24A 2국
마스터 0 국
From the example, K200S CPU sends the input value of input module (P3) installed in self station slot 2 by
1 word and outputs the data received from other station to P4 output module. The High-speed Link
parameter configuration and program for data exchange on the above are described in the figure below.
The program can be used in common and sets only link parameter respectively. (it is available to use the
same program and parameter in the K1000S/K300S RNET communication.)
7-37
Chapter 7 Rnet Communication
The above figure is the program to set M0000 area when RUN-LINK is ON and M0001 area when LINK-
TROUBLE flag is ON.
7-38
Chapter 7 Rnet Communication
(c) The High-speed Link parameter for the system of program example is set as follows.
As P_scanA is PLC scan time on the above, if assuming that it is 3ms each for the above program, (available to
verify through online-information read-PLC information)
Therefore, the sending/receiving period should be set as min. more than 5ms.
7-39
Chapter 7 Rnet Communication
XGT-CPUH
GRL-TR4A GRL-D24A
As the above figure, Rnet master module (XGL-RMEA) in the PLC (XGT) is connected with 32 point output
module (GRL-TR4A) and 32 input module (GRL-D24A).
7-40
Chapter 7 Rnet Communication
(d) Program
7-41
Chapter 7 Rnet Communication
7-42
Chapter 8 Modbus Communication
8.1 Overview
Smart I/O module communication supports Modbus through GM3/4/6/7 master module.
(G3L-CUEA/G4L-CUEA/G6L-CUEC/G7L-CUEC)
This supports ASCII mode that communicates using ASCII (American Standard Code for Information Interchange) data and
RTU (Remote Terminal Unit) mode that uses HEX data and the function code used in the modbus is supported by the
Function Block and only function code 01, 02, 03, 04, 05, 06, 15, 16 are supported.
Classification Snet
Module type Remote slave
Protocol Modbus-RTU
Max. protocol size 8 Byte
Topology BUS
Cable Twisted air shielded cable
Communication speed 2400 ~ 38,400 BPS
Communication distance 1.2 km
Medium access POLL
Max. node 32 stations
Communication point 16/32 points
Classification Header Station no. Function code Data LRC Tale (CR LF)
Size 1 byte 2 byte 2 byte n byte 2 byte 2 byte
8-1
Chapter 8 Modbus Communication
Remark
1) The size to compose one letter (character) is called ‘1 character’, that is, 1 character is 8 bits =
1byte.
2) 1 character time means the time to take when sending 1 character.
8-2
Chapter 8 Modbus Communication
Remark
All numeric data uses by mixing the hexadecimal, decimal, binary number. Each number is specified as
following example.
- Decimal : 7, 10
- Binary : 2#0111, 2#1010
Modicon PLC
Code Function code name Smart I/O Mapping Remarks
Data address
Read output contact status
01 0XXXX (bit-output) %QX0~%QX31 Bit read
(Read Coil Status)
Read input contact status
02 1XXXX (bit-input) %IX0~%IX31 Bit read
(Read Input Status)
Read output registers
03 4XXXX (word-output) %QW0~%QW3 Bit read
(Read Holding Registers)
Read input register
04 3XXXX (word-input) %IW0~%IW3 Word read
(Read Input Registers)
Write output contact 1 bit
05 0XXXX (bit-output) %QX0~%QX31 Bit write
(Force Single Coil)
Write output register 1 word
06 4XXXX (word-output) %QW0~%QW3 Word write
(Preset Single Register)
Write output contact continuously
15 0XXXX (bit-output) %QX0~%QX31 Bit write
(Force Multiple Coils)
Write output register continuously
16 4XXXX (word-output) %QW0~%QW3 Word write
(Preset Multiple Register)
8-3
Chapter 8 Modbus Communication
MASTER-K mapping
Bit area Word area
Output contact (0XXXX), input contact (1XXXX), output register (4XXXX), input register (3XXXX)
8-4
Chapter 8 Modbus Communication
8
Male Type 9
8-5
Chapter 8 Modbus Communication
1) Select GMWIN menu [Project] [Add Item] [Library] and insert the corresponding library per model.
2) Insert the Function Block into GMWIN scan program and set the Function Block I/O variable.
For the Function Block type and the method to use, please refer to Chapter 8.4. Function Block.
RTU_WR
RTU_RD
8-6
Chapter 8 Modbus Communication
2) Select communication parameter from GMWIN parameter and double-click and the following figure will appear.
8-7
Chapter 8 Modbus Communication
• If the value smaller than max. sending/receiving period is set, it may cause the
communication error.
Modbus master / If setting as the master, it shall be the subject in the communication system and if setting as
slave the slave, it will reply only according to the request frame of the master.
Transmission mode Available to select one from ASCII mode or RTU mode.
8-8
Chapter 8 Modbus Communication
2) Select communication parameter from KGMWIN parameter and doubleclick, and the following figure will appear.
8-9
Chapter 8 Modbus Communication
Remark
1) Modbus master communication of MASTER-K series operates only at the K80S and K120s
K1000S/300/200S don’t support Modbus master communication.
8-10
Chapter 8 Modbus Communication
Setting
Sequence Setting method
process
1 information Sync] and read information of module which is equipped at the current
reading base.
Basic
setting
8-11
Chapter 8 Modbus Communication
P2P service is used when communication module operates as client and P2P function (command) is different according
to protocol. P2P function is set as WRITE/READ when it operates as Modbus RTU/ASCII. When P2P function is set as
WRITE, it write data in the Smart I/O module which operate as a server and when READ, it read data from the Smart I/O
module which operates as a server. P2P service can be set up to Max. 8 and each service consists of Max. 64. The
b) It is available to set many P2P parameter per one Cnet I/F module.
But only one enable among P2P parameter is available about Cnet I/F module.
c) Each P2P parameter consist of P2P channel, P2P block, user frame definition.
In order to use P2P service, the user set for the wanted action in the P2P parameter window. P2P
parameter consists of 3 category.
8-12
Chapter 8 Modbus Communication
1) P2P channel
a) Set the P2P channel which defines P2P service’s communication protocol.
b) Support protocol: XGT/Modbus client, user frame definition
c) Set it per channel. It is applied when basic setting’s run mode is “Use P2P settings”
2) P2P block: set 64 P2P blocks which operate independently.
3) User frame definition: register user definition frame
Cnet I/F module provide two communication channels (channel 1, 2) which operate independently.
About each channel, you can set driver type for P2P service. But when P2P channel is client, you should set run mode
as “Use P2P settings”. P2P channel setting according to operating mode is as follows.
8-13
Chapter 8 Modbus Communication
When setting as “Use P2P settings” in operating mode, the available driver in the XGT Cnet and meaning is as follows.
Driver Meaning
User frame definition It is used when transmitting and receiving desirable user definition frame.
XGT client Select when you read and write by using XGT dedicated protocol.
Modbus ASCII client Select when it operated as modbus client and ASCII mode.
Modbus RTU client Select when it operated as modbus client and RTU mode.
8-14
Chapter 8 Modbus Communication
Destination
It means other station’s address and the range is 0~31 total
8 station
32 station.
number
8-15
Chapter 8 Modbus Communication
Setting
Sequence Setting method
process
Write
1
Parameter
2. Check the module where basic is set and P2P parameter and click OK.
2 Enable Link
8-16
Chapter 8 Modbus Communication
(a) RTU_RD
Item IN / OUT Type Description
Function Block execution condition
REQ BOOL (Rising edge action)
- When changing from 0 to 1, one time executed.
SLOT USINT Cnet module slot no. (0 ~ 7)
8-17
Chapter 8 Modbus Communication
1) Function
This is the Function Block that is executed by selecting function code 01, 02, 03, 04 from modbus protocol
communication and used for Bit/Word Read. Function code 01 executes output contact status (Coil Status)
Data Read and function code 02 executes input contact status (Input Status) Data Read. Function code 03
executes output register (Holding Registers) Data Read and function code 04 executes input register (Input
Registers) Data Read.
2) Error
Output the error code from output STATUS. For further information, please refer to error code.
Remark
1) After the setting wait time, receive the response data from Cnet module of CPU.
2) If the response does not reach from other station within the setting time, error (code 74 or code 10) occurs. This
Function Block acts in Cnet function ‘User Definition Mode’.
3) Response Wait Time shall be set considering Read/Write data number, transmission speed (Baudrate), the
response speed of other station etc.
4) When setting, please refer to the table below and if error occurs, extend the setting time.
8-18
Chapter 8 Modbus Communication
(b) RTU_WR
Item IN / OUT Type Description
Function Block execution condition (Rising edge
REQ BOOL action)
- When changing from 0 to 1, one time executed.
SLOT USINT Cnet module slot no. (0 ~ 7)
1) Function
This is the Function Block to execute by selecting function code 15 and 16 from modbus protocol
communication and used for Continuous 1 bit Write (function code 15), Continuous 1 word Write (function
code 16). Function code 15 performs 1 bit Data Write to output contact (Coil) continuously and function code
16 performs 1 word Data Write to output register (Holding Registers) continuously.
2) Error
Output the error code to output STATUS. For further information, please refer to the error code.
8-19
Chapter 8 Modbus Communication
Remark
8-20
Chapter 8 Modbus Communication
Input
MOD0102
FUNC : Function code input
BO RE ND BO It supports function code 01 and 02.
ADDRH : High address of starting address to read in the Slave
USIN SLV ER BO
_AD station.
USIN DR
FUN USIN ADDRL : Low address of starting address to read in the Slave
AD
station.
DR NUMH : High address of data size to read from the starting
USIN H
AD
address to read in the Slave station.
DRL
USIN NU NUML : Low address of data size to read from the starting
address to read in the Slave station.
USIN NU
Output
BOOL[ RD_
RD_DATA : Variable name to save the Read data. (Array number
DAT
A should be declared as equal to or greater than the data
size.)
NDR : If executing without error, output 1 and maintain 1 until
calling next Function Block.
ERR : When error occurs, output 1 and maintain 1 until calling
next Function Block.
STATUS : When error occurs, output the error code.
1) Function
This is the Function Block to execute by selecting function code 01 and 02 from modbus protocol
communication and used for Bit Read. Function code 01 performs output contact status (Coil status) data
Read and function code 02 performs input contact status (Input Status) data Read.
2) Error
Output the error code to the Output STATUS. For further information, please refer to the error code.
8-21
Chapter 8 Modbus Communication
a) Program Example
This is the example when GM7 basic unit is the Master and when reading output contact data of Modicon
product that is station no.17.
Execute the Status Read of output contact (Coil) 00000 ~ 00010 of the Slave station (Station no.17). The output
contact of the Slave station is assumed as follows and the read data is saved in the BOOL type random array
variable RD_DB0 whose size is 16.
Output
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
contact
Contact
1 1 1 1 0 0 0 1 1 1 1 0 0 1 1 0
status
Hex F 1 E 6
The data shall be transmitted from low bit by byte unit. The insufficient bit part of the byte shall be filled with ‘0’.
The transmission of the above data is shown on Ex.1).
Ex.1) E6 F1
ADDRH 16#00 or 0 High byte among the address starting to read from the Slave station.
ADDRL 16#FF or 255 Low byte among the address starting to read from the Slave station.
- In order to read from output contact 00000, it is required to read
from no. 255 according to the 8) modbus addressing regulation.
And most significant data in its address shall be processed
automatically by the input value of ‘FUNC’ without a separate input.
NUMH 16#00 or 0 High byte when expressing total size of data to read by Hexadecimal.
NUML 16#0A or 10 Low byte when expressing total size of data to read by Hexadecimal.
- From the example, it is required to read 00000 ~ 00010 and
total size of data shall be 10. If expressing 10 by Hexadecimal, it
shall be H000A and it is required to enter H00 for NUMH and H0A
for NUML .
8-22
Chapter 8 Modbus Communication
Results
Storage Storage Storage Storage
Variable name Variable name Variable name Variable name
value value value value
RD_DB0[0] 0 RD_DB0[4] 0 RD_DB0[8] 1 RD_DB0[12] X
RD_DB0[1] 1 RD_DB0[5] 1 RD_DB0[9] 0 RD_DB0[13] X
RD_DB0[2] 1 RD_DB0[6] 1 RD_DB0[10] X RD_DB0[14] X
RD_DB0[3] 0 RD_DB0[7] 1 RD_DB0[11] X RD_DB0[15] X
The variable to save the read data should be array type variable and the size of array type variable should be equal to
or greater than that of the data to read. If it is smaller, error code shall be indicated on the STATUS.
The read data shall be saved from array variable RD_DB0[0].
The remaining part after filling the array variable by the read data shall be redundancy.
8-23
Chapter 8 Modbus Communication
Input
MOD0304
FUNC : Function code input
BO RE ND BO It supports function code 03 and 04.
ADDRH : High address of starting address to read in the Slave
USIN SLV ER BO
_AD station.
USIN DR
FUN USIN ADDRL : Low address of starting address to read in the Slave
AD
station.
DR NUMH : High address of data size to read from the starting
USIN H
AD
address to read in the Slave station.
DRL
USIN NU NUML : Low address of data size to read from the starting
address to read in the Slave station.
USIN NU
Output
WORD RD_
RD_DATA : Variable name to save the Read data. (Array number
DAT
A should be declared as equal to or greater than the
data size.)
NDR : If executing without error, output 1 and maintain 1
until calling next Function Block.
ERR : When error occurs, output 1 and maintain 1 until
calling next Function Block.
STATUS : When error occurs, output the error code.
1) Function
This is the Function Block to execute by selecting function code 03 and 04 from modbus protocol communication
and used for Word Read. Function code 03 performs output register (Holding Registers) data Read and function
code 04 performs input register (Input Registers) data Read.
2) Error
Hold the error code to the Output STATUS. For further information, please refer to the error code.
a) Program Example
This is the example when GM7 basic unit is the Master and when reading output register data of Smart I/O 32
point output module that is station no.17.
Execute the Read of output register (Holding Registers) 40000 ~ 40001 of the Slave station (Station no.17). The
output register of the Slave station is assumed as follows and the read data is saved in the WORD type random
array variable RD_DW0 whose size is 4.
Output Register 40000 40001
Register Status H0064 H1234
The data shall be transmitted from high byte of low word per byte unit. The transmission of the above data is shown on
Ex.1).
8-24
Chapter 8 Modbus Communication
Ex.1) 12 34 00 64
Function Block input Input value
REQ Enter the input condition to run.
SLV_ADDR 16#11 or 17 : Slave station no.
FUNC 16#03 or 3 : Enter ‘3’ when reading output register.
: High byte among the address starting to read from the
ADDRH 16#00 or 0
Slave station.
ADDRL 16#FF or 255 : Low byte among the address starting to read from the
Slave station.
- In order to read from output register 40000, it is
required to read from no.255 according to the 8) modbus
addressing regulation. And the most significant data in its
address shall be processed automatically by the input
value of ‘FUNC’ without a separate input.
NUMH 16#00 or 0 : High byte when expressing total size of data to read by
Hexadecimal.
NUML 16#02 or 2 : Low byte when expressing total size of data to read by
Hexadecimal.
- From the example, it is required to read 40000 ~ 40001
and total sizes of data shall be 2. When expressing 2 by
Hexadecimal, it shall be H0002 and
it is required to enter H00 for NUMH and H02 for NUML.
Results
Variable name Storage value
RD_DW0[0] H1234 or 4660
RD_DW0[1] H0064 or 100
RD_DW0[2] X
RD_DW0[3] X
The variable to save the read data should be array type variable and the size of array type variable should be equal to or
greater than that of the data to read. If it is smaller, error code shall be indicated on the STATUS.
The read data shall be saved from array variable RD_DW0[0].
The remaining part after filling the array variable by the read data shall be redundancy.
8-25
Chapter 8 Modbus Communication
Input
1) Function
This is the Function Block to execute by selecting function code 05 and 06 from modbus protocol communication and
used for 1 Bit Write (function code 05) and 1 Word Write (function code 06). Function code 05 performs 1Bit data Write
for output contact (Coil) and if setting 255 (or HFF) for input NUMH of Function Block or 0 (or H00) for input NUML, write
‘1’ for output contact and if setting 0 (or H00) for input NUMH or 0 (or H00) for NUML, write ‘0’ for output contact. Function
code 06 performs 1 word data write in output register.
2) Error
Output the error code to the output STATUS. For further information, please refer to Error code.
8-26
Chapter 8 Modbus Communication
a) Program Example
This is the example when GM7 basic unit is the Master and when writing 1 bit data to the 16 point output contact of
smart I/O that is station no.17.
Write ‘1’ to the output contact (Coil) 00000 of the Slave station (station no.17)
Results: Output contact 00000 shall be ON. (In case of GM7 basic unit, ‘1’ shall be saved in the corresponding M
area.)
8-27
Chapter 8 Modbus Communication
This is the example when GM7 basic unit is the Master and when writing 2 Word Data to the 32 point output contact of
smart I/O that is station no.17.
This is the example to write ‘3’ to the output register (Holidng Registers) 40000 of the Slave station (Station no.17).
Results: H0003 shall be saved in output register 40000. (In case of GM7 basic unit, H0003 shall be saved in the
corresponding M area.)
8-28
Chapter 8 Modbus Communication
Input
MOD1516
SLV_ADDR : Slave station address input
BO RE ND BO FUNC : Function code input
USIN SLV ER BO
It supports function code 15 and 16.
_AD ADDRH : High address among starting address to write in the
USIN DR
FUN ST USIN
Slave station.
AD ADDRL : Low address among starting address to write in the
DR
Slave station.
USIN H
AD
DRL NUMH : High address of data size to write in the Slave station.
USIN NU
NUML : Low address of data size to write in the Slave station.
USIN NU
BYTE_CNT : Byte size of data to write in the Slave station.
WR_DATA : Variable name to save the data to write. (It should be
USIN BYT
E_C declared as equal to or greater than the data size.)
BYTE[ WR
NT
_DA Output
TA
NDR : If executing without error, output 1 and maintain 1 until
calling next Function Block.
ERR : When error occurs, output 1 and maintain 1 until calling
next Function Block.
STATUS : When error occurs, output the error code.
1) Function
This is the Function Block to execute by selecting function code 15 and 16 from modbus protocol communication and
used for Continuous 1Bit Write (function code 15) and Continuous 1Word Write (function code 16). Function code 15
performs 1Bit Data Write for output contact (Coil) by 1 byte continuously and Function code 16 performs 1 Word Data
Write for output register (Holding Registers) continuously.
2) Error
Output the error code to the output STATUS. For further information, please refer to Error Code.
8-29
Chapter 8 Modbus Communication
a) Program Example
This is the example when GM7 basic unit is the Master and when writing Bit Data continuously to 16 point output
contact of Smart I/O that is station no.17.
It writes the continued 10bit 1010101010101010 to output contact (Coil) 00000 in the Slave station (Station no.17) by
1bit. The data to write is saved in BYTE type random array variable WR_DB0 whose size is 2.
Results
Output contact 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Contact status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
8-30
Chapter 8 Modbus Communication
This is the example when GM7 basic unit is the Master and when writing Bit Data continuously to 32 contact output
module of Smart I/O that is station no.17.
It writes 000A and 0102 to output register (Holding Registers) 40000 in the Slave station (station no.17). The data to
write is saved in BYTE type array variable WR_DB1 whose size is 4.
The size of BYTE_CNT is the size when converting the data to write by byte unit. As the above data is 2 words, it is
required to use 4 bytes. Thus, the size of BYTE_CNT is 4.
The data is transmitted from low word by byte unit. The transmission of the above data is shown on Ex.1).
Ex.1) 00 0A 01 02
8-31
Chapter 8 Modbus Communication
Results
e) Error code
03 Illegal Data Value The data value to read/write in the Slave is not allowed.
09 Parameter Error
Parameter setting error (mode, master/slave)
The error occurred when the station no. set in self station and
10 Station Error
input parameter of function is the same.
8-32
Chapter 8 Modbus Communication
Flag
F110 When exceeding #D area, it shall be ON.
Area setting
Modbus S1 S2 S3
S1 Device address to register sending/receiving parameter.
(3 words)
S2 Device address to save sending/receiving data. (1 word)
S3 Device address to indicate sending/receiving status. (1
word)
(a) Function
1) Here sets data saved in device designated in S1 to fit Modbus protocol type.
It consist of 3 words and must be set by Hexdecimal code.
a) first word : slave station address (high byte) + function code (low byte)
b) second word : means Smart I/O’s IO address (h0000).
c) third word
▶When Smart I/O is output module: device address where data for tansmission is saved.
▶When Smart I/O is input module: data number for reading
d) This designates the leading address of the device where the received data is saved to S2.
According to function of S1, it designates the leading address of the device that the received data is saved in
when receiving and the leading address of the data to sending when sending.
e) The communication action status is saved in S3.
8-33
Chapter 8 Modbus Communication
BIT15 BIT0
Error code (Bit8 ~ Bit 15) Error bit (Bit1) NDR (Bit)
03 Illegal Data Value The error that data value is not allowed.
The slave takes a time for the processing. The master must
06 Slave Device Busy
demand again.
07 Time Out Error When no response during Time out of communication parameter.
When data size is ‘0’ or exceeds 256Byte. In case of data size is
08 Data Size Error
larger than Array size or Number and BYTE_CNT is different.
When the items set in the parameter (such as transmission mode
09 Parameter Error
etc.) are wrong.
When self station no. and input parameter of Modbus command are
10 Station Error
the same.
8-34
Chapter 8 Modbus Communication
Flag
F110 When exceeding #D area, it shall be ON.
Area setting
MODCOM CH S1 S2 S3
CH Communication channel
S1 Device address to register sending/receiving
parameter.
S2 Device address to save sending/receiving data.
S3 Device address to indicate sending/receiving
status.
(a) Function
1) CH means commucication channel and is set as integral number.
a) 0 : set when using built-in RS-232C communication or extension communication module (G7L-CUEC)
b) 1 : set when using built-in RS-485 communication.
2) Here sets data saved in device designated in S1 to fit Modbus protocol type.
It consist of 3 word and must be set by Hexdecimal code.
a) first word : slave station address (high byte) + function code (low byte)
b) second word : means Smart I/O’s IO address (h0000).
c) third word
▶When Smart I/O is output module: device address where data for tansmission is saved.
▶When Smart I/O is input module: data No. for reading
3) This designates the leading address of the device where the received data is saved to S2.
According to function of S1, it designates the leading address of the device that the received data is saved in
when receiving and the leading address of the data to sending when sending.
4) The communication action status is saved in S3.
8-35
Chapter 8 Modbus Communication
BIT15 BIT0
Error code (bit8 ~ bit 15) Error bit (Bit1) NDR (Bit)
03 Illegal Data Value The error that data value is not allowed.
The slave takes a time for the processing. The master must
06 Slave Device Busy
demand again.
07 Time Out Error When no response during Time out of communication parameter.
When data size is ‘0’ or exceeds 256Byte. In case of data size is
08 Data Size Error
larger than Array size or Number and BYTE_CNT is different.
When the items set in the parameter (such as transmission mode
09 Parameter Error
etc.) are wrong.
When self station no. and input parameter of Modbus command are
10 Station Error
the same.
8-36
Chapter 8 Modbus Communication
1) Basic parameter (Baudrate, Parity, Data bit, Stop bit) is required to correspond with the setting content of other station.
2) It is not necessary to write the frame list.
(b) Library -> Add item -> Library
8-37
Chapter 8 Modbus Communication
(c) Load the Function Block from Scan program of GMWIN program and program it.
8-38
Chapter 8 Modbus Communication
(a) Slave station program: output the receiving data saved in M area to the output contact (Coil).
(b) Master station program: After saving 16#FF (OR 255) to %MW0 (this corresponds with %MX0 ~ %MX15 or %MB0
~ %MB1.) in the Function Block MOD0506 (function code 06), read %MX0 using the Function Block MOD0102
(function code 01) and save ’0’ to %MX0 ~ %MX9 using the Function Block MOD1516 (function code 15) again and
then read %MW0 using the Function Block MOD0304 (function code 03).
Create new project file and new program for the Slave station.
8-39
Chapter 8 Modbus Communication
a) If you select ‘Communication Parameter’ from GMWIN parameter and double-click, the communication parameter
menu window will open.
Protocol and
Communication method
transmission mode
Self Commu-
Data Parity Mainte- Communication Exclusive
station nication Modbus
bit bit nance bit channel mode
no. speed
RS232C null
17 2400 7 EVEN 1 modem or Slave ASCII
RS422/485
8-40
Chapter 8 Modbus Communication
b) After creating the program as below, download it in the GM7 basic unit of the Slave station. For further program
creation and download method, please refer to GMWIN user’s manual.
The slave program is the program to output the data of M area to the output contact.
8-41
Chapter 8 Modbus Communication
8-42
Chapter 8 Modbus Communication
a) If you select ‘Communication Parameter’ from GMWIN parameter and double-click, the communication parameter
menu window will be open.
Protocol &
Communication method
transmission mode
Self Commu
Data Parity Mainte- Communication Exclusive
station nication Modbus
bit bit nance bit channel mode
no. speed
RS232C null
1 2400 7 EVEN 1 modem or Master ASCII
RS422/485
8-43
Chapter 8 Modbus Communication
b) After creating the program as below, download it to the GM7 basic unit of the Master station. For further
program creation and download method, please refer to GMWIN user’s manual.
In the program, the Function Block is used. If you double-click GMWIN ‘inserted library files’ items before using
the Function Block, the library insert window will be open as below. Press ‘Add (A)…’ button and add
COMM.7FB library and then press ‘verify’ button.
8-44
Chapter 8 Modbus Communication
- Program Example
8-45
Chapter 8 Modbus Communication
After saving 16#FF (or 255) to %MW0 (this corresponds with %MX0 ~ %MX15 or %MB0 ~ %MB1.) in the Function
Block MOD0506 (function code 06), read %MX0 using the Function Block MOD0102 (function code 01) and save ’0’
to %MX0 ~ %MX9 using the Function Block MOD1516 (function code 15) again and then read %MW0 using the
Function Block MOD0304 (function code 03).
You can see that 8 LED of output contact continues to repeat ON/OFF.
The above figure is the screen that monitors the program execution. Thus, the value to be indicated on Array variable
_RD_DB, _RD_DW is the result value after executing ‘Read’ not the initial value.
The variable such as instance name.NDR, instance name.ERR, instance name.STATUS is generated automatically if
declaring the instance variable of the Function Block.
_1ON flag is the flag that will be ON only for 1Scan.
Each Function Block input REQ is each Function Block output.
The size of _BYTE_CNT must be same when converting the data by byte unit.
If the size of Array variable is smaller than that of the data to read or write, error occurs.
Variable table
Variable name Variable type Initial value Variable name Variable type Initial value
_SLV_ADDR USINT 17(H11) _NH0102 USINT 0(H00)
_FUNC0102 USINT 1(H01) _NH0304 USINT 0(H00)
_FUNC0304 USINT 3(H03) _NH0506 USINT 0(H00)
_FUNC0506 USINT 6(H06) _NH1516 USINT 0(H00)
_FUNC1516 USINT 15(H0F) _NL0102 USINT 1(H01)
_AH0102 USINT 0(H00) _NL0304 USINT 255(HFF)
_AH0304 USINT 0(H00) _NL0506 USINT 1(H01)
_AH0506 USINT 0(H00) _NL1516 USINT 10(H0A)
BOOL type
_AH1516 USINT 0(H00) _RD_DB {0,0,…,0}
ARRAY[40]
WORD type
_AL0102 USINT 0(H00) _RD_DW {0,0,0,0}
ARRAY[4]
BYTE type
_AL0304 USINT 0(H00) _WR_DBW {0,0,0,0}
ARRAY[4]
_AL0506 USINT 0(H00) _BYTE_CNT USINT 2(H02)
_AL1516 USINT 0(H00)
8-46
Chapter 8 Modbus Communication
8-47
Chapter 8 Modbus Communication
8-48
Chapter 8 Modbus Communication
process
Basic
1
setting
1. Setting channel 2.
2 P2P setting
1. Double-click the P2P in the project window and select module location.
P2P
3 Channel
Setting
8-49
Chapter 8 Modbus Communication
Setting
Sequence Setting method
process
P2P Block
4
setting
1. In case of GSL-DT4A, it consists of input 16 point and output 16 point. Therefore set READ and
2. In the above setting, input area which is word type in the READ part is set to be in the M100 of PLC.
3. Smart I/O output area is set to send data in the M200 of PLC.
Write
5
Parameter
6 Enable Link
8-50
Chapter 9 Ethernet Communication
9.1 Introduction
9-1
Chapter 9 Ethernet Communication
9-2
Chapter 9 Ethernet Communication
9.3.1 BootpServer
Smart I/O Enet module, as a slave module, needs to set up IP Address, Subnet Mask, and Gateway Address to
communication with the master module. .
To set up parameters of Smart I/O Enet module, BootpServer program shall be used.
9-3
Chapter 9 Ethernet Communication
Confirm the power of Smart I/O Enet module and connect to the user’s PC with Enet cable.
Check and select MAC Address of Smart I/O Enet module to be set up from the Bootp module list window.
Enter IP Address, Subnet Mask and Gateway Address setting values on the parameter setting window.
9-4
Chapter 9 Ethernet Communication
9-5
Chapter 9 Ethernet Communication
(d) Select Browse and check the path of BootpServer execution file.
9-6
Chapter 9 Ethernet Communication
9-7
Chapter 9 Ethernet Communication
Note
(1) Do not set DHCP on your local LAN card when using BootpServer
9-8
Chapter 9 Ethernet Communication
Enet Adapter
Read Data
Slot1 Input data: 2Word
Receiving Data (Slave -> Master) Sending Data (Master -> Slave)
Address Data Size Extension Input Module Address data Size Extension Output Module
0 0
2Word DC Input 32 scores 2Word TR Output 32 scores
1 1
2 CH0 2 CH 0
6Word A/D D/A
3 CH 1 3 7Word CH 1
4Word Conversion 4Word Conversion
4 CH 2 4 CH 2
4CH 4CH
5 CH 3 5 CH 3
6 1Word Relay Output 16 scores
9-9
Chapter 9 Ethernet Communication
To communication with Smart I/O Enet module, first, download basic parameter of Smart I/O Enet module, then
set up the Master module’s communication parameter and P2P parameter.
Execute BootpServer
▽
1. Set up Smart I/O Enet module parameter
(1) IP Address
(2) Subnet Mask
(3) Gateway Address
▽
Execute XG5000
▽
1. Read I/O information
(1) Basic set-up
(2) TCP/IP set-up
▽
2. Write basic parameter
▽
3. Reset individual module
▽
4. Set up P2P
(1) Set up communication module
(2) Set up P2P channel
(3) Set up P2P block
(a) Block to set up parameter
(b) Block for data communication
▽
5. Write P2P parameter
▽
6. Enable link
9-10
Chapter 9 Ethernet Communication
Note
When set the XBL-BSSA P2P data block, please note that as below
(1) Modbus TCP can use bit or word type data only. So, there will be problem if you mount the byte
type module to first or in the middle. (such as XBE-RY08A, TN08A, DC08A, DR16A)
a) I/O configuration
- Input: 17 bytes
- Output: 13 bytes
b) Size of parameter block setting: 12words
c) Data communication block setting
(a) Input module (RD04A, AD04A,DC08A): Read word type(8words) and bit type
(8bits) of 17 bytes data
- Read word type: 0x30000~0x30007
- Read bit type: 0x10080~0x10087
(b) Output module (TN32A, DV04A,RY08A): Write word type(6words) and bit
type(8bits) of 13bytes data
- Write word type: 0x40000~0x40005
- Write bit type: 0x00060~0x00067
(c) Parameter setting: 2words of each module
- Word type: 0x40100~0x4010B(12words)
9-11
Chapter 9 Ethernet Communication
Stage 1 Stage 2
Setting
Setting Item Description
program
Master setting XGL-EFMT XG5000
Base Number 0 XG5000
Slot Number 0 XG5000
IP
192.168.1.100
Address
Subnet
TCP/IP setting 255.255.255.0 XG5000
Master Mask
Gateway
192.168.1.1
Address
P2P Channel setting Mode Bus TCP Client XG5000
P2P Trigger 20ms clock XG5000
P2P Way Continual XG5000
Data Type Word XG5000
IP
192.168.1.111
Address
module parameter Subnet
255.255.255.0 BootpServer
setting Mask
Gateway
192.168.1.1
Address
Block 1 Device D00000
Reading Block XG5000
Size 18
Device D00100
Saving Block XG5000
Size 10
Parameter Setting Device D00500
XG5000
Block Size 16
Slave
IP
192.168.1.112
Address
Module Parameter Subnet
255.255.255.0 BootpServer
Setting Mask
Gateway
192.168.1.1
Address
Block 2 Device D00200
Reading Block XG5000
Size 8
Device D00300
Saving Block XG5000
Size 8
Parameter Setting Device D00600
XG5000
Block Size 16
9-12
Chapter 9 Ethernet Communication
Confirm completion of
1-4
parameter setting Check output window
Set up extension block 2 Repeat 1-1 ~ 1-4
1-5
module
9-13
Chapter 9 Ethernet Communication
Select XGK
Complete program
1-5
creation Select OK button
9-14
Chapter 9 Ethernet Communication
Set up communication
2-1
method
9-15
Chapter 9 Ethernet Communication
Select Master module from basic setting tap and double click.
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
DNS Server, Waiting Time, Exclusive Connection Count:
Setting suitable for user’s environment
5-3 Set up
Select OK button
9-16
Chapter 9 Ethernet Communication
9-17
Chapter 9 Ethernet Communication
Kind: FEnet
Base: 0
Slot: 0
Select OK button
9-18
Chapter 9 Ethernet Communication
9-19
Chapter 9 Ethernet Communication
9-20
Chapter 9 Ethernet Communication
Enet Adapter
Read Data
Slot1 Input data: 4 Byte
9-21
Chapter 9 Ethernet Communication
9-22
Chapter 9 Ethernet Communication
9-23
Chapter 9 Ethernet Communication
To communication with Smart I/O Enet module, first, download basic parameter of Smart I/O Enet module, then
set up Master module의 communication parameter and P2P parameter of the master module.
Execute BootpServer
▽
1. Set up Smart I/O Enet module parameter
(1) IP Address
(2) Subnet Mask
(3) Gateway Address
▽
Execute XG5000
▽
1. Read I/O information
(1) Basic set-up
(2) TCP/IP set-up
▽
2. Write basic parameter
▽
3. Reset individual module
▽
4. Set up P2P(EIP)
(1) EIP configuration
(2) Set up EIP channel
(3) Set up EIP block
(a) Block to set up parameter
(b) Block for data communication
▽
5. Write P2P parameter
▽
6. Enable link
9-24
Chapter 9 Ethernet Communication
9-25
Chapter 9 Ethernet Communication
Confirm completion of
1-4
parameter setting Check output window
9-26
Chapter 9 Ethernet Communication
Select XGK
9-27
Chapter 9 Ethernet Communication
Set up communication
2-1
method
9-28
Chapter 9 Ethernet Communication
Select Master module from basic setting tap and double click.
9-29
Chapter 9 Ethernet Communication
9-30
Chapter 9 Ethernet Communication
Set up P2P
8-2
communication module
Kind: EtherNet/IP
Base: 0
Slot: 0
9-31
Chapter 9 Ethernet Communication
9-32
Chapter 9 Ethernet Communication
[XG5000 - Step 9] P2P communication setting (Implicit communication): There are two way that using dedicated or
generic EDS
(1) Using dedicated EDS (XBL-BSSB EDS)
Step Item Screen Configuration and Setting
9-1 Register P2P Refer to 8-1
Set up P2P
9-2 communication Refer to 8-2
module
Select OK button
9-33
Chapter 9 Ethernet Communication
After selecting communication channel, set up I/O type and connection type.
0: Exclusive Owner
1: Input Only
2: Listen Only
Set up P2P
9-5
Block Set up I/O data size and connection points on the parameter setting window.
9-34
Chapter 9 Ethernet Communication
Select OK button
9-35
Chapter 9 Ethernet Communication
After selecting communication channel, set up I/O type and connection type.
Set up P2P Set up I/O data size and connection points on the parameter setting window.
9-5
Block
9-36
Chapter 9 Ethernet Communication
9-37
Chapter 9 Ethernet Communication
9-38
Chapter 10 RAPIEnet Communication
Overview
This chapter provides information on each module's specifications, performance, and operating method for using the Smart
I / O module. This chapter contains the following.
The RAPIEnet I/F Module carries out the communication between the PLCs in the XGT series on the basis of Ethernet
communication, and provides two Ethernet ports which can be configured in line (daisy chain) and ring structure,
enabling construction of network which is more flexible than conventional star-type PLC communication module. Smart
I/O RAPIEnet module supports 2 electrical ports(100BASE-TX) and It is a kind of remote I/O module using XGT
RAPIEnet module as a master module.
When you configure the communication module system, please check each of the programs and modular versions.
Available product specific version is as follows.
Classification OS version
XGK CPU series v2.0 or Above
XGI CPU series v2.0 or Above
XGR CPU series v1.0 or Above
XGT RAPIEnet Master v3.0 or Above
XG5000 v4.07 or Above
10-1
Chapter 10 RAPIEnet Communication
Product Specification
10-2
Chapter 10 RAPIEnet Communication
Communication Settings
Smart I/O RAPIEnet can be used after setting high-speed links and parameters of Smart I/O using XG5000, and the whole
setting procedures are as follows.
System Configuration
Execute XG5000
Create a Project
Parameter download
Download parameter -Slave parameter
-High-speed link parameter
Link enable
Data communication
10-3
Chapter 10 RAPIEnet Communication
b) Click OK after entering the basic information necessary to create the project.
10-4
Chapter 10 RAPIEnet Communication
(d) Click I/O synchronization, and the message that indicates I/O parameters are overwritten to the PLC is
generated. Click [OK].
(e) Check if XGL-EIMT module is registered in the project window [Network Configuration][Basic Network].
(f) Select [Add item] →[Add slave] menu by clicking the right mouse button after selecting XGL-EIMT
registered as new on the network configuration screen. Or, select [Project] →[Add item] →[Add slave]
of XG5000 menu to perform the same function.
10-5
Chapter 10 RAPIEnet Communication
10-6
Chapter 10 RAPIEnet Communication
(b) Click the application, and the message that indicates the module set in I/O parameter is registered is
generated. Click [Yes].
10-7
Chapter 10 RAPIEnet Communication
(c) Check if XGL-EIMT module is registered in the project window [Network Configuration][Basic Network].
(d) Select [Add item] →[Add slave] menu by clicking on the right mouse button after selecting XGL-EIMT
registered as new on the network configuration screen. Or, select [Project] →[Add item] →[Add slave] of
XG5000 menu to perform the same function.
10-8
Chapter 10 RAPIEnet Communication
10-9
Chapter 10 RAPIEnet Communication
Remarks
Notice1) Slave configuration window is created by clicking [XG5000→Project→Add item→Add slave] after registering
RAPIEnet master module(XGL-EIMT)in the basic network.
10-10
Chapter 10 RAPIEnet Communication
System catalog
It includes the information about module parameter and basic parameter on the Smart I/O RAPIEnet module.
Double click the Smart I/O to be used or drag-in to the slave configuration window, and the parameter setting
window for the module is created.
10-11
Chapter 10 RAPIEnet Communication
Auto Scan
It is an item which is enabled only when XG5000 is connected to the PLC online. Smart I/O connected to the
RAPIEnet master module can be added by clicking Auto Scan. Click Add Slave of Auto Scan, and the slave list
available on the network is created.
<Add slaves>
Remarks
Notice1) When you click the Slave Add button, only the Smart I/O in which parameters are not set can be added.
If the slave you want to select from [Add Slave] window is controlled by another master module, the slave cannot be selected.
10-12
Chapter 10 RAPIEnet Communication
10-13
Chapter 10 RAPIEnet Communication
Heartbeat use
It is a function to check if network elimination between Smart I/O and RAPIEnet master occurs. The presence
within the network can be confirmed by checking heartbeat signals at set time intervals. The heartbeat period can
be set up to 200~65500msec, and the heart beat error information for each Smart I/O can be provided if the
diagnostic area use is checked.
10-14
Chapter 10 RAPIEnet Communication
Product name
It displays the product name of the Smart I/O module.
Station No.
It is the setting menu for the station No. of the Smart I/O, and the setting range is from 0 to 63.
High-speed link transmission mode
It is an item that is enabled only when the module of input type is selected and can be set to Cyclic and CoS.
Name Meaning Remarks
Cyclic It is used if the data is transmitted periodically. Default value
It is used if the data is transmitted only when the input status changes.
CoS In case the change of data is slow, the network load can be reduced by applying
the CoS method.
10-15
Chapter 10 RAPIEnet Communication
High-speed link
Reference
transmission cycle(msec)
5
10
20
50
100
200 Default value
500
1000
The transmission cycle of the output module follows the data transmission cycle of the high-speed link.
High-speed link
transmission cycle of
output module
10-16
Chapter 10 RAPIEnet Communication
Remarks
1.Examples of network load calculations according to the minimum transmission prohibition time
If the data of the input module is changed to the unit of 2msec
1) When the minimum transmission prohibition time is set to 2msec
(1) Packets per second(pps)= 1/0.002 = 500pps
(2) 5,000pps(XGL-EIMT allowable packet amount(3,600pps)exceeded) when 10 units are configured with the module of
the same condition
2) When the minimum transmission prohibition time is set to 200ms
(1) Packets per second(pps)= 1/0.2 = 5pps
(2) 50pps when 10 units are configured with the module of the same condition
2. If the data change cycle of the input module is less than the minimum transmission cycle (5msec), it is recommended to
select Cyclic mode as the high-speed link transmission mode for stable system operations.
Input filter
This function is enabled only in case of the digital input module, and it supports the input filter function to prevent
the processing of invalid values caused by external nose. It means that only when the data is maintained at more
than the input filter value, it is processed into valid data, and it is required to set the input filter value in
consideration of the use environment.
10-17
Chapter 10 RAPIEnet Communication
GEL-AV8C
10-18
Chapter 10 RAPIEnet Communication
GEL-AC8C
10-19
Chapter 10 RAPIEnet Communication
GEL-DV4C
10-20
Chapter 10 RAPIEnet Communication
GEL-DC4C
10-21
Chapter 10 RAPIEnet Communication
High-speed link is a method of communication between XGT PLC communication modules, and it is a data
transmission service that can send and receive data by high-speed parameter setting and allows users to exchange
data by setting the transmitting and receiving data size, transmission and reception cycle, transmission and reception
area and storage area in the parameter with the use of XG5000. Smart I/O RAPIEnet can be used by synchronizing
the slave parameter set value to the high-speed link block.
The communication high-speed link points are as follows, and the basic point is 1 word.
Maximum Maximum reception Maximum block Maximum point
Product
communication point point number per block
XGK CPU 12,800 12,800 128(0-63) 200
10-22
Chapter 10 RAPIEnet Communication
b) [Communication module setting] window for setting the high-speed link communication is created.
10-23
Chapter 10 RAPIEnet Communication
Items Contents
Module type Set the installed communication module(RAPIEnet)
Base number Set the base position of the installed module(extension of 7 stages)
Communication
Set the slot location of the installed module(installation of up to 12 units)
module setting
Slot number Setting range: 0~11
* For XGB, the maximum of 10 slots can be set.
- Specify that the data is transmitted every set cycle.
- Setting range: 5ms, 10ms, 20ms, 50ms, 100ms, 200ms, 500ms, 1s
(operates 200ms in the case of the basic settings)
Communication - Reception data is updated every scan regardless of the communication cycle.
Cycle type
cycle setting - The same communication cycle is applied with respect to the entire transmission and
reception block.
- The data that can be transmitted once is four blocks, and it is divided into the unit of four
blocks when exceeding four blocks, when the data size of one block doesn’t matter.
Set the output data in case of CPU error
CPU error -Latch: Latched to the output just before the CPU error
Output data
-Clear: Cleared to ’0’
setting in case of
Set the output data in case of CPU stop
emergency
CPU stop -Latch: Latched to the output just before the CPU stop
-Clear: Cleared to ‘0’
Conduct synchronization of Smart I/O RAPIEnet with the high-speed link block
Slave registration
- Need to register the slave module through the slave configuration in advance
10-24
Chapter 10 RAPIEnet Communication
Remarks
If you proceed with the slave synchronization, Smart I/O is automatically set, except for the Read area/Save area.
10-25
Chapter 10 RAPIEnet Communication
Remarks
Notice1) Precautions when entering the block number
1. In case of entering the block number in transmission mode, if the block number is duplicated with that of Smart I/O,
normal communication cannot be made.(Error occurs in writing the high-speed parameter)
2. Duplicate settings on the same block are prohibited in creating the transmission block.
3. Duplicate settings on the same station number are prohibited in creating the reception block, but duplicate settings are
possible for the block number on the other station number.
Notice 2) Diagnostic information save area is displayed only when the diagnostic information use is selected in the slave
configuration, and one word per slave module is automatically allocated.
10-26
Chapter 10 RAPIEnet Communication
1) Slave registration
Slave registration is a service to register the Smart I/O module set in the slave configuration window in the high-speed
link block or set if the change of the subject for application is needed due to a change in network system among the
Smart I/O modules registered in the high-speed link block.
The data communication through the high-speed link is possible only in case the Smart I/O is registered in the high-
speed link block.
The registration of slave to be applied to the high-speed link block can be set by means of the method on how to
register the slave of [Communication module setting] menu and the method on how to apply [Slave registration] in the
high-speed link block.
Remarks
Notice 1) Select the slave to be used by clicking the slave registration and then click Apply even when the change of the slave
list within the high-speed link block is needed due to a change in the network system.
10-27
Chapter 10 RAPIEnet Communication
10-28
Chapter 10 RAPIEnet Communication
Remarks
Notice 2) Select the slave to be used by clicking the slave registration and then click Apply even when the change of the slave
list within the high-speed link block is needed due to a change in the network system.
10-29
Chapter 10 RAPIEnet Communication
d) Check if the selected Smart I/O is displayed in the high-speed link block window.
10-30
Chapter 10 RAPIEnet Communication
Remarks
In writing parameters, the slave parameter of the Smart I/O module is stored in RAPIEnet master module, and the high-
speed link parameter in CPU, respectively.
Therefore, if [Basic setting]→ [RAPIEnet] of [Network parameter] is checked and downloaded after changing the parameter
in case a change in the slave parameter occurs, the changed parameter is applied.
10-31
Chapter 10 RAPIEnet Communication
1) System Configuration
System Configuration
XGL-EIMT(50)
GEL-DT4C1(10) GEL-AC8C(20)
Module Information
Classification Name Description Reference
1. Read area: M100
CPU XGK-CPUH 2. Save area: M200 -
3. Diagnostic area: M300
1. High-speed link information: 01
RAPIEnet Master XGL-EIMT Master Station address 50
2. High-speed link cycle: 200msec
GEL-DT4C1 1. Station address: 10 -
Smart I/O
GEL-AC8C 1. Station address: 20 -
1. Heartbeat cycle: 1000msec
2. Diagnostic area: Use
3. High-speed link
transmission mode: Cyclic 1.Input filter: Only for GEL-DT4C1
Basic parameter 4. High-speed link 2. Emergency output mode: Only for
transmission cycle: 200msec GEL-DT4C1
Parameter
5. Data transmission: Unicast
6. Input filter: 3msec
7. Emergency Output Mode: Clear
1. Input range: 4~20mA
Module parameter 2. Output data type: 0~16,000 Common for all channels
3. Average processing: Prohibition
10-32
Chapter 10 RAPIEnet Communication
2) Project creation
Project creation
a) Run XG5000 and select [Project]→[New project]. Select the CPU series and type by referring to the module
information of the system configuration.
b) Click OK after entering the basic information necessary to create the project.
10-33
Chapter 10 RAPIEnet Communication
(d) Click I/O synchronization, and the message that indicates I/O parameters are overwritten to the PLC is
generated. Click [OK].
(e) Check if XGL-EIMT module is registered in the project window [Network Configuration][Basic Network].
(f) Select [Add item] →[Add slave] menu by clicking on the right mouse button after selecting XGL-EIMT
registered as new on the network configuration screen. Or, select [Project] →[Add item] →[Add slave] of
XG5000 menu to perform the same function.
10-34
Chapter 10 RAPIEnet Communication
10-35
Chapter 10 RAPIEnet Communication
(a) Set the basic parameters required for the slave configuration.
(c) Click [Add slave] to select the entire module. Click [OK].
10-36
Chapter 10 RAPIEnet Communication
(d) Check if the module name of the Smart I/O module added to the slave configuration window and station
number are displayed.
10-37
Chapter 10 RAPIEnet Communication
(e) Double click the GEL-DT4C1 in the slave configuration window to enter the parameters defined above.
10-38
Chapter 10 RAPIEnet Communication
(b) Click the application, and the message that indicates the module set in I/O parameter is registered is
generated. Click [Yes].
10-39
Chapter 10 RAPIEnet Communication
(c) Check if XGL-EIMT module is registered in the project window [Network Configuration][Basic Network].
(d) Select [Add item] →[Add slave] menu by clicking on the right mouse button after selecting XGL-EIMT
registered as new on the network configuration screen. Or, select [Project] →[Add item] →[Add slave] of
XG5000 menu to perform the same function.
10-40
Chapter 10 RAPIEnet Communication
(a) Set the basic parameters required for the slave configuration.
10-41
Chapter 10 RAPIEnet Communication
(b) Double click [GEL-DT4C1] after selecting the [System catalog] or click [OK] after entering the parameter
values defined by selecting through drag-in to the [Slave configuration window].
10-42
Chapter 10 RAPIEnet Communication
b) Enter the high-speed link information of the master module to perform the high-speed link communication,
when if the slave to be applied to the high-speed link block is conducted in the [Communication module
setting] window, click the [Slave registration].
10-43
Chapter 10 RAPIEnet Communication
10-44
Chapter 10 RAPIEnet Communication
10-45
Chapter 10 RAPIEnet Communication
(d) Check if the selected Smart I/O is displayed in the high-speed link block window.
Remarks
1. Add and Remove Slave can be set only by the slave registration.
2. If the module station number registered in the slave configuration window does not match the station number registered
in the high-speed link bock due to a change in the slave configuration, the module type of the high-speed link is displayed as
the module type mismatch. Please check the module information registered in the slave configuration window in this case.
10-46
Chapter 10 RAPIEnet Communication
In the above device areas, the data of M100 is transferred to the output data of GEL-DT4C1 in the case of Read area,
and the input data is received in Save area. For GEL-AC8C, the data of one word per channel is received based on
the M201.
If the data of the high-speed link is entered correctly, the color of the text is changed to black as shown below
10-47
Chapter 10 RAPIEnet Communication
DC 1 ~ 5V
DC 0 ~ 5V DC 4 ~ 20 ㎃
DC 0 ~ 10V DC 0 ~ 20 ㎃
Analog Input range DC -10 ~ 10V (Input resistance: 250Ω)
(Input resistance: more than 1 ㏁)
Input range can be set per channel by user program or after setting I/O
parameter,
Digital Output type 16bits binary value(Data 14bits)
Unsigned
0 ~ 16,000
value
Signed value -8,000 ~ 8,000
1,000 ~ 5,000 (DC 1 ~ 5V)
Digital output
Precise 0 ~ 5,000 (DC 0 ~ 5V) 4,000 ~ 20,000 (DC 4 ~ 20 ㎃)
range
value 0 ~ 10,000 (DC 0 ~ 10V) 0 ~ 20,000 (DC 0 ~ 20 ㎃)
-10,000 ~ 10,000 (DC -10 ~ 10V)
Percentile
0 ~ 10,000
value
Max. resolution 1/16,000
Precision 0.3% (Full Scale, Ta= 0 ~ 55℃)
Max conversion speed 10ms/8 channels
Additional functions Filter processing(1~99), Count average(2~64,000times), Time average(20~16,000ms)
Photo-coupler insulation between output terminal and PLC power
Insulation method
(non-insulation between channels)
Output terminal 38 Points terminal block
Supply Voltage DC 24V ± 10%(Ripple voltage less than 4Vp-p)
power Current Less than 322mA Less than 341mA
+ -
GEL-AV8C
24V 24G
∙ ∙ ∙ ∙ ∙ ∙ ∙ CH0
V+
CH1
V+
CH2
V+
CH3
V+
CH4
V+
CH5
V+
CH6
V+
CH7
V+ ∙ ∙
∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙
∙
FG
CH0
V-
CH1
V-
CH2
V-
CH3
V-
CH4
V-
CH5
V-
CH6
V-
CH7
V- ∙ ∙
Terminal
block
+ -
configuration
10-48
Chapter 10 RAPIEnet Communication
DC 1 ~ 5V
DC 0 ~ 5V DC 4 ~ 20 ㎃
DC 0 ~ 10V DC 0 ~ 20 ㎃
Analog output range DC -10 ~ 10V (Load resistance: less than 600Ω)
(Load resistance: more than1 ㏀)
Output range can be set per channel by user program or after setting I/O
parameter,
Digital input type 16 bits binary value(data 14 bits)
Unsigned
0 ~ 16,000
value
Signed value -8,000 ~ 8,000
1,000 ~ 5,000 (DC 1 ~ 5V)
Digital input
Precise 0 ~ 5,000 (DC 0 ~ 5V) 4,000 ~ 20,000 (DC 4 ~ 20 ㎃)
range
value 0 ~ 10,000 (DC 0 ~ 10V) 0 ~ 20,000 (DC 0 ~ 20 ㎃)
-10,000 ~ 10,000 (DC -10 ~ 10V)
Percentile
0 ~ 10,000
value
Max. resolution 1/16,000
Precision 0.3% (Full Scale, Ta= 0 ~ 55℃)
Max. conversion speed 10ms/4 channels
Additional functions Setting functions of channel output status (Previous, Min, Middle, Max)
Photo coupler insulation between I/O terminal and PLC power.
Insulation method
(No insulation between channels)
Output terminal 38 points terminal block
Supply Voltage DC 24V ± 10%(Ripple voltage less than 4Vp-p)
power Current Less than 315mA Less than 481mA
+ -
GEL-DV4C
24V 24G
∙ ∙ ∙ ∙ ∙ ∙ ∙ CH0
V+
CH1
V+
CH2
V+
CH3
V+ ∙ ∙ ∙ ∙ ∙ ∙
∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙
∙
CH0 CH1 CH2 CH3
FG
V- V- V- V-
Terminal
Configuratio
+ -
n
10-49
Chapter 10 RAPIEnet Communication
④ Station number
switch
⑤ Terminal
block
⑥ HooK
10-50
Chapter 10 RAPIEnet Communication
Classificat
Color Operation Status Reference
ion
On Normal Normal status
Green Station number
Flicker Normal Self-diagnosis normal service
Switch: 92
Error Heartbeat Error occurred, Network disconnected
On Station number
STATUS Error Self-diagnosis service error
Switch: 92
Red Normal Boot mode operation
Error Duplicated station address See Remark
Flicker
Parameter setting error, Initialization error,
Error
Frame error
On Normal Network link is successfully configured through port 1
Green
PORT1 Off Stand-by Network disconnected
Red Flicker Normal Communication on Port1
On Normal Network link is successfully configured through port 2
Green
PORT2 Off Stand-by Network disconnected
Red Flicker Normal Communication on Port2
On Latch When emergency *Note1) Hold output state
LATCH*Note2) Green
Off Clear When emergency Clear output data
*Note1) When emergency status: The data of Master module is not received within given time due to network problems.
*Note2) LATCH: Latch functions are shown only for output module (GEL-TR4C1/DT4C1/RY2C).
10-51
Chapter 10 RAPIEnet Communication
Remarks
When duplicated Station address is occurred, please refer to the following operating conditions.
1. In case that the power of Smart I/O RAPIEnet modules turns on at the same time in duplicated network
configuration.
- STATUS LED: Red Fliker
- Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
2. When station address of added Smart I/O is duplicated with existing module.
2) When the heartbeat of master module is set (Newly added module in a network)
(1) STATUS LED: Red Fliker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
3) When the heartbeat of master module is not set (Normally operated module)
(1) STATUS LED: Red Fliker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module Maintain previous output value
4) When the heartbeat of master module is set (Newly added module in a network)
(1) STATUS LED: Red Fliker
(2) Data Output:
Classification Data status Reference
Input module No data transmission
Output module No data output
10-52
Chapter 10 RAPIEnet Communication
Digital
output 5000 0 8000
value
0 -8000 0
-120 -8192 -192 Offset
value
DC 1 ~ 5 V 1V 3V 5V
Analog DC 0 ~ 5 V 0V 2.5 V 5V
input DC 0 ~ 10 V 0V 5V 10 V
value DC -10 ~ 10 V -10 V 0V 10 V
10-53
Chapter 10 RAPIEnet Communication
10-54
Chapter 10 RAPIEnet Communication
Analog input
GEL-AC8C applicable range
Digital
Output 5000 0 8000
value
0 -8000 0
-120 -8192 -192 Offset
value
Analog DC 4 ~ 20 mA 4 mA 12 mA 20 mA
Input value DC 0 ~ 20 mA 0 mA 10 mA 20 mA
10-55
Chapter 10 RAPIEnet Communication
2) Output characteristic
Gain value
5.048 5.06 10.12 10.24
5V 5V 10V 10V
4V 3.75V 7.5V 5V
Analog Analog
input
output 3V 2.5V 5V 0V applicable
value range
1V 0V 0V -10V
0.952 -0.06 -0.12 -10.24 Offset
value
Digital Unsigned value -191 0 8000 16000 16191
10-56
Chapter 10 RAPIEnet Communication
10-57
Chapter 10 RAPIEnet Communication
Gain value
20.192 20.24
20mA 20mA
16mA 15mA
Analog Analog
input
output 12mA 10mA applicable
value range
8mA 5mA
4mA 0mA
3.808 Offset
value
Digital Unsigned value -191 0 8000 16000 16191
10-58
Chapter 10 RAPIEnet Communication
1) Input accuracy
Accuracy of digital output value does not changed even if input range is changed.
Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned
16032
16000
15968
Digital output value
8000
32
0
-32
0V 5V 10 V
Analog input voltage
(1) Accuracy when using 5V input = 16000 × 0.3% = 48
Therefore the range of the accuracy will become (8000-48) ~ (8000+48) = 7952 ~ 8048
when using 5V input.
10-59
Chapter 10 RAPIEnet Communication
2) Output accuracy
Though the range of input is changed, the accuracy for the analog output values doesn’t change. The range of accuracy is
displayed at the ambient temperature of 25 ± 5 ℃ if you select unsigned value as your range of the digital input.
The accuracy is satisfied ±0.3%.
10-60
Chapter 10 RAPIEnet Communication
Function Details
Channel
∙ It sets up Run/Stop of a channel that will operate an A/D conversion.
Run/Stop setting
1) Sampling Process
In popular A/D conversion process, analog input signals are collected at constant time intervals.
and A/D converted. The time elapsed for the analog signals converted into digital signals and saved in memory device
depends upon the number of channels used.
2) Filtering Function
(1) Filtering Processing
Filter process function is used to obtain stable digital output value by filtering (delaying) noise or sudden change of
input value.
Setting range: 1 ~ 99(%)
10-61
Chapter 10 RAPIEnet Communication
3) Average processing
(1) Time average
It accumulates input values of a selected channel and displays the average of the total sum in digital data.
Channel scan
interval(0.5ms/used channel)
Averaging Averaging Averaging
section section section
Setting time
Average Process count =
No. of channel used x 10ms
(Ex.) If the number of channels used is 8, and setting time is 16000 ms:
16000 ㎳ ÷ (8 x 10 ㎳) = 200 times
Time average is processed after converted to average of the times inside the A/D conversion module. In this case, a
remainder may be produced when setting time is divided by (number of channels used X conversion speed), which will
be disregarded. Thus, the average processing frequency will be the quotient of [(setting time) ÷ (number of channels
used x conversion speed)].
(Ex.) If the number of channels used is 1, and setting time is 151 ms
151 ㎳ ÷ (10 ㎳) = 15.1times → 15 times
Channel scan
interval(0.5ms/used channel)
Averaging Averaging Averaging
section section section
Process time [㎳] = Setting frequency x Number of channels used x Conversion speed
(Ex.) If the number of channels used is 3, its process time will be
4 x 50 x 10 ㎳ = 2000 ㎳
10-62
Chapter 10 RAPIEnet Communication
(1) Functions
It is used to output an already set value when PLC system switches RUN to Stop.
(2) Types
You can select one among previous, min, middle and max value.
a) Previous value: Keeps last normal output value.
b) Min. value: Outputs minimum value of the each output range.
c) Middle value: Outputs middle value of the each output range.
d) Max. value: Outputs max. value of the each output range..
(3) Example
When output is 10mA and range of output channel is 4~20mA, if system switches Run to Stop, it outputs as follows
according to output state setting.
(a) Previous value: keeps previous output, 10mA
(b) Min. value: outputs min. value of corresponding range, 4mA.
(c) Middle value: outputs middle value of corresponding range, 12mA
(d) Max. value: outputs max. value of corresponding range, 20mA.
10-63
Chapter 10 RAPIEnet Communication
10-64
Chapter 11 Installation and Wiring
11.1 Installation
This machine has a high reliability regardless of the environment to install. But cares should be taken to
secure the reliability and the safety as follows.
1) Environment Condition
2) Installation Construction
(1) When working the screw hole and the wiring, it is not allowed to put the wire remnants into the PLC.
(2) The installation location should be the place to operate.
(3) Do not install it on the same panel as the high voltage machine.
(4) The distance between wiring duct and the surrounding module should be at least 50mm apart.
(5) The grounding should be done on a good place free from noise.
(1) When installing the PLC in the sealed control panel, the radiation design should be done considering the
radiation of other machine as well as the radiation of PLC itself. When circulating the air using the vent or the
general fan, it may effect the PLC system due to the inflow of gas or dust.
(2) It is recommended to install the filter or use the sealed type thermal exchanger.
11-1
Chapter 11 Installation and Wiring
Profibus-DP Smart I/O can set max. 126 stations. (including master)
(1) Check the basic factors necessary for the system configuration and select the proper communication
module.
(2) Prepare the cable and accessories such as tab, terminal resistance etc. to be used for this communication.
(3) The station no. of all other stations including this module should be different. If connecting with double
station no., it may cause the communication error.
(4) In case of operating with normal communication, the mode switch of master module should be at RUN
mode. If changing the mode switch of master module in the status that other stations are in
communication, it may cause significant communication obstacle with other stations. So, special cares are
needed.
(5) For communication cable, the designated standard cable should be used. If not, it may cause significant
communication obstacle.
(6) Check if the communication cable is cut off or short-circuited before installation.
(7) Tighten the communication cable connector completely and fix the cable connection tightly. If cable
connection is not complete, it may cause significant communication obstacle.
(8) If the communication cable is twisted or the cable is not connected properly, it may cause communication
error.
(9) In case of connecting the long distance communication cable, the wiring should be done far from the
power line or inductive noise.
(10) If LED action is abnormal, check the trouble causes referring to this manual Chapter 12. “Trouble
Shooting”. If the problem repeats after taking the action, contact customer service center.
(11) Install this communication module in the status that PLC power is ‘OFF’.
(12) After finishing the communication cable connection, put the power ON and check the normal action in the
LED action status. If it is normal, download the corresponding program into GMWIN for GLOFA series
and into KGLWIN for MASTER-K series and run the program.
11-2
Chapter 11 Installation and Wiring
DeviceNet Smart I/O can set max. 64 stations(one master module included).
(1) Check the basic factors necessary for the system configuration and select the proper communication
module.
(2) Prepare the cable and accessories such as tab, terminal resistance etc. to be used for this
communication.
(3) It is available to control the speed automatically in accordance with the communication speed of master
module by the means of Auto baudrate function and it is required to comply the cable specification.
(4) In case of using the tab, it is required to use terminal resistance on both side of the tab. In case of single
network system, set it not to repeat the station no. Install the master module in the base with the PLC
power Off and set the communication address and communication speed accurately.
(5) Check if the connector pin of this communication module is normal and make sure that the power cable
and the communication cable are not short-circuited.
(6) If using the combined module (GDL-DT4A) when setting the high speed link parameter of G4/6L-DUEA,
the module will occupy 2 registration lists and it is available to register max. 31 (but only GDL-DT4A is
installed). If using XGL-DMEA module, the module is available to register max. 63 stations.
(7) The communication speed to be used for this communication module is 125K, 250K, 500Kbps and
when changing the communication speed after setting the communication speed, turn power ‘Off’ and
change the communication setting switch and then apply the power ‘On’. Then the changed mode shall
be applied.
Communication speed parameter is downloaded from SyCon after resetting and turn the power On.
11-3
Chapter 11 Installation and Wiring
Screw
4cm
Red(V+)
White(CAN_H)
SHIELD
Blue(CAN_L)
Insulated round cable 7cm 5-Pin Black(V-)
connector
(Female)
(1) Peel off the cover of the cable apprx. 7cm for cable connection.
(2) Remove the covered net covering the signal cable and remove the aluminum foil covering the signal
cable and the power cable.
(3) Cut the shrinkage cover for packing approx. 4cm and wrap the cable and then cover the exposed
conductor and insulated coverings of the cable.
(4) Peel off the coverings of the signal cable and the power cable approx. 3mm
from the ends.
(For safe cabling, apply heat to the compressed cover for packing and stick to the cable closely.)
(5) After inserting the peeled coverings into the clamp screw of the connector, tighten the screw. (Cares
should be taken to match the cable with the signal name of the connector.)
There are 2 ways of cable connection : one way to use the tab as below and another way to connect by the drop
method. DC 24V power should be installed in the place necessary to maintain the voltage when Smart I/O module
is getting more or the cable is getting longer.
Cable Tab
(Thin cable)
Node
11-4
Chapter 11 Installation and Wiring
Power
Power
Terminal Terminal
resistance resistance
Drop line (max. 6m)
Node Node
Node Node
Node Node
Node
Node Node Node Node
Power
Max. distance of network
Branch
Branch line
line Node
Node
Node
11-5
Chapter 11 Installation and Wiring
Distance of brunch line: Distance from first branch line of trunk line to the end of brunch line (Max. 6m)
4m
Brunch line (Max. 6m)
1m 1m 1m
Node
Node 2m
Node
Node
Node
J1 J2 J3 J4
J5 J6 J7 J8
(1) The drop line composed of Thick cable or Thin cable is available to connect to the device by the tab and in
case of Open-style tab, it is available to use 3 types of connectors.
- Pluggable screw type
- Hard-wired screw type
- Soldered type
(2) For the cable connection, it is ideal to connect the drop line when the system does not act. If connecting when
cable system is acting, it is required to connect to the trunk line after checking the connection status with other
devices not to influence the communication.
11-6
Chapter 11 Installation and Wiring
(3) If connecting to the trunk line, it is required not to exceed max. allowable length.
If the communication speed is 500Kbps, the length of branch line is less than 6m and total distance of branch line
is less than 39m. And if the communication speed is 250Kbps, the length of branch line is less than 6m and total
distance of branch line is less than 78m and if the communication speed is 125Kbps, the distance of branch line is
less than 6m and total distance of branch line is less than 156m respectively.
11-7
Chapter 11 Installation and Wiring
5) Power Layout
Communication
power
Communication
power
(3) In case of installing double power and dividing the power supply system,
Communication Communication
power power
V+
V-
24V 0V
Communication Communication
power power
The distance between the power and the power tab shall be within 3m.
11-8
Chapter 11 Installation and Wiring
Rnet Smart I/O can set max. 64 stations(one master module included).
(1) The station no. of all other stations including this module should be different. If connecting with double
station no., it may cause communication error.
(2) In case of operating with normal communication, the mode switch of master module should be at RUN
mode. If changing the mode switch of master module in the status in which other stations are in
communication, it may cause significant communication obstacle with other stations. So, special cares are
needed.
(3) For communication cable, the designated standard cable should be used. If not, it may cause significant
communication obstacle.
(4) Check if the communication cable is cut off or short-circuited before installation.
(5) Tighten the communication cable connector completely and fix the cable connection tightly. If cable
connection is not complete, it may cause significant communication obstacle.
(6) If the communication cable is twisted or the cable is not connected properly, it may cause communication
error.
(7) If using the combined module (GRL-DT4A) when setting high speed link parameter, the module will occupy
2 registration lists and it is available to register max. 31 (but only GRL-DT4A is installed).
(8) In case of connecting the long distance communication cable, the wiring should be done far from the power
line or inductive noise.
(9) Please do not use other than the provided connector like terminal block when wiring communication cables.
(10) If LED action is abnormal, check the trouble causes referring to this manual Chapter 12.’Trouble Shooting”.
If the problem repeats after taking the action, contact to A/S center.
(11) Install this communication module in the status that PLC power is ‘OFF’.
(12) After finishing the communication cable connection, apply the power ON and check the normal action in
the LED action status. If it is normal, download the corresponding program into GMWIN for GLOFA series
and into KGLWIN for MASTER-K series and run the program.
11-9
Chapter 11 Installation and Wiring
(1) The user must select the action mode for Cnet I/F module correctly and set the action mode accordingly. If
setting the action mode wrong, it may cause communication error.
(2) For the channel using the exclusive communication mode, it is required to set the station no. In case of the
system using the exclusive communication mode and communicating by RS-422/485, it is not allowed to have
Modbus module of the same station no. in the same network. In case of RS-422 communication, if there is
double station no., it may cause communication error.
(3) For communication cable, the designated standard cable should be used. If not, it may cause significant
communication obstacle.
(4) Check if the communication cable is cut off or short-circuited before
installation.
(5) Tighten the communication cable connector completely and fix the cable connection
tightly. If cable connection is not complete, it may cause significant communication obstacle.
(6) RS-422/485 cable should connect the TX/RX correctly. When several stations are
connected, the first 2 stations should be connected by TX and RX and other stations should be connected by
TX to TX and RX to RX themselves. (RS-422 communication)
(7) In case of RS-485 communication, TX and RX of Cnet I/F module should be connected to
each other.
(8) If the communication cable is twisted or the cable is not connected properly, it
may cause communication error.
(9) In case of connecting the long distance communication cable, the wiring should be
separated far from the power line or inductive noise and if necessary, it should be covered.
(10) If LED action is abnormal, check the trouble causes referring to this manual “Chapter 13. Trouble Shooting”. If
the problem repeats after taking the action, contact Customer service center.
11-10
Chapter 11 Installation and Wiring
Here it describes notices in handling from the opening of each unit and module to the installation.
(3) Environment
When I/O wiring, if it is close to heat generating machine or material or if the wiring is contacted directly to oil
for long time, it may cause short-circuit, breakage and failure.
(4) Polarity
Check the polarity before applying power to the terminal block that has the polarity. Special cares should be
taken not to wire AC input power to DC24V external power supply terminal on the edge of basic unit input
part. In case of DeviceNet, 24V power enters into the communication cable together and it is not necessary to
wire separately.
11-11
Chapter 11 Installation and Wiring
(5) Wiring
• When wiring the I/O line with high voltage cable and the power cable together, induction obstacle occurs
which may cause the failure and malfunction.
• It is not allowed to pass the cable in front of I/O action indication part (LED). (because it prevents from
distinguishing the I/O indication.)
• In case the inductive load is connected to the output part, please connect the surge killer or diode to the
load in parallel. Connect the cathode of diode to the ‘+’ side of the power.
Output
Surge killer
COM
Induction load
OUT +
Output
Diode
-
COM
(7) Except for the mentioned above, do not apply strong impact to the basic or extended unit or remove the
PCB from the case.
11-12
Chapter 11 Installation and Wiring
2) Notices in installation
Here it describes the notices in attaching the PLC to the control panel.
(1) Sufficient distance is required to have well-ventilated room and facilitate the exchange of the basic unit
and the extended module. Especially, for the periodical exchange of battery (3 years), please separate the
left side of the basic unit and the control panel for at least 100mm.
(2) For the max. radiation effect, it is required to install it as shown on the figure below.
100mm
(3) Use different panel for large sized electronic contactor or vibration source such as no-fuse breaker etc.
and install separately.
• In case of installing on the upper PLC, the height of wiring duct should be less than 50mm for good
ventilation.
• In case of installing on the lower PLC, please consider minimum radius of the cable.
11-13
Chapter 11 Installation and Wiring
(5) In case the equipment is installed in front of the PLC (inside the door) to avoid the effect of radiant noise or
the heat, it is required to separate it more than 100mm and be install.
And the left/right direction of the unit and the equipment should be separated more than 100mm and
installed.
Above 80mm
Above 80mm
Other High
machine Voltage
device
Radiator
Above 100mm
PLC Attaching
(6) As Smart I/O is installed with Hook for DIN rail (rail width 35mm), it is available to attach the DIN rail.
DIN rail
11-14
Chapter 11 Installation and Wiring
11.2 Wiring
Here it describes the notices related to the wiring in case of using the system..
DC24V DC24G
FG
Remote module
DC
power
4) Connect power of which the noise between lines or between grounds is small.
(if there is much noise, please connect the insulation transformer.)
5) For PLC power, I/O machine and power machine, it is required to divide the system as follows.
I/O power
T2
11-15
Chapter 11 Installation and Wiring
6) For the power cable, it is required to use a thick one (2mm2) to make the small falling down of the voltage.
7) Smart I/O can be abnormal status by cable voltage drop of power cable when many Smart I/O products
are installed on a pair of power cable.
8) The power DC24V cable is not allowed to approach closely to the main circuit (high voltage, convection
current) cable, I/O signal cable and needs to separate more than 80mm apart.
9) Please use the surge absorber to prevent the lightning as shown on the below.
PLC
E1 E2
Remark
1) Separate the earth (E1) of the surge absorber for lightning and the earth (E2) of PLC.
2) Select the surge absorber for lightning so that it does not exceed max. allowable voltage
of the absorber even when the power voltage is rising maximum.
10) When you are afraid of the invasion of the noise, please use the insulation sealed transformer or the
noise filter.
11) In case of the wiring of each input resource, the wiring of the sealed transformer or the wiring of the noise
filter is not allowed to pass the duct.
11-16
Chapter 11 Installation and Wiring
Input
Output RA
DC
5) In case of pipe wiring, make sure of the pipe and then ground it.
6) DC24V output cable should be separated from AC110V cable and AC220V cable.
7) In case of wiring the long distance more than 200m, the error occurs according to the leakage current
caused by the interline capacity.
1) As this PLC carries out sufficient noise policy, it is available to use without grounding except the case
where there is much noise. But, when grounding, please refer to the following notices.
2) When grounding, please use the exclusive grounding if possible.
For he grounding construction, please use the 3rd class grounding (grounding resistance less than 80 Ω ).
3) If not available to use the exclusive grounding, please use the common grounding as shown on the figure
(B).
(A) exclusive grounding: Excellent (B) common grounding: Good (C) common grounding : Bad
11-17
Chapter 11 Installation and Wiring
4) Please use the electric wire for grounding more than 2 mm2 . Place the grounding point near this PLC if
possible and shorten the length of the grounding cable.
When connecting the extended base, please connect the extended connector accurately.
Do not remove the PCB from the module case and modify the module.
When attaching/removing the module, the power should be OFF.
Use the cellular phone or radio phone apart more than 30mm from the product.
I/O signal cable and communication cable should be at least 10cm apart from the high voltage cable or the
power cable to avoid the effect caused by the noise or the change of magnetic filed.
Cable spec.(mm2)
External connection type
Low limit High limit
Digital input 0.18 (AWG24) 1.5 (AWG16)
Digital output 0.18 (AWG24) 2.0 (AWG14)
Analog I/O 0.18 (AWG24) 1.5 (AWG16)
Communication 0.18 (AWG24) 1.5 (AWG16)
Main power resource 1.5 (AWG16) 2.5 (AWG12)
Protection grounding 1.5 (AWG16) 2.5 (AWG12)
For the power and I/O wiring for Smart I/O, it is required to use the compressed terminal.
11-18
Chapter 12 Maintenance and Repair
To maintain the PLC in optimal status, please carry out daily check and regular check.
I/O module is usually composed of semiconductor microelectronic device and the life is semi- permanent. As the
microelectronic device may occur the error caused by the ambient environment, it is required to check it periodically. The following
are items to be checked 1~2 times every 6 months.
Input voltage change rate Within −15%/+10% Maintain the change rate within the allowable range.
12-1
Chapter 12 Maintenance and Repair
Steady-state of communica-
RDY LED Light ‘ON’ check Refer to Chapter 3.
Indication tion module interface
LED
Abnormal communication H/W
ERR LED Light ‘ON’ check Refer to Chapter 3.
or cable check
Cable connection
Cable loosening No loosening Tighten the cable
status
Module connection Tighten the module
Screw loosening No loosening
status screw.
PWR LED Light ‘ON’ check Steady-state of Power Refer to Chapter 3.
Steady-state of communication
MS LED Light ‘ON’ check module interface (if abnormal, Refer to Chapter 3.
Indication
check the H/W or the cable)
LED
Steady-state of communication
NS LED Light ‘ON’ check module network (if abnormal, Refer to Chapter 3.
check Smart I/O H/W)
12-2
Chapter 12 Maintenance and Repair
Steady-state of communication
Light ‘Blink’
TX LED module interface (if error occurs, Refer to Chapter 3.
Indication check
check the H/W or the cable)
LED
Steady-state of communication
Light ‘Blink’
RX LED network (if error occurs, check Refer to Chapter 3.
check
Smart I/O hardware.)
12-3
Chapter 12 Maintenance and Repair
Check the following items 1~2 times every 6 months and take the necessary actions.
Terminal screw
Tightening by the driver No loosening Tightening
loosened
12-4
Chapter 13 Trouble Shooting
Here it describes the contents of each error to be occurred while operating the system, the method to find the
cause and the action.
It is important to use high reliable machine to increase the system reliability but it is important to take prompt action
when trouble occurs as well.
To start the system promptly, it is more important to find the trouble occurring cause promptly and take the
necessary action. The basic items to comply when taking this trouble shooting are as follows.
• Place the key switch on STOP position and apply power ON/OFF.
3) Limit range
13-1
Chapter 13 Trouble Shooting
Here it describes the trouble finding method, the error code and the actions on the above by dividing them per
phenomenon.
Description of Trouble
When program write does Action method when program write does not work.
not work
13-2
Chapter 13 Trouble Shooting
Here it describes the action order when POWER LED is OFF while applying the power or during the operation.
No
Is the power supplying? Supply the power.
Yes
No Yes
Is POWER LED ‘ON’?
Yes No
Yes
Is POWER LED ‘ON’?
Yes
Yes
No Yes
Is POWER LED
‘ON’?
13-3
Chapter 13 Trouble Shooting
Here it describes the action order when ERR LED is blinking in case of power input, or when operation start, or
during operation.
No
Yes
Is ERR LED keeping
on blinking ?
No
13-4
Chapter 13 Trouble Shooting
Here it describes the action order when RUN LED is blinking in case of the power input, or when operation start, or
during operation.
No
Is RUN LED ‘OFF’?
Yes
13-5
Chapter 13 Trouble Shooting
13.2.4 Action method when I/O part does not work normally.
Here it describes the action order when I/O part does not work normally during operation, as shown on the
program example below.
Yes
Measure SOL1 terminal Make the correct wiring. Change the connector of Monitor SOL1 status
voltage by the tester. terminal stand. by GMWIN.
No
No
No Yes
Is the measured value Is the output wiring Is the contact status of Is it normal?
normal? correct? terminal stand connector
good?
No
Yes
Yes
Yes
Yes No
Is it normal?
Cont’d
Check the output
machine(SOL1) status. Change the unit.
13-6
Chapter 13 Trouble Shooting
Continuance
Is SWITCH1, 2 LED No
‘ON’?
Yes
Change the unit. Check the input machine Check all from the
Change the unit.
(SWITCH1, 2). beginning again.
13-7
Chapter 13 Trouble Shooting
Here it describes the action order when Program write does not work in the Master CPU.
No
Put the key switch to remote
Is the key switch set as remote STOP mode and run Program
STOP mode? write.
Yes
End
13-8
Chapter 13 Trouble Shooting
SyCon
SyCon connection
connection error
error
No
IsIsserial
serialport
portset
setproperly?
properly? Set
Setserial
serialport
portproperly
properly
Yes
Yes Close
IsIseach Closeother
otherprogram
programwhich
whichisisusing
using
eachserial
serialport
portused
usedby
byother
otherprogram?
program? Serial
Serialport
portand
andtry
tryto
toconnect
connectagain
again
No
No
Do
Doyou
yousupply
supplypower
powerto
tomodule?
module? Supply
Supplypower
powerto
tomodule
module
Yes
No
Does
Doesmodule
modulestick
stickto
toslot
slotstrongly?
strongly? Stick
Stickmodule
moduleto
toslot
slotstrongly
strongly
Yes
No
Does
Doesserial
serialcable
cablehave
haveproblem?
problem? Check
Checkserial
serialcable
cable
Yes
No
IsIsoperating
operatingenvironment
environmentproper?
proper? Install
Installititininthe
theproper
properenvironment
environment
Yes
Contact
Contactto
toA/S
A/Scenter
center
13-9
Chapter 13 Trouble Shooting
XG-PD
XG-PD connection
connection error
error
No
IsIseach
eachserial
serialport
portset
setproperly?
properly? Set
Setserial
serialport
portproperly
properly
Yes
Yes Close
Closeother
otherprogram
programwhich
whichisisusing
using
IsIseach
eachserial
serialport
portused
usedby
byother
otherprogram?
program? the
the serial port and try connectingagain
serial port and try connecting again
No
No
Does
Doesyou
yousupply
supplypower
powerto
tomodule?
module? Supply
Supplypower
powerto
tomodule
module
Yes
No
Does
DoesCPU
CPUhave
haveerror?
error? Check
Checkthe
theCPU
CPUmodule’s
module’serror
error
Yes
No
Does
Doesserial
serialcable
cablehave
haveproblem?
problem? Check
Checkthe
theserial
serialcable
cable
Yes
No
IsIsoperating
operatingenvironment
environmentproper?
proper? Install
Installititininthe
theproper
properenvironment
environment
Yes
Contact
Contactto
toA/S
A/Scenter
center
13-10
Chapter 13 Trouble Shooting
Communication
Communication error
error with
with slave
slave
No
IsIsHSL
HSLparameter
parametersetting
settingproper?
proper? Check
CheckHSL
HSLparameter
parameter
Yes
No Check
Do
Doyou
yousupply
supplypower
powerto
to Checkthe
thepower
powerof
ofslave
slave
slave
slaveand
andmaster
mastermodule?
module? and
andmaster
mastermodule
module
Yes
No
Check
Checkthe
theslave
slavemodule
modulestation
station
IsIsslave
slavestation
stationNo.
No.setting
settingoverlapped?
overlapped? No.
No.and
andSyCon
SyConstation
stationNo.
No.
Yes
No
Does
Doescable
cableconnection
connectionhave
haveerror?
error? Check
Checkthe
thecable
cableconnection
connectionpart
part
Yes
No
Stick
Stickterminal
terminalresistor
resistor(121Ω)
(121Ω)
Does
Doescable
cableterminal
terminalhave
haveterminal
terminalresistor?
resistor? to
toedge
edgeof
oftruck
truckline
line
Yes
No
Do
Do you
you use
use standard
standard cable
cable and
and length?
length? Check
Checkthe
thestandard
standardcable
cableand
andlength
length
Yes
No
Do
Doyou
youuse
usecombined
combinedcable
cable Use
Usestandard
standardindividual
individualcable
cable
Yes
Contact
ContactA/S
A/Scenter
center
13-11
Chapter 13 Trouble Shooting
Yes
No
RDY LED flickers every 0.5s Ex. Error in setting analog input current
range or analog output range
No
13-12
Chapter 13 Trouble Shooting
Ex.
External power input of analog module is Input the external power to meet
No
supplied properly. standard
Ex.
Ex.
Ex,
13-13
Chapter 13 Trouble Shooting
Ex.
Ex.
Ex.
13-14
Chapter 13 Trouble Shooting
Smart I/O RAPIEnet provides S/W diagnostic function that can check the status within the network through
the master module and H/W diagnostic function service that can identify the hardware status of the Smart I/O.
13-15
Chapter 13 Trouble Shooting
(2) Do a right mouse click after clicking RAPIEnet module (XGL-EIMT/EIMH), and the detailed
diagnostics items are displayed. In order to open the system diagnostics screen of an extension
base in case RAPIEnet module is installed in the extension base, click the extension base of the
system information window to switch to the system diagnostics screen of the extension base.
13-16
Chapter 13 Trouble Shooting
(2) The meaning of each item on the system diagnostics menu is described below.
Remarks
Notice1) Remote O/S Download
For a stable operation of the system, Please ask the LS ELECTRIC Service Center as to the Remote O/S
Download function.
13-17
Chapter 13 Trouble Shooting
13-18
Chapter 13 Trouble Shooting
13-19
Chapter 13 Trouble Shooting
Reception The number of packets per second of frames to be received at each port
Packet monitoring
Relay The number of packets per second of frames to be relayed at each port
(packet/second)
The number of packets of errors occurring during the transmission and
Error reception at each port
Flag Clear Initializes the full service count and packet volume
Continuous reading Provides real-time information about the service status and media status
Redo Request reading the service status and media status one time
13-20
Chapter 13 Trouble Shooting
Remarks
Notice1) Local master module
It refers to the RAPIEnet module mounted on the PLC connected to XG5000, and the master module that
performs the system diagnostics is displayed as a Local master module.
13-21
Chapter 13 Trouble Shooting
13-22
Chapter 13 Trouble Shooting
<Example of slave status information: GEL-RY2C of No. 10 station indicates that parameters are not set>
Remarks
Notice1) Slave group
The slave group that appears when you click on the first slave diagnostics displays the Smart I/O module that is
controlled from the Local master module.
13-23
Chapter 13 Trouble Shooting
13-24
Chapter 13 Trouble Shooting
13-25
Chapter 13 Trouble Shooting
PORT 1
PORT 2
13-26
Chapter 13 Trouble Shooting
PORT 1
PORT 2
13-27
Chapter 13 Trouble Shooting
If the trouble occurs when using SMART I/O series, fill in the following questionnaire and contact to the customer center
by phone or by fax.
In case of error related to specific and communication module, use the questionnaire added to the user’s manual of the
corresponding product.
13-28
Chapter 14 Compliance with EMC Specifications
14-1
Chapter 14 Compliance with EMC Specifications
14.1.2 Panel
The PLC is a kind of open device(installed on another device) and it should be installed in a panel. It is because the installation may
prevent a person from suffering from an accident due to electric shock as the person contacts with the product(XGT PLC) and the
panel can attenuates the noise generating from the PLC.
In case of XGT PLC, to restrict EMI emitted from a product, it should be installed in a metallic panel. The specifications of the metallic
panel are as follows.
1) Panel
The panel for PLC should be installed and manufactured as follows.
Door
Visor
(5) The inside plate of panel should have proper conductivity with a wide surface as possible by eliminating the plating of the bolt
used to be mounted on the main frame in order to secure the electric contact with the frame.
14-2
Chapter 14 Compliance with EMC Specifications
(1) The panel should be grounded with a thick wire() to secure a lower impedance even in high frequency.
(2) LG(Line Ground) terminal and PE(Protective Earth) terminal functionally let the noise inside the PLC flow into the ground, so a
wire of which impedance is low should be used.
(3) Since the grounding cable itself may generate noise, thick and short wiring may prevent it serving as an antenna.
3) Ferrite core
When the cables that insufficient shielding effect are exposed outside from the panel, It is recommended to use for noise reduction.
14-3
Chapter 14 Compliance with EMC Specifications
14.1.3 Cable
1) Extension cable treatment
The extension cable of XGT series is with fast electric signal. Therefore, high frequency noise wave is emitted from the
extension cable. To comply with the CE specifications, please attach the ferrite core on the extension cable as presented in the
figure.
Ferrite core
14-4
Chapter 14 Compliance with EMC Specifications
14-5
Chapter 14 Compliance with EMC Specifications
14-6
Appendix
APPENDIX
A.1.1 Profibus-DP
Profibus
Profibus is the protocol that Bosch, Siemens, Klockener-Moeller in Germany has developed and designated as
German standard DIN 19245 as well as the network designated as European standard EN50 170 with WorldFIP, P-
NET recently.
Profibus is used for the real time communication between field equipment in the field of production automation,
processing control, building automation and the product group is divided into Profibus-FMS(Fieldbus Message
Specification), Profibus-DP(Decentralized Periphery), Profibus-PA(Process Automation).
Profibus-FMS
This is the solution for general purpose that provides the communication function in the cell level including the
function to send the program file to act the field equipment and the related data file, the function to control the
program remotely through the network, and the function to manage the various accidents to be occurred in the
process of control and automation system etc.
Profibus-DP
This is the communication method to send the real time data between field equipment within the shortest time and
substitute the communication system using the existing 24V or 4~20 mA analog signal with high speed digital
communication method. The example to be applied is the communication between field equipment such as various
sensor and actuator etc. installed in the PLC and the field.
Profibus-PA
This is made specially for process automation and the safety device is embedded and available to connect the
sensor and actuator with one common bus line and perform the data communication and the power supply on the
bus using 2-wire technology in accordance with International Standard IEC 1158-2.
Sycon
This is a Profibus Network Configuration Tool and when using the LSIS Master module (G3/4/6L-PUEA, XGL-
PMEA) as a Profibus Network, use Sycon to configure Profibus Network and download the information to the
corresponding master module.
A-1
Appendix
GSD file
This is the electronic device data sheet and includes manufacturer name, device name, H/W and S/W release
status, support transmission rate, master related spec. (max. slave number available to connect, upload/download
option etc.) and slave related spec. (I/O channel number and type, diagnosis text spec. and module information
equipped with moduler device.).
Broadcast Communication
This means to send the message not recognized by the action Station to all Station (Master, Slave).
Multicast Communication
This means that the action station sends the not recognized message to the pre-defined Station group (Master,
Slave).
A-2
Appendix
A.1.2 DeviceNet
Bus-off
When the trouble occurs in the power of network, the error will occur.
Scanlist
If the master module wants to communicate with the Slave module, it is required to know all information of the
slave module (station address. message selection (Poll, Strobe etc.)) and set. This information is called ‘Scanlist’.
Dnet I/F module of GLOFA-GM PLC can set this easily just by high speed link parameter setting in GMWIN.
Connection
This means the logical connection between master and slave connected by DeviceNet and is used to maintain and
manage all communication.
Profile
This provides the information for Device Configuration data. (Printed data sheet, EDS; Electronic Data Sheet etc.)
Master/Slave
The module to send/receive and manage the data is ‘master module’ and the module to reply to the data that the
master module sends is ‘slave module’.
Packet
This is a pack of data that is a basic unit to transmit the data through the network. It attaches the header (Message
Identifier) to the front part to add the information of the destination to go and other necessary information etc.
A-3
Appendix
A.1.3 Rnet
Master station
This is the station connected directly GMWIN/KGLWIN so that the user performs the program download and
monitoring/debugging in the same network including CPU.
Rnet
Fieldbus is the lowest network connecting the control machine and instrument device, selecting 3 among 7 layers of
OSI. 3 layers are composed of Physical layer which is composed of H2 (1Mbps electric), H1 (31.23Kbbs electric),
light, Wireless etc., Data Link layer selecting the Scheduled and Circulated Token bus, and Application layer that
charges in the application role and this is the standard selecting the ‘User layer’ additionally.
Token
This is the access right control for Physical Medium and has the right to send the data of self station.
Manchester Biphase-L
This is data modulation method used in Rnet. The data is encoded (Encode) using Manchester-L Code and sent
and the received data after encoding by Manchester is converted by Decoding.
Terminal resistor
This is the resistance to be used to meet the mutual impedance between sending/receiving side of Physical Layer
and Terminal resistance of Rnet 110Ω, 1/2W.
A-4
Appendix
Segment
This is the local network connecting all station by using the same Token without using any other connecting device
(Gateway, repeater).
Network
This is the overall communication system composed of more than one segment and using the same Token.
A-5
Appendix
A.1.4 Modbus
Protocol
This is the communication regulation pre-defined on the sending/receiving side of information to send/receive the
efficient and reliable information without error between more than 2 computer and terminals. Generally, it defines
the establishment of calling, connection, structure of message exchange form, retransmission of error message, line
inversion procedure, character synchronization between terminal etc.
Node
This means the connecting joint of data in network tree structure and generally the network is composed of lots of
node. This is expressed also as Station no.
Packet
This is the term used in packet exchange method that divides the information into packet unit and transmits and also
is the compound term of Package and Bucket. Packet is the thing attached the header indicating the address of
other station by dividing the transmitting data into the designated length.
Port
This is a part of data processing device to send/receive the data from remote terminal in the data communication
and in case of Cnet serial communication.
RS-232C
This is the serial communication standard designated by EIA according to the recommendation of CCITT as the
interface to connect the modem and terminal or model and computer. This is used for modem connection as well as
direct connection to the null modem. The demerits are that the transmission distance is short and only 1:1
communication is available. The specification that overcome this demerits is RS-422, RS-485.
RS-422/RS-485
This is one of serial transmission specification and the transmission distance is long and 1:N connection is available
comparing with RS-232C. The difference between 2 specification is that RS-422 uses 4 signal cable such as TX(+),
TX(-), RX(+), RX(-) while RS-485 has (+), (-) 2 signal cable and performs the sending/receiving through the same
signal cable. So, RS-422 performs full duplex mode communication and RS-485 performs half duplex mode
communication.
A-6
Appendix
A.1.5 Ethernet
IEEE 802.3
IEEE 802.3 specifies standards regarding to CSMA/CD-based Ethernet. More specific, it is a Local Area Network
(LAN) based on CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Ethernet designed by IEEE 802.3
Group and it is divided into three sub projects as below:
(1) IEEE P802.3 - 10G Base T Study Group
(2) IEEE P802.3ah - Ethernet in the First Mile Task Force
(3) IEEE P802.3ak - 10G Base-CX4 Task Force
※ Ethernet and IEEE 802.3are standardized by RFC894 and RFC1042, and they shall conduct frame treatment
mutually.
Bridge
A device used to connect two networks together to ensure they act as if they are one network. Even though Bridge
is used to connect two different types of networks, it is also used to divide one large network into two small networks
to improve its performance.
(1) Related standard : IEEE 802.1D
(2) Bridge (Layer 2 Switch) is a device to link to Layer2 and it extends the limit of distribution of Ethernet, performing
filtering and forwarding.
Client
A network service user or, a computer or a program using other computer’s resource (Mainly the party who requests
the service.)
A-7
Appendix
Dot Address
It is expressed in ‘100.100.100.100’, representing IP Address. Each number is expressed in decimal and dominates
each one byte of total four bytes.
E-mail Address
The address of the user who has a login account on a specific device connected to the Internet. Typically, it forms
like the user’s ID@ domain name (device name). It looks like this example, [email protected], where, @ is called
‘at’ and it appears on the screen if shift key and number 2 are pressed simultaneously on the keyboard. The letters
after @ represent the domain name of a specific organization (school, research center, company…) connected to the
Internet and the letters before @ show the user’s ID. The last few letters are for the top level. For example, if it is the
US, most cases show the following abbreviation words, and if it is Korea, ‘kr' is used. .com : companies / .edu :
mainly universities or other educational organization (education). / In Korea, .ac(academy) is widely used., / .gov :
government agencies, For example, nasa.gov is used for NASA(government) / .mil : military related sites. For
example, af.mil is used for the US Air Force (military)/ .org : private entities. Each nation is identified as follows:/ .au :
Australia / .uk : the United Kingdom / .ca : Canada / .kr : Korea / .jp : Japan / .fr : France / .tw : Taiwan etc.
Ethernet
A representative LAN link system (IEEE 802.3) jointly developed by the US Xerox, Intel and DEC. As a network link
system with 10Mbps transmission capability using 1500-byte packets, Ethernet is called a major term of LAN
because it can bind various kinds of computer with a network. Various goods are available because it is not a
standard only for a certain company but a universal standard,
A-8
Appendix
Gateway
Software/hardware to translate two different protocols into those that can work well each other. A device that serves
as a gate where information exchange takes place among different systems
Header
Part of a packet containing national address or partner nation's address and part for error inspection
IP (Internet Protocol)
This is a protocol of the network layer for the Internet. It is non-connection datagram type protocol, and data such as
TCP, UDP, ICMP, IGMP is transmitted and received by using IP(32 bits).
IP Address
This refers to the address of each computer in the internet. It is binary number with 32 bits (4 bytes) to identify each
device in the internet. IP address is composed of two parts. One is network address to identify network and the other
is host address to identify host. It is divided into class A/ B/ C according to how many bits are allocated to network
address and host address respectively. Since each IP address is unique in the world, it is not decided discretionally.
When subscribing internet, the Network Information Center (NIC) allocates the address. For Korea, KRNIC is in
charge of this role. e.g.) 165.244.149.190
A-9
Appendix
Node
Each computer connected to the network is called a nod.
Packet
This is a packet of data, the basic unit for transmitting data via the network. Usually the size of one packet is between
tens and hundreds bytes, and header is attached to the front of the packet to include information about the
destination that where this packet should go and other necessary information.
PORT number
This is an identifier to identify application on TCP/UDP. TCP determines that data is sent to which application after
identify this port number. The programs used in general operating system have each port.
Ex.) 21/tcp : Telnet
Protocol
This refers to the rules about how computers connected to network can send and receive information mutually.
Protocol also means low level description (e.g. which bit/byte should be out through the line) for interface between
devices, or high level message exchange rules like transmitting files through internet.
A-10
Appendix
Router
A device used to transmit data packet between networks. It sends data packets to the destination and holds them if
the network is crowed and also judges which LAN is better to connect to at a junction of multiple LANs. That is, it
refers to special computer software that manages connection of more than two networks.
Server
A party to passively respond to the client’s request and share its own resource.
Near-end crosstalk
Crosstalk is a sort of disturbance incurred from electricity or magnetic field of communication signal, which affects
another signal of near line. In telephone line, crosstalk may cause to hear some of the talks of another line. The
phenomenon caused by crosstalk is also called as electromagnetic interference (EMI). This also happens in small
circuit inside of computer or audio equipment as well as network line. This term may be applied to optical signals
which interfere with each other. For example, like insulated conductor of telephone cable, there may be electrostatic
coupling or electromagnetic coupling between any insulated conductor and another insulated conductor. And call
current of one insulated conductor may be exposed to another conductor, and cause the crosstalk phenomenon.
When crosstalk occurs at the transmission side, it is called as near-end crosstalk, and when crosstalk occurs at the
receiving side, it is called as far-end crosstalk.
A-11
Appendix
A-12
Appendix
A-13
Appendix
Dimension Model
GDL-TR2A(B)
A 39
GDL-D22A
GDL-TR2C
B 47.5
GDL-D22C
Dimension Model
GDL-TR2A(B)
GDL-D22A
A 39
GDL-TR2C
GDL-D22C
GDL-D24C
GDL-TR4C/C1
B 47.5
GDL-DT4C/C1
GDL-RY2C
A-14
Appendix
(2) Dnet
NODE ADDRESS
A-15
Appendix
(3) Rnet
(4) Enet
A-16
Appendix
address 7 6 5 4 3 2 1 0 meaning
C C C C <channel Enable_low byte>
0
H H H H Bit On(1): run
3 2 1 0 Bit off(0): stop
<Input V/I range designation>
Bit(00): 0~10V
1 CH3 CH2 CH1 CH0
Bit(01): 0~20mA
Bit(10): 4~20mA
<output data range designation>
Bit(00): 0~4000
Bit(01): -2000~2000
2 CH3 CH2 CH1 CH0
Bit(10): standard value
(0~1000/400~2000/0~2000)
Bit(11): percent value(0~1000)
(2) XBF-DV04A
address 7 6 5 4 3 2 1 0 meaning
C C C C <channel Enable_low byte>
0 H H H H Bit On(1): run
3 2 1 0 Bit off(0): stop
<Voltage range setting>
1 CH3 CH2 CH1 CH0
Bit(00): 0~10V
<input data type setting>
Bit(00): 0~4000
2 CH3 CH2 CH1 CH0 Bit(01): -2000~2000
Bit(10): 0~1000
Bit(11): 0~1000
(3) XBF-DC04A
address 7 6 5 4 3 2 1 0 meaning
C C C C <channel Enable_low byte>
0
H H H H Bit On(1): run
3 2 1 0 Bit off(0): stop
<current range setting>
1 CH3 CH2 CH1 CH0 Bit(00): 4~20mA
Bit(01): 0~20mA
<input data type setting>
Bit(00): 0~4000
2 CH3 CH2 CH1 CH0 Bit(01): -2000~2000
Bit(10): 400~2000/0~2000
Bit(11): 0~1000
A-17
Appendix
(4) XBF-RD04A
address 7 6 5 4 3 2 1 0 meaning
<channel Enable_low byte>
Bit On(1): run
C C C C Bit off(0): stop
0
H H H H <Tmp. indication unit
3 2 1 0 designation_high byte>
Bit On(1): Fahrenheit
Bit off(0): Celsius
<Sensor input range setting>
1 CH3 CH2 CH1 CH0 Bit On(1): JPT100
Bit Off(0): PT100
(5) XBF-TC04S
Address 7 6 5 4 3 2 1 0 Meaning
<CH Enable_low byte>
Bit On(1): run
Bit Off(0): stop
C C C C C C C C
0 H H H H H H H H
<Tmp. indication unit
3 2 1 0 3 2 1 0
designation_high byte>
Bit On(1): Fahrenheit
Bit off(0): Celsius
<Sensor input type setting>
1 CH 3 CH 2 CH 1 CH 0 K type: 00, J type: 01
T type: 10, R type: 11
(6)XBF-AH04A
Address 7 6 5 4 3 2 1 0 Meaning
A-18
Appendix
Note
Caution in setting an analog parameter
(1) For analog module, all channels are set as Enable status internally.
(2) If you don’t set any parameter, module operates with initial parameter value.
(3) The setting parameter is sent from master to slave.
A-19
Appendix
A-20
Appendix
<Setting screen 2>: In the Available Parametersproject window, double-click the slot you want to set parameter.
After double-click, Customized Parameters window shows.
Double-click analog
module
Move to each
module
<Setting screen 3>: set parameter value at ‘Value’ in the Customized Parameters winow.
Parameter setting:
0000550F
<Setting screen 4>: When completion of parameter setting, download it to master module SyCon Online
Download :
<Setting screen 5>: Turn off/on expansion type Smart I/O Dnet’s DC 24V power.
A-21
Appendix
Reading data Setting parameter: Setting parameter: Setting parameter: Setting parameter Setting parameter:Setting parameter
0x0000000F 0x0000000F 0x0000550F 0x0000000F 0x0000000F 0x0000000F
Receiving Slot 1 input data: 8 byte
data
Slot 2 input data: :8 byte
A-22
Appendix
*When not setting the parameter, all analog modules are set as default value (0x0000000F)
1) XBF-AD04A : All channel (Enable), input (DC 0~10 V), data range ( 0 ~ 4000 )
→ This value is effective when switch is off, voltage mode.
In case of current mode, you should modify the parameter value.
< Parameter setting value’s meaning >
Input (0~10V)
2) XBF-DV04A: all channels (Enable), output (DC 0~10 V), data range (0 ~ 4000)
XBF-DC04A: all channels (Enable), output (4 ~ 20 mA), data range (0 ~ 4000)
< Parameter setting value’s meaning >
3) XBF-RD04A: all channels (Enable), Temp. unit (centigrade), input sensor type ( PT100 )
< Parameter setting value’s meaning >
A-23
Appendix
A-24
Appendix
Parameter Contents
Module type setting value
Analog I/O value Digital I/O value Remark
(Decimal)
12 0~4,000
13 -2,000~2,000
4~20mA
14 Precise value
XBF-AH04A, 15 0~1000
XBF-AD08A 16 0~4,000
17 -2,000~2,000
0~20mA
18 Precise value
19 0~1000
0 0~16,000 Initial value
1 -8,000~8,000
4~20mA
2 Precise value
3 0~10,000
4 0~16,000
5 -8,000~8,000
0~20mA
6 Precise value
7 0~10,000
8 0~16,000
9 -8,000~8,000
1~5V
10 Precise value
11 0~10,000
XBF-AD04C
12 0~16,000
13 -8,000~8,000
0~5V
14 Precise value
15 0~10,000
16 0~16,000
17 -8,000~8,000
0~10V
18 Precise value
19 0~10,000
20 0~16,000
21 -8,000~8,000
-10~10V
22 Precise value
23 0~10,000
0 0~16,000 Initial value
1 -8,000~8,000
1~5V
2 Precise value
3 0~10,000
4 0~16,000
5 -8,000~8,000
0~5V
6 Precise value
7 0~10,000
XBF-DV04C
8 0~16,000
9 -8,000~8,000
0~10V
10 Precise value
11 0~10,000
12 0~16,000
13 -8,000~8,000
-10~10V
14 Precise value
15 0~10,000
A-25
Appendix
Parameter Contents
Module type setting value
Analog I/O value Digital I/O value Remark
(Decimal)
0 0~16,000 Initial value
1 -8,000~8,000
4~20mA
2 Precise value
XBF-DC04C 3 0~10,000
4 0~16,000
5 -8,000~8,000
0~20mA
6 Precise value
7 0~10,000
A-26
Appendix
c) Set a parameter per each slot at Parameter Data. For parameter input, double-click the slot. At this time,
parameter input value is decimal number.
Double-click
A-27
Appendix
①
②
③
Note
Caution in setting an analog parameter
(1) Each parameter setting is necessary for each analog module.
(2) If you don’t set any parameter, module operates with initial parameter value.
(3) The parameter is sent from master to slave.
▶ Slave keeps previous value while cable is connected, regardless of power on/off.
▶ If you restart the power while cable is not connected, module operated with initial value.
A-28
Appendix
2) XBF-AD08A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Input Input Input Input Input Input Input Input Bit On (1): Operation
0 :H of channels to
be used 7 6 5 4 3 2 1 0 Bit Off (0): Stop
0:L Designation Ch 3 Ch 2 Ch 1 Ch 0 00 : 4 ~ 20 ㎃
of Input
voltage/
01 : 0 ~ 20 ㎃
current 10 : 0 ~ 5 V
1:H range Ch 7 Ch 6 Ch 5 Ch 4 11 : 0 ~ 10 V
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:L of output data Ch 6,7 Ch 4,5 Ch 2,3 Ch 0,1
range 10: Precise value
11: 0 ~ 1000
A-29
Appendix
3) XBF-AD04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
0000: 4 ~ 20mA
0: L Designation Ch 1 Ch 0
of Input 0001: 0~20mA
voltage/ 0010: 1~5V
current 0100: 0~10V
1: H range Ch 3 Ch 2
0101: -10V~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1: L of output Ch 3 Ch 2 Ch 1 Ch 0
data range 10: Precise Value
11: 0 ~ 10000
Note
1) Meaning of memory address
H : High byte (In case that setting area of parameter value of PLC is 0x1234, H byte → 0x12)
▶ 0:H means that high byte of an word from memory address 0.
L: Low byte (In case that setting area of parameter value of PLC is 0x1234, L byte → 0x34)
▶ 1:L means that low byte of an word from memory address 1
2) Precise Value
▶ Precise Value = Range of input/output × 100
(Ex: Input range=0~5, Input or Output data range= Precise value
Data input range is 0~500)
A-30
Appendix
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
2) XBF-DV04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
00: 1~5V
Designation
01: 0~5V
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 10: 0~10V
11: -10~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
3) XBF-DC04A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4 ~ 20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0 ~ 20mA
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
A-31
Appendix
4) XBF-DC04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4~20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0~20mA
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
00 : K
Configuration
01 : J
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
type 10 : T
11 : R
Designation
0: Centigrade
1:H of input data - - - - Ch 3 Ch 2 Ch 1 Ch 0
range 1: Fahrenheit
A-32
Appendix
Note
A-33
Appendix
A.5.2 Analog IO module parameter setting (Only for OS version 1.2 or less)
* Parameter setting as below is provided for OS Version V1.2 or less.
A-34
Appendix
Parameter Contents
Module type setting value
Analog I/O value Digital I/O value Remark
(Decimal)
12 0~4,000
13 -2,000~2,000
4~20mA
14 정규값
XBF-AH04A, 15 0~1000
XBF-AD08A 16 0~4,000
17 -2,000~2,000
0~20mA
18 정규값
19 0~1000
▶ XBF-AD04A/RD04A/TC04A/AD08A
Parameter CH 0 CH 1 CH N
Area …
setting area Input data Input data Input data
CH 0 CH 1 CH N Parameter
Area …
Output data Output data Output data setting area
CH 0 CH 1 CH 0 CH 1 Parameter
Area
Input data Input data Output data Output data setting area
A-35
Appendix
A-36
Appendix
Note
Cautions in setting an analog parameter
1. After setting a parameter, make sure you restart a power of XRL-BSSA module.
2. Parameter input value should be a decimal number.
A-37
Appendix
2) XBF-AD08A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Input Input Input Input Input Input Input Input Bit On (1): Operation
0 :H of channels to
be used 7 6 5 4 3 2 1 0 Bit Off (0): Stop
0:L Designation Ch 3 Ch 2 Ch 1 Ch 0 00 : 4 ~ 20 mA
of Input
voltage/
01 : 0 ~ 20 mA
current 10 : 0 ~ 5 V
1:H range Ch 7 Ch 6 Ch 5 Ch 4 11 : 0 ~ 10 V
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:L of output data Ch 6,7 Ch 4,5 Ch 2,3 Ch 0,1
range 10: Precise value
11: 0 ~ 1000
A-38
Appendix
3) XBF-AD04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
0000: 4 ~ 20mA
0: L Designation Ch 1 Ch 0
of Input 0001: 0~20mA
voltage/ 0010: 1~5V
current 0100: 0~10V
1: H range Ch 3 Ch 2
0101: -10V~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1: L of output Ch 3 Ch 2 Ch 1 Ch 0
data range 10: Precise Value
11: 0 ~ 10000
Note
1) Meaning of memory address
H : High byte (In case that setting area of parameter value of PLC is 0x1234, H byte → 0x12)
▶ 0:H means that high byte of an word from memory address 0.
L: Low byte (In case that setting area of parameter value of PLC is 0x1234, L byte → 0x34)
▶ 1:L means that low byte of an word from memory address 1
2) Precise Value
▶ Precise Value = Range of input/output × 100
(Ex: Input range=0~5, Input or Output data range= Precise value
Data input range is 0~500)
A-39
Appendix
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
2) XBF-DV04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
00: 1~5V
Designation
01: 0~5V
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 10: 0~10V
11: -10~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
3) XBF-DC04A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4 ~ 20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0 ~ 20mA
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
A-40
Appendix
4) XBF-DC04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 :H of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4~20mA
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0~20mA
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
1:H of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
00 : K
Configuration
01 : J
0:L of output Ch 3 Ch 2 Ch 1 Ch 0
type 10 : T
11 : R
Designation
0: Centigrade
1:H of input data - - - - Ch 3 Ch 2 Ch 1 Ch 0
range 1: Fahrenheit
A-41
Appendix
0000: 3ms
0001: 1 ms
0010: 5 ms
0 :H Input filter - - - - Input filter 0011: 10 ms
0100: 20 ms
0101: 70 ms
0110 : 100 ms
Maintaining
0x01 : Allow
0:L output is Configuration of maintaining output
allowed Others: Prohibit
Configuration
of
0 : Clear
1:H maintaining 56~63 48~55 40~47 32~39 24~31 16~23 8~15 0~7
output by 1 : Maintaining
channels
Designation
of Input/ 00 : 4 ~ 20 mA
Output Output Output Input Input 01 : 0 ~ 20 mA
0:L voltage/ Ch1 Ch0 Ch1 Ch0 10 : 0 ~ 5 V
current
range
11 : 0 ~ 10 V
A-42
Appendix
2) XBF-AD08A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Input Input Input Input Input Input Input Input Bit On (1): Operation
0 of channels to
be used 7 6 5 4 3 2 1 0 Bit Off (0): Stop
1 Designation Ch 3 Ch 2 Ch 1 Ch 0 00 : 4 ~ 20 mA
of Input
voltage/
01 : 0 ~ 20 mA
current 10 : 0 ~ 5 V
2 range Ch 7 Ch 6 Ch 5 Ch 4 11 : 0 ~ 10 V
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
3 of output data Ch 6,7 Ch 4,5 Ch 2,3 Ch 0,1
range 10: Precise value
11: 0 ~ 1000
A-43
Appendix
3) XBF-AD04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
0000: 4 ~ 20mA
1 Designation Ch 1 Ch 0
of Input 0001: 0~20mA
voltage/ 0010: 1~5V
current 0100: 0~10V
2 range Ch 3 Ch 2
0101: -10V~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
3 of output Ch 3 Ch 2 Ch 1 Ch 0
data range 10: Precise Value
11: 0 ~ 10000
A-44
Appendix
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
2 of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
2) XBF-DV04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
00: 1~5V
Designation
01: 0~5V
1 of output Ch 3 Ch 2 Ch 1 Ch 0
range 10: 0~10V
11: -10~10V
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
2 of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
A-45
Appendix
3) XBF-DC04A
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4 ~ 20mA
1 of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0 ~ 20mA
00: 0 ~ 4000
Designation
01: -2000 ~ 2000
2 of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 1000
4) XBF-DC04C
Memory Bit
Description Configuration
address 7 6 5 4 3 2 1 0
Configuration
Bit On (1): Operation
0 of channels - - - - Ch 3 Ch 2 Ch 1 Ch 0
to be used Bit Off (0): Stop
Designation
00: 4~20mA
1 of output Ch 3 Ch 2 Ch 1 Ch 0
range 01: 0~20mA
00: 0 ~ 16000
Designation
01: -8000 ~ 8000
2 of input data Ch 3 Ch 2 Ch 1 Ch 0
range 10: Precise value
11: 0 ~ 10000
A-46
Appendix
00 : K
Configuration
01 : J
1 of output Ch 3 Ch 2 Ch 1 Ch 0
type 10 : T
11 : R
Designation
0: Centigrade
2 of input data - - - - Ch 3 Ch 2 Ch 1 Ch 0
range 1: Fahrenheit
A-47
Appendix
0000: 3ms
0001: 1 ms
0010: 5 ms
0 Input filter - - - - Input filter 0011: 10 ms
0100: 20 ms
0101: 70 ms
0110 : 100 ms
Maintaining
0x01 : Allow
1 output is Configuration of maintaining output
allowed Others: Prohibit
Configuration
of
0 : Clear
2 maintaining 56~63 48~55 40~47 32~39 24~31 16~23 8~15 0~7
output by 1 : Maintaining
channels
Designation
of Input/ 00 : 4 ~ 20 mA
Output Output Output Input Input 01 : 0 ~ 20 mA
1 voltage/ Ch1 Ch0 Ch1 Ch0 10 : 0 ~ 5 V
current
range
11 : 0 ~ 10 V
A-48
Warranty and Environmental Policy
Warranty
1. Warranty Period
The product you purchased will be guaranteed for 18 months from the date of manufacturing.
2. Scope of Warranty
Any trouble or defect occurring for the above-mentioned period will be partially replaced or repaired. However, please note the following
cases will be excluded from the scope of warranty.
(1) Any trouble attributable to unreasonable condition, environment or handling otherwise specified in the manual,
(2) Any trouble attributable to others’ products,
(3) If the product is modified or repaired in any other place not designated by the company,
(4) Due to unintended purposes
(5) Owing to the reasons unexpected at the level of the contemporary science and technology when delivered.
(6) Not attributable to the company; for instance, natural disasters or fire
3. Since the above warranty is limited to PLC unit only, make sure to use the product considering the safety for system configuration or
applications.
Environmental Policy
LS ELECTRIC Co., Ltd supports and observes the environmental policy as below.
1
Warranty and Environment Policy
2
www.lselectric.co.kr