Read this manual carefully before installing,wiring, operating, servicing or inspecting this equipment.
y
Keep this manual within easy reach for quick reference.
Safety Instructions
Before using the product ….
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 ac cident or risk with the safe and
proper use the product.
▶Instructions are separated 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.
Caution
▶ The marks displayed on the product and in the user’s manual have the following meanings.
indicates handling and directions probably causing a danger.
If you find this mark, you should read it carefully and follow the directions to avoid danger.
indicates the possibility of electric shock under a certain condition.
▶The user’s manual even after read should be kept available and accessible to any user of the product.
This symbol indicates the possibility of slight injury or
damage to products if some applicable instruction is
violated.
Safety Instructions
Safety Instructions for designing
Analog I/O signal or pulse I/O cable should be installed, at least,
100mm away from high voltage/power cable so that such cables may
not be affected by noise or magnetic field change.
It may cause incorrect operation due to noise.
If huge vibration exists in the installation place, it is necessary to t ake a
measure PLC may not be d irectly subject to the vibration.
It may cause an electric shock/fire or incorrect operation.
It is necessary that no metallic impurities are inserted into the product
if it is installed in a place with metallic impurities.
It may cause an electric shock/fire or incorrect operation.
Caution
Safety Instructions when installing
Before use, please install PLC in the environment conditions in
accordance with the specifications in the data sheet.
It may cause an electric shock/fire or incorrect operation.
Please check whether PLC power is off before installing the module.
It may cause an electric shock or damages on a product.
Please check whether each module of PLC is correctly fixed.
If any part of the product is loosely or incorrectly installed, it may cause incorrect
operation, trouble or fall.
Caution
Safety Instructions
Safety Instruction for wiring
Before wiring, please check whether the power of PLC and the external
power are disconnected.
It may cause an electric shock or damages on the product
After checking the rated voltage and terminal array of each product,
wire them accurately .
If connecting to a different voltage, not rated voltage, or wiring incorrectly, may cause a
fire or trouble.
Firmly tighten the screws for wiring with a specified torque.
Loosely tightened screw may cause short-circuit or incorrect operation.
Make sure to use the exclusive PLC t ype 3 grounding for FG terminal
grounding
Without grounding, it may cause incorrect operation.
A special caution should be paid so that no wiring impurities are
inserted into the product during wiring.
It may cause a fire/damages on product or incorrect operation.
Warning
Caution
Safety Instructions
Safety instructions for trial operation/ maintenance
Never attempt to touch terminal block with the power on.
It may cause an electric shock or incorrect operation.
When cleaning it up or tightening a terminal, it is necessary to turn off
PLC and all other external power.
It may cause an electric shock/incorrect operation
Do not detach PCB from the case nor alter it.
It may cause a trouble, incorrect operation, damages on product or a fire.
Installing or detaching the module should be executed with every external
power off.
It may cause an electric power or incorrect operation.
When using a cellular phone or radio set, stay, at least, 30cm from PLC.
It may cause an incorrect operation.
Warning
Caution
Safety Instructions for disposing
When disposing the product, treat it as industrial waste.
It may generate harmful substances.
Caution
Revision History
Version Date Description Modified Page
V 1.0 April, ’04 First edition published -
V 1.1 July, ’05 CI mark is changed -
※ The No. of user’s manual is indicated on the right side of back cover.
ⓒ LS Industrial Systems Co., Ltd 2004 All Rights Reserved.
Here describes about Rnet network of GLOFA, MASTER-K PLC system specifically. Important
characteristic of Rnet network is reducing the expense of installing and maintenance, diversity of system
configuration, easiness of installing and maintenance, easiness of change of system.
This network supports the electric network (Twisted-pair cable) that is cheap and easy to install for
diversity of network configuration.
And we are supporting the repeater option module for special purpose. The Rnet module can be used in
both GLOFA and MASTER-K PLC and applied diversely according to system.
Note
1) GMWIN V3.0 and KEL-WIN V2.0 are used for this manual.
2) To use GM7-Rnet, you should use more than GMWIN V3.42/GM7 O/S V1.4
1-1
Chapter 1. General
1.2 Type of Rnet I/F module
The Rnet I/F module is classified as [Table 1.1] according to network type.
Refer to this when configuring the network.
[Table1.1] Type of Rnet I/F module
Network Module
Master module
(RMM)
Rnet
Connection
Communication module nameBase
cable type
GM2-CPUB,
G3L-RUEA
GM3/K1000S
G4L-RUEA GM4/K300S
Twisted-pair
Interface
(Electric)
G6L-RUEA GM6/K200S
G7L-RUEA GM7/K80S
G3L-RREA GM3/K1000S
G4L-RREA GM4/K300S
G6L-RREA GM6/K200S
GRL-D22A Smart I/O
Slave module
(RSM)
Twisted-pair
(Electric)
Remote I/O
1-2
GRL-D24A Smart I/O
GRL-TR2A Smart I/O
GRL-TR4A Smart I/O
GRL-DT4A Smart I/O
GRL-RY2A Smart I/O
Chapter 2. Term
Chapter 2. Term
2.1 Term
RMM: Rnet Master Module ⊙
Rnet I/F module equipped at the basic base’s I/O
RSM: Rnet Slave Module⊙
Rnet I/F module equipped at the CPU slot of basic base
※ Rnet I/F module and Fnet I/F module use same communication method (RMM does same rule with
FMM, RSM does same rule with FSM.)
⊙ Local station
Station that is connected with GMWIN/KGLWIN for the user to monitor/debug the program in the same
network
⊙ Remote station
The opposite concept to local station, the other station to communicate with local station
⊙ Remote I/O station
Input/output area that the remote communication module of PLC system instead of CPU of PLC
refreshes I/O module mounted on remote station by receiving I/O data from master station.
Rnet ⊙
Fieldbus is the lowest network connecting the control device and electric device and adopts the 3 layers
among OSI 7 layer. 3 layers consists of physical layer which consists of H2(1 Mbps electric), H1 (31.23
Kbbs electric), optical, and wireless, etc., the data link layer which adopts scheduled and circulated
token bus, the application layer which plays a role of application, and additional user layer.
Token ⊙
The right to transmit data of self station through controlling the right of accessing to physical medium
Rnet ⊙station no.
Station no. of Rnet communication module (G3L-RUEA….etc.) Station no. of Rnet module is set by the
switch attached on the module and this is used on all service including the high-speed link.
2-1
Chapter 2. Term
⊙ Repeater
This is used to extend the distance of cable for electric communication network, extends the distance of
communication with regeneration and amplification of electric communication signal.
Manchester Biphase⊙-L
Data modulation method used in Fnet. Data is encoded and transmitted by using Manchester-l code,
Received data encoded by Manchester will be decoded and converted.
CRC⊙ (Cyclic Redundancy Check)
This is the one of error detection methods, which is an error detection method used most frequently for
synchronizing transmission, and also called as cyclic code method.
⊙ Terminal resistance
This is used to adjust mutual impedance of transmitting part and receiving part on physical layer, and
terminal resistance of Rnet is 110Ω, 1/2W
⊙ High-speed link (HS Link)
This is used among GLOFA PLC communication modules only, and used to transmit and receive data at
high speed, and executes communication by setting high speed link parameter of GMWIN/KGLWIN.
GMWIN⊙ (GLOFA PLC Programming and Debugging Tool)
This software enables user to program in order to fit to the system, and to download, run, stop, and
debug in GLOFA PLC CPU module.
KGL⊙-WIN (MASTER-K PLC Programming and Debugging Tool)
This software enables user to program in order to fit to the system, and to download, run, stop, and
debug in MASTER-K PLC CPU module.
FAM⊙ (FA Manager)
One of the MMI (Man Machine Interface), software package which is made to monitor the factory through
computer graphic.
Segment⊙
Local network which connects all stations by using the same token, without using any connecting device
(Gateway, EOC, Repeater).
⊙ Network
Entire communication system, configured by one segment or more, that uses the same token.
2-2
Chapter 3. General Specification
Chapter 3. General Specifications
3.1 General Specifications
General specifications of Rnet master, slave communication module are as follows.
1) IEC (International Electrotechnical Commission)
: International non-governmental association, which establishes international standards in the field of electric and electronics.
2) Pollution level
: This is an indication showing pollution of surrounding environment, which determines insulation performance of device, and generally
the pollution level 2 means the conditions in which only non-conductive pollution occurs.
But, temporary conduction may occur according to condensing.
3-1
Chapter 3. General Specification
3.2 Structure and Configuration
This describes the structure and configuration for representative type of Rnet module.
Indicates whether communication module has a token or not.
TOKEN
Indicates whether comm unication module is transmitting/receiving or not.
TX/RX
Flick e rs wh e n th e co mmun ica tion e rro r o c c u rred .
FAULT
SYS
FAULT
Flick e rs wh e n s e riou s e rro r o f s ys tem itself or I/O modu le e rror o c cu rred
Station number setting switch
Sets station number in the range of 0~63 station (Set in decimal).
Mo de s e ttin g s w itc h
Sets operation mode of communication module
RS232C
Com m unication connector (RS-232C
Cable connector of GMW IN connection.
CON1
Com m unication connector
Connector for electric cable connection to connect communication module.
CON2
Note
1) There is no RS-232C port on the G4L-RREA.
알아두기
3-5
Chapter 3. General Specification
2) Side part (ex. of G3L-RREA)
X10
X1
Station number setting switch
Sets master station number of remote communication module
(Set in the range of 0~63 station using decimal).
Output of emergency data
Spec ifies outp ut data type when communication failure by cable cu t off.
(See 3.2.6 Fnet mode setting)
3-6
Chapter 3. General Specification
3) G6L-RREA (Front part)
RUN
TOKEN
TX/RX
FAULT ERROR
G6L-RREA
MODE
0:GM
1:MK
2:GM-E Mode
3:MK-E Mode
CON1
LED indicating section
RUN
TOKEN
TX/RX
FAULT
ERROR
Indicates the status of CPU module and interface
Indicates whether communication module has a token or not.
Indicates whether there is TX/RX data or not.
Flicker when it can’t start normally because of error
Flicker when system error or I/O error occur.
Type name indicating section
Indicates type name of communication module
Mode setting switch
Sets the operating mode of communication module
CON2
G6L-RREA(측면부)
G6L-FUEA
X10 X1
X10
X1
Communication connector
Connector for electric cable
Self station no. setting switch
Sets the range of 0~63 (used in decimal)
M0ther station no. setting switch
Sets the range of 0~63 (used in decimal)
3-7
Chapter 3. General Specification
3.2.3 G0L-GWRA module structure
①
Rnet
-
PWR TRX ERR
②
③
④
Classification Contents
PWR : indicates power ON/OFF (normal : on)
① LED
TRX : indicates GMWIN/KGLWIN connection
(normal : flicker)
ERR : indicates error (normal : off)
② Communication
connector
③ 9Pin connector
④ Power
5Pin fieldbus cable connector
GMWIN/KGLWIN connection cable (inner cover)
DC 24V power and FG terminal unit (inner cover)
Note
1) G0L-GWRA’s station no. is set as 63 automatically when configuring Rnet system.
3-8
Chapter 3. General Specification
3.2.4 Rnet LED signal name and indication content
Device
type
G3L-RUEA
G4L-RUEA
G6L-RUEA
G7L-RUEA
G3L-RREA
G4L-RREA
G6L-RREA
LED
Meaning of LED indication LED On LED Off
Name
RUN Indicates the status of CPU module and interface Normal Abnormal
LAS Indicates that communication module is performing LAS
function.
TOKEN Indicates whether communication module has token or not. Has Does not have
TX/RX Indicates whether communication module is transmitting/
receiving or not.
LINK-I/F Indicates whether there is TX/RX data. Communication Communication OFF
FAULT Indicates the status of communication module. Abnormal Normal
RUN Indicates the status of communication module. Normal Abnormal
TOKEN Indicates whether communication module has token or not. Has Does not have
TX/RX Indicates whether communication module is transmitting/
receiving or not.
FAULT Indicates whether communication error exists or not. Abnormal Normal
In proceeding
Flicker during communication
In proceeding Flicker
SYS FAULT Indicates whether system error or I/O module error occurred
or not.
※ For details on LED, see chapter 7.1
3.2.5 Rnet station no. setting
1) Self station no. setting
Applied device
type
G3L-RUEA
G3L-RREA
G4L-RUEA
G4L-RREA
G6L-RUEA
G6L-RREA
G7L-RUEA
Detailed drawing of
station number switch
0
×10
5
0
×1
5
(1) Station number can be set from 0 to 63 (Decimal).
(2) Station number setting
27
27
(Factory default is 0)
Switch Setting
X 10 Sets ten’s figure of station number
X 1 Sets one’s figure of station number
(3) GM6: The station setting switch is placed in the case.
Abnormal Normal
Contents
3-9
Chapter 3. General Specification
2) Master station number setting
Sets station number of Rnet master module, which can transmit and receive high speed link data in
Rnet slave module (Station number switch is located inside of case).
Applied
Device type
Detailed drawing of
station number switch
Description
G3L-RREA
G4L-RREA
G6L-RREA
×10
3.2.6 Rnet mode setting
1) Mode of master module
Applied
device type
×1
Detailed drawing
of mode switch
0
27
5
0
27
(1) Station number can be set from 0 to 63(Decimal).
(2) Station number setting
(Factory default is 0)
Switch Setting
X 10 Sets ten’s figure of station number
X 1 Sets one’s figure of station number
5
Description
G3L-RUEA
MODE
0:ON LINE
0
27
Use mode 0 only.
G4L-RUEA
G6L-RUEA
MODE
0:ON-LINE
5
1 2
.
Modefunction
0 Executes the normal operation
ON
3-10
Chapter 3. General Specification
2) Mode of slave module (GM/MK mode: except GM6)
Applied
device type
G3L-RREA
G4L-RREA
MODE
0:GM
1:MK
MODE
0:GM
1:MK
*Default is no.0 GM mode. Check it.
Detailed drawing
of mode switch
0
5
27
.
1 2
ON
Description
Use mode 0,1 only.
Mode
0 GLOFA mode (default mode)
1 MASTER-K mode
z Because GLOFA/MASTER-K use the different I/O address,
mode is divided. Check the mode before using it.
function
3) Emergency data output setting (except GM6)
Rnet slave module doesn’t support the emergency data output.
Applied
device type
G3L-RREA
Emergency data
switch
1
ON
2
3
This switch is not used.
4
G4L-RREA
1
2
ON
This switch is not used.
Contents
3-11
Chapter 3. General Specification
4) GM6 slave mode setting (GM/MK)
Applied
Device type
Detailed drawing
of mode switch
MODE : 0 (GM MODE)
Contents
G6L-RREA
1 2
MODE : 1 (MK MODE)
1 2
MODE : 2 (GM-E MODE)
1 2
MODE : 3 (MK E-MODE)
This switch is not used.
ON
This switch is not used.
ON
This switch is not used.
ON
This switch is not used.
1 2
ON
Note
1) User can input user-defined data for communication error in GMWIN function block program of
GLOFA and in KGL-WIN or KDL-150S of MASTER-K.
3-12
Chapter 4. Transmission Specification
Chapter 4. Transmission Specifications
4.1 Transmission Specifications
4.1.1 Transmission specifications of master module
Product of master module: G3L-RUEA, G4L-RUEA, G6L-RUEA, G7L-RUEA
5.2.1 Rnet system configuration example (master/slave)
GMWIN
GLOFA GM3
G3L-RUEA
GLOFA GM3
GLOFA GM4
GLOFA GM6
G3L-RREA
G4L-RREA
G6L-RREA
Smart I/O
GRL-D22A
GRL-TR2A
G0L-GWRA
GLOFA GM4
GLOFA GM3
G3L-RREA
GLOFA GM4
G4L-RREA
GLOFA GM6
G6L-RREA
G4L-RUEA
Smart I/O
GRL-D22A
GRL-TR2A
G0L-GWRA
GLOFA GM6
G6L-RUEA
GLOFA GM3
G3L-RREA
GLOFA GM4
G4L-RREA
GLOFA GM6
G6L-RREA
Smart I/O
GRL-D22A
GRL-TR2A
G0L-GWRA
GM7
G7L-RUEA
GLOFA GM3
G3L-RREA
GLOFA GM4
G4L-RREA
GLOFA GM6
G6L-RREA
Smart I/O
GRL-D22A
GRL-TR2A
G0L-GWRA
Smart I/O
GRL-RY2A
GRL-D24A
GRL-DT4A
GRL-TR4A
Smart I/O
GRL-RY2A
GRL-D24A
GRL-DT4A
GRL-TR4A
Smart I/O
GRL-RY2A
GRL-D24A
GRL-DT4A
GRL-TR4A
Smart I/O
GRL-RY2A
GRL-D24A
GRL-DT4A
GRL-TR4A
5-2
Chapter 6. Communication Function
Chapter 6. Communication Function
6.1 Communication Function
6.1.1 General
Communication with Smart I/O module, remote Rnet(GXL-RREA) is executed through High Speed-
Link service.
High Speed Link
Communication is executed by setting the simple parameter through High Speed Link. GMWIN is
used for GLOFA series setting and KELWIN is used for MASTER-K series setting.
1) Setting range of Rnet I/F module
Maximum High Speed Link Contact No. (Rnet Master)
Type Max.
communication
contact no.
G3L-RUEA 3,840 word 1,920 word 2 (0-1) 60 word
Rnet
I/Fmodule
Communication setting when communicating with Slave module
HS Link block setting Address area
TX RX
1 1 20ms ~ 10s %QW, %IW P area
G4L-RUEA 3,840 word 1,920 word 2 (0-1) 60 word
G6L-RUEA 3,840 word 1,920 word 2 (0-1) 60 word
G7L-RUEA 3,840 word 1,920 word 2 (0-1) 60 word
TRX period
Max. sending
contact no.
GLOFA-GM TX
Max. block
no.
Max. contact no. per
block
HS Link
information
RX
Refer to Ch.
6.1.2
6-1
Chapter 6. Communication Function
6.1.2 High Speed Link communication status flag
1) High Speed Link information function
It is used to check whether the reliability of the data sent out or received from the remote station
and the user can use this information for maintenance and emergency by combining the data sent
out or received through High Speed Link as a keyword form when programming.
High Speed Link information
LINK-Trouble
Classification RUN-LINK
Information
type
Key word
name
(=HS Link
no.
1,2,3,4 )
Data type BIT BIT BIT-ARRAYBIT-ARRAYBIT-ARRAY BIT-ARRAY
Monitoring available available available available available available
Used for
programming
Entire
information
_HSRLINK _HSLTRBL
available available available available available available
LINK_
TROUBLE
Entire
information
TRX status
TRX_MODE
Individual
information
_HSTRX[n]
(n=individual
parameter no.
0~63 )
Operation
mode
DEV_MODE
Individual
information
_HSMOD[n]
(n= individual
parameter no.
0~63 )
error
DEV_ERROR
Individual
information
_HSERR[n]
(n= individual
parameter no.
0~63 )
HS Link status
HS_STATE
Individual
information
_HSSTATE[n]
(n= individual
parameter no.
0~63 )
(If GRL-TR4A’s module is connected, the high flag doesn’t operate. Be careful when programming)
6.1.3 GMWIN’s High Speed Link setting
1) GMWIN’s project and Link parameter
If you select the High Speed Link parameter on the GMWIN project basic screen and enter High
Speed Link parameter basic screen, each item shows up.
High Speed Link parameter basic screen
The above menu shows up, if selecting [Parameter] - [Link Parameters].
6-2
Chapter 6. Communication Function
HS Link parameter basic screen on the GM7 master
In case of GM7 Rnet, select [Parameter]-[Communication Parameters] on the project window.
2) Setting function
The selectable High Speed Link items indicate the max. communication module to equip
according to PLC CPU. GLOFA GM2-CPUB/GM4-CPUC can equip max. 8, GM4-CPUB can
equip max. 4 and GLOFA GM4-CPUA/GM6 can equip max.2, GM7 can equip max. 1
communication module.
Module equipment relationship according to CPU type
Classification installable
Max. no.
communication module
GLOFA-GM2-CPUB G3L-RUEA 8
GLOFA-GM3 G3L-RUEA 4
GLOFA-GM4-CPUA G4L-RUEA 2
GLOFA-GM4-CPUB G4L-RUEA 4
GLOFA-GM4-CPUC G4L-RUEA 8
GLOFA-GM6 G6L-RUEA 2
GLOFA-GM7 G7L-RUEA 1
6-3
Chapter 6. Communication Function
3) Link parameter setting
If applicable parameter is selected, the High Speed Link parameter setting basic window like the
following figure opens and it has the following initial value.
.
Parameter setting initial screen
The High Speed Link initial screen consists of two items ‘Link set’ and ‘Entry list’. The setting method and
function for each item is as follows.
6-4
Chapter 6. Communication Function
(1) Link set
The Link set is basic item to set the basic parameter for High Speed Link.
High Speed Link setting screen
Network type:Set communication module type and select Rnet.
Slot No.: Set one of 0~7 for slot number that communication module to mounted (right side of
CPU module is 0 slot).
Self-station No.: Input the self station no. set in the station no. switch in front of communication
module. The self station no. of Rnet always should be 0.
(2) G7L-RUEA link set
Network type: select the GLOFA Rnet.
Slot No.: This is not activated.
Self-station No.: The self station no. always should be 0.
6-5
Chapter 6. Communication Function
(3) Entry list setting
Entry list is area to register the data RTX information.
Note
The GRL-DT4A among Smart I/O modules has input and output. So two entry list is occupied
for one module. At this time, the station no. should be same but block no. should be different.
High Speed Link operation
4)
If the setting of the High Speed Link parameter is finished, write the parameter to PLC CPU after
compiling it and enable the High Speed Link. If the above process is done, High Speed Link service
starts. High Speed Link starting sequence is as follows.
(1) Write parameter
Parameter download screen
Save the High Speed Link parameter written by the user in the project file of the GMWIN, connect with
PLC via [Connect] on the [Online] and write the Parameter or the Parameter and Program to PLC.
6-6
Chapter 6. Communication Function
(2) High Speed Link starting
Link Enable Setting
(3) G7L-RUEA High Speed Link starting
After Link Enable Setting, the High Speed Link is executed. The Link Enable Setting should be
done on the Stop mode. Once High Speed Link is executed, it operated regardless of PLC mode.
The parameter and information of the Link Enable Setting is saved in the CPU via the battery
though the power is cut.
6-7
Chapter 6. Communication Function
(4) High Speed Link information monitor
Monitoring the current High Speed Link status is available by using monitor function after GMWIN
online connection. The monitor method is two. The one is to use Variable monitor on the monitor
menu and the other is to use the High Speed Link parameter monitor.
●Variable monitor
The variable monitor can select and monitor the needed item by using flag monitor function of
GMWIN. The sequence is as follows.
Select ‘Variable monitor’ on the view menu.①
Select ‘Flag’ on the variable monitor screen like the follo②wing figure.
Select the flag on the flag list and register the flag that the user wants to monitor.③
(Since _HSxSTATE[n], _HSxERR[n], _HSxMOD[n],_HSxTRX[n] is ARRAY flag, input the
registration no. of parameter the user wants to monitor)
Note
1) ‘x’ means the high speed link no., it has a range of 1~4 in the GM1/GM2/GM3/GM4-
CPUB PLC and 1 in the GM7. [n] is individual parameter no. (0~63)
If you register the variable and press ‘Close’, the monitor starts.
High Speed Link information variable registration screen
6-8
Chapter 6. Communication Function
High Speed Link information monitor screen
Run link information
Link trouble information
Link individual information
TRX status information
Error history information
●High Speed Link parameter monitor
It is available to monitor the High Speed Link communication status via ‘Link Parameter’ on the View
menu.
Link parameter selection screen
To change the High Speed Link no. to monitor, click the right button on the Link Parameters menu
and click ‘Select link parameter’.
Total information about run-link, link-trouble is displayed on the upper screen. Mode (operation
mode), communication (TRX status), each information about error are displayed per parameter item.
6-9
Chapter 6. Communication Function
Note
1) Run-link monitoring
If GRL-TR4A that is one of the Smart I/O is set in the parameter, run-link is always
indicated as ‘0’.
6.1.4 High-speed link setting of KGLWIN
1) KGLWIN’s project and link parameter
High-speed link parameter can be set by selecting the link parameter on the project screen of
KGLWIN. The setting sequence and function per each item is as follows.
(1) Setting the project of KGLWIN
The following figure is parameter basic screen invoked when selecting the parameter window.
KGLWIN parameter basic screen (in case of K200S)
(2) Link parameter basic setting
If you select Link1 on the KGLWIN parameter basic screen, The following high-speed link 1
parameter basic screen shows.
6-10
Chapter 6. Communication Function
Link parameter basic screen
(3) Basic setting of K80S project and link parameter
The following is parameter basic screen invoked when selecting the K80S’s parameter window.
6-11
Chapter 6. Communication Function
KGLWIN parameter basic screen (in case of K80S)
On the parameter basic screen of the above figure, if you select ‘Comm.’ communication
parameter setting window shows. If you select FIELDBUS menu as Master and select ‘List’, high-
speed link parameter basic screen shows.
Communication parameter setting screen
6-12
Chapter 6. Communication Function
A
Link parameter basic screen
◎ Link 1: as a high-speed link type, K1000S can have max. 4, K300S/K200S can have max.2,
K80S can have only one communication module. High-speed link no. doesn’t have relation with
slot no., One high-speed link can be set per one communication module. The following table
indicates communication type and max. no. for equipment according to CPU.
◎ Link: whether executing the communication module link ◎ Self station no.: self station no. should be ‘0’. ◎ Slot: slot no. where communication module is equipped. Rage is from ‘0’ to ‘7’. ◎ Registration no.: indicates the registered no. of each parameter. Range is 0~63. This doesn’t
have relation with TX/RX sequence. It is available to register max. 32 per TX and RX.
Module equipment relation per CPU type
K1000S G3L-RUEA 4
vailable to mix each
communication module
K200S G6L-RUEA 2
K80S G7L-RUEA 1
6-13
Chapter 6. Communication Function
(4) Link parameter specific setting
If you double-click the high-speed link registration no. 0, the following link parameter setting
window shows.
Edit Link screen (in case of registration no.0 of high-speed link 1)
◎ Station No.: When sending/receiving the data, other station no. is necessary.
The following table indicates how to set the station no.
How to set the station no.
Communication type Station no. Station no. range
Remote In
Remote Out
◎ Block No.: this parameter classifies the data of diversity block to send/receive diversity data at
the one station. It is available to set the one TRX block per one station
◎ Module Type: Remote In and Remote Out are available.
Remote Out: When sending the data of self station to remote station.
Remote In: When receiving the data of remote station to self station.
Remote station no. 1~63
6-14
Chapter 6. Communication Function
◎ Tx/Rx Device: indicates the Tx/Rx area. In case of Remote Out, set the self Tx area in the Tx
Device and set the Rx area (P area) of remote station in the Rx Device. Since Remote
In means the Rx from the remote station, set the Tx area of remote station (P area) in
the Tx Device and set the Rx area of self station in the Rx Device
Tx/Rx device setting area according to communication type
Comm. Type Device Available setting area reference
Remote Out
Remote In
◎ Size: indicates the size of Tx/Rx data and unit is word (16 point). It is available to set up to 60
word but Rnet supports 2 word. Because current Smart I/O supports max. 2 word.
◎ Period: High-speed link executes the communication at the end of PLC program according to
parameter set by the user. So if scan time of PLC program is short less than ms,
communication module executes the communication according to program scan.
Because of this, communication increases and reduces the efficiency of the
communication system. To prevent this, the user can set the Tx/Rx period and the range
is 20ms (Rnet V1.0) ~ 10s. Tx/Rx period means the Tx period in case relevant block is
set as Tx and means the period that check the data reception in case relevant block is
set as RX.
(5) High-speed link run
If the high-speed link setting is completed and downloaded in to PLC, high-speed link starts. At
this time, relevant link should be ‘allowed status’.
Tx P,M,L,K,F,D,T,C all area Tx area of self station
Rx P area Rx area of remote station
Tx P area Tx area of remote station
Rx P,M,L,K,D,T,C area Rx area of self station
Parameter download screen
6-15
Chapter 6. Communication Function
2) High-speed link information monitor
It is available to monitor high-speed link information by using the monitoring window and ‘Read
Information’ menu after online connection. There are two methods. One is monitoring the each or
entire information by selecting the flag to monitor on [Monitor]-[Flag]. Another is monitoring the
entire information by selecting the high-speed link parameter on the Read Information menu.
●Flag monitor
It is available to use the flag monitor function by selecting ‘Flag’ on the [Project]-[Monitor]. If you
click the flag button and () button, the following screen shows. Register the flag you want to
monitor. If monitor function doesn’t work, check whether this mode is monitor start mode or not.
Flag monitor screen and flag registration screen
Flag monitor screen (status that flag is set)
6-16
Chapter 6. Communication Function
●High-speed link parameter monitor on the Read Information
If you select high-speed link parameter on the [Online]-[Read Information], you can see the detail
information about high-speed link parameter as follows.
High-speed link parameter monitor
R02/R03 means the remote (Smart I/O) 2 station and 3 station and S00, S01 means the block no. No.0
parameter means that it sends the data (M000) of self station to remote (Smart I/O) 2 station (P000)
through no. 0 block. No.2 parameter means that it sends the data (M000) of self station to remote
(Smart I/O) 3 station (P000).
6-17
Chapter 6. Communication Function
●Monitoring the link information on the menu, Read Information
If you select [Online]-[Read Information]-[Link Information], you can monitor the link status of
communication module according to slot.
If you select module you want to monitor and click ‘Network Information’ button, you can see the
connection status of all Rnet network connected with relevant module. (Except K80S)
6-18
Chapter 6. Communication Function
3) Flag
L area when using the data link module (equipped at the 0 slot) x: slot no. n: other station no.
Keyword Address Contents
L0001 ~ L000F( 1~15station)
L0010 ~ L001F(16~31station)
_NETx_LIV[n]
L0001 ~
L003F
High-speed link detail flag x: K1000S=9, K300S/K200S=4 m: high-speed link no.
Key word Type
_HSmRLINK Bit Dx600.0 RUN_LINK information
_HSmLTRBL Bit Dx600.1
_HSmSTATE
[k]
(k=0~63)
Bit
Array
position
Dx601.0
Dx604.15
L0020 ~ L002F(32~47station)
L0030 ~ L003F(48~63station)
L0050 ~ L005F(16~31station)
L0060 ~ L006F(32~47station)
L0070 ~ L007F(48~63station)
Bit
~
Contents Description
HS link’s abnormal
information
(LINK_TROUBLE)
Total communication
status information of k
data block set I the HS
link parameter
Indicates that other station’s power is on
and communication is normal. (Read Only)
Indicates that all stations is normal and work according
to parameter set in the high-speed link. It is on under
following condition.
1. All station set in the parameter are RUN mode, there
is no error.
2. All data block set in the parameter is normal.
3. The parameter set in the each station set in the
parameter is normal
Once RUN_LINK is turned on, it keeps its value as long
as it stops by Link Disable.
This flag is turned on when _HSmRLINK is on and
communication status is as follows.
1. Station set in the parameter is not RUN mode.
2. Station set in the parameter has error.
3. Communication status of data block set in the
parameter is not normal
LINK-TROUBLE is on with above conditions.
If above condition disappear, it is turned off again.
Indicates the total status of communication information
about data block set in the parameter
_HSmSTATE[k] = _HSmMOD[k] & _HSmTRX[k] &
_HSmERR[k]
6-19
Chapter 6. Communication Function
Keyword Type
_HSmMOD[k]
(k=0~63)
_HSmTRX[k]
(k=0~63)
_HSmERR[k]
(k=0~63)
Bit
Array
Bit
Array
Bit
Array
HS link detail flag when m=1~3
HS link type D area address reference
High Speed Link2 (m=1) Dx620 ~ Dx633
High Speed Link3 (m=2) Dx640 ~ Dx653
High Speed Link4 (m=3) Dx660 ~ Dx673
Bit
position
Dx605.0 ~
Dx608.15
Dx609.0 ~
Dx612.15
Dx613.0 ~
Dx616.15
Mode information
(RUN = 1, others = 0)
Status information
(normal=1, abnormal=0)
Status information of
station set in the k data
block at the HS link
parameter
(normal=1, abnormal=0)
Contents Description
Indicate the operating mode of station set in the k
data block of parameter
Indicate whether communication status of k data
block of parameter is normal or not.
Indicates whether there is error or not at the station
set in the k data block of parameter.
D area address is as follows when m=1~3 in
comparison with when m=0 of [Table A1.2].
Expression: when m=1~3, D area address=[Table
A3.3]’s address+20*m
6-20
Chapter 6. Communication Function
6.2 Remote Connection Service
6.2.1 General
This function enables remote control of program preparation, download of user program, program
debugging, and monitor in network system that PLCs are connected, without moving physical
connection of GMWIN/KGLWIN. Especially, user can access each device at one location without
moving location when devices connected in network are apart distantly. GMWIN/KGLWIN
communication service generates following path to accomplish the goal.
[Figure 6.6.1] Ex. of remote connection network
In Fig. 6.6.1, let us suppose a network that RS-232C cable is connected to G3L-RREA module and
PLC A is master, PLC C is using the Rnet remote I/F module. They are connected each other.
To access PLC A, choose communication module station number of PLC A (other station number to
connect) and slot number of G3L-RREA (slot number that RREA module is currently mounted) at
Remote 1 connection of program tool. Then remote connection can be established by RS-232C and
Rnet.
This state is identical with the connection that RS-232C cable is connected to PLC A station, and
functions of program preparation, download, debugging, and monitor are possible. This
communication service of GMWIN can be use to connect to the content of remote PLC location, and
this can be used for maintenance and repair of PLC system.
Actual connection Virtual connection
PLC A G3L-PLC B
Rnet
Note
1) G3L-RREA, GOL-GWRA is available for remote 1 connection among Rnet module.
6-21
Chapter 6. Communication Function
6.2.2 GMWIN remote connection
Remote connection between PLCs connected with Rnet I/F module can be estblished with remote 1.
By using the G3L-RREA, GOL-GWRA, remote connection between PLCs is available.
Remote 1 connection
: For remote 1 connection, GMWIN should be off-line status.
In this state, choose Project → Option… → Connect option menu from upper
menu of program, and choose Remote 1 in connection level, then following
screen will be displayed
Network type setting: Choose type according to network that remote 1 connection is made.
choose GLOFA Fnet/Rnet because remote 1 connection is connected with
Rnet.
Station no. setting: Specify station number of communication module mounted in PLC which
makes remote 1 connection. Station number is written on or in the case of
module.
Slot no. setting: Select slot number of communication module mounted in PLC of self station,
which makes remote 1 connection.
6-22
Chapter 6. Communication Function
If remote 1 connection is normally made, following message is displayed
If connection is failed, following message is displayed
(Communication line error / internal protocol error)
(When setting value of remote connection is not proper)
If PLC that remote 1 connection is made is different from CPU type of project currently opened,
following message is displayed and only restricted On-line menu can be selected.
6-23
Chapter 6. Communication Function
The state that remote 1 connection is finished is state of logical connection, and this is the same as
RS-232C cable is connected. All of On-line menu can be used(But this is not possible if PLC
different from CPU type of project currently opened). Operation is finished with remote 1 connection
and connection is cut off, then following message is displayed
GM3 remote I/O (G3L-RREA, G0L-GWRA) has a connector for RS-232C connection. Remote
connection from GM3 remote I/O station, G0L-GWRA to GM1~GM7’s PLC is possible.
GM4, GM6 don’t have above function and G0L-GWRA’s station no. is always 63. (When using the
G0L-GWRA, be careful that station no. 63 is not repeated in the Rnet network.)
Caution when remote 1 connection in GMWIN
1) If currently opened project in GMWIN is different from CPU type connected with remote 1,
following items are not supported
(1) Writing of program and each parameter
(2) Reading of program and each parameter
(3) Monitor
(4) Flash memory
(5) Link enable setting
(6) I/O information
(7) Forced I/O information
(8) I/O skip
2) When GMWIN is programmed by connecting remote 1, user should open corresponding project of
station to be connected and perform remote connection.
6-24
Chapter 6. Communication Function
3) If remote connection is made with GM3/GM4 remote I/O, following items are not performed
(1) Writing of program and each parameter
(2) Reading of program and each parameter
(3) Operation performed with direct relation to program
* Time chart monitor of monitor
* Link parameter of monitor
* High speed link monitor
* Forced I/O information
* Link enable setting
* Flash memory
* Link information
4) Rnet remote connection is supported up to remote 1. Remote connection of more than 1 is
impossible.
5) Remote 1 connection from master to slave is possible and can check the I/O information of
remote PLC.
6-25
Chapter 6. Communication Function
6.2.3 KGL-WIN remote connection
All PLC (K1000S remote I/O and K300S/K200S connected by MK network can be connected by
KGL-WIN communication service. KGL-WIN remote connection supports up to 1. more than 1 is
impossible. Here describes remote 1 connection.
(1) Remote 1 connection: for remote 1 connection, KGL-WIN should be in off-line state. In this
state, select ‘Connection option’ at the ‘Project – Option’ menu.
Method of Connection: select ‘RS-232C’ and communication port of PC.
Depth of Connection: select ‘Remote 1’ and Fnet/Rnet type.
Slot no. setting: input slot number of communication module mounted in PLC of self station which
makes remote 1 connection.
Station no. setting: input station number of communication module mounted in PLC which makes
remote 1 connection. When using decimal number, input decimal number
without ‘h’.
6-26
Chapter 6. Communication Function
At this state, complete the setting and establish remote 1 connection by selecting [Online]-
[Connection]. If remote 1connection is made normally, PLC type and connection status is displayed
bottom of KGL-WIN screen. When connection fails, the following message shows. When connection
fails, check the communication line and remote connection settings.
If PLC that remote 1 connection is made is different from CPU type of project currently opened,
remote connection fails with the following message. Change the PLC type of the project. Remote 1
connection state is same with connection the RS-232C cable is moved. All menus in Online are
available.
K1000S remote module, G0L-GWRA module have RS-232C cable. So K1000S remote module can
make the remote 1 connection to K1000S~K200S PLC. K300S/K200S don’t have a remote connection
connector.
Caution when KGL-WIN remote 1 connection
1) Currently opened project’s CPU type should be same the CPU type of PLC which make remote 1
connection.
2) When GMWIN is programmed by connecting remote 1, user should open corresponding project of
station to be connected and perform remote connection.
3) Rnet Remote connection is supported up to remote 1. Remote connection of more than 1 is impossible.
6-27
Chapter 6. Communication Function
6.2.4 Function when KGL-WIN remote I/O connection
Here describes the available function when KGL-WIN is connected with remote I/O. Remote
connection of remote I/O supports the restricted menu.
Available list when KGL-WIN remote I/O connection
* I/O information monitor on the Online menu (Checking the I/O information of remote PLC is available)
1) I/O monitor
I/O monitor function provides the information of Rnet remote I/F module. The following screen is
displayed, if you select [Read Information]-[I/O Information]
When monitoring the information of special module, select the special module you want to monitor and press
the module information. Then special module version information shows like the figure.
6-28
Chapter 6. Communication Function
2) If remote connection is made with K1000S/K300S/K200S remote I/O, following items are not performed.
(1) Writing of program and each parameter
(2) Reading of program and each parameter
(3) Operation performed with direct relation to program
* Time chart monitor of monitor
* Link parameter of monitor
* High speed link monitor
* Forced I/O information
* Link enable setting
* Flash memory
* Link information
* Mode conversion
(4) Link enable setting
(5) Rnet parameter, Rnet information
6.2.5 System flag for remote module
Information saved in the inner memory of remote module can be monitored by RSM’s flag monitor and
HS link and communication command execution information can be known easily by flag.
6-29
Chapter 6. Communication Function
6.3 Slave Dedicated Function Block Service
Rnet slave module is a remote I/O control device which has a communication function and I/O
control function of PLC CPU. Rnet slave module doesn’t have a program execution function but can
control remote I/O of CPU through communication. So it supports the high-speed link service,
function block service and remote connection service. This chapter describes how to control the
slave by function block service.
6.3.1 Slave special module function block
Slave can equip the following special module, D/A conversion module, A/D conversion module,
RTD module, High-speed counter module and equip-able module type is 8. For more detail, refer to
the Chapter 8 table [8.1.2]. Slave special module function block controls the special module
equipped at the slave. NET_NO, ST_NO is added at the previous function block input and ERR,
NDR is added at the previous function block output. [Figure 6.3.1(A)] is an example of A/D
conversion module function block and describes the difference between original function block and
function block for slave module.
(A) Special module fnction block for slave (B) CPU special moduel function block
[Figure 6.3.1(A)] AD function block example
6-30
Chapter 6. Communication Function
CPU special module function block is used to initialize the special module equipped at the CPU
base and slave special module function block is used to initialize the special module equipped at
the slave. The newly added I/O is used for communication with slave. [Table 6.3.1(A)] describes the
newly added I/O and commonly used I/O.
[Table 6.3.1(A)] slave special module function block I/O
Name Contents Operation
REQ
(Input)
It catchs the rising edge and starts the function block Rising edge
(Bool)
Indicates the communication module among modules equipped at the
NET_NO
0 ~ 7
self PLC that communicate with the slave. Namely, it means the
(Input)
slave’s master communication module.
ST_NO
(Input)
NDR
(Output)
ERR
(Output)
BASE
Indicates the station no. of slave that equips the special module. 0 ~ 63
Indicates the result of function block operation. It is turned on when
normal operation and keeps its value until next scan execution.
Indicates the result of function block operation and if there is error, it
will be turned on.
On/Off
On/Off
0 ~ 3
Indicates the base no. where slave special module is equipped.
(Input)
SLOT
(Input)
Indicates the slot no. where slave special module is equipped. 0 ~ 7
Other I/O variable has the same function with original function block. For its description, refer to the
relevant manual.
6-31
Chapter 6. Communication Function
[Table 6.3.1(B)] Special module function block type of slave
CPU type
FB name
GM1,
GM2
GM3 GM4 GM6 Reference
ADRxINI
(x= 2,4)
ADRxRD
(x= 2,4)
DARxINI
(x= 1,4)
DARxWR
(x= 1,2,4)
(x= 0,1)
(x= 0,1)
(x= 0,1)
(x= 2,3)
(x= 2,3)
(x= 2,4)
(x= 2,4)
ADR2INI
X X 0 X 4 channels
ADR4INI O O X X 16 channels
ADR2RD
X X 0 X 4 channels
ADR4RD O O X X 16 channels
DAR1INI
X X 0 X 2 channels
DAR4INI O O X X 16 channels
DAR1WR X X 0 X 2 channels
DAR2WR X X X X 4 channels
DAR4WR O O X X 16 channels
HSCR0RD X X 0 X 1 channels HSCRx_RD
HSCR1RD O O X X 2 channels
HSCR0SET X X 0 X 1 channels HSCRx_SET
HSCR1SET O O X X 2 channels
HSCR0WR X X 0 X 1 channels HSCRx_WR
HSCR1WR O O X X 2 channels
RTDR2INI X X 0 X 4 channels RTDxINI
RTDR3INI O O X X 8 channels
RTDR2RD X X 0 X 4 channels RTDxRD
RTDR3RD O O X X 8 channels
TCR2INI X X 0 X 4 channels TCRxINI
TCR4INI O O X X 16 channels
TCR2RD X X 0 X 4 channels TCRxRD
TCR4RD O O X X 16 channels
Note
1) CPU type indicates which CPU can use slave special function block.
2) ‘R’ in the function block name like ADRxINI, ADRxRD indicates the remote (slave) block.
‘x’ indicates the channel number and 2
x
indicates the channel number.
6-32
Chapter 6. Communication Function
6.3.2 How to use special module function block
1) Setting the mother station
The slave can’t have a user program. It is remote I/O device that uses the PLC CPU’s user
program and communication function. Before system configuration, set the mother station of the
slave. Mother station no. can be done by using the inner decimal switch of slave module. Mother
station acts as a master when executing the high-speed link and slave special module access FB
service.
[Table 6.3.2] indicates whether slave service operates or not according to PLC mode of mother
station. Since slave operates according to mode of mother station like the follow table, in case
other station except mother station accesses the slave special module, it may cause error.
Special module should be accessed by mother station.
[Table 6.3.2] Slave operation according the mother PLC mode
CPU MODE
RUN ○ ○ ○
STOP ○ X ○
PAUSE ○ ○ ○
DEBUG ○ ○ ○
High-speed link operates according to ‘Link Enable’ of mother station.
2) Program
Special module control through slave uses communication function between master and slave.
So the user should consider the reliability of communication when programming.
Slave HS link
[note]
Slave special module
access
Slave I/O refresh
[Figure 6.3.2] is system configuration. Two masters are equipped at the GM3 CPU and one master
controls two slaves. A/D module (4 channels) is equipped at the no.1 slot of slave station no.3 and
D/A module (2 channels) is equipped at the no.2 slot of slave station no.4.
6-33
Chapter 6. Communication Function
RUEA(no.2)
POWER
1
RREA(no.3)
POWER
0210
I/O 32 point
AD module
RUEA(no.1)
GM3
network-A
3210
I/O 32 point
I/O 32 point
network-B
RREA(no.4)
POWER
DA module
[Figure 6.3.2] Slave special module access system configuration diagram
In order to access the special module of slave in the system like above figure, first set the mother
station no. setting switch in the slave module as 1. After mother station setting, write the slave
special module function block service program through the GMWIN program. [Figure 6.3.2(A)] and
[Figure 6.3.2(B)] are example of program.
Executes every 200ms
until execution of FB
Master (RUEA) 1 station
Slot no.
Slave (RREA) 3 station
Station no.
Base no. where A/D
module is equipped
Slot no. where A/D
module is equipped.
6-34
Chapter 6. Communication Function
[Figure 6.3.2(A)] Slave A/D input access program example
AD_INIT FB is executed every 200ms until NDR is on because it may not be done within 1 scan
due to delay of slave power supply or problem about communication line. Therefore program should
be written to execute the next step after checking the result of FB by using NDR output point like
example. This is applied for other special module access program.
Slot no. of master
stion 1
Slave station no.
Base no. where D/A
module is equipped.
Slot no. where D/A
module is equipped.
6-35
Chapter 6. Communication Function
[Figure 6.3.2(B)] Slave D/A output access program example
Above figure is D/A output module access program. The FB is also executed every 200ms.
3) STATUS information
The result of FB execution can be known through NDR, ERR output contact point. In case of
normal operation, NDR is on and ERR is off. In case of abnormal, NDR is off and ERR is on. Error
code is shown at the STAT. (For detail of slave special module access error, refer to the appendix
A1)
6-36
Chapter 6. Communication Function
6. 4 Communicaion module flag application
6.4.1 Flag type
1) Flag that checks whether communication with other station is normal or not
(1) _NETx_LIV[n] (range n = 0~63: other station no.)
It indicates that other station power is on and data TRX is normal through the communication
cable.
(2) _NETx_RST[n]
It indicates information about power recovery. It will be on if power is recoved from power-cut or
cable-cut.
Note
‘x’ used in the flag indicates the slot no. where communication module is equipped.
(Range 0~7)
6.4.2 Imprtant flag used in the Rnet
Type Data type Access allowance Reference
_NETx_LIV[n]
(range n = 0 ~ 63)
_NETx_RST[n]
(range n = 0 ~ 63)
USINT
Read only
Common flag
USINT Read/write
FSM
FMM
6-37
Chapter 6. Communication Function
6.4.3 How to use the flag in the GMWIN
Flag list GMWIN screen for RSM/RMM
6.4.4 Special module access by using _NETx_LIV[n], _NETx_RST[n]
Here describes how to control the special module of remote I/O by using _NETx_LIV[n],
_NETx_RST[n] in the [Figure 6.4.1(A)] remote system.
Special module control of remote I/O has the following difference with that equipped at the CPU.
1) Since initialization FB is executed by communication, initialization may not be done because of
communication error, it is necessary to execute the initializataion continuously until completion
of initialization.
2) In case of power recovery from power cut, initialization is needed again. So program that
monitors the power is necessary against this.
3) FB that reads/writes the data from/to special module is executed at the rising edge of Request
input. So rising edge input is necessary.
4) Since commucation may have error due to power-cut of remote station or cable cut, if the user
uses the flag that monitors the other station’s operation, the program can be executed efficiently.
6-38
Chapter 6. Communication Function
Flag that checks the
remote station’s operation
Program that
Initial F/B is executed
until completion of
initialization
initializes the TC
module
When completion of
initialization, NDR is on
Program that
initializes the D/A
module
[Figure 6.4.1(A)] special module initialization program of remote I/O
[Figure 6.4.1(A)] describes the program that initializes the T/C, D/A module in the remote system.
Special module initialization should be completed in order to execute the READ/WRITE command.
For that, NDR output B contact point is used as Request input and initialization is repeated every
200ms until completion of initialization.
6-39
Chapter 6. Communication Function
Initializaion is not executed after completion of initialization due to NDR output B contact point.
Initialization can be executed when FMM of no.0 slot and remote 2 station is under normal operation
by using the _NET0_LIV[2] flag. _NET0_LIV[2] flag can be used as Request input at the F/B after
completion of initialization and make program efficient.
[Figure 6.4.1(B)] is a program example that initializes the special module again in case of power
recovery this program should be used with program of [Figure 6.4.1(A)]
Flag that
monitors
the remote
station 2
operation
Reset the NDR output and
executes the initialization
again
Power recovery flag
should be reset after
use
Flag that monitors the
recovery of remote
station 2 after power-cut
[Figure 6.4.1(B)] Restart program when power recovers from power-cut
_NET0_RST[2] and _NET0_LIV[2] is used to monitor when other station recovers from power-cut and at this
time, each NDR output of F/B is reset and initialization program is executed again in [Figure 6.4.1(B)].
Since _NET_RST[2] flag keeps its value until ther user’s reset command, _NET_RST[2] flag should be reset
so that initialization is executed once and it is used for the next power recovery.
6-40
Chapter 7. Diagnosis Function
Chapter 7. Diagnosis Function
7.1 LED Diagnosis Function
7.1.1 General
Type of error invoked when installing the system or during the normal operation can be known by
LED in front of the case. According to error, the user can fix the error and in case of sever error,
contact our A/S center.
7.1.2 Rnet I/F master module LED indication
1) Relevant model: G3L-RUEA, G4L-RUEA, G6L-RUEA
⊙ RUN
⊙ LAS
⊙ TOKEN
⊙ TX/RX
⊙ FAULT
G7L-RUEA
⊙ ERR
⊙ TOKEN
⊙ LAS
⊙ LINK-I/F
2) LED indication description
(1) RUN: indicate that communication with PLC CPU is normal.
- On: interface with PLC is normal.
- Off: interface error or interface stop.
Since flicker period changes according to PLC scan, when PLC scan is long (more than
200ms) or PLC has more than two communication module and exchange a lot of data, LED is
on every 1, 2 second, so the user may consider that LED is off. But this is because data
calculation is getting slow because of many data and this is not abnormal operation of
communication module.
7-1
Chapter 7. Diagnosis Function
(2) LAS: The LED of station that distribute the Token to communicate is on.
The station that is turned on firstly among many stations has LAD, only on station can
have LAS in the one network.
- On: operates as link Active Scheduler (LAS)
- Off: operates as master (LM)
(3) TOKEN: indicates that it has Token from LAS and is sending its data. In case there are many
stations in the network and data per station, it flickers slowly.
- On: indicates that it has Token
- Off: indicates that it doesn’t have Token.
(4) TX/RX: indicates that it is sending/receiving the data.
- On: indicates that it is sending/receiving the data.
- Off: There is no Frame.
(5) FAULT (ERR): indicates the error of communication module. It is off during normal operation. It
flickers every 1 second when communication can’t start because of error and 5
LEDs (LES 0(RUN)~LED4(FAULT)) indicates the type of error.
(6) LINK-I/F: as an interface LED, it flickers when Rnet module communicates with PLC CPU.
When HS link is RUN and it is normal operation, it looks like always on.
When HS link is disabled, it flickers every 2 second. This is because PLC CPU
communicates with LINK every 2 second.
☞ If it flickers intermittently, it has the problem. Check the communication module, communication
cable, terminal resistance, connection status, duplicated station no.
① Is terminal resistance connected normally?
② Is cable connected firmly?
③ Is shield-wire is connected properly?
④ Is cable and terminal resistance specification proper?
⑤ Is total length of cable less than 750m?
⑥ Is there any duplicated station no.?
7-2
Chapter 7. Diagnosis Function
[Table 7.1.2] LED indication contents of Rnet I/F master module
Checking inner memory 1 of module
Checking inner memory 2 of module
Checking communication
Checking interface with CPU
In case module is not LAS
In case module is LAS
Inner memory 1 error
Inner memory 2 error
Communication error
Interface error
Interface RAM error
Interface error 1
※ LED location is RUN, LAS, TOKEN, TX/RX, FAULT from left.
ON ,, OFF , licker with 1s period ,
non-periodical flicker or Off , non-periodical flicker
Abnormal
communication
Interface
error
Error that can’t
be recovered
Duplicated station no, terminal resistance
Interface error in no case of LAS
Network configuration status error
Cable open/short
Cable length error or hardware error
Network configuration status error
Interface error in case of LAS
Hardware error of communication module
7-3
Chapter 7. Diagnosis Function
G7L-RUEA
Error type LED status Error contents
Normal communication
Rnet communication
error
System error
※ LED location is ERR, TOKEN, LAS, LINK-I/F from left.
ON ,, OFF , non-periodical flicker , flicker with 1 s period
7.1.3 Rnet I/F slave module LED indication
1) Relevant model: G3L-RREA, G4L-RREA, G6L-RREA
⊙ RUN
Module is not LAS
In case of LAS
Terminal resistance, connection error, excess
of cable length
In case of Rnet Module hardware error
⊙ TOKEN ⊙ TX/RX ⊙ FAULT ⊙ SYS
FAULT
2) LED indication description
(1) RUN: indicates that I/O check, I/O refresh is executed normally. In case of power error, I/O refresh
error, special module access error, it is off
- On: salve is normal.
- Off: slave is abnormal.
7-4
Chapter 7. Diagnosis Function
(2) TOKEN: indicates that it has Token from LAS and is sending its data. In case there are many
stations in the network and data per station, it flickers slowly.
- On: indicates that it has Token
- Off: indicates that it doesn’t have Token.
(3) TX/RX: indicates that it is sending/receiving the data.
- On: indicates that it is sending/receiving the data.
- Off: There is no Frame.
(4) FAULT
- Flicker: flickers in case of communication error/service error in the link module
- Off: normal operation
☞ If it flickers intermittently, it has the problem. Check the communication module, communication
cable, terminal resistance, connection status, duplicated station no.
① Is terminal resistance connected normally?
② Is cable connected firmly?
③ Is shield-wire is connected properly?
④ Is cable and terminal resistance specification proper?
⑤ Is total length of cable less than 750m?
⑥ Is there any duplicated station no.?
(5) SYS FAULT: indicates the error of communication module. It is off during normal operation.
It flickers every 1 second when communication can’t start because of error and
5 LEDs (LES 0(RUN)~LED4(FAULT)) indicates the type of error.
7-5
Chapter 7. Diagnosis Function
[Table 7.1.3] LED indication specification of slave group
Classification Error type LED status Error contents
RSM_00
RSM_01 Checking inner memory 2 of module
RSM_02 Checking communication
RSM_03
RSM_04 Normal Module communication is normal
RSM_05 Inner memory 1 error
RSM_06 Inner memory 2 error
RSM_07 Communication error
RSM_08 Write/Read special module error
RSM_09 Write/Read I/O module error
RSM_10
RSM_11
RSM_12
RSM_13
RSM_14
RSM_15
RSM_16
Power on
Hardware error
System
operation error
Abnormal
Checking inner memory 1 of module
Checking special module common RAM
Module equipment error, fuse error
System error during operation
① Cable shout/open
②Not suitable for cable length
③Hardware error
④Network configuration status error
RSM_17
RSM_18
RSM_19
RSM_20
※ LED location is RUN, TOKEN, TX/RX, FAULT, SYS FAULT from left.
On
Off
Flicker with 1 second period
Non-periodical flicker or off
Non-periodical flicker
Error that
can’t be
recovered
Hardware error of communication module
7-6
Chapter 8. Installation and Testing Operation
Chapter 8. Installation and Testing Operation
8.1 Installatin and Testing Operation
Communication module should be installed according to PLC CPU type and equip-able max. no. is
as follows according to CPU type.
[Table 8.1] Communication module equip-able according to CPU type
CPU
Type
GM2 G3L-RUEA 4 Basic base I/O
K1000S
GM4
K300S
K200S
GM7 G7L-RUEA 1 Basic base I/O
Communication type
G3L-RUEA 4 Basic base I/O GM3
G3L-RREA 1 CPU location of basic
G4L-RUEA 2 Basic base I/O
G4L-RREA 1 CPU location of basic
G6L-RUEA 2 I/O GM6
G6L-RREA 1 CPU location of basic
Equip-able
Slot location Reference
Max. no.
Remote I/O
base
Remote I/O
base
Remote I/O
base
8.1.1 Install Rnet I/F master module
1) In the types of master module, there are electric communication modules of G3L-RUEA, G4L-
RUEA, G6L-RUEA and G7L-RUEA. Communication module can be mounted up to 4 in GM1,
GM2, and GM3 PLC, and these can be mounted only in main base. When using the different
modules together, Rnet, Enet is included into 4 and Cnet is not included into 4.
2) Communication module can be mounted up to 2 in GM4, GM6 CPU (including Enet, except
Cnet) and up to 4 in GM4-CPUB, up to 8 in GM4-CPUC. (Commuication module can’t be
mounted in the extension base.)
3) Communication module can be mounted up to 1 in GM7 CPU (except Cnet, Profibus).
8-1
Chapter 8. Installation and Testing Operation
8.1.2 Install Rnet I/F slave module
In the types of slave module, there are electric communication modules of G3L-RREA, G4L-RREA,
G6L-RREA.
Extension base is not available in the GLOFA GM3/GM4 and MASTER-K K1000/K300S and only
basic base is available. Slave configuration is impossible in the GMR/GM1/GM2.
[Table 8.1.2] indicates the modules that can be used with slave and each module can be equipped at
the all slot location.
[Table 8.1.2] module model name for slave configuration
Available module name Unavailable module name
Itme Itme Type name
All I/O module
A/D, D/A conversion module Interupt module G □F-INTA
TC,RTD module Fnet, Enet, Dnet, Pnet module
High-speed counter module
(When using GLOFA network)
Cordinate module GM1-CORA
Interface module ALL
G □L-FUEA/FUOA
G □L-EUEA/DUEA
PID control module G □F-PIDA
Analog timer G □F-AT□A
Cnet module G □L-CUEA
High-speed counter module
(When using MASTER-K
network)
G □F-HSCA
※ 3,4,6 can be inserted into ‘□’ in the type name.
※ High-speed counter module can be used in the network bu GLOFA CPU. MASTER-K
CPU can’t use it.
※ For how to equip the base module, refer to the each CPU manual.
8-2
Chapter 8. Installation and Testing Operation
8.1.3 Rnet I/F module installation sequence
1) Install the basic configuration for system configuration and select the suitable communication
module.
2) Equip the Rnet I/F module with power not supplied.
3) Check if there is an alen substance in the base connector and connector pin is normal.
4) The Rnet can be equipped at the extention base and only basic base is available.
5) In theGM2-CPUB, GM3, K1000S, Rnet can be equipped with other communication dmoule.
But communicatin module can be mounted up to 8 or less in the GM2-CPUB, GM3/K1000S
(including Enet/Dnet, except Cnet)
6) When mounting this module, insert projecting part of lower part into groove of base board
exactly and press it until upper part is locked with locking device of base board, before
connecting communication cable. If locking device is not locked completely, error of interface
with CPU may be occurred.
7) Sets station number and operation mode using switch on the front part of communication
module with power not supplied. There should be no duplicated station number in the same
network.
8) Connect communication cable after mounting electric module, and install terminal resistance at
CON1 or CON2 if this module is terminal (110Ω).
9) Electric module cable should be connected tightly using screw of cable connector. If mounted
station is not terminal, both side of cable can be connected any of CON1 and CON2.
10) Turn the power on after connecting communication cable, check whether this module operates
normally through LED operation status. If it is normal, download corresponding program to
GMWIN/KGLWIN and execute the program.
8.1.4 Cautions on installation of Rnet I/F module
1) All other station including this station should have different station number. If duplicated number
is used in connection, communication error occurs and normal communication is not possible.
2) If module is operated with normal communication, mode switch should be in Run mode. If mode
switch of this module is set to test1 and turn the power on when other stations that are
connected in network are already in communication, serious error may be occurred in
communication of other stations.
3) For communication cable, cable of specified specification should be used. Using not specified
cable may cause serious communication error.
4) Check whether communication cable has disconnection or short, before installation.
5) Tighten communication cable connector to fix the cable connection. If cable connection is not
perfect, serious error can be occurred.
8-3
Chapter 8. Installation and Testing Operation
6) If communication cable is twisted as the following figure or not connected well, problem can be
occurred in communication.
7) Branch of cable is not allowed.
8) Connection of network through communication cable should not be a closed circuit.
9) When connecting the communication cable with long distance, keep the distance from power
line or inductive noise.
10) Shield-wire should be connected with body of 9 pin connector (Refer to the 4.4.1)
11) If LED operation is abnormal, see ‘chap. 9 Troubleshooting’ of this manual to check the cause
of the error. If the error occurs continuously after management, contact our A/S center.
8-4
Chapter 8. Installation and Testing Operation
8.1.5 Preparations during testing operation of Rnet I/F module
This explains contents to be checked before testing operation of Rnet I/F communication module.
1) Communication module to be mounted in PLC
Items to be checked
Mounting check of
Base module
Connection status of
Communication cable
Module mounting
Switch checking
Contents
- Does using voltage of power module comply with specifications of power module?
- Is battery of CPU module connected?
Is mounting of all base modules perfect?
-
Ö See product manual according to each PLC type.
– Is connection status of communication cable perfect?
– Is connection type of each cable open loop?
- Is mounting status of communication module which is mounted in basic base perfect?
– Is the status of mode switch On-line(switch value is 0)?
– Is station No. switch correctly set?
– Is master station No. switch correctly set? (for slave module)
– Is output option switch correctly set when communication is cut off?
(for slave module)
8-5
Chapter 8. Installation and Testing Operation
8.1.6 Testing operation procedure of Rnet I/F module
This shows the sequence from completion of PLC installation to the testing operation.
1) Communication module to be mounted in PLC
Starting
Power on :
(1) Check input power.
(2) Check the connection of communication cable.
(3) Power on.
(4) Check power LED light of power module.
(5) Check LED status of CPU module
Ö If abnormal, see Troubleshooting of manual according to each PLC type.
(6) Check whether LED status of communication module is normal or not.
Ö If abnormal, see Chap. 9 Troubleshooting of this manual.
▼
Programming :
Programming is prepared in GMWIN/KGLWIN, and it is written into CPU module.
(Properly use flags that are related to emergency action for communication cut-off during communication
with other station and monitoring of other station)
▼
Sequence check :
Checks operation of communication module according to program.
▼
Program correction :
Corrects if there is any error of sequence program.
▼
Program preservation :
(1) Stores program into floppy disk or hard disk.
(2) Prints circuit drawing and list with printer.
(3) Writes program to memory module, if necessary.
End
8-6
Chapter 8. Installation and Testing Operation
8.2 Repair and Check
Perform routine check and regular check to maintain the best status of this communication module.
8.2.1 Daily check
1) Rnet I/F master module
[Table 8.4.1(A)] Items of daily check
Items to be checkedContentsCriteria of decisionAction to take
Cable connection
status
Module connection
status
RUN LED
LAS LED
LED
indicati
on
TOKEN
LED
TX/RX LED
FAULT LED
Release of cable Shall not be any release. Tighten the cable.
Release of screw Shall not be any release.
Flicker check
Light on Check
Flicker check
Flicker check
Light off check
Flash (Lights-out means interface cut-off with
CPU).
LED of only one module among entire module
of network should be lighted (Lights of two or
more mean abnormal configuration of
network).
Light off means abnormal (Duplicated station
or cable error).
Light off means abnormal (Hardware error of
module).
Regular flash means system error, and
intermittence flash means communication
error.
Tighten screw of
See Appendix.
See Appendix.
See Appendix.
See Appendix.
See Appendix.
module.
2) Rnet I/F slave module
[Table 8.4.1(B)] Items of daily check
Items to be checkedContentsCriteria of decisionAction to take
Cable connection
status
Terminal unit
connection status
RUN LED
TOKEN LED
LED
indicati
on
FAULT LED
TX/RX LED
SYS FAULT
LED
Release of cable Shall not be any release. Tighten the cable.
Release of screw
Approach of
compression
terminal
Light on check Check power if light off. See Appendix.
Flicker check
Flicker check
Light off check
Light off check
Light off means abnormal operation
(Duplicated station or cable error).
Light off means abnormal operation
(Duplicated station or cable error).
Intermittent flash means communication
error (Cable connection error, or terminal
resistance connection error).
Regular flash means system error (Error
code is displayed in LED).
Shall not be any release.
Shall be relevant gap. Correct.
Tighten screw of
terminal.
See Appendix.
See Appendix.
See Appendix.
See Appendix.
8-7
Chapter 8. Installation and Testing Operation
8.2.2 Regular check
Check following items once or twice per six months, and perform relevant action to take.
[Table 8.4.2] Items of regular check
Items to be checked How to check
Ambient
environment
Module status
Connection
status
Power voltage check
Ambient
temperature
Ambient humidity
Ambient pollution Check corrosive gas.
Release, shaking
Attachment of dust
and foreign matter
Release of terminal
screw
Gap between
compression
terminals
Release of
connector
Check using
thermometer and
hydrometer.
Shake communication
module.
Visual inspection.
Tighten using driver.
Visual inspection.
Visual inspection.
Check voltage between
terminals.
Criteria of
decision
0~55℃
5~95%RH
Shall not be any
corrosive gas.
Shall not be any
release or shaking.
Shall not be any
attachment.
Shall not be any
release.
Shall be relevant
gap.
Shall not be any
release.
AC 85~132V
AC 170~264V
Action to take
Arrangement by general
specification (If it is used in a
class, environment of class is
used as standard).
Tighten the screw.
Remove
Tighten.
Correct.
Fix the connector
Tighten the screw.
Change supplied power.
8-8
Chapter 9. Trouble Shooting
Chapter 9. Trouble Shooting
This chapter explains all of error contents which may occurs during system management, cause detection,
and how to take action. If error occurred in communication module, error contents are displayed through
LED of communication module. At this time, user can read error indication(Ex. RMM_06) according to
appropriate LED status from Appendix, and perform troubleshooting according to error code(Ex. E00-01)
from error indication in this chapter.
9.1 Abnormal Operations
[Table 9.1(A)] H/W related error of communication module
Hardware self diagnosis error among LED
indication of each module.
Interface diagnosis error with PLC among LED
indication of each module.
Power and hardware error of FOU group
occurred.
Initialization of I/O and special module in slave
group.
[Table 9.1(B)] Abnormal communication status of communication module
Error code Error indication Error contents
E01-01
E01-03
RMM_16 ~ RMM_21
RSM_13 ~ RSM_16
RSM_31, RSM_33
FOU_41, FOU_42, FOU_43
FOU_51, FOU_61
Communication error in master and slave group
of Rnet (Communication is not made well).
Communication error in FOU group of Rnet
(Communication is not made well).
[Table 9.1(C)] Abnormal interface operation of PLC of communication
Error code Error indication Error contents
E02-01
RMM_22, RMM_23
MCM_11
E02-02 RSM_08 ~ RSM_10
Interface with PLC in master and
communication module group is not made well.
Interface error with I/O module in slave group
of Fnet.
9-1
Chapter 9. Trouble Shooting
[Table 9.1(D)] Abnormal operation of high speed link function
Error code Error indication Error contents
This error happens when high speed link
parameter is not set well or not set at all, or it is
broken, after setting link-enable of on-line.
E03-01
High speed link parameter error in error
status dialog box.
When communication is not made well even
though high speed link is normal after setting
link-enable.
When _HSxRLNK is not set to ‘On’ even though
high speed link parameter is normal after setting
link-enable.
After setting link-enable and _HSxRLNK of high speed link is set to ‘On’, when HSxLTRBL is set
to ‘On’ by the problem of PLC and
communication in normal status.
E03-02
E03-03
E03-04
High speed link communication is not
performed.
Contacts of _HSxRLNK and _HSxTRX
are not set to ‘On’ during high speed link.
Contacts of _HSxTRBL, etc. are set to
On during high speed link.
[Table 9.1(E)] Abnormal operation of communication command service function
Error code Error indication Error contents
E04-01
When service is performed by Rnet, ERR
contact of communication command is set
to ‘On’ and the value of status is not ‘0’.
ERR of communication command is set to ‘On’,
or NDR/ERR of communication command
doesn’t become ‘1’.
[Table 9.1(F)] Abnormal operation of GMWIN communication service function
Error code Error indication Error contents
E05-01
E05-02
Message of [No response] occurs during
remote connection request.
When other error message occurred
during remote connection request.
RS-232C cable is not connected between
GMWIN and PLC or the power of PLC is off.
Service is not performed well because request is
not relevant.
9-2
Chapter 9. Trouble Shooting
9. 2 Troubleshooting by each error code
9.2.1 Error code E00-01: Hardware error
E00-03: Hardware error of option module
Hardware error of self diagnosis
Is authorized
power normal?
environment fit to
specification?
Restart the power.
Does the same
error occur?
Does
installation
Yes
No
Check power/voltage.
No
No
Complement installation
environment.
Does it
perform normal
operation?
No
Yes
It is a hardware error of
this module. Contact
Service station.
Perform troubleshooting
for appropriate error.
End
9-3
Chapter 9. Trouble Shooting
9.2.2 Error code E00-02: Interface error
Interface error
Is authorized power normal?
No
Check power/voltage.
Yes
installation environment fit to
Does
specification?
Yes
Change the condition of ambient
No
environment so as to be in the
range of general specification.
Is communication module
exactly mounted in main base?
No
Exactly mount communication
module into main base.
Yes
Has the connector pin of
communication module
any error?
No
Yes
Correct connector pin.
This is the hardware error of
communication module or CPU. Contact
A/S center.